12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997(* 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.application_insightsletapiVersion="2018-11-25"letendpointPrefix="applicationinsights"letserviceFullName="Amazon CloudWatch Application Insights"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Application Insights"lettargetPrefix="EC2WindowsBarleyService"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[]))])moduleMetaDataKey=structtypenonrect=stringletcontext_="MetaDataKey"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:"MetaDataKey"jletto_json=simple_to_jsonto_valueendmoduleMetaDataValue=structtypenonrect=stringletcontext_="MetaDataValue"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:"MetaDataValue"jletto_json=simple_to_jsonto_valueendmoduleFeedbackKey=structtypenonrect=|INSIGHTS_FEEDBACK|Non_static_idofstringletmakei=iletto_string=function|INSIGHTS_FEEDBACK->"INSIGHTS_FEEDBACK"|Non_static_ids->sletof_string=function|"INSIGHTS_FEEDBACK"->INSIGHTS_FEEDBACK|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 FeedbackKey"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FeedbackKey"j)letto_json=simple_to_jsonto_valueendmoduleFeedbackValue=structtypenonrect=|NOT_SPECIFIED|USEFUL|NOT_USEFUL|Non_static_idofstringletmakei=iletto_string=function|NOT_SPECIFIED->"NOT_SPECIFIED"|USEFUL->"USEFUL"|NOT_USEFUL->"NOT_USEFUL"|Non_static_ids->sletof_string=function|"NOT_SPECIFIED"->NOT_SPECIFIED|"USEFUL"->USEFUL|"NOT_USEFUL"->NOT_USEFUL|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 FeedbackValue"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FeedbackValue"j)letto_json=simple_to_jsonto_valueendmoduleTier=structtypenonrect=|CUSTOM|DEFAULT|DOT_NET_CORE|DOT_NET_WORKER|DOT_NET_WEB_TIER|DOT_NET_WEB|SQL_SERVER|SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP|MYSQL|POSTGRESQL|JAVA_JMX|ORACLE|SAP_HANA_MULTI_NODE|SAP_HANA_SINGLE_NODE|SAP_HANA_HIGH_AVAILABILITY|SAP_ASE_SINGLE_NODE|SAP_ASE_HIGH_AVAILABILITY|SQL_SERVER_FAILOVER_CLUSTER_INSTANCE|SHAREPOINT|ACTIVE_DIRECTORY|SAP_NETWEAVER_STANDARD|SAP_NETWEAVER_DISTRIBUTED|SAP_NETWEAVER_HIGH_AVAILABILITY|Non_static_idofstringletmakei=iletto_string=function|CUSTOM->"CUSTOM"|DEFAULT->"DEFAULT"|DOT_NET_CORE->"DOT_NET_CORE"|DOT_NET_WORKER->"DOT_NET_WORKER"|DOT_NET_WEB_TIER->"DOT_NET_WEB_TIER"|DOT_NET_WEB->"DOT_NET_WEB"|SQL_SERVER->"SQL_SERVER"|SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP->"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"|MYSQL->"MYSQL"|POSTGRESQL->"POSTGRESQL"|JAVA_JMX->"JAVA_JMX"|ORACLE->"ORACLE"|SAP_HANA_MULTI_NODE->"SAP_HANA_MULTI_NODE"|SAP_HANA_SINGLE_NODE->"SAP_HANA_SINGLE_NODE"|SAP_HANA_HIGH_AVAILABILITY->"SAP_HANA_HIGH_AVAILABILITY"|SAP_ASE_SINGLE_NODE->"SAP_ASE_SINGLE_NODE"|SAP_ASE_HIGH_AVAILABILITY->"SAP_ASE_HIGH_AVAILABILITY"|SQL_SERVER_FAILOVER_CLUSTER_INSTANCE->"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"|SHAREPOINT->"SHAREPOINT"|ACTIVE_DIRECTORY->"ACTIVE_DIRECTORY"|SAP_NETWEAVER_STANDARD->"SAP_NETWEAVER_STANDARD"|SAP_NETWEAVER_DISTRIBUTED->"SAP_NETWEAVER_DISTRIBUTED"|SAP_NETWEAVER_HIGH_AVAILABILITY->"SAP_NETWEAVER_HIGH_AVAILABILITY"|Non_static_ids->sletof_string=function|"CUSTOM"->CUSTOM|"DEFAULT"->DEFAULT|"DOT_NET_CORE"->DOT_NET_CORE|"DOT_NET_WORKER"->DOT_NET_WORKER|"DOT_NET_WEB_TIER"->DOT_NET_WEB_TIER|"DOT_NET_WEB"->DOT_NET_WEB|"SQL_SERVER"->SQL_SERVER|"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"->SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP|"MYSQL"->MYSQL|"POSTGRESQL"->POSTGRESQL|"JAVA_JMX"->JAVA_JMX|"ORACLE"->ORACLE|"SAP_HANA_MULTI_NODE"->SAP_HANA_MULTI_NODE|"SAP_HANA_SINGLE_NODE"->SAP_HANA_SINGLE_NODE|"SAP_HANA_HIGH_AVAILABILITY"->SAP_HANA_HIGH_AVAILABILITY|"SAP_ASE_SINGLE_NODE"->SAP_ASE_SINGLE_NODE|"SAP_ASE_HIGH_AVAILABILITY"->SAP_ASE_HIGH_AVAILABILITY|"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"->SQL_SERVER_FAILOVER_CLUSTER_INSTANCE|"SHAREPOINT"->SHAREPOINT|"ACTIVE_DIRECTORY"->ACTIVE_DIRECTORY|"SAP_NETWEAVER_STANDARD"->SAP_NETWEAVER_STANDARD|"SAP_NETWEAVER_DISTRIBUTED"->SAP_NETWEAVER_DISTRIBUTED|"SAP_NETWEAVER_HIGH_AVAILABILITY"->SAP_NETWEAVER_HIGH_AVAILABILITY|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 Tier"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Tier"j)letto_json=simple_to_jsonto_valueendmoduleWorkloadMetaData=structtypenonrect=(MetaDataKey.t*MetaDataValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((MetaDataKey.of_stringchopped),(MetaDataValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(MetaDataKey.to_valuex)|>(funx->(MetaDataValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:MetaDataKey.of_string~of_json:MetaDataValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCloudWatchEventDetailType=structtypenonrect=stringletcontext_="CloudWatchEventDetailType"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:"CloudWatchEventDetailType"jletto_json=simple_to_jsonto_valueendmoduleCloudWatchEventId=structtypenonrect=stringletcontext_="CloudWatchEventId"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:"CloudWatchEventId"jletto_json=simple_to_jsonto_valueendmoduleCloudWatchEventSource=structtypenonrect=|EC2|CODE_DEPLOY|HEALTH|RDS|Non_static_idofstringletmakei=iletto_string=function|EC2->"EC2"|CODE_DEPLOY->"CODE_DEPLOY"|HEALTH->"HEALTH"|RDS->"RDS"|Non_static_ids->sletof_string=function|"EC2"->EC2|"CODE_DEPLOY"->CODE_DEPLOY|"HEALTH"->HEALTH|"RDS"->RDS|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 CloudWatchEventSource"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CloudWatchEventSource"j)letto_json=simple_to_jsonto_valueendmoduleCodeDeployApplication=structtypenonrect=stringletcontext_="CodeDeployApplication"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:"CodeDeployApplication"jletto_json=simple_to_jsonto_valueendmoduleCodeDeployDeploymentGroup=structtypenonrect=stringletcontext_="CodeDeployDeploymentGroup"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:"CodeDeployDeploymentGroup"jletto_json=simple_to_jsonto_valueendmoduleCodeDeployDeploymentId=structtypenonrect=stringletcontext_="CodeDeployDeploymentId"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:"CodeDeployDeploymentId"jletto_json=simple_to_jsonto_valueendmoduleCodeDeployInstanceGroupId=structtypenonrect=stringletcontext_="CodeDeployInstanceGroupId"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:"CodeDeployInstanceGroupId"jletto_json=simple_to_jsonto_valueendmoduleCodeDeployState=structtypenonrect=stringletcontext_="CodeDeployState"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:"CodeDeployState"jletto_json=simple_to_jsonto_valueendmoduleEbsCause=structtypenonrect=stringletcontext_="EbsCause"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:"EbsCause"jletto_json=simple_to_jsonto_valueendmoduleEbsEvent=structtypenonrect=stringletcontext_="EbsEvent"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:"EbsEvent"jletto_json=simple_to_jsonto_valueendmoduleEbsRequestId=structtypenonrect=stringletcontext_="EbsRequestId"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:"EbsRequestId"jletto_json=simple_to_jsonto_valueendmoduleEbsResult=structtypenonrect=stringletcontext_="EbsResult"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:"EbsResult"jletto_json=simple_to_jsonto_valueendmoduleEc2State=structtypenonrect=stringletcontext_="Ec2State"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:"Ec2State"jletto_json=simple_to_jsonto_valueendmoduleEndTime=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_valueendmoduleHealthEventArn=structtypenonrect=stringletcontext_="HealthEventArn"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:"HealthEventArn"jletto_json=simple_to_jsonto_valueendmoduleHealthEventDescription=structtypenonrect=stringletcontext_="HealthEventDescription"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:"HealthEventDescription"jletto_json=simple_to_jsonto_valueendmoduleHealthEventTypeCategory=structtypenonrect=stringletcontext_="HealthEventTypeCategory"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:"HealthEventTypeCategory"jletto_json=simple_to_jsonto_valueendmoduleHealthEventTypeCode=structtypenonrect=stringletcontext_="HealthEventTypeCode"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:"HealthEventTypeCode"jletto_json=simple_to_jsonto_valueendmoduleHealthService=structtypenonrect=stringletcontext_="HealthService"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:"HealthService"jletto_json=simple_to_jsonto_valueendmoduleLineTime=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_valueendmoduleLogFilter=structtypenonrect=|ERROR|WARN|INFO|Non_static_idofstringletmakei=iletto_string=function|ERROR->"ERROR"|WARN->"WARN"|INFO->"INFO"|Non_static_ids->sletof_string=function|"ERROR"->ERROR|"WARN"->WARN|"INFO"->INFO|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 LogFilter"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LogFilter"j)letto_json=simple_to_jsonto_valueendmoduleLogGroup=structtypenonrect=stringletcontext_="LogGroup"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:"LogGroup"jletto_json=simple_to_jsonto_valueendmoduleLogText=structtypenonrect=stringletcontext_="LogText"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:"LogText"jletto_json=simple_to_jsonto_valueendmoduleMetricName=structtypenonrect=stringletcontext_="MetricName"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:"MetricName"jletto_json=simple_to_jsonto_valueendmoduleMetricNamespace=structtypenonrect=stringletcontext_="MetricNamespace"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:"MetricNamespace"jletto_json=simple_to_jsonto_valueendmoduleObservationId=structtypenonrect=stringletcontext_="ObservationId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:38)>>=(fun()->(check_string_maxi~max:38)>>=(fun()->check_patterni~pattern:"o-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ObservationId"jletto_json=simple_to_jsonto_valueendmoduleRdsEventCategories=structtypenonrect=stringletcontext_="RdsEventCategories"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:"RdsEventCategories"jletto_json=simple_to_jsonto_valueendmoduleRdsEventMessage=structtypenonrect=stringletcontext_="RdsEventMessage"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:"RdsEventMessage"jletto_json=simple_to_jsonto_valueendmoduleS3EventName=structtypenonrect=stringletcontext_="S3EventName"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:"S3EventName"jletto_json=simple_to_jsonto_valueendmoduleSourceARN=structtypenonrect=stringletcontext_="SourceARN"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:"SourceARN"jletto_json=simple_to_jsonto_valueendmoduleSourceType=structtypenonrect=stringletcontext_="SourceType"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:"SourceType"jletto_json=simple_to_jsonto_valueendmoduleStartTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleStatesArn=structtypenonrect=stringletcontext_="StatesArn"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:"StatesArn"jletto_json=simple_to_jsonto_valueendmoduleStatesExecutionArn=structtypenonrect=stringletcontext_="StatesExecutionArn"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:"StatesExecutionArn"jletto_json=simple_to_jsonto_valueendmoduleStatesInput=structtypenonrect=stringletcontext_="StatesInput"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:"StatesInput"jletto_json=simple_to_jsonto_valueendmoduleStatesStatus=structtypenonrect=stringletcontext_="StatesStatus"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:"StatesStatus"jletto_json=simple_to_jsonto_valueendmoduleUnit=structtypenonrect=stringletcontext_="Unit"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:"Unit"jletto_json=simple_to_jsonto_valueendmoduleValue=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleXRayErrorPercent=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 XRayErrorPercent"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleXRayFaultPercent=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 XRayFaultPercent"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleXRayNodeName=structtypenonrect=stringletcontext_="XRayNodeName"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:"XRayNodeName"jletto_json=simple_to_jsonto_valueendmoduleXRayNodeType=structtypenonrect=stringletcontext_="XRayNodeType"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:"XRayNodeType"jletto_json=simple_to_jsonto_valueendmoduleXRayRequestAverageLatency=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleXRayRequestCount=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 XRayRequestCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleXRayThrottlePercent=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 XRayThrottlePercent"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleComponentName=structtypenonrect=stringletcontext_="ComponentName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"(?:^[\\d\\w\\-_\\.+]*$)|(?:^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$)")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ComponentName"jletto_json=simple_to_jsonto_valueendmoduleMissingWorkloadConfig=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_valueendmoduleRemarks=structtypenonrect=stringletcontext_="Remarks"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:"Remarks"jletto_json=simple_to_jsonto_valueendmoduleWorkloadId=structtypenonrect=stringletcontext_="WorkloadId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:38)>>=(fun()->(check_string_maxi~max:38)>>=(fun()->check_patterni~pattern:"w-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"WorkloadId"jletto_json=simple_to_jsonto_valueendmoduleWorkloadName=structtypenonrect=stringletcontext_="WorkloadName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:12)>>=(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:"WorkloadName"jletto_json=simple_to_jsonto_valueendmoduleAccountId=structtypenonrect=stringletcontext_="AccountId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->check_patterni~pattern:"^\\d{12}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleAffectedResource=structtypenonrect=stringletcontext_="AffectedResource"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:"AffectedResource"jletto_json=simple_to_jsonto_valueendmoduleFeedback=structtypenonrect=(FeedbackKey.t*FeedbackValue.t)listletmakei=letopenResultinok_or_failwith(check_list_maxi~max:10);iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((FeedbackKey.of_stringchopped),(FeedbackValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(FeedbackKey.to_valuex)|>(funx->(FeedbackValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:FeedbackKey.of_string~of_json:FeedbackValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInsights=structtypenonrect=stringletcontext_="Insights"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:"Insights"jletto_json=simple_to_jsonto_valueendmoduleLastRecurrenceTime=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_valueendmoduleProblemId=structtypenonrect=stringletcontext_="ProblemId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:38)>>=(fun()->(check_string_maxi~max:38)>>=(fun()->check_patterni~pattern:"p-[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProblemId"jletto_json=simple_to_jsonto_valueendmoduleRecurringCount=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleResolutionMethod=structtypenonrect=|MANUAL|AUTOMATIC|UNRESOLVED|Non_static_idofstringletmakei=iletto_string=function|MANUAL->"MANUAL"|AUTOMATIC->"AUTOMATIC"|UNRESOLVED->"UNRESOLVED"|Non_static_ids->sletof_string=function|"MANUAL"->MANUAL|"AUTOMATIC"->AUTOMATIC|"UNRESOLVED"->UNRESOLVED|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 ResolutionMethod"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolutionMethod"j)letto_json=simple_to_jsonto_valueendmoduleResourceGroupName=structtypenonrect=stringletcontext_="ResourceGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9\\.\\-_]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceGroupName"jletto_json=simple_to_jsonto_valueendmoduleSeverityLevel=structtypenonrect=|Informative|Low|Medium|High|Non_static_idofstringletmakei=iletto_string=function|Informative->"Informative"|Low->"Low"|Medium->"Medium"|High->"High"|Non_static_ids->sletof_string=function|"Informative"->Informative|"Low"->Low|"Medium"->Medium|"High"->High|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SeverityLevel"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SeverityLevel"j)letto_json=simple_to_jsonto_valueendmoduleShortName=structtypenonrect=stringletcontext_="ShortName"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:"ShortName"jletto_json=simple_to_jsonto_valueendmoduleStatus=structtypenonrect=|IGNORE|RESOLVED|PENDING|RECURRING|RECOVERING|Non_static_idofstringletmakei=iletto_string=function|IGNORE->"IGNORE"|RESOLVED->"RESOLVED"|PENDING->"PENDING"|RECURRING->"RECURRING"|RECOVERING->"RECOVERING"|Non_static_ids->sletof_string=function|"IGNORE"->IGNORE|"RESOLVED"->RESOLVED|"PENDING"->PENDING|"RECURRING"->RECURRING|"RECOVERING"->RECOVERING|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 Status"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Status"j)letto_json=simple_to_jsonto_valueendmoduleTitle=structtypenonrect=stringletcontext_="Title"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:"Title"jletto_json=simple_to_jsonto_valueendmoduleVisibility=structtypenonrect=|IGNORED|VISIBLE|Non_static_idofstringletmakei=iletto_string=function|IGNORED->"IGNORED"|VISIBLE->"VISIBLE"|Non_static_ids->sletof_string=function|"IGNORED"->IGNORED|"VISIBLE"->VISIBLE|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 Visibility"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Visibility"j)letto_json=simple_to_jsonto_valueendmoduleLogPatternName=structtypenonrect=stringletcontext_="LogPatternName"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:"LogPatternName"jletto_json=simple_to_jsonto_valueendmoduleLogPatternRank=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 LogPatternRank"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleLogPatternRegex=structtypenonrect=stringletcontext_="LogPatternRegex"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"[\\S\\s]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"LogPatternRegex"jletto_json=simple_to_jsonto_valueendmoduleLogPatternSetName=structtypenonrect=stringletcontext_="LogPatternSetName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:30)>>=(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:"LogPatternSetName"jletto_json=simple_to_jsonto_valueendmoduleConfigurationEventDetail=structtypenonrect=stringletcontext_="ConfigurationEventDetail"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:"ConfigurationEventDetail"jletto_json=simple_to_jsonto_valueendmoduleConfigurationEventMonitoredResourceARN=structtypenonrect=stringletcontext_="ConfigurationEventMonitoredResourceARN"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:"ConfigurationEventMonitoredResourceARN"jletto_json=simple_to_jsonto_valueendmoduleConfigurationEventResourceName=structtypenonrect=stringletcontext_="ConfigurationEventResourceName"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:"ConfigurationEventResourceName"jletto_json=simple_to_jsonto_valueendmoduleConfigurationEventResourceType=structtypenonrect=|CLOUDWATCH_ALARM|CLOUDWATCH_LOG|CLOUDFORMATION|SSM_ASSOCIATION|Non_static_idofstringletmakei=iletto_string=function|CLOUDWATCH_ALARM->"CLOUDWATCH_ALARM"|CLOUDWATCH_LOG->"CLOUDWATCH_LOG"|CLOUDFORMATION->"CLOUDFORMATION"|SSM_ASSOCIATION->"SSM_ASSOCIATION"|Non_static_ids->sletof_string=function|"CLOUDWATCH_ALARM"->CLOUDWATCH_ALARM|"CLOUDWATCH_LOG"->CLOUDWATCH_LOG|"CLOUDFORMATION"->CLOUDFORMATION|"SSM_ASSOCIATION"->SSM_ASSOCIATION|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 ConfigurationEventResourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConfigurationEventResourceType"j)letto_json=simple_to_jsonto_valueendmoduleConfigurationEventStatus=structtypenonrect=|INFO|WARN|ERROR|Non_static_idofstringletmakei=iletto_string=function|INFO->"INFO"|WARN->"WARN"|ERROR->"ERROR"|Non_static_ids->sletof_string=function|"INFO"->INFO|"WARN"->WARN|"ERROR"->ERROR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ConfigurationEventStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConfigurationEventStatus"j)letto_json=simple_to_jsonto_valueendmoduleConfigurationEventTime=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_valueendmoduleDetectedWorkload=structtypenonrect=(Tier.t*WorkloadMetaData.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types Tier WorkloadMetaData"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(Tier.to_valuex)|>(funx->(WorkloadMetaData.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:Tier.of_string~of_json:WorkloadMetaData.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMonitor=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_valueendmoduleOsType=structtypenonrect=|WINDOWS|LINUX|Non_static_idofstringletmakei=iletto_string=function|WINDOWS->"WINDOWS"|LINUX->"LINUX"|Non_static_ids->sletof_string=function|"WINDOWS"->WINDOWS|"LINUX"->LINUX|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_valueendmoduleResourceType=structtypenonrect=stringletcontext_="ResourceType"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"[0-9a-zA-Z:_]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceType"jletto_json=simple_to_jsonto_valueendmoduleAttachMissingPermission=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_valueendmoduleAutoConfigEnabled=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_valueendmoduleCWEMonitorEnabled=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_valueendmoduleDiscoveryType=structtypenonrect=|RESOURCE_GROUP_BASED|ACCOUNT_BASED|Non_static_idofstringletmakei=iletto_string=function|RESOURCE_GROUP_BASED->"RESOURCE_GROUP_BASED"|ACCOUNT_BASED->"ACCOUNT_BASED"|Non_static_ids->sletof_string=function|"RESOURCE_GROUP_BASED"->RESOURCE_GROUP_BASED|"ACCOUNT_BASED"->ACCOUNT_BASED|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 DiscoveryType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DiscoveryType"j)letto_json=simple_to_jsonto_valueendmoduleLifeCycle=structtypenonrect=stringletcontext_="LifeCycle"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:"LifeCycle"jletto_json=simple_to_jsonto_valueendmoduleOpsCenterEnabled=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_valueendmoduleOpsItemSNSTopicArn=structtypenonrect=stringletcontext_="OpsItemSNSTopicArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:300)>>=(fun()->check_patterni~pattern:"^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OpsItemSNSTopicArn"jletto_json=simple_to_jsonto_valueendmoduleSNSNotificationArn=structtypenonrect=stringletcontext_="SNSNotificationArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:300)>>=(fun()->check_patterni~pattern:"^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SNSNotificationArn"jletto_json=simple_to_jsonto_valueendmoduleObservation=structtypenonrect={id:ObservationId.toption[@ocaml.doc"The ID of the observation type."];startTime:StartTime.toption[@ocaml.doc"The time when the observation was first detected, in epoch seconds."];endTime:EndTime.toption[@ocaml.doc"The time when the observation ended, in epoch seconds."];sourceType:SourceType.toption[@ocaml.doc"The source type of the observation."];sourceARN:SourceARN.toption[@ocaml.doc"The source resource ARN of the observation."];logGroup:LogGroup.toption[@ocaml.doc"The log group name."];lineTime:LineTime.toption[@ocaml.doc"The timestamp in the CloudWatch Logs that specifies when the matched line occurred."];logText:LogText.toption[@ocaml.doc"The log text of the observation."];logFilter:LogFilter.toption[@ocaml.doc"The log filter of the observation."];metricNamespace:MetricNamespace.toption[@ocaml.doc"The namespace of the observation metric."];metricName:MetricName.toption[@ocaml.doc"The name of the observation metric."];unit:Unit.toption[@ocaml.doc"The unit of the source observation metric."];value:Value.toption[@ocaml.doc"The value of the source observation metric."];cloudWatchEventId:CloudWatchEventId.toption[@ocaml.doc"The ID of the CloudWatch Event-based observation related to the detected problem."];cloudWatchEventSource:CloudWatchEventSource.toption[@ocaml.doc"The source of the CloudWatch Event."];cloudWatchEventDetailType:CloudWatchEventDetailType.toption[@ocaml.doc"The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification."];healthEventArn:HealthEventArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Health Event-based observation."];healthService:HealthService.toption[@ocaml.doc"The service to which the Health Event belongs, such as EC2."];healthEventTypeCode:HealthEventTypeCode.toption[@ocaml.doc"The type of the Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE."];healthEventTypeCategory:HealthEventTypeCategory.toption[@ocaml.doc"The category of the Health event, such as issue."];healthEventDescription:HealthEventDescription.toption[@ocaml.doc"The description of the Health event provided by the service, such as Amazon EC2."];codeDeployDeploymentId:CodeDeployDeploymentId.toption[@ocaml.doc"The deployment ID of the CodeDeploy-based observation related to the detected problem."];codeDeployDeploymentGroup:CodeDeployDeploymentGroup.toption[@ocaml.doc"The deployment group to which the CodeDeploy deployment belongs."];codeDeployState:CodeDeployState.toption[@ocaml.doc"The status of the CodeDeploy deployment, for example SUCCESS or FAILURE."];codeDeployApplication:CodeDeployApplication.toption[@ocaml.doc"The CodeDeploy application to which the deployment belongs."];codeDeployInstanceGroupId:CodeDeployInstanceGroupId.toption[@ocaml.doc"The instance group to which the CodeDeploy instance belongs."];ec2State:Ec2State.toption[@ocaml.doc"The state of the instance, such as STOPPING or TERMINATING."];rdsEventCategories:RdsEventCategories.toption[@ocaml.doc"The category of an RDS event."];rdsEventMessage:RdsEventMessage.toption[@ocaml.doc"The message of an RDS event."];s3EventName:S3EventName.toption[@ocaml.doc"The name of the S3 CloudWatch Event-based observation."];statesExecutionArn:StatesExecutionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the step function execution-based observation."];statesArn:StatesArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the step function-based observation."];statesStatus:StatesStatus.toption[@ocaml.doc"The status of the step function-related observation."];statesInput:StatesInput.toption[@ocaml.doc"The input to the step function-based observation."];ebsEvent:EbsEvent.toption[@ocaml.doc"The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume."];ebsResult:EbsResult.toption[@ocaml.doc"The result of an EBS CloudWatch event, such as failed or succeeded."];ebsCause:EbsCause.toption[@ocaml.doc"The cause of an EBS CloudWatch event."];ebsRequestId:EbsRequestId.toption[@ocaml.doc"The request ID of an EBS CloudWatch event."];xRayFaultPercent:XRayFaultPercent.toption[@ocaml.doc"The X-Ray request fault percentage for this node."];xRayThrottlePercent:XRayThrottlePercent.toption[@ocaml.doc"The X-Ray request throttle percentage for this node."];xRayErrorPercent:XRayErrorPercent.toption[@ocaml.doc"The X-Ray request error percentage for this node."];xRayRequestCount:XRayRequestCount.toption[@ocaml.doc"The X-Ray request count for this node."];xRayRequestAverageLatency:XRayRequestAverageLatency.toption[@ocaml.doc"The X-Ray node request average latency for this node."];xRayNodeName:XRayNodeName.toption[@ocaml.doc"The name of the X-Ray node."];xRayNodeType:XRayNodeType.toption[@ocaml.doc"The type of the X-Ray node."]}letmake?id=fun?startTime->fun?endTime->fun?sourceType->fun?sourceARN->fun?logGroup->fun?lineTime->fun?logText->fun?logFilter->fun?metricNamespace->fun?metricName->fun?unit->fun?value->fun?cloudWatchEventId->fun?cloudWatchEventSource->fun?cloudWatchEventDetailType->fun?healthEventArn->fun?healthService->fun?healthEventTypeCode->fun?healthEventTypeCategory->fun?healthEventDescription->fun?codeDeployDeploymentId->fun?codeDeployDeploymentGroup->fun?codeDeployState->fun?codeDeployApplication->fun?codeDeployInstanceGroupId->fun?ec2State->fun?rdsEventCategories->fun?rdsEventMessage->fun?s3EventName->fun?statesExecutionArn->fun?statesArn->fun?statesStatus->fun?statesInput->fun?ebsEvent->fun?ebsResult->fun?ebsCause->fun?ebsRequestId->fun?xRayFaultPercent->fun?xRayThrottlePercent->fun?xRayErrorPercent->fun?xRayRequestCount->fun?xRayRequestAverageLatency->fun?xRayNodeName->fun?xRayNodeType->fun()->{id;startTime;endTime;sourceType;sourceARN;logGroup;lineTime;logText;logFilter;metricNamespace;metricName;unit;value;cloudWatchEventId;cloudWatchEventSource;cloudWatchEventDetailType;healthEventArn;healthService;healthEventTypeCode;healthEventTypeCategory;healthEventDescription;codeDeployDeploymentId;codeDeployDeploymentGroup;codeDeployState;codeDeployApplication;codeDeployInstanceGroupId;ec2State;rdsEventCategories;rdsEventMessage;s3EventName;statesExecutionArn;statesArn;statesStatus;statesInput;ebsEvent;ebsResult;ebsCause;ebsRequestId;xRayFaultPercent;xRayThrottlePercent;xRayErrorPercent;xRayRequestCount;xRayRequestAverageLatency;xRayNodeName;xRayNodeType}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ObservationId.to_value));("StartTime",(Option.mapx.startTime~f:StartTime.to_value));("EndTime",(Option.mapx.endTime~f:EndTime.to_value));("SourceType",(Option.mapx.sourceType~f:SourceType.to_value));("SourceARN",(Option.mapx.sourceARN~f:SourceARN.to_value));("LogGroup",(Option.mapx.logGroup~f:LogGroup.to_value));("LineTime",(Option.mapx.lineTime~f:LineTime.to_value));("LogText",(Option.mapx.logText~f:LogText.to_value));("LogFilter",(Option.mapx.logFilter~f:LogFilter.to_value));("MetricNamespace",(Option.mapx.metricNamespace~f:MetricNamespace.to_value));("MetricName",(Option.mapx.metricName~f:MetricName.to_value));("Unit",(Option.mapx.unit~f:Unit.to_value));("Value",(Option.mapx.value~f:Value.to_value));("CloudWatchEventId",(Option.mapx.cloudWatchEventId~f:CloudWatchEventId.to_value));("CloudWatchEventSource",(Option.mapx.cloudWatchEventSource~f:CloudWatchEventSource.to_value));("CloudWatchEventDetailType",(Option.mapx.cloudWatchEventDetailType~f:CloudWatchEventDetailType.to_value));("HealthEventArn",(Option.mapx.healthEventArn~f:HealthEventArn.to_value));("HealthService",(Option.mapx.healthService~f:HealthService.to_value));("HealthEventTypeCode",(Option.mapx.healthEventTypeCode~f:HealthEventTypeCode.to_value));("HealthEventTypeCategory",(Option.mapx.healthEventTypeCategory~f:HealthEventTypeCategory.to_value));("HealthEventDescription",(Option.mapx.healthEventDescription~f:HealthEventDescription.to_value));("CodeDeployDeploymentId",(Option.mapx.codeDeployDeploymentId~f:CodeDeployDeploymentId.to_value));("CodeDeployDeploymentGroup",(Option.mapx.codeDeployDeploymentGroup~f:CodeDeployDeploymentGroup.to_value));("CodeDeployState",(Option.mapx.codeDeployState~f:CodeDeployState.to_value));("CodeDeployApplication",(Option.mapx.codeDeployApplication~f:CodeDeployApplication.to_value));("CodeDeployInstanceGroupId",(Option.mapx.codeDeployInstanceGroupId~f:CodeDeployInstanceGroupId.to_value));("Ec2State",(Option.mapx.ec2State~f:Ec2State.to_value));("RdsEventCategories",(Option.mapx.rdsEventCategories~f:RdsEventCategories.to_value));("RdsEventMessage",(Option.mapx.rdsEventMessage~f:RdsEventMessage.to_value));("S3EventName",(Option.mapx.s3EventName~f:S3EventName.to_value));("StatesExecutionArn",(Option.mapx.statesExecutionArn~f:StatesExecutionArn.to_value));("StatesArn",(Option.mapx.statesArn~f:StatesArn.to_value));("StatesStatus",(Option.mapx.statesStatus~f:StatesStatus.to_value));("StatesInput",(Option.mapx.statesInput~f:StatesInput.to_value));("EbsEvent",(Option.mapx.ebsEvent~f:EbsEvent.to_value));("EbsResult",(Option.mapx.ebsResult~f:EbsResult.to_value));("EbsCause",(Option.mapx.ebsCause~f:EbsCause.to_value));("EbsRequestId",(Option.mapx.ebsRequestId~f:EbsRequestId.to_value));("XRayFaultPercent",(Option.mapx.xRayFaultPercent~f:XRayFaultPercent.to_value));("XRayThrottlePercent",(Option.mapx.xRayThrottlePercent~f:XRayThrottlePercent.to_value));("XRayErrorPercent",(Option.mapx.xRayErrorPercent~f:XRayErrorPercent.to_value));("XRayRequestCount",(Option.mapx.xRayRequestCount~f:XRayRequestCount.to_value));("XRayRequestAverageLatency",(Option.mapx.xRayRequestAverageLatency~f:XRayRequestAverageLatency.to_value));("XRayNodeName",(Option.mapx.xRayNodeName~f:XRayNodeName.to_value));("XRayNodeType",(Option.mapx.xRayNodeType~f:XRayNodeType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letxRayNodeType=(Option.map~f:XRayNodeType.of_xml)(Xml.childxml_arg0"XRayNodeType")inletxRayNodeName=(Option.map~f:XRayNodeName.of_xml)(Xml.childxml_arg0"XRayNodeName")inletxRayRequestAverageLatency=(Option.map~f:XRayRequestAverageLatency.of_xml)(Xml.childxml_arg0"XRayRequestAverageLatency")inletxRayRequestCount=(Option.map~f:XRayRequestCount.of_xml)(Xml.childxml_arg0"XRayRequestCount")inletxRayErrorPercent=(Option.map~f:XRayErrorPercent.of_xml)(Xml.childxml_arg0"XRayErrorPercent")inletxRayThrottlePercent=(Option.map~f:XRayThrottlePercent.of_xml)(Xml.childxml_arg0"XRayThrottlePercent")inletxRayFaultPercent=(Option.map~f:XRayFaultPercent.of_xml)(Xml.childxml_arg0"XRayFaultPercent")inletebsRequestId=(Option.map~f:EbsRequestId.of_xml)(Xml.childxml_arg0"EbsRequestId")inletebsCause=(Option.map~f:EbsCause.of_xml)(Xml.childxml_arg0"EbsCause")inletebsResult=(Option.map~f:EbsResult.of_xml)(Xml.childxml_arg0"EbsResult")inletebsEvent=(Option.map~f:EbsEvent.of_xml)(Xml.childxml_arg0"EbsEvent")inletstatesInput=(Option.map~f:StatesInput.of_xml)(Xml.childxml_arg0"StatesInput")inletstatesStatus=(Option.map~f:StatesStatus.of_xml)(Xml.childxml_arg0"StatesStatus")inletstatesArn=(Option.map~f:StatesArn.of_xml)(Xml.childxml_arg0"StatesArn")inletstatesExecutionArn=(Option.map~f:StatesExecutionArn.of_xml)(Xml.childxml_arg0"StatesExecutionArn")inlets3EventName=(Option.map~f:S3EventName.of_xml)(Xml.childxml_arg0"S3EventName")inletrdsEventMessage=(Option.map~f:RdsEventMessage.of_xml)(Xml.childxml_arg0"RdsEventMessage")inletrdsEventCategories=(Option.map~f:RdsEventCategories.of_xml)(Xml.childxml_arg0"RdsEventCategories")inletec2State=(Option.map~f:Ec2State.of_xml)(Xml.childxml_arg0"Ec2State")inletcodeDeployInstanceGroupId=(Option.map~f:CodeDeployInstanceGroupId.of_xml)(Xml.childxml_arg0"CodeDeployInstanceGroupId")inletcodeDeployApplication=(Option.map~f:CodeDeployApplication.of_xml)(Xml.childxml_arg0"CodeDeployApplication")inletcodeDeployState=(Option.map~f:CodeDeployState.of_xml)(Xml.childxml_arg0"CodeDeployState")inletcodeDeployDeploymentGroup=(Option.map~f:CodeDeployDeploymentGroup.of_xml)(Xml.childxml_arg0"CodeDeployDeploymentGroup")inletcodeDeployDeploymentId=(Option.map~f:CodeDeployDeploymentId.of_xml)(Xml.childxml_arg0"CodeDeployDeploymentId")inlethealthEventDescription=(Option.map~f:HealthEventDescription.of_xml)(Xml.childxml_arg0"HealthEventDescription")inlethealthEventTypeCategory=(Option.map~f:HealthEventTypeCategory.of_xml)(Xml.childxml_arg0"HealthEventTypeCategory")inlethealthEventTypeCode=(Option.map~f:HealthEventTypeCode.of_xml)(Xml.childxml_arg0"HealthEventTypeCode")inlethealthService=(Option.map~f:HealthService.of_xml)(Xml.childxml_arg0"HealthService")inlethealthEventArn=(Option.map~f:HealthEventArn.of_xml)(Xml.childxml_arg0"HealthEventArn")inletcloudWatchEventDetailType=(Option.map~f:CloudWatchEventDetailType.of_xml)(Xml.childxml_arg0"CloudWatchEventDetailType")inletcloudWatchEventSource=(Option.map~f:CloudWatchEventSource.of_xml)(Xml.childxml_arg0"CloudWatchEventSource")inletcloudWatchEventId=(Option.map~f:CloudWatchEventId.of_xml)(Xml.childxml_arg0"CloudWatchEventId")inletvalue=(Option.map~f:Value.of_xml)(Xml.childxml_arg0"Value")inletunit=(Option.map~f:Unit.of_xml)(Xml.childxml_arg0"Unit")inletmetricName=(Option.map~f:MetricName.of_xml)(Xml.childxml_arg0"MetricName")inletmetricNamespace=(Option.map~f:MetricNamespace.of_xml)(Xml.childxml_arg0"MetricNamespace")inletlogFilter=(Option.map~f:LogFilter.of_xml)(Xml.childxml_arg0"LogFilter")inletlogText=(Option.map~f:LogText.of_xml)(Xml.childxml_arg0"LogText")inletlineTime=(Option.map~f:LineTime.of_xml)(Xml.childxml_arg0"LineTime")inletlogGroup=(Option.map~f:LogGroup.of_xml)(Xml.childxml_arg0"LogGroup")inletsourceARN=(Option.map~f:SourceARN.of_xml)(Xml.childxml_arg0"SourceARN")inletsourceType=(Option.map~f:SourceType.of_xml)(Xml.childxml_arg0"SourceType")inletendTime=(Option.map~f:EndTime.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:StartTime.of_xml)(Xml.childxml_arg0"StartTime")inletid=(Option.map~f:ObservationId.of_xml)(Xml.childxml_arg0"Id")inmake?xRayNodeType?xRayNodeName?xRayRequestAverageLatency?xRayRequestCount?xRayErrorPercent?xRayThrottlePercent?xRayFaultPercent?ebsRequestId?ebsCause?ebsResult?ebsEvent?statesInput?statesStatus?statesArn?statesExecutionArn?s3EventName?rdsEventMessage?rdsEventCategories?ec2State?codeDeployInstanceGroupId?codeDeployApplication?codeDeployState?codeDeployDeploymentGroup?codeDeployDeploymentId?healthEventDescription?healthEventTypeCategory?healthEventTypeCode?healthService?healthEventArn?cloudWatchEventDetailType?cloudWatchEventSource?cloudWatchEventId?value?unit?metricName?metricNamespace?logFilter?logText?lineTime?logGroup?sourceARN?sourceType?endTime?startTime?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letxRayNodeType=field_mapjson__"XRayNodeType"XRayNodeType.of_jsoninletxRayNodeName=field_mapjson__"XRayNodeName"XRayNodeName.of_jsoninletxRayRequestAverageLatency=field_mapjson__"XRayRequestAverageLatency"XRayRequestAverageLatency.of_jsoninletxRayRequestCount=field_mapjson__"XRayRequestCount"XRayRequestCount.of_jsoninletxRayErrorPercent=field_mapjson__"XRayErrorPercent"XRayErrorPercent.of_jsoninletxRayThrottlePercent=field_mapjson__"XRayThrottlePercent"XRayThrottlePercent.of_jsoninletxRayFaultPercent=field_mapjson__"XRayFaultPercent"XRayFaultPercent.of_jsoninletebsRequestId=field_mapjson__"EbsRequestId"EbsRequestId.of_jsoninletebsCause=field_mapjson__"EbsCause"EbsCause.of_jsoninletebsResult=field_mapjson__"EbsResult"EbsResult.of_jsoninletebsEvent=field_mapjson__"EbsEvent"EbsEvent.of_jsoninletstatesInput=field_mapjson__"StatesInput"StatesInput.of_jsoninletstatesStatus=field_mapjson__"StatesStatus"StatesStatus.of_jsoninletstatesArn=field_mapjson__"StatesArn"StatesArn.of_jsoninletstatesExecutionArn=field_mapjson__"StatesExecutionArn"StatesExecutionArn.of_jsoninlets3EventName=field_mapjson__"S3EventName"S3EventName.of_jsoninletrdsEventMessage=field_mapjson__"RdsEventMessage"RdsEventMessage.of_jsoninletrdsEventCategories=field_mapjson__"RdsEventCategories"RdsEventCategories.of_jsoninletec2State=field_mapjson__"Ec2State"Ec2State.of_jsoninletcodeDeployInstanceGroupId=field_mapjson__"CodeDeployInstanceGroupId"CodeDeployInstanceGroupId.of_jsoninletcodeDeployApplication=field_mapjson__"CodeDeployApplication"CodeDeployApplication.of_jsoninletcodeDeployState=field_mapjson__"CodeDeployState"CodeDeployState.of_jsoninletcodeDeployDeploymentGroup=field_mapjson__"CodeDeployDeploymentGroup"CodeDeployDeploymentGroup.of_jsoninletcodeDeployDeploymentId=field_mapjson__"CodeDeployDeploymentId"CodeDeployDeploymentId.of_jsoninlethealthEventDescription=field_mapjson__"HealthEventDescription"HealthEventDescription.of_jsoninlethealthEventTypeCategory=field_mapjson__"HealthEventTypeCategory"HealthEventTypeCategory.of_jsoninlethealthEventTypeCode=field_mapjson__"HealthEventTypeCode"HealthEventTypeCode.of_jsoninlethealthService=field_mapjson__"HealthService"HealthService.of_jsoninlethealthEventArn=field_mapjson__"HealthEventArn"HealthEventArn.of_jsoninletcloudWatchEventDetailType=field_mapjson__"CloudWatchEventDetailType"CloudWatchEventDetailType.of_jsoninletcloudWatchEventSource=field_mapjson__"CloudWatchEventSource"CloudWatchEventSource.of_jsoninletcloudWatchEventId=field_mapjson__"CloudWatchEventId"CloudWatchEventId.of_jsoninletvalue=field_mapjson__"Value"Value.of_jsoninletunit=field_mapjson__"Unit"Unit.of_jsoninletmetricName=field_mapjson__"MetricName"MetricName.of_jsoninletmetricNamespace=field_mapjson__"MetricNamespace"MetricNamespace.of_jsoninletlogFilter=field_mapjson__"LogFilter"LogFilter.of_jsoninletlogText=field_mapjson__"LogText"LogText.of_jsoninletlineTime=field_mapjson__"LineTime"LineTime.of_jsoninletlogGroup=field_mapjson__"LogGroup"LogGroup.of_jsoninletsourceARN=field_mapjson__"SourceARN"SourceARN.of_jsoninletsourceType=field_mapjson__"SourceType"SourceType.of_jsoninletendTime=field_mapjson__"EndTime"EndTime.of_jsoninletstartTime=field_mapjson__"StartTime"StartTime.of_jsoninletid=field_mapjson__"Id"ObservationId.of_jsoninmake?xRayNodeType?xRayNodeName?xRayRequestAverageLatency?xRayRequestCount?xRayErrorPercent?xRayThrottlePercent?xRayFaultPercent?ebsRequestId?ebsCause?ebsResult?ebsEvent?statesInput?statesStatus?statesArn?statesExecutionArn?s3EventName?rdsEventMessage?rdsEventCategories?ec2State?codeDeployInstanceGroupId?codeDeployApplication?codeDeployState?codeDeployDeploymentGroup?codeDeployDeploymentId?healthEventDescription?healthEventTypeCategory?healthEventTypeCode?healthService?healthEventArn?cloudWatchEventDetailType?cloudWatchEventSource?cloudWatchEventId?value?unit?metricName?metricNamespace?logFilter?logText?lineTime?logGroup?sourceARN?sourceType?endTime?startTime?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an anomaly or error with the application."]moduleErrorMsg=structtypenonrect=stringletcontext_="ErrorMsg"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:"ErrorMsg"jletto_json=simple_to_jsonto_valueendmoduleComponentConfiguration=structtypenonrect=stringletcontext_="ComponentConfiguration"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:10000)>>=(fun()->check_patterni~pattern:"[\\S\\s]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ComponentConfiguration"jletto_json=simple_to_jsonto_valueendmoduleResourceARN=structtypenonrect=stringletcontext_="ResourceARN"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceARN"jletto_json=simple_to_jsonto_valueendmoduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"^arn:aws(-\\w+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character."];value:TagValue.t[@ocaml.doc"The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want an application to have a specific tag value, don't specify a value for this parameter."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags: Tag keys and values are case sensitive. For each associated resource, each tag key must be unique and it can have only one value. The aws: prefix is reserved for use by Amazon Web Services; you can\226\128\153t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix."]moduleWorkload=structtypenonrect={workloadId:WorkloadId.toption[@ocaml.doc"The ID of the workload."];componentName:ComponentName.toption[@ocaml.doc"The name of the component."];workloadName:WorkloadName.toption[@ocaml.doc"The name of the workload."];tier:Tier.toption[@ocaml.doc"The tier of the workload."];workloadRemarks:Remarks.toption[@ocaml.doc"If logging is supported for the resource type, shows whether the component has configured logs to be monitored."];missingWorkloadConfig:MissingWorkloadConfig.toption[@ocaml.doc"Indicates whether all of the component configurations required to monitor a workload were provided."]}letmake?workloadId=fun?componentName->fun?workloadName->fun?tier->fun?workloadRemarks->fun?missingWorkloadConfig->fun()->{workloadId;componentName;workloadName;tier;workloadRemarks;missingWorkloadConfig}letto_valuex=structure_to_value[("WorkloadId",(Option.mapx.workloadId~f:WorkloadId.to_value));("ComponentName",(Option.mapx.componentName~f:ComponentName.to_value));("WorkloadName",(Option.mapx.workloadName~f:WorkloadName.to_value));("Tier",(Option.mapx.tier~f:Tier.to_value));("WorkloadRemarks",(Option.mapx.workloadRemarks~f:Remarks.to_value));("MissingWorkloadConfig",(Option.mapx.missingWorkloadConfig~f:MissingWorkloadConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmissingWorkloadConfig=(Option.map~f:MissingWorkloadConfig.of_xml)(Xml.childxml_arg0"MissingWorkloadConfig")inletworkloadRemarks=(Option.map~f:Remarks.of_xml)(Xml.childxml_arg0"WorkloadRemarks")inlettier=(Option.map~f:Tier.of_xml)(Xml.childxml_arg0"Tier")inletworkloadName=(Option.map~f:WorkloadName.of_xml)(Xml.childxml_arg0"WorkloadName")inletcomponentName=(Option.map~f:ComponentName.of_xml)(Xml.childxml_arg0"ComponentName")inletworkloadId=(Option.map~f:WorkloadId.of_xml)(Xml.childxml_arg0"WorkloadId")inmake?missingWorkloadConfig?workloadRemarks?tier?workloadName?componentName?workloadId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmissingWorkloadConfig=field_mapjson__"MissingWorkloadConfig"MissingWorkloadConfig.of_jsoninletworkloadRemarks=field_mapjson__"WorkloadRemarks"Remarks.of_jsoninlettier=field_mapjson__"Tier"Tier.of_jsoninletworkloadName=field_mapjson__"WorkloadName"WorkloadName.of_jsoninletcomponentName=field_mapjson__"ComponentName"ComponentName.of_jsoninletworkloadId=field_mapjson__"WorkloadId"WorkloadId.of_jsoninmake?missingWorkloadConfig?workloadRemarks?tier?workloadName?componentName?workloadId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the workloads on a component."]moduleProblem=structtypenonrect={id:ProblemId.toption[@ocaml.doc"The ID of the problem."];title:Title.toption[@ocaml.doc"The name of the problem."];shortName:ShortName.toption[@ocaml.doc"The short name of the problem associated with the SNS notification."];insights:Insights.toption[@ocaml.doc"A detailed analysis of the problem using machine learning."];status:Status.toption[@ocaml.doc"The status of the problem."];affectedResource:AffectedResource.toption[@ocaml.doc"The resource affected by the problem."];startTime:StartTime.toption[@ocaml.doc"The time when the problem started, in epoch seconds."];endTime:EndTime.toption[@ocaml.doc"The time when the problem ended, in epoch seconds."];severityLevel:SeverityLevel.toption[@ocaml.doc"A measure of the level of impact of the problem."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the owner of the resource group affected by the problem."];resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group affected by the problem."];feedback:Feedback.toption[@ocaml.doc"Feedback provided by the user about the problem."];recurringCount:RecurringCount.toption[@ocaml.doc"The number of times that the same problem reoccurred after the first time it was resolved."];lastRecurrenceTime:LastRecurrenceTime.toption[@ocaml.doc"The last time that the problem reoccurred after its last resolution."];visibility:Visibility.toption[@ocaml.doc"Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications."];resolutionMethod:ResolutionMethod.toption[@ocaml.doc"Specifies how the problem was resolved. If the value is AUTOMATIC, the system resolved the problem. If the value is MANUAL, the user resolved the problem. If the value is UNRESOLVED, then the problem is not resolved."]}letmake?id=fun?title->fun?shortName->fun?insights->fun?status->fun?affectedResource->fun?startTime->fun?endTime->fun?severityLevel->fun?accountId->fun?resourceGroupName->fun?feedback->fun?recurringCount->fun?lastRecurrenceTime->fun?visibility->fun?resolutionMethod->fun()->{id;title;shortName;insights;status;affectedResource;startTime;endTime;severityLevel;accountId;resourceGroupName;feedback;recurringCount;lastRecurrenceTime;visibility;resolutionMethod}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ProblemId.to_value));("Title",(Option.mapx.title~f:Title.to_value));("ShortName",(Option.mapx.shortName~f:ShortName.to_value));("Insights",(Option.mapx.insights~f:Insights.to_value));("Status",(Option.mapx.status~f:Status.to_value));("AffectedResource",(Option.mapx.affectedResource~f:AffectedResource.to_value));("StartTime",(Option.mapx.startTime~f:StartTime.to_value));("EndTime",(Option.mapx.endTime~f:EndTime.to_value));("SeverityLevel",(Option.mapx.severityLevel~f:SeverityLevel.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("Feedback",(Option.mapx.feedback~f:Feedback.to_value));("RecurringCount",(Option.mapx.recurringCount~f:RecurringCount.to_value));("LastRecurrenceTime",(Option.mapx.lastRecurrenceTime~f:LastRecurrenceTime.to_value));("Visibility",(Option.mapx.visibility~f:Visibility.to_value));("ResolutionMethod",(Option.mapx.resolutionMethod~f:ResolutionMethod.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolutionMethod=(Option.map~f:ResolutionMethod.of_xml)(Xml.childxml_arg0"ResolutionMethod")inletvisibility=(Option.map~f:Visibility.of_xml)(Xml.childxml_arg0"Visibility")inletlastRecurrenceTime=(Option.map~f:LastRecurrenceTime.of_xml)(Xml.childxml_arg0"LastRecurrenceTime")inletrecurringCount=(Option.map~f:RecurringCount.of_xml)(Xml.childxml_arg0"RecurringCount")inletfeedback=(Option.map~f:Feedback.of_xml)(Xml.childxml_arg0"Feedback")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletseverityLevel=(Option.map~f:SeverityLevel.of_xml)(Xml.childxml_arg0"SeverityLevel")inletendTime=(Option.map~f:EndTime.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:StartTime.of_xml)(Xml.childxml_arg0"StartTime")inletaffectedResource=(Option.map~f:AffectedResource.of_xml)(Xml.childxml_arg0"AffectedResource")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletinsights=(Option.map~f:Insights.of_xml)(Xml.childxml_arg0"Insights")inletshortName=(Option.map~f:ShortName.of_xml)(Xml.childxml_arg0"ShortName")inlettitle=(Option.map~f:Title.of_xml)(Xml.childxml_arg0"Title")inletid=(Option.map~f:ProblemId.of_xml)(Xml.childxml_arg0"Id")inmake?resolutionMethod?visibility?lastRecurrenceTime?recurringCount?feedback?resourceGroupName?accountId?severityLevel?endTime?startTime?affectedResource?status?insights?shortName?title?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolutionMethod=field_mapjson__"ResolutionMethod"ResolutionMethod.of_jsoninletvisibility=field_mapjson__"Visibility"Visibility.of_jsoninletlastRecurrenceTime=field_mapjson__"LastRecurrenceTime"LastRecurrenceTime.of_jsoninletrecurringCount=field_mapjson__"RecurringCount"RecurringCount.of_jsoninletfeedback=field_mapjson__"Feedback"Feedback.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletseverityLevel=field_mapjson__"SeverityLevel"SeverityLevel.of_jsoninletendTime=field_mapjson__"EndTime"EndTime.of_jsoninletstartTime=field_mapjson__"StartTime"StartTime.of_jsoninletaffectedResource=field_mapjson__"AffectedResource"AffectedResource.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletinsights=field_mapjson__"Insights"Insights.of_jsoninletshortName=field_mapjson__"ShortName"ShortName.of_jsoninlettitle=field_mapjson__"Title"Title.of_jsoninletid=field_mapjson__"Id"ProblemId.of_jsoninmake?resolutionMethod?visibility?lastRecurrenceTime?recurringCount?feedback?resourceGroupName?accountId?severityLevel?endTime?startTime?affectedResource?status?insights?shortName?title?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a problem that is detected by correlating observations."]moduleLogPattern=structtypenonrect={patternSetName:LogPatternSetName.toption[@ocaml.doc"The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore."];patternName:LogPatternName.toption[@ocaml.doc"The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore."];pattern:LogPatternRegex.toption[@ocaml.doc"A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported."];rank:LogPatternRank.toption[@ocaml.doc"Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns."]}letmake?patternSetName=fun?patternName->fun?pattern->fun?rank->fun()->{patternSetName;patternName;pattern;rank}letto_valuex=structure_to_value[("PatternSetName",(Option.mapx.patternSetName~f:LogPatternSetName.to_value));("PatternName",(Option.mapx.patternName~f:LogPatternName.to_value));("Pattern",(Option.mapx.pattern~f:LogPatternRegex.to_value));("Rank",(Option.mapx.rank~f:LogPatternRank.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrank=(Option.map~f:LogPatternRank.of_xml)(Xml.childxml_arg0"Rank")inletpattern=(Option.map~f:LogPatternRegex.of_xml)(Xml.childxml_arg0"Pattern")inletpatternName=(Option.map~f:LogPatternName.of_xml)(Xml.childxml_arg0"PatternName")inletpatternSetName=(Option.map~f:LogPatternSetName.of_xml)(Xml.childxml_arg0"PatternSetName")inmake?rank?pattern?patternName?patternSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrank=field_mapjson__"Rank"LogPatternRank.of_jsoninletpattern=field_mapjson__"Pattern"LogPatternRegex.of_jsoninletpatternName=field_mapjson__"PatternName"LogPatternName.of_jsoninletpatternSetName=field_mapjson__"PatternSetName"LogPatternSetName.of_jsoninmake?rank?pattern?patternName?patternSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the log patterns that belongs to a LogPatternSet."]moduleConfigurationEvent=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group of the application to which the configuration event belongs."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the owner of the application to which the configuration event belongs."];monitoredResourceARN:ConfigurationEventMonitoredResourceARN.toption[@ocaml.doc"The resource monitored by Application Insights."];eventStatus:ConfigurationEventStatus.toption[@ocaml.doc"The status of the configuration update event. Possible values include INFO, WARN, and ERROR."];eventResourceType:ConfigurationEventResourceType.toption[@ocaml.doc"The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM."];eventTime:ConfigurationEventTime.toption[@ocaml.doc"The timestamp of the event."];eventDetail:ConfigurationEventDetail.toption[@ocaml.doc"The details of the event in plain text."];eventResourceName:ConfigurationEventResourceName.toption[@ocaml.doc"The name of the resource Application Insights attempted to configure."]}letmake?resourceGroupName=fun?accountId->fun?monitoredResourceARN->fun?eventStatus->fun?eventResourceType->fun?eventTime->fun?eventDetail->fun?eventResourceName->fun()->{resourceGroupName;accountId;monitoredResourceARN;eventStatus;eventResourceType;eventTime;eventDetail;eventResourceName}letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("MonitoredResourceARN",(Option.mapx.monitoredResourceARN~f:ConfigurationEventMonitoredResourceARN.to_value));("EventStatus",(Option.mapx.eventStatus~f:ConfigurationEventStatus.to_value));("EventResourceType",(Option.mapx.eventResourceType~f:ConfigurationEventResourceType.to_value));("EventTime",(Option.mapx.eventTime~f:ConfigurationEventTime.to_value));("EventDetail",(Option.mapx.eventDetail~f:ConfigurationEventDetail.to_value));("EventResourceName",(Option.mapx.eventResourceName~f:ConfigurationEventResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventResourceName=(Option.map~f:ConfigurationEventResourceName.of_xml)(Xml.childxml_arg0"EventResourceName")inleteventDetail=(Option.map~f:ConfigurationEventDetail.of_xml)(Xml.childxml_arg0"EventDetail")inleteventTime=(Option.map~f:ConfigurationEventTime.of_xml)(Xml.childxml_arg0"EventTime")inleteventResourceType=(Option.map~f:ConfigurationEventResourceType.of_xml)(Xml.childxml_arg0"EventResourceType")inleteventStatus=(Option.map~f:ConfigurationEventStatus.of_xml)(Xml.childxml_arg0"EventStatus")inletmonitoredResourceARN=(Option.map~f:ConfigurationEventMonitoredResourceARN.of_xml)(Xml.childxml_arg0"MonitoredResourceARN")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?eventResourceName?eventDetail?eventTime?eventResourceType?eventStatus?monitoredResourceARN?accountId?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventResourceName=field_mapjson__"EventResourceName"ConfigurationEventResourceName.of_jsoninleteventDetail=field_mapjson__"EventDetail"ConfigurationEventDetail.of_jsoninleteventTime=field_mapjson__"EventTime"ConfigurationEventTime.of_jsoninleteventResourceType=field_mapjson__"EventResourceType"ConfigurationEventResourceType.of_jsoninleteventStatus=field_mapjson__"EventStatus"ConfigurationEventStatus.of_jsoninletmonitoredResourceARN=field_mapjson__"MonitoredResourceARN"ConfigurationEventMonitoredResourceARN.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?eventResourceName?eventDetail?eventTime?eventResourceType?eventStatus?monitoredResourceARN?accountId?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The event information."]moduleApplicationComponent=structtypenonrect={componentName:ComponentName.toption[@ocaml.doc"The name of the component."];componentRemarks:Remarks.toption[@ocaml.doc"If logging is supported for the resource type, indicates whether the component has configured logs to be monitored."];resourceType:ResourceType.toption[@ocaml.doc"The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue."];osType:OsType.toption[@ocaml.doc"The operating system of the component."];tier:Tier.toption[@ocaml.doc"The stack tier of the application component."];monitor:Monitor.toption[@ocaml.doc"Indicates whether the application component is monitored."];detectedWorkload:DetectedWorkload.toption[@ocaml.doc"Workloads detected in the application component."]}letmake?componentName=fun?componentRemarks->fun?resourceType->fun?osType->fun?tier->fun?monitor->fun?detectedWorkload->fun()->{componentName;componentRemarks;resourceType;osType;tier;monitor;detectedWorkload}letto_valuex=structure_to_value[("ComponentName",(Option.mapx.componentName~f:ComponentName.to_value));("ComponentRemarks",(Option.mapx.componentRemarks~f:Remarks.to_value));("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("OsType",(Option.mapx.osType~f:OsType.to_value));("Tier",(Option.mapx.tier~f:Tier.to_value));("Monitor",(Option.mapx.monitor~f:Monitor.to_value));("DetectedWorkload",(Option.mapx.detectedWorkload~f:DetectedWorkload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdetectedWorkload=(Option.map~f:DetectedWorkload.of_xml)(Xml.childxml_arg0"DetectedWorkload")inletmonitor=(Option.map~f:Monitor.of_xml)(Xml.childxml_arg0"Monitor")inlettier=(Option.map~f:Tier.of_xml)(Xml.childxml_arg0"Tier")inletosType=(Option.map~f:OsType.of_xml)(Xml.childxml_arg0"OsType")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inletcomponentRemarks=(Option.map~f:Remarks.of_xml)(Xml.childxml_arg0"ComponentRemarks")inletcomponentName=(Option.map~f:ComponentName.of_xml)(Xml.childxml_arg0"ComponentName")inmake?detectedWorkload?monitor?tier?osType?resourceType?componentRemarks?componentName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdetectedWorkload=field_mapjson__"DetectedWorkload"DetectedWorkload.of_jsoninletmonitor=field_mapjson__"Monitor"Monitor.of_jsoninlettier=field_mapjson__"Tier"Tier.of_jsoninletosType=field_mapjson__"OsType"OsType.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninletcomponentRemarks=field_mapjson__"ComponentRemarks"Remarks.of_jsoninletcomponentName=field_mapjson__"ComponentName"ComponentName.of_jsoninmake?detectedWorkload?monitor?tier?osType?resourceType?componentRemarks?componentName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a standalone resource or similarly grouped resources that the application is made up of."]moduleApplicationInfo=structtypenonrect={accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the owner of the application."];resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group used for the application."];lifeCycle:LifeCycle.toption[@ocaml.doc"The lifecycle of the application."];opsItemSNSTopicArn:OpsItemSNSTopicArn.toption[@ocaml.doc"The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates."];sNSNotificationArn:SNSNotificationArn.toption[@ocaml.doc"The SNS topic ARN that is associated with SNS notifications for updates or issues."];opsCenterEnabled:OpsCenterEnabled.toption[@ocaml.doc"Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application."];cWEMonitorEnabled:CWEMonitorEnabled.toption[@ocaml.doc"Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others."];remarks:Remarks.toption[@ocaml.doc"The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include: \226\128\156Configuring application, detected 1 Errors, 3 Warnings\226\128\157 \226\128\156Configuring application, detected 1 Unconfigured Components\226\128\157"];autoConfigEnabled:AutoConfigEnabled.toption[@ocaml.doc"Indicates whether auto-configuration is turned on for this application."];discoveryType:DiscoveryType.toption[@ocaml.doc"The method used by Application Insights to onboard your resources."];attachMissingPermission:AttachMissingPermission.toption[@ocaml.doc"If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing."]}letmake?accountId=fun?resourceGroupName->fun?lifeCycle->fun?opsItemSNSTopicArn->fun?sNSNotificationArn->fun?opsCenterEnabled->fun?cWEMonitorEnabled->fun?remarks->fun?autoConfigEnabled->fun?discoveryType->fun?attachMissingPermission->fun()->{accountId;resourceGroupName;lifeCycle;opsItemSNSTopicArn;sNSNotificationArn;opsCenterEnabled;cWEMonitorEnabled;remarks;autoConfigEnabled;discoveryType;attachMissingPermission}letto_valuex=structure_to_value[("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("LifeCycle",(Option.mapx.lifeCycle~f:LifeCycle.to_value));("OpsItemSNSTopicArn",(Option.mapx.opsItemSNSTopicArn~f:OpsItemSNSTopicArn.to_value));("SNSNotificationArn",(Option.mapx.sNSNotificationArn~f:SNSNotificationArn.to_value));("OpsCenterEnabled",(Option.mapx.opsCenterEnabled~f:OpsCenterEnabled.to_value));("CWEMonitorEnabled",(Option.mapx.cWEMonitorEnabled~f:CWEMonitorEnabled.to_value));("Remarks",(Option.mapx.remarks~f:Remarks.to_value));("AutoConfigEnabled",(Option.mapx.autoConfigEnabled~f:AutoConfigEnabled.to_value));("DiscoveryType",(Option.mapx.discoveryType~f:DiscoveryType.to_value));("AttachMissingPermission",(Option.mapx.attachMissingPermission~f:AttachMissingPermission.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachMissingPermission=(Option.map~f:AttachMissingPermission.of_xml)(Xml.childxml_arg0"AttachMissingPermission")inletdiscoveryType=(Option.map~f:DiscoveryType.of_xml)(Xml.childxml_arg0"DiscoveryType")inletautoConfigEnabled=(Option.map~f:AutoConfigEnabled.of_xml)(Xml.childxml_arg0"AutoConfigEnabled")inletremarks=(Option.map~f:Remarks.of_xml)(Xml.childxml_arg0"Remarks")inletcWEMonitorEnabled=(Option.map~f:CWEMonitorEnabled.of_xml)(Xml.childxml_arg0"CWEMonitorEnabled")inletopsCenterEnabled=(Option.map~f:OpsCenterEnabled.of_xml)(Xml.childxml_arg0"OpsCenterEnabled")inletsNSNotificationArn=(Option.map~f:SNSNotificationArn.of_xml)(Xml.childxml_arg0"SNSNotificationArn")inletopsItemSNSTopicArn=(Option.map~f:OpsItemSNSTopicArn.of_xml)(Xml.childxml_arg0"OpsItemSNSTopicArn")inletlifeCycle=(Option.map~f:LifeCycle.of_xml)(Xml.childxml_arg0"LifeCycle")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inmake?attachMissingPermission?discoveryType?autoConfigEnabled?remarks?cWEMonitorEnabled?opsCenterEnabled?sNSNotificationArn?opsItemSNSTopicArn?lifeCycle?resourceGroupName?accountId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachMissingPermission=field_mapjson__"AttachMissingPermission"AttachMissingPermission.of_jsoninletdiscoveryType=field_mapjson__"DiscoveryType"DiscoveryType.of_jsoninletautoConfigEnabled=field_mapjson__"AutoConfigEnabled"AutoConfigEnabled.of_jsoninletremarks=field_mapjson__"Remarks"Remarks.of_jsoninletcWEMonitorEnabled=field_mapjson__"CWEMonitorEnabled"CWEMonitorEnabled.of_jsoninletopsCenterEnabled=field_mapjson__"OpsCenterEnabled"OpsCenterEnabled.of_jsoninletsNSNotificationArn=field_mapjson__"SNSNotificationArn"SNSNotificationArn.of_jsoninletopsItemSNSTopicArn=field_mapjson__"OpsItemSNSTopicArn"OpsItemSNSTopicArn.of_jsoninletlifeCycle=field_mapjson__"LifeCycle"LifeCycle.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninmake?attachMissingPermission?discoveryType?autoConfigEnabled?remarks?cWEMonitorEnabled?opsCenterEnabled?sNSNotificationArn?opsItemSNSTopicArn?lifeCycle?resourceGroupName?accountId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the status of the application."]moduleObservationList=structtypenonrect=Observation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Observation.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:Observation.of_xml)letof_jsonj=list_of_json~kind:"ObservationList"~of_json:Observation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInternalServerException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The server encountered an internal error and is unable to complete the request."]moduleResourceNotFoundException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource does not exist in the customer account."]moduleValidationException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The parameter is not valid."]moduleWorkloadConfiguration=structtypenonrect={workloadName:WorkloadName.toption[@ocaml.doc"The name of the workload."];tier:Tier.toption[@ocaml.doc"The configuration of the workload tier."];configuration:ComponentConfiguration.toption[@ocaml.doc"The configuration settings of the workload."]}letmake?workloadName=fun?tier->fun?configuration->fun()->{workloadName;tier;configuration}letto_valuex=structure_to_value[("WorkloadName",(Option.mapx.workloadName~f:WorkloadName.to_value));("Tier",(Option.mapx.tier~f:Tier.to_value));("Configuration",(Option.mapx.configuration~f:ComponentConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfiguration=(Option.map~f:ComponentConfiguration.of_xml)(Xml.childxml_arg0"Configuration")inlettier=(Option.map~f:Tier.of_xml)(Xml.childxml_arg0"Tier")inletworkloadName=(Option.map~f:WorkloadName.of_xml)(Xml.childxml_arg0"WorkloadName")inmake?configuration?tier?workloadName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfiguration=field_mapjson__"Configuration"ComponentConfiguration.of_jsoninlettier=field_mapjson__"Tier"Tier.of_jsoninletworkloadName=field_mapjson__"WorkloadName"WorkloadName.of_jsoninmake?configuration?tier?workloadName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration of the workload."]moduleUpdateStatus=structtypenonrect=|RESOLVED|Non_static_idofstringletmakei=iletto_string=function|RESOLVED->"RESOLVED"|Non_static_ids->sletof_string=function|"RESOLVED"->RESOLVED|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 UpdateStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UpdateStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceInUseException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource is already created or in use."]moduleCustomComponentName=structtypenonrect=stringletcontext_="CustomComponentName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^[\\d\\w\\-_\\.+]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CustomComponentName"jletto_json=simple_to_jsonto_valueendmoduleResourceList=structtypenonrect=ResourceARN.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceARN.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ResourceARN.of_xml)letof_jsonj=list_of_json~kind:"ResourceList"~of_json:ResourceARN.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRemoveSNSTopic=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_valueendmoduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTooManyTagsException=structtypenonrect={message:ExceptionMessage.toption;resourceName:AmazonResourceName.toption[@ocaml.doc"The name of the resource with too many tags."]}letmake?message=fun?resourceName->fun()->{message;resourceName}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value));("ResourceName",(Option.mapx.resourceName~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ResourceName")inletmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?resourceName?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_mapjson__"ResourceName"AmazonResourceName.of_jsoninletmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?resourceName?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit."]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePaginationToken=structtypenonrect=stringletcontext_="PaginationToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PaginationToken"jletto_json=simple_to_jsonto_valueendmoduleWorkloadList=structtypenonrect=Workload.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Workload.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:Workload.of_xml)letof_jsonj=list_of_json~kind:"WorkloadList"~of_json:Workload.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxEntities=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:40)>>=(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 MaxEntities"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProblemList=structtypenonrect=Problem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Problem.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:Problem.of_xml)letof_jsonj=list_of_json~kind:"ProblemList"~of_json:Problem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLogPatternList=structtypenonrect=LogPattern.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LogPattern.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:LogPattern.of_xml)letof_jsonj=list_of_json~kind:"LogPatternList"~of_json:LogPattern.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLogPatternSetList=structtypenonrect=LogPatternSetName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LogPatternSetName.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:LogPatternSetName.of_xml)letof_jsonj=list_of_json~kind:"LogPatternSetList"~of_json:LogPatternSetName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConfigurationEventList=structtypenonrect=ConfigurationEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConfigurationEvent.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:ConfigurationEvent.of_xml)letof_jsonj=list_of_json~kind:"ConfigurationEventList"~of_json:ConfigurationEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApplicationComponentList=structtypenonrect=ApplicationComponent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationComponent.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:ApplicationComponent.of_xml)letof_jsonj=list_of_json~kind:"ApplicationComponentList"~of_json:ApplicationComponent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApplicationInfoList=structtypenonrect=ApplicationInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationInfo.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:ApplicationInfo.of_xml)letof_jsonj=list_of_json~kind:"ApplicationInfoList"~of_json:ApplicationInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRelatedObservations=structtypenonrect={observationList:ObservationList.toption[@ocaml.doc"The list of observations related to the problem."]}letmake?observationList=fun()->{observationList}letto_valuex=structure_to_value[("ObservationList",(Option.mapx.observationList~f:ObservationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letobservationList=(Option.map~f:ObservationList.of_xml)(Xml.childxml_arg0"ObservationList")inmake?observationList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letobservationList=field_mapjson__"ObservationList"ObservationList.of_jsoninmake?observationList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes observations related to the problem."]moduleRecommendationType=structtypenonrect=|INFRA_ONLY|WORKLOAD_ONLY|ALL|Non_static_idofstringletmakei=iletto_string=function|INFRA_ONLY->"INFRA_ONLY"|WORKLOAD_ONLY->"WORKLOAD_ONLY"|ALL->"ALL"|Non_static_ids->sletof_string=function|"INFRA_ONLY"->INFRA_ONLY|"WORKLOAD_ONLY"->WORKLOAD_ONLY|"ALL"->ALL|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 RecommendationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecommendationType"j)letto_json=simple_to_jsonto_valueendmoduleBadRequestException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request is not understood by the server."]moduleAccessDeniedException=structtypenonrect={message:ErrorMsg.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMsg.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMsg.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMsg.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"User does not have permissions to perform this action."]moduleTagsAlreadyExistException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Tags are already registered for the specified application ARN."]moduleAutoCreate=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_valueendmoduleGroupingType=structtypenonrect=|ACCOUNT_BASED|Non_static_idofstringletmakei=iletto_string=function|ACCOUNT_BASED->"ACCOUNT_BASED"|Non_static_ids->sletof_string=function|"ACCOUNT_BASED"->ACCOUNT_BASED|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 GroupingType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GroupingType"j)letto_json=simple_to_jsonto_valueendmoduleUpdateWorkloadResponse=structtypenonrect={workloadId:WorkloadId.toption[@ocaml.doc"The ID of the workload."];workloadConfiguration:WorkloadConfiguration.toption[@ocaml.doc"The configuration settings of the workload. The value is the escaped JSON of the configuration."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?workloadId=fun?workloadConfiguration->fun()->{workloadId;workloadConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("WorkloadId",(Option.mapx.workloadId~f:WorkloadId.to_value));("WorkloadConfiguration",(Option.mapx.workloadConfiguration~f:WorkloadConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadConfiguration=(Option.map~f:WorkloadConfiguration.of_xml)(Xml.childxml_arg0"WorkloadConfiguration")inletworkloadId=(Option.map~f:WorkloadId.of_xml)(Xml.childxml_arg0"WorkloadId")inmake?workloadConfiguration?workloadId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadConfiguration=field_mapjson__"WorkloadConfiguration"WorkloadConfiguration.of_jsoninletworkloadId=field_mapjson__"WorkloadId"WorkloadId.of_jsoninmake?workloadConfiguration?workloadId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a workload to a component. Each component can have at most five workloads."]moduleUpdateWorkloadRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];workloadId:WorkloadId.toption[@ocaml.doc"The ID of the workload."];workloadConfiguration:WorkloadConfiguration.t[@ocaml.doc"The configuration settings of the workload. The value is the escaped JSON of the configuration."]}letcontext_="UpdateWorkloadRequest"letmake?workloadId=fun~resourceGroupName->fun~componentName->fun~workloadConfiguration->fun()->{workloadId;resourceGroupName;componentName;workloadConfiguration}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("WorkloadId",(Option.mapx.workloadId~f:WorkloadId.to_value));("WorkloadConfiguration",(Some(WorkloadConfiguration.to_valuex.workloadConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadConfiguration=WorkloadConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"WorkloadConfiguration")inletworkloadId=(Option.map~f:WorkloadId.of_xml)(Xml.childxml_arg0"WorkloadId")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~workloadConfiguration?workloadId~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadConfiguration=field_map_exnjson__"WorkloadConfiguration"WorkloadConfiguration.of_jsoninletworkloadId=field_mapjson__"WorkloadId"WorkloadId.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~workloadConfiguration?workloadId~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a workload to a component. Each component can have at most five workloads."]moduleUpdateProblemResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the visibility of the problem or specifies the problem as RESOLVED."]moduleUpdateProblemRequest=structtypenonrect={problemId:ProblemId.t[@ocaml.doc"The ID of the problem."];updateStatus:UpdateStatus.toption[@ocaml.doc"The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING."];visibility:Visibility.toption[@ocaml.doc"The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed."]}letcontext_="UpdateProblemRequest"letmake?updateStatus=fun?visibility->fun~problemId->fun()->{updateStatus;visibility;problemId}letto_valuex=structure_to_value[("ProblemId",(Some(ProblemId.to_valuex.problemId)));("UpdateStatus",(Option.mapx.updateStatus~f:UpdateStatus.to_value));("Visibility",(Option.mapx.visibility~f:Visibility.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvisibility=(Option.map~f:Visibility.of_xml)(Xml.childxml_arg0"Visibility")inletupdateStatus=(Option.map~f:UpdateStatus.of_xml)(Xml.childxml_arg0"UpdateStatus")inletproblemId=ProblemId.of_xml(Xml.child_exn~context:context_xml_arg0"ProblemId")inmake?visibility?updateStatus~problemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvisibility=field_mapjson__"Visibility"Visibility.of_jsoninletupdateStatus=field_mapjson__"UpdateStatus"UpdateStatus.of_jsoninletproblemId=field_map_exnjson__"ProblemId"ProblemId.of_jsoninmake?visibility?updateStatus~problemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the visibility of the problem or specifies the problem as RESOLVED."]moduleUpdateLogPatternResponse=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];logPattern:LogPattern.toption[@ocaml.doc"The successfully created log pattern."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceGroupName=fun?logPattern->fun()->{resourceGroupName;logPattern}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("LogPattern",(Option.mapx.logPattern~f:LogPattern.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogPattern=(Option.map~f:LogPattern.of_xml)(Xml.childxml_arg0"LogPattern")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?logPattern?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogPattern=field_mapjson__"LogPattern"LogPattern.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?logPattern?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a log pattern to a LogPatternSet."]moduleUpdateLogPatternRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];patternSetName:LogPatternSetName.t[@ocaml.doc"The name of the log pattern set."];patternName:LogPatternName.t[@ocaml.doc"The name of the log pattern."];pattern:LogPatternRegex.toption[@ocaml.doc"The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported."];rank:LogPatternRank.toption[@ocaml.doc"Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns."]}letcontext_="UpdateLogPatternRequest"letmake?pattern=fun?rank->fun~resourceGroupName->fun~patternSetName->fun~patternName->fun()->{pattern;rank;resourceGroupName;patternSetName;patternName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("PatternSetName",(Some(LogPatternSetName.to_valuex.patternSetName)));("PatternName",(Some(LogPatternName.to_valuex.patternName)));("Pattern",(Option.mapx.pattern~f:LogPatternRegex.to_value));("Rank",(Option.mapx.rank~f:LogPatternRank.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrank=(Option.map~f:LogPatternRank.of_xml)(Xml.childxml_arg0"Rank")inletpattern=(Option.map~f:LogPatternRegex.of_xml)(Xml.childxml_arg0"Pattern")inletpatternName=LogPatternName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternName")inletpatternSetName=LogPatternSetName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternSetName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?rank?pattern~patternName~patternSetName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrank=field_mapjson__"Rank"LogPatternRank.of_jsoninletpattern=field_mapjson__"Pattern"LogPatternRegex.of_jsoninletpatternName=field_map_exnjson__"PatternName"LogPatternName.of_jsoninletpatternSetName=field_map_exnjson__"PatternSetName"LogPatternSetName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?rank?pattern~patternName~patternSetName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a log pattern to a LogPatternSet."]moduleUpdateComponentResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the custom component name and/or the list of resources that make up the component."]moduleUpdateComponentRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:CustomComponentName.t[@ocaml.doc"The name of the component."];newComponentName:CustomComponentName.toption[@ocaml.doc"The new name of the component."];resourceList:ResourceList.toption[@ocaml.doc"The list of resource ARNs that belong to the component."]}letcontext_="UpdateComponentRequest"letmake?newComponentName=fun?resourceList->fun~resourceGroupName->fun~componentName->fun()->{newComponentName;resourceList;resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(CustomComponentName.to_valuex.componentName)));("NewComponentName",(Option.mapx.newComponentName~f:CustomComponentName.to_value));("ResourceList",(Option.mapx.resourceList~f:ResourceList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceList=(Option.map~f:ResourceList.of_xml)(Xml.childxml_arg0"ResourceList")inletnewComponentName=(Option.map~f:CustomComponentName.of_xml)(Xml.childxml_arg0"NewComponentName")inletcomponentName=CustomComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?resourceList?newComponentName~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceList=field_mapjson__"ResourceList"ResourceList.of_jsoninletnewComponentName=field_mapjson__"NewComponentName"CustomComponentName.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"CustomComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?resourceList?newComponentName~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the custom component name and/or the list of resources that make up the component."]moduleUpdateComponentConfigurationResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation."]moduleUpdateComponentConfigurationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];monitor:Monitor.toption[@ocaml.doc"Indicates whether the application component is monitored."];tier:Tier.toption[@ocaml.doc"The tier of the application component."];componentConfiguration:ComponentConfiguration.toption[@ocaml.doc"The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration."];autoConfigEnabled:AutoConfigEnabled.toption[@ocaml.doc"Automatically configures the component by applying the recommended configurations."]}letcontext_="UpdateComponentConfigurationRequest"letmake?monitor=fun?tier->fun?componentConfiguration->fun?autoConfigEnabled->fun~resourceGroupName->fun~componentName->fun()->{monitor;tier;componentConfiguration;autoConfigEnabled;resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("Monitor",(Option.mapx.monitor~f:Monitor.to_value));("Tier",(Option.mapx.tier~f:Tier.to_value));("ComponentConfiguration",(Option.mapx.componentConfiguration~f:ComponentConfiguration.to_value));("AutoConfigEnabled",(Option.mapx.autoConfigEnabled~f:AutoConfigEnabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoConfigEnabled=(Option.map~f:AutoConfigEnabled.of_xml)(Xml.childxml_arg0"AutoConfigEnabled")inletcomponentConfiguration=(Option.map~f:ComponentConfiguration.of_xml)(Xml.childxml_arg0"ComponentConfiguration")inlettier=(Option.map~f:Tier.of_xml)(Xml.childxml_arg0"Tier")inletmonitor=(Option.map~f:Monitor.of_xml)(Xml.childxml_arg0"Monitor")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?autoConfigEnabled?componentConfiguration?tier?monitor~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoConfigEnabled=field_mapjson__"AutoConfigEnabled"AutoConfigEnabled.of_jsoninletcomponentConfiguration=field_mapjson__"ComponentConfiguration"ComponentConfiguration.of_jsoninlettier=field_mapjson__"Tier"Tier.of_jsoninletmonitor=field_mapjson__"Monitor"Monitor.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?autoConfigEnabled?componentConfiguration?tier?monitor~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation."]moduleUpdateApplicationResponse=structtypenonrect={applicationInfo:ApplicationInfo.toption[@ocaml.doc"Information about the application."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationInfo=fun()->{applicationInfo}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ApplicationInfo",(Option.mapx.applicationInfo~f:ApplicationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationInfo=(Option.map~f:ApplicationInfo.of_xml)(Xml.childxml_arg0"ApplicationInfo")inmake?applicationInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationInfo=field_mapjson__"ApplicationInfo"ApplicationInfo.of_jsoninmake?applicationInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the application."]moduleUpdateApplicationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];opsCenterEnabled:OpsCenterEnabled.toption[@ocaml.doc"When set to true, creates opsItems for any problems detected on an application."];cWEMonitorEnabled:CWEMonitorEnabled.toption[@ocaml.doc"Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others."];opsItemSNSTopicArn:OpsItemSNSTopicArn.toption[@ocaml.doc"The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem."];sNSNotificationArn:SNSNotificationArn.toption[@ocaml.doc"The SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application."];removeSNSTopic:RemoveSNSTopic.toption[@ocaml.doc"Disassociates the SNS topic from the opsItem created for detected problems."];autoConfigEnabled:AutoConfigEnabled.toption[@ocaml.doc"Turns auto-configuration on or off."];attachMissingPermission:AttachMissingPermission.toption[@ocaml.doc"If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing."]}letcontext_="UpdateApplicationRequest"letmake?opsCenterEnabled=fun?cWEMonitorEnabled->fun?opsItemSNSTopicArn->fun?sNSNotificationArn->fun?removeSNSTopic->fun?autoConfigEnabled->fun?attachMissingPermission->fun~resourceGroupName->fun()->{opsCenterEnabled;cWEMonitorEnabled;opsItemSNSTopicArn;sNSNotificationArn;removeSNSTopic;autoConfigEnabled;attachMissingPermission;resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("OpsCenterEnabled",(Option.mapx.opsCenterEnabled~f:OpsCenterEnabled.to_value));("CWEMonitorEnabled",(Option.mapx.cWEMonitorEnabled~f:CWEMonitorEnabled.to_value));("OpsItemSNSTopicArn",(Option.mapx.opsItemSNSTopicArn~f:OpsItemSNSTopicArn.to_value));("SNSNotificationArn",(Option.mapx.sNSNotificationArn~f:SNSNotificationArn.to_value));("RemoveSNSTopic",(Option.mapx.removeSNSTopic~f:RemoveSNSTopic.to_value));("AutoConfigEnabled",(Option.mapx.autoConfigEnabled~f:AutoConfigEnabled.to_value));("AttachMissingPermission",(Option.mapx.attachMissingPermission~f:AttachMissingPermission.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachMissingPermission=(Option.map~f:AttachMissingPermission.of_xml)(Xml.childxml_arg0"AttachMissingPermission")inletautoConfigEnabled=(Option.map~f:AutoConfigEnabled.of_xml)(Xml.childxml_arg0"AutoConfigEnabled")inletremoveSNSTopic=(Option.map~f:RemoveSNSTopic.of_xml)(Xml.childxml_arg0"RemoveSNSTopic")inletsNSNotificationArn=(Option.map~f:SNSNotificationArn.of_xml)(Xml.childxml_arg0"SNSNotificationArn")inletopsItemSNSTopicArn=(Option.map~f:OpsItemSNSTopicArn.of_xml)(Xml.childxml_arg0"OpsItemSNSTopicArn")inletcWEMonitorEnabled=(Option.map~f:CWEMonitorEnabled.of_xml)(Xml.childxml_arg0"CWEMonitorEnabled")inletopsCenterEnabled=(Option.map~f:OpsCenterEnabled.of_xml)(Xml.childxml_arg0"OpsCenterEnabled")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?attachMissingPermission?autoConfigEnabled?removeSNSTopic?sNSNotificationArn?opsItemSNSTopicArn?cWEMonitorEnabled?opsCenterEnabled~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachMissingPermission=field_mapjson__"AttachMissingPermission"AttachMissingPermission.of_jsoninletautoConfigEnabled=field_mapjson__"AutoConfigEnabled"AutoConfigEnabled.of_jsoninletremoveSNSTopic=field_mapjson__"RemoveSNSTopic"RemoveSNSTopic.of_jsoninletsNSNotificationArn=field_mapjson__"SNSNotificationArn"SNSNotificationArn.of_jsoninletopsItemSNSTopicArn=field_mapjson__"OpsItemSNSTopicArn"OpsItemSNSTopicArn.of_jsoninletcWEMonitorEnabled=field_mapjson__"CWEMonitorEnabled"CWEMonitorEnabled.of_jsoninletopsCenterEnabled=field_mapjson__"OpsCenterEnabled"OpsCenterEnabled.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?attachMissingPermission?autoConfigEnabled?removeSNSTopic?sNSNotificationArn?opsItemSNSTopicArn?cWEMonitorEnabled?opsCenterEnabled~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the application."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove one or more tags (keys and values) from a specified application."]moduleUntagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from."];tagKeys:TagKeyList.t[@ocaml.doc"The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value. To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand."]}letcontext_="UntagResourceRequest"letmake~resourceARN=fun~tagKeys->fun()->{resourceARN;tagKeys}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("TagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tagKeys~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tagKeys~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove one or more tags (keys and values) from a specified application."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`TooManyTagsExceptionofTooManyTagsException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.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|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.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"Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleTagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the application that you want to add one or more tags to."];tags:TagList.t[@ocaml.doc"A list of tags that to add to the application. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters."]}letcontext_="TagResourceRequest"letmake~resourceARN=fun~tags->fun()->{resourceARN;tags}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tags~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tags~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleRemoveWorkloadResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove workload from a component."]moduleRemoveWorkloadRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];workloadId:WorkloadId.t[@ocaml.doc"The ID of the workload."]}letcontext_="RemoveWorkloadRequest"letmake~resourceGroupName=fun~componentName->fun~workloadId->fun()->{resourceGroupName;componentName;workloadId}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("WorkloadId",(Some(WorkloadId.to_valuex.workloadId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadId=WorkloadId.of_xml(Xml.child_exn~context:context_xml_arg0"WorkloadId")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~workloadId~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadId=field_map_exnjson__"WorkloadId"WorkloadId.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~workloadId~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove workload from a component."]moduleListWorkloadsResponse=structtypenonrect={workloadList:WorkloadList.toption[@ocaml.doc"The list of workloads."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?workloadList=fun?nextToken->fun()->{workloadList;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("WorkloadList",(Option.mapx.workloadList~f:WorkloadList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletworkloadList=(Option.map~f:WorkloadList.of_xml)(Xml.childxml_arg0"WorkloadList")inmake?nextToken?workloadList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletworkloadList=field_mapjson__"WorkloadList"WorkloadList.of_jsoninmake?nextToken?workloadList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the workloads that are configured on a given component."]moduleListWorkloadsRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID of the owner of the workload."]}letcontext_="ListWorkloadsRequest"letmake?maxResults=fun?nextToken->fun?accountId->fun~resourceGroupName->fun~componentName->fun()->{maxResults;nextToken;accountId;resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId?nextToken?maxResults~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId?nextToken?maxResults~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the workloads that are configured on a given component."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"An array that lists all the tags that are associated with the application. Each tag consists of a required tag key (Key) and an associated tag value (Value)."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for."]}letcontext_="ListTagsForResourceRequest"letmake~resourceARN=fun()->{resourceARN}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleListProblemsResponse=structtypenonrect={problemList:ProblemList.toption[@ocaml.doc"The list of problems."];nextToken:PaginationToken.toption[@ocaml.doc"The token used to retrieve the next page of results. This value is null when there are no more results to return."];resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?problemList=fun?nextToken->fun?resourceGroupName->fun?accountId->fun()->{problemList;nextToken;resourceGroupName;accountId}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProblemList",(Option.mapx.problemList~f:ProblemList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletproblemList=(Option.map~f:ProblemList.of_xml)(Xml.childxml_arg0"ProblemList")inmake?accountId?resourceGroupName?nextToken?problemList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletproblemList=field_mapjson__"ProblemList"ProblemList.of_jsoninmake?accountId?resourceGroupName?nextToken?problemList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the problems with your application."]moduleListProblemsRequest=structtypenonrect={accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."];resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];startTime:StartTime.toption[@ocaml.doc"The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned."];endTime:EndTime.toption[@ocaml.doc"The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];componentName:ComponentName.toption[@ocaml.doc"The name of the component."];visibility:Visibility.toption[@ocaml.doc"Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned."]}letmake?accountId=fun?resourceGroupName->fun?startTime->fun?endTime->fun?maxResults->fun?nextToken->fun?componentName->fun?visibility->fun()->{accountId;resourceGroupName;startTime;endTime;maxResults;nextToken;componentName;visibility}letto_valuex=structure_to_value[("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("StartTime",(Option.mapx.startTime~f:StartTime.to_value));("EndTime",(Option.mapx.endTime~f:EndTime.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("ComponentName",(Option.mapx.componentName~f:ComponentName.to_value));("Visibility",(Option.mapx.visibility~f:Visibility.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvisibility=(Option.map~f:Visibility.of_xml)(Xml.childxml_arg0"Visibility")inletcomponentName=(Option.map~f:ComponentName.of_xml)(Xml.childxml_arg0"ComponentName")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inletendTime=(Option.map~f:EndTime.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:StartTime.of_xml)(Xml.childxml_arg0"StartTime")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inmake?visibility?componentName?nextToken?maxResults?endTime?startTime?resourceGroupName?accountId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvisibility=field_mapjson__"Visibility"Visibility.of_jsoninletcomponentName=field_mapjson__"ComponentName"ComponentName.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninletendTime=field_mapjson__"EndTime"EndTime.of_jsoninletstartTime=field_mapjson__"StartTime"StartTime.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninmake?visibility?componentName?nextToken?maxResults?endTime?startTime?resourceGroupName?accountId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the problems with your application."]moduleListLogPatternsResponse=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."];logPatterns:LogPatternList.toption[@ocaml.doc"The list of log patterns."];nextToken:PaginationToken.toption[@ocaml.doc"The token used to retrieve the next page of results. This value is null when there are no more results to return."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceGroupName=fun?accountId->fun?logPatterns->fun?nextToken->fun()->{resourceGroupName;accountId;logPatterns;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("LogPatterns",(Option.mapx.logPatterns~f:LogPatternList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletlogPatterns=(Option.map~f:LogPatternList.of_xml)(Xml.childxml_arg0"LogPatterns")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?nextToken?logPatterns?accountId?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletlogPatterns=field_mapjson__"LogPatterns"LogPatternList.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?nextToken?logPatterns?accountId?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the log patterns in the specific log LogPatternSet."]moduleListLogPatternsRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];patternSetName:LogPatternSetName.toption[@ocaml.doc"The name of the log pattern set."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="ListLogPatternsRequest"letmake?patternSetName=fun?maxResults->fun?nextToken->fun?accountId->fun~resourceGroupName->fun()->{patternSetName;maxResults;nextToken;accountId;resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("PatternSetName",(Option.mapx.patternSetName~f:LogPatternSetName.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inletpatternSetName=(Option.map~f:LogPatternSetName.of_xml)(Xml.childxml_arg0"PatternSetName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId?nextToken?maxResults?patternSetName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninletpatternSetName=field_mapjson__"PatternSetName"LogPatternSetName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId?nextToken?maxResults?patternSetName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the log patterns in the specific log LogPatternSet."]moduleListLogPatternSetsResponse=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."];logPatternSets:LogPatternSetList.toption[@ocaml.doc"The list of log pattern sets."];nextToken:PaginationToken.toption[@ocaml.doc"The token used to retrieve the next page of results. This value is null when there are no more results to return."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceGroupName=fun?accountId->fun?logPatternSets->fun?nextToken->fun()->{resourceGroupName;accountId;logPatternSets;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("LogPatternSets",(Option.mapx.logPatternSets~f:LogPatternSetList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletlogPatternSets=(Option.map~f:LogPatternSetList.of_xml)(Xml.childxml_arg0"LogPatternSets")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?nextToken?logPatternSets?accountId?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletlogPatternSets=field_mapjson__"LogPatternSets"LogPatternSetList.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?nextToken?logPatternSets?accountId?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the log pattern sets in the specific application."]moduleListLogPatternSetsRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="ListLogPatternSetsRequest"letmake?maxResults=fun?nextToken->fun?accountId->fun~resourceGroupName->fun()->{maxResults;nextToken;accountId;resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId?nextToken?maxResults~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId?nextToken?maxResults~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the log pattern sets in the specific application."]moduleListConfigurationHistoryResponse=structtypenonrect={eventList:ConfigurationEventList.toption[@ocaml.doc"The list of configuration events and their corresponding details."];nextToken:PaginationToken.toption[@ocaml.doc"The NextToken value to include in a future ListConfigurationHistory request. When the results of a ListConfigurationHistory request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?eventList=fun?nextToken->fun()->{eventList;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EventList",(Option.mapx.eventList~f:ConfigurationEventList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inleteventList=(Option.map~f:ConfigurationEventList.of_xml)(Xml.childxml_arg0"EventList")inmake?nextToken?eventList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninleteventList=field_mapjson__"EventList"ConfigurationEventList.of_jsoninmake?nextToken?eventList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas."]moduleListConfigurationHistoryRequest=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"Resource group to which the application belongs."];startTime:StartTime.toption[@ocaml.doc"The start time of the event."];endTime:EndTime.toption[@ocaml.doc"The end time of the event."];eventStatus:ConfigurationEventStatus.toption[@ocaml.doc"The status of the configuration update event. Possible values include INFO, WARN, and ERROR."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results returned by ListConfigurationHistory in paginated output. When this parameter is used, ListConfigurationHistory returns only MaxResults in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another ListConfigurationHistory request with the returned NextToken value. If this parameter is not used, then ListConfigurationHistory returns all results."];nextToken:PaginationToken.toption[@ocaml.doc"The NextToken value returned from a previous paginated ListConfigurationHistory request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letmake?resourceGroupName=fun?startTime->fun?endTime->fun?eventStatus->fun?maxResults->fun?nextToken->fun?accountId->fun()->{resourceGroupName;startTime;endTime;eventStatus;maxResults;nextToken;accountId}letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("StartTime",(Option.mapx.startTime~f:StartTime.to_value));("EndTime",(Option.mapx.endTime~f:EndTime.to_value));("EventStatus",(Option.mapx.eventStatus~f:ConfigurationEventStatus.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inleteventStatus=(Option.map~f:ConfigurationEventStatus.of_xml)(Xml.childxml_arg0"EventStatus")inletendTime=(Option.map~f:EndTime.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:StartTime.of_xml)(Xml.childxml_arg0"StartTime")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?accountId?nextToken?maxResults?eventStatus?endTime?startTime?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninleteventStatus=field_mapjson__"EventStatus"ConfigurationEventStatus.of_jsoninletendTime=field_mapjson__"EndTime"EndTime.of_jsoninletstartTime=field_mapjson__"StartTime"StartTime.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId?nextToken?maxResults?eventStatus?endTime?startTime?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas."]moduleListComponentsResponse=structtypenonrect={applicationComponentList:ApplicationComponentList.toption[@ocaml.doc"The list of application components."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationComponentList=fun?nextToken->fun()->{applicationComponentList;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ApplicationComponentList",(Option.mapx.applicationComponentList~f:ApplicationComponentList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletapplicationComponentList=(Option.map~f:ApplicationComponentList.of_xml)(Xml.childxml_arg0"ApplicationComponentList")inmake?nextToken?applicationComponentList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletapplicationComponentList=field_mapjson__"ApplicationComponentList"ApplicationComponentList.of_jsoninmake?nextToken?applicationComponentList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the auto-grouped, standalone, and custom components of the application."]moduleListComponentsRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="ListComponentsRequest"letmake?maxResults=fun?nextToken->fun?accountId->fun~resourceGroupName->fun()->{maxResults;nextToken;accountId;resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId?nextToken?maxResults~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId?nextToken?maxResults~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the auto-grouped, standalone, and custom components of the application."]moduleListApplicationsResponse=structtypenonrect={applicationInfoList:ApplicationInfoList.toption[@ocaml.doc"The list of applications."];nextToken:PaginationToken.toption[@ocaml.doc"The token used to retrieve the next page of results. This value is null when there are no more results to return."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationInfoList=fun?nextToken->fun()->{applicationInfoList;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.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)|"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))]|`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[("ApplicationInfoList",(Option.mapx.applicationInfoList~f:ApplicationInfoList.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletapplicationInfoList=(Option.map~f:ApplicationInfoList.of_xml)(Xml.childxml_arg0"ApplicationInfoList")inmake?nextToken?applicationInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletapplicationInfoList=field_mapjson__"ApplicationInfoList"ApplicationInfoList.of_jsoninmake?nextToken?applicationInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the IDs of the applications that you are monitoring."]moduleListApplicationsRequest=structtypenonrect={maxResults:MaxEntities.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value."];nextToken:PaginationToken.toption[@ocaml.doc"The token to request the next page of results."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letmake?maxResults=fun?nextToken->fun?accountId->fun()->{maxResults;nextToken;accountId}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxEntities.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxEntities.of_xml)(Xml.childxml_arg0"MaxResults")inmake?accountId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxEntities.of_jsoninmake?accountId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the IDs of the applications that you are monitoring."]moduleDescribeWorkloadResponse=structtypenonrect={workloadId:WorkloadId.toption[@ocaml.doc"The ID of the workload."];workloadRemarks:Remarks.toption[@ocaml.doc"If logging is supported for the resource type, shows whether the component has configured logs to be monitored."];workloadConfiguration:WorkloadConfiguration.toption[@ocaml.doc"The configuration settings of the workload. The value is the escaped JSON of the configuration."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?workloadId=fun?workloadRemarks->fun?workloadConfiguration->fun()->{workloadId;workloadRemarks;workloadConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("WorkloadId",(Option.mapx.workloadId~f:WorkloadId.to_value));("WorkloadRemarks",(Option.mapx.workloadRemarks~f:Remarks.to_value));("WorkloadConfiguration",(Option.mapx.workloadConfiguration~f:WorkloadConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadConfiguration=(Option.map~f:WorkloadConfiguration.of_xml)(Xml.childxml_arg0"WorkloadConfiguration")inletworkloadRemarks=(Option.map~f:Remarks.of_xml)(Xml.childxml_arg0"WorkloadRemarks")inletworkloadId=(Option.map~f:WorkloadId.of_xml)(Xml.childxml_arg0"WorkloadId")inmake?workloadConfiguration?workloadRemarks?workloadId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadConfiguration=field_mapjson__"WorkloadConfiguration"WorkloadConfiguration.of_jsoninletworkloadRemarks=field_mapjson__"WorkloadRemarks"Remarks.of_jsoninletworkloadId=field_mapjson__"WorkloadId"WorkloadId.of_jsoninmake?workloadConfiguration?workloadRemarks?workloadId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a workload and its configuration."]moduleDescribeWorkloadRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];workloadId:WorkloadId.t[@ocaml.doc"The ID of the workload."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the workload owner."]}letcontext_="DescribeWorkloadRequest"letmake?accountId=fun~resourceGroupName->fun~componentName->fun~workloadId->fun()->{accountId;resourceGroupName;componentName;workloadId}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("WorkloadId",(Some(WorkloadId.to_valuex.workloadId)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletworkloadId=WorkloadId.of_xml(Xml.child_exn~context:context_xml_arg0"WorkloadId")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId~workloadId~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletworkloadId=field_map_exnjson__"WorkloadId"WorkloadId.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId~workloadId~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a workload and its configuration."]moduleDescribeProblemResponse=structtypenonrect={problem:Problem.toption[@ocaml.doc"Information about the problem."];sNSNotificationArn:SNSNotificationArn.toption[@ocaml.doc"The SNS notification topic ARN of the problem."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?problem=fun?sNSNotificationArn->fun()->{problem;sNSNotificationArn}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Problem",(Option.mapx.problem~f:Problem.to_value));("SNSNotificationArn",(Option.mapx.sNSNotificationArn~f:SNSNotificationArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsNSNotificationArn=(Option.map~f:SNSNotificationArn.of_xml)(Xml.childxml_arg0"SNSNotificationArn")inletproblem=(Option.map~f:Problem.of_xml)(Xml.childxml_arg0"Problem")inmake?sNSNotificationArn?problem()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsNSNotificationArn=field_mapjson__"SNSNotificationArn"SNSNotificationArn.of_jsoninletproblem=field_mapjson__"Problem"Problem.of_jsoninmake?sNSNotificationArn?problem()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an application problem."]moduleDescribeProblemRequest=structtypenonrect={problemId:ProblemId.t[@ocaml.doc"The ID of the problem."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the owner of the resource group affected by the problem."]}letcontext_="DescribeProblemRequest"letmake?accountId=fun~problemId->fun()->{accountId;problemId}letto_valuex=structure_to_value[("ProblemId",(Some(ProblemId.to_valuex.problemId)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletproblemId=ProblemId.of_xml(Xml.child_exn~context:context_xml_arg0"ProblemId")inmake?accountId~problemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletproblemId=field_map_exnjson__"ProblemId"ProblemId.of_jsoninmake?accountId~problemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an application problem."]moduleDescribeProblemObservationsResponse=structtypenonrect={relatedObservations:RelatedObservations.toption[@ocaml.doc"Observations related to the problem."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?relatedObservations=fun()->{relatedObservations}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RelatedObservations",(Option.mapx.relatedObservations~f:RelatedObservations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrelatedObservations=(Option.map~f:RelatedObservations.of_xml)(Xml.childxml_arg0"RelatedObservations")inmake?relatedObservations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrelatedObservations=field_mapjson__"RelatedObservations"RelatedObservations.of_jsoninmake?relatedObservations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the anomalies or errors associated with the problem."]moduleDescribeProblemObservationsRequest=structtypenonrect={problemId:ProblemId.t[@ocaml.doc"The ID of the problem."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeProblemObservationsRequest"letmake?accountId=fun~problemId->fun()->{accountId;problemId}letto_valuex=structure_to_value[("ProblemId",(Some(ProblemId.to_valuex.problemId)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletproblemId=ProblemId.of_xml(Xml.child_exn~context:context_xml_arg0"ProblemId")inmake?accountId~problemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletproblemId=field_map_exnjson__"ProblemId"ProblemId.of_jsoninmake?accountId~problemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the anomalies or errors associated with the problem."]moduleDescribeObservationResponse=structtypenonrect={observation:Observation.toption[@ocaml.doc"Information about the observation."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?observation=fun()->{observation}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Observation",(Option.mapx.observation~f:Observation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letobservation=(Option.map~f:Observation.of_xml)(Xml.childxml_arg0"Observation")inmake?observation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letobservation=field_mapjson__"Observation"Observation.of_jsoninmake?observation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an anomaly or error with the application."]moduleDescribeObservationRequest=structtypenonrect={observationId:ObservationId.t[@ocaml.doc"The ID of the observation."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeObservationRequest"letmake?accountId=fun~observationId->fun()->{accountId;observationId}letto_valuex=structure_to_value[("ObservationId",(Some(ObservationId.to_valuex.observationId)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletobservationId=ObservationId.of_xml(Xml.child_exn~context:context_xml_arg0"ObservationId")inmake?accountId~observationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletobservationId=field_map_exnjson__"ObservationId"ObservationId.of_jsoninmake?accountId~observationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an anomaly or error with the application."]moduleDescribeLogPatternResponse=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."];logPattern:LogPattern.toption[@ocaml.doc"The successfully created log pattern."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceGroupName=fun?accountId->fun?logPattern->fun()->{resourceGroupName;accountId;logPattern}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("AccountId",(Option.mapx.accountId~f:AccountId.to_value));("LogPattern",(Option.mapx.logPattern~f:LogPattern.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogPattern=(Option.map~f:LogPattern.of_xml)(Xml.childxml_arg0"LogPattern")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?logPattern?accountId?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogPattern=field_mapjson__"LogPattern"LogPattern.of_jsoninletaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?logPattern?accountId?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describe a specific log pattern from a LogPatternSet."]moduleDescribeLogPatternRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];patternSetName:LogPatternSetName.t[@ocaml.doc"The name of the log pattern set."];patternName:LogPatternName.t[@ocaml.doc"The name of the log pattern."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeLogPatternRequest"letmake?accountId=fun~resourceGroupName->fun~patternSetName->fun~patternName->fun()->{accountId;resourceGroupName;patternSetName;patternName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("PatternSetName",(Some(LogPatternSetName.to_valuex.patternSetName)));("PatternName",(Some(LogPatternName.to_valuex.patternName)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletpatternName=LogPatternName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternName")inletpatternSetName=LogPatternSetName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternSetName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId~patternName~patternSetName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletpatternName=field_map_exnjson__"PatternName"LogPatternName.of_jsoninletpatternSetName=field_map_exnjson__"PatternSetName"LogPatternSetName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId~patternName~patternSetName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describe a specific log pattern from a LogPatternSet."]moduleDescribeComponentResponse=structtypenonrect={applicationComponent:ApplicationComponent.toption;resourceList:ResourceList.toption[@ocaml.doc"The list of resource ARNs that belong to the component."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationComponent=fun?resourceList->fun()->{applicationComponent;resourceList}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ApplicationComponent",(Option.mapx.applicationComponent~f:ApplicationComponent.to_value));("ResourceList",(Option.mapx.resourceList~f:ResourceList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceList=(Option.map~f:ResourceList.of_xml)(Xml.childxml_arg0"ResourceList")inletapplicationComponent=(Option.map~f:ApplicationComponent.of_xml)(Xml.childxml_arg0"ApplicationComponent")inmake?resourceList?applicationComponent()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceList=field_mapjson__"ResourceList"ResourceList.of_jsoninletapplicationComponent=field_mapjson__"ApplicationComponent"ApplicationComponent.of_jsoninmake?resourceList?applicationComponent()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a component and lists the resources that are grouped together in a component."]moduleDescribeComponentRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeComponentRequest"letmake?accountId=fun~resourceGroupName->fun~componentName->fun()->{accountId;resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a component and lists the resources that are grouped together in a component."]moduleDescribeComponentConfigurationResponse=structtypenonrect={monitor:Monitor.toption[@ocaml.doc"Indicates whether the application component is monitored."];tier:Tier.toption[@ocaml.doc"The tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT"];componentConfiguration:ComponentConfiguration.toption[@ocaml.doc"The configuration settings of the component. The value is the escaped JSON of the configuration."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?monitor=fun?tier->fun?componentConfiguration->fun()->{monitor;tier;componentConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Monitor",(Option.mapx.monitor~f:Monitor.to_value));("Tier",(Option.mapx.tier~f:Tier.to_value));("ComponentConfiguration",(Option.mapx.componentConfiguration~f:ComponentConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomponentConfiguration=(Option.map~f:ComponentConfiguration.of_xml)(Xml.childxml_arg0"ComponentConfiguration")inlettier=(Option.map~f:Tier.of_xml)(Xml.childxml_arg0"Tier")inletmonitor=(Option.map~f:Monitor.of_xml)(Xml.childxml_arg0"Monitor")inmake?componentConfiguration?tier?monitor()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomponentConfiguration=field_mapjson__"ComponentConfiguration"ComponentConfiguration.of_jsoninlettier=field_mapjson__"Tier"Tier.of_jsoninletmonitor=field_mapjson__"Monitor"Monitor.of_jsoninmake?componentConfiguration?tier?monitor()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the monitoring configuration of the component."]moduleDescribeComponentConfigurationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeComponentConfigurationRequest"letmake?accountId=fun~resourceGroupName->fun~componentName->fun()->{accountId;resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the monitoring configuration of the component."]moduleDescribeComponentConfigurationRecommendationResponse=structtypenonrect={componentConfiguration:ComponentConfiguration.toption[@ocaml.doc"The recommended configuration settings of the component. The value is the escaped JSON of the configuration."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?componentConfiguration=fun()->{componentConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ComponentConfiguration",(Option.mapx.componentConfiguration~f:ComponentConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomponentConfiguration=(Option.map~f:ComponentConfiguration.of_xml)(Xml.childxml_arg0"ComponentConfiguration")inmake?componentConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomponentConfiguration=field_mapjson__"ComponentConfiguration"ComponentConfiguration.of_jsoninmake?componentConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the recommended monitoring configuration of the component."]moduleDescribeComponentConfigurationRecommendationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];tier:Tier.t[@ocaml.doc"The tier of the application component."];workloadName:WorkloadName.toption[@ocaml.doc"The name of the workload. The name of the workload is required when the tier of the application component is SAP_ASE_SINGLE_NODE or SAP_ASE_HIGH_AVAILABILITY."];recommendationType:RecommendationType.toption[@ocaml.doc"The recommended configuration type."]}letcontext_="DescribeComponentConfigurationRecommendationRequest"letmake?workloadName=fun?recommendationType->fun~resourceGroupName->fun~componentName->fun~tier->fun()->{workloadName;recommendationType;resourceGroupName;componentName;tier}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("Tier",(Some(Tier.to_valuex.tier)));("WorkloadName",(Option.mapx.workloadName~f:WorkloadName.to_value));("RecommendationType",(Option.mapx.recommendationType~f:RecommendationType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrecommendationType=(Option.map~f:RecommendationType.of_xml)(Xml.childxml_arg0"RecommendationType")inletworkloadName=(Option.map~f:WorkloadName.of_xml)(Xml.childxml_arg0"WorkloadName")inlettier=Tier.of_xml(Xml.child_exn~context:context_xml_arg0"Tier")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?recommendationType?workloadName~tier~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrecommendationType=field_mapjson__"RecommendationType"RecommendationType.of_jsoninletworkloadName=field_mapjson__"WorkloadName"WorkloadName.of_jsoninlettier=field_map_exnjson__"Tier"Tier.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?recommendationType?workloadName~tier~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the recommended monitoring configuration of the component."]moduleDescribeApplicationResponse=structtypenonrect={applicationInfo:ApplicationInfo.toption[@ocaml.doc"Information about the application."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationInfo=fun()->{applicationInfo}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ApplicationInfo",(Option.mapx.applicationInfo~f:ApplicationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationInfo=(Option.map~f:ApplicationInfo.of_xml)(Xml.childxml_arg0"ApplicationInfo")inmake?applicationInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationInfo=field_mapjson__"ApplicationInfo"ApplicationInfo.of_jsoninmake?applicationInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the application."]moduleDescribeApplicationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];accountId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the resource group owner."]}letcontext_="DescribeApplicationRequest"letmake?accountId=fun~resourceGroupName->fun()->{accountId;resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("AccountId",(Option.mapx.accountId~f:AccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"AccountId")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake?accountId~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountId=field_mapjson__"AccountId"AccountId.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?accountId~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the application."]moduleDeleteLogPatternResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified log pattern from a LogPatternSet."]moduleDeleteLogPatternRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];patternSetName:LogPatternSetName.t[@ocaml.doc"The name of the log pattern set."];patternName:LogPatternName.t[@ocaml.doc"The name of the log pattern."]}letcontext_="DeleteLogPatternRequest"letmake~resourceGroupName=fun~patternSetName->fun~patternName->fun()->{resourceGroupName;patternSetName;patternName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("PatternSetName",(Some(LogPatternSetName.to_valuex.patternSetName)));("PatternName",(Some(LogPatternName.to_valuex.patternName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpatternName=LogPatternName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternName")inletpatternSetName=LogPatternSetName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternSetName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~patternName~patternSetName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpatternName=field_map_exnjson__"PatternName"LogPatternName.of_jsoninletpatternSetName=field_map_exnjson__"PatternSetName"LogPatternSetName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~patternName~patternSetName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified log pattern from a LogPatternSet."]moduleDeleteComponentResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status."]moduleDeleteComponentRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:CustomComponentName.t[@ocaml.doc"The name of the component."]}letcontext_="DeleteComponentRequest"letmake~resourceGroupName=fun~componentName->fun()->{resourceGroupName;componentName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(CustomComponentName.to_valuex.componentName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomponentName=CustomComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomponentName=field_map_exnjson__"ComponentName"CustomComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status."]moduleDeleteApplicationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified application from monitoring. Does not delete the application."]moduleDeleteApplicationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."]}letcontext_="DeleteApplicationRequest"letmake~resourceGroupName=fun()->{resourceGroupName}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified application from monitoring. Does not delete the application."]moduleCreateLogPatternResponse=structtypenonrect={logPattern:LogPattern.toption[@ocaml.doc"The successfully created log pattern."];resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?logPattern=fun?resourceGroupName->fun()->{logPattern;resourceGroupName}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("LogPattern",(Option.mapx.logPattern~f:LogPattern.to_value));("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inletlogPattern=(Option.map~f:LogPattern.of_xml)(Xml.childxml_arg0"LogPattern")inmake?resourceGroupName?logPattern()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninletlogPattern=field_mapjson__"LogPattern"LogPattern.of_jsoninmake?resourceGroupName?logPattern()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an log pattern to a LogPatternSet."]moduleCreateLogPatternRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];patternSetName:LogPatternSetName.t[@ocaml.doc"The name of the log pattern set."];patternName:LogPatternName.t[@ocaml.doc"The name of the log pattern."];pattern:LogPatternRegex.t[@ocaml.doc"The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported."];rank:LogPatternRank.t[@ocaml.doc"Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for Amazon Web Services provided patterns."]}letcontext_="CreateLogPatternRequest"letmake~resourceGroupName=fun~patternSetName->fun~patternName->fun~pattern->fun~rank->fun()->{resourceGroupName;patternSetName;patternName;pattern;rank}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("PatternSetName",(Some(LogPatternSetName.to_valuex.patternSetName)));("PatternName",(Some(LogPatternName.to_valuex.patternName)));("Pattern",(Some(LogPatternRegex.to_valuex.pattern)));("Rank",(Some(LogPatternRank.to_valuex.rank)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrank=LogPatternRank.of_xml(Xml.child_exn~context:context_xml_arg0"Rank")inletpattern=LogPatternRegex.of_xml(Xml.child_exn~context:context_xml_arg0"Pattern")inletpatternName=LogPatternName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternName")inletpatternSetName=LogPatternSetName.of_xml(Xml.child_exn~context:context_xml_arg0"PatternSetName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~rank~pattern~patternName~patternSetName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrank=field_map_exnjson__"Rank"LogPatternRank.of_jsoninletpattern=field_map_exnjson__"Pattern"LogPatternRegex.of_jsoninletpatternName=field_map_exnjson__"PatternName"LogPatternName.of_jsoninletpatternSetName=field_map_exnjson__"PatternSetName"LogPatternSetName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~rank~pattern~patternName~patternSetName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an log pattern to a LogPatternSet."]moduleCreateComponentResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a custom component by grouping similar standalone instances to monitor."]moduleCreateComponentRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:CustomComponentName.t[@ocaml.doc"The name of the component."];resourceList:ResourceList.t[@ocaml.doc"The list of resource ARNs that belong to the component."]}letcontext_="CreateComponentRequest"letmake~resourceGroupName=fun~componentName->fun~resourceList->fun()->{resourceGroupName;componentName;resourceList}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(CustomComponentName.to_valuex.componentName)));("ResourceList",(Some(ResourceList.to_valuex.resourceList)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceList=ResourceList.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceList")inletcomponentName=CustomComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~resourceList~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceList=field_map_exnjson__"ResourceList"ResourceList.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"CustomComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~resourceList~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a custom component by grouping similar standalone instances to monitor."]moduleCreateApplicationResponse=structtypenonrect={applicationInfo:ApplicationInfo.toption[@ocaml.doc"Information about the application."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`TagsAlreadyExistExceptionofTagsAlreadyExistException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationInfo=fun()->{applicationInfo}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"TagsAlreadyExistException"->`TagsAlreadyExistException(TagsAlreadyExistException.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)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"TagsAlreadyExistException"->`TagsAlreadyExistException(TagsAlreadyExistException.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))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`TagsAlreadyExistExceptione->`Assoc[("error",(`String"TagsAlreadyExistException"));("details",(TagsAlreadyExistException.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[("ApplicationInfo",(Option.mapx.applicationInfo~f:ApplicationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationInfo=(Option.map~f:ApplicationInfo.of_xml)(Xml.childxml_arg0"ApplicationInfo")inmake?applicationInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationInfo=field_mapjson__"ApplicationInfo"ApplicationInfo.of_jsoninmake?applicationInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an application that is created from a resource group."]moduleCreateApplicationRequest=structtypenonrect={resourceGroupName:ResourceGroupName.toption[@ocaml.doc"The name of the resource group."];opsCenterEnabled:OpsCenterEnabled.toption[@ocaml.doc"When set to true, creates opsItems for any problems detected on an application."];cWEMonitorEnabled:CWEMonitorEnabled.toption[@ocaml.doc"Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others."];opsItemSNSTopicArn:OpsItemSNSTopicArn.toption[@ocaml.doc"The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem."];sNSNotificationArn:SNSNotificationArn.toption[@ocaml.doc"The SNS notification topic ARN."];tags:TagList.toption[@ocaml.doc"List of tags to add to the application. tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters."];autoConfigEnabled:AutoConfigEnabled.toption[@ocaml.doc"Indicates whether Application Insights automatically configures unmonitored resources in the resource group."];autoCreate:AutoCreate.toption[@ocaml.doc"Configures all of the resources in the resource group by applying the recommended configurations."];groupingType:GroupingType.toption[@ocaml.doc"Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED."];attachMissingPermission:AttachMissingPermission.toption[@ocaml.doc"If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing."]}letmake?resourceGroupName=fun?opsCenterEnabled->fun?cWEMonitorEnabled->fun?opsItemSNSTopicArn->fun?sNSNotificationArn->fun?tags->fun?autoConfigEnabled->fun?autoCreate->fun?groupingType->fun?attachMissingPermission->fun()->{resourceGroupName;opsCenterEnabled;cWEMonitorEnabled;opsItemSNSTopicArn;sNSNotificationArn;tags;autoConfigEnabled;autoCreate;groupingType;attachMissingPermission}letto_valuex=structure_to_value[("ResourceGroupName",(Option.mapx.resourceGroupName~f:ResourceGroupName.to_value));("OpsCenterEnabled",(Option.mapx.opsCenterEnabled~f:OpsCenterEnabled.to_value));("CWEMonitorEnabled",(Option.mapx.cWEMonitorEnabled~f:CWEMonitorEnabled.to_value));("OpsItemSNSTopicArn",(Option.mapx.opsItemSNSTopicArn~f:OpsItemSNSTopicArn.to_value));("SNSNotificationArn",(Option.mapx.sNSNotificationArn~f:SNSNotificationArn.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("AutoConfigEnabled",(Option.mapx.autoConfigEnabled~f:AutoConfigEnabled.to_value));("AutoCreate",(Option.mapx.autoCreate~f:AutoCreate.to_value));("GroupingType",(Option.mapx.groupingType~f:GroupingType.to_value));("AttachMissingPermission",(Option.mapx.attachMissingPermission~f:AttachMissingPermission.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachMissingPermission=(Option.map~f:AttachMissingPermission.of_xml)(Xml.childxml_arg0"AttachMissingPermission")inletgroupingType=(Option.map~f:GroupingType.of_xml)(Xml.childxml_arg0"GroupingType")inletautoCreate=(Option.map~f:AutoCreate.of_xml)(Xml.childxml_arg0"AutoCreate")inletautoConfigEnabled=(Option.map~f:AutoConfigEnabled.of_xml)(Xml.childxml_arg0"AutoConfigEnabled")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletsNSNotificationArn=(Option.map~f:SNSNotificationArn.of_xml)(Xml.childxml_arg0"SNSNotificationArn")inletopsItemSNSTopicArn=(Option.map~f:OpsItemSNSTopicArn.of_xml)(Xml.childxml_arg0"OpsItemSNSTopicArn")inletcWEMonitorEnabled=(Option.map~f:CWEMonitorEnabled.of_xml)(Xml.childxml_arg0"CWEMonitorEnabled")inletopsCenterEnabled=(Option.map~f:OpsCenterEnabled.of_xml)(Xml.childxml_arg0"OpsCenterEnabled")inletresourceGroupName=(Option.map~f:ResourceGroupName.of_xml)(Xml.childxml_arg0"ResourceGroupName")inmake?attachMissingPermission?groupingType?autoCreate?autoConfigEnabled?tags?sNSNotificationArn?opsItemSNSTopicArn?cWEMonitorEnabled?opsCenterEnabled?resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachMissingPermission=field_mapjson__"AttachMissingPermission"AttachMissingPermission.of_jsoninletgroupingType=field_mapjson__"GroupingType"GroupingType.of_jsoninletautoCreate=field_mapjson__"AutoCreate"AutoCreate.of_jsoninletautoConfigEnabled=field_mapjson__"AutoConfigEnabled"AutoConfigEnabled.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletsNSNotificationArn=field_mapjson__"SNSNotificationArn"SNSNotificationArn.of_jsoninletopsItemSNSTopicArn=field_mapjson__"OpsItemSNSTopicArn"OpsItemSNSTopicArn.of_jsoninletcWEMonitorEnabled=field_mapjson__"CWEMonitorEnabled"CWEMonitorEnabled.of_jsoninletopsCenterEnabled=field_mapjson__"OpsCenterEnabled"OpsCenterEnabled.of_jsoninletresourceGroupName=field_mapjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake?attachMissingPermission?groupingType?autoCreate?autoConfigEnabled?tags?sNSNotificationArn?opsItemSNSTopicArn?cWEMonitorEnabled?opsCenterEnabled?resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an application that is created from a resource group."]moduleAddWorkloadResponse=structtypenonrect={workloadId:WorkloadId.toption[@ocaml.doc"The ID of the workload."];workloadConfiguration:WorkloadConfiguration.toption[@ocaml.doc"The configuration settings of the workload. The value is the escaped JSON of the configuration."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?workloadId=fun?workloadConfiguration->fun()->{workloadId;workloadConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("WorkloadId",(Option.mapx.workloadId~f:WorkloadId.to_value));("WorkloadConfiguration",(Option.mapx.workloadConfiguration~f:WorkloadConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadConfiguration=(Option.map~f:WorkloadConfiguration.of_xml)(Xml.childxml_arg0"WorkloadConfiguration")inletworkloadId=(Option.map~f:WorkloadId.of_xml)(Xml.childxml_arg0"WorkloadId")inmake?workloadConfiguration?workloadId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadConfiguration=field_mapjson__"WorkloadConfiguration"WorkloadConfiguration.of_jsoninletworkloadId=field_mapjson__"WorkloadId"WorkloadId.of_jsoninmake?workloadConfiguration?workloadId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a workload to a component. Each component can have at most five workloads."]moduleAddWorkloadRequest=structtypenonrect={resourceGroupName:ResourceGroupName.t[@ocaml.doc"The name of the resource group."];componentName:ComponentName.t[@ocaml.doc"The name of the component."];workloadConfiguration:WorkloadConfiguration.t[@ocaml.doc"The configuration settings of the workload. The value is the escaped JSON of the configuration."]}letcontext_="AddWorkloadRequest"letmake~resourceGroupName=fun~componentName->fun~workloadConfiguration->fun()->{resourceGroupName;componentName;workloadConfiguration}letto_valuex=structure_to_value[("ResourceGroupName",(Some(ResourceGroupName.to_valuex.resourceGroupName)));("ComponentName",(Some(ComponentName.to_valuex.componentName)));("WorkloadConfiguration",(Some(WorkloadConfiguration.to_valuex.workloadConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letworkloadConfiguration=WorkloadConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"WorkloadConfiguration")inletcomponentName=ComponentName.of_xml(Xml.child_exn~context:context_xml_arg0"ComponentName")inletresourceGroupName=ResourceGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceGroupName")inmake~workloadConfiguration~componentName~resourceGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letworkloadConfiguration=field_map_exnjson__"WorkloadConfiguration"WorkloadConfiguration.of_jsoninletcomponentName=field_map_exnjson__"ComponentName"ComponentName.of_jsoninletresourceGroupName=field_map_exnjson__"ResourceGroupName"ResourceGroupName.of_jsoninmake~workloadConfiguration~componentName~resourceGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a workload to a component. Each component can have at most five workloads."]