12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982(* 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.codecommitletapiVersion="2015-04-13"letendpointPrefix="codecommit"letserviceFullName="AWS CodeCommit"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="CodeCommit"lettargetPrefix="CodeCommit_20150413"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[]))])moduleReactionValue=structtypenonrect=stringletcontext_="ReactionValue"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:"ReactionValue"jletto_json=simple_to_jsonto_valueendmoduleCount=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Count"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleHunkContent=structtypenonrect=stringletcontext_="HunkContent"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:"HunkContent"jletto_json=simple_to_jsonto_valueendmoduleLineNumber=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 LineNumber"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleApprovalRuleTemplateId=structtypenonrect=stringletcontext_="ApprovalRuleTemplateId"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:"ApprovalRuleTemplateId"jletto_json=simple_to_jsonto_valueendmoduleApprovalRuleTemplateName=structtypenonrect=stringletcontext_="ApprovalRuleTemplateName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:100)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApprovalRuleTemplateName"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"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:"Arn"jletto_json=simple_to_jsonto_valueendmoduleCommitId=structtypenonrect=stringletcontext_="CommitId"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:"CommitId"jletto_json=simple_to_jsonto_valueendmoduleIsMerged=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_valueendmoduleMergeOptionTypeEnum=structtypenonrect=|FAST_FORWARD_MERGE|SQUASH_MERGE|THREE_WAY_MERGE|Non_static_idofstringletmakei=iletto_string=function|FAST_FORWARD_MERGE->"FAST_FORWARD_MERGE"|SQUASH_MERGE->"SQUASH_MERGE"|THREE_WAY_MERGE->"THREE_WAY_MERGE"|Non_static_ids->sletof_string=function|"FAST_FORWARD_MERGE"->FAST_FORWARD_MERGE|"SQUASH_MERGE"->SQUASH_MERGE|"THREE_WAY_MERGE"->THREE_WAY_MERGE|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 MergeOptionTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MergeOptionTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleObjectId=structtypenonrect=stringletcontext_="ObjectId"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:"ObjectId"jletto_json=simple_to_jsonto_valueendmoduleDate=structtypenonrect=stringletcontext_="Date"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:"Date"jletto_json=simple_to_jsonto_valueendmoduleEmail=structtypenonrect=stringletcontext_="Email"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:"Email"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"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:"Name"jletto_json=simple_to_jsonto_valueendmoduleCallerReactions=structtypenonrect=ReactionValue.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReactionValue.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:ReactionValue.of_xml)letof_jsonj=list_of_json~kind:"CallerReactions"~of_json:ReactionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleClientRequestToken=structtypenonrect=stringletcontext_="ClientRequestToken"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:"ClientRequestToken"jletto_json=simple_to_jsonto_valueendmoduleCommentId=structtypenonrect=stringletcontext_="CommentId"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:"CommentId"jletto_json=simple_to_jsonto_valueendmoduleContent=structtypenonrect=stringletcontext_="Content"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:"Content"jletto_json=simple_to_jsonto_valueendmoduleCreationDate=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_valueendmoduleIsCommentDeleted=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_valueendmoduleLastModifiedDate=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_valueendmoduleReactionCountsMap=structtypenonrect=(ReactionValue.t*Count.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((ReactionValue.of_stringchopped),(Count.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ReactionValue.to_valuex)|>(funx->(Count.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:ReactionValue.of_string~of_json:Count.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFileModeTypeEnum=structtypenonrect=|EXECUTABLE|NORMAL|SYMLINK|Non_static_idofstringletmakei=iletto_string=function|EXECUTABLE->"EXECUTABLE"|NORMAL->"NORMAL"|SYMLINK->"SYMLINK"|Non_static_ids->sletof_string=function|"EXECUTABLE"->EXECUTABLE|"NORMAL"->NORMAL|"SYMLINK"->SYMLINK|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 FileModeTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FileModeTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleFileSize=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_valueendmoduleCapitalBoolean=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_valueendmoduleChangeTypeEnum=structtypenonrect=|A|M|D|Non_static_idofstringletmakei=iletto_string=function|A->"A"|M->"M"|D->"D"|Non_static_ids->sletof_string=function|"A"->A|"M"->M|"D"->D|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 ChangeTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ChangeTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleObjectTypeEnum=structtypenonrect=|FILE|DIRECTORY|GIT_LINK|SYMBOLIC_LINK|Non_static_idofstringletmakei=iletto_string=function|FILE->"FILE"|DIRECTORY->"DIRECTORY"|GIT_LINK->"GIT_LINK"|SYMBOLIC_LINK->"SYMBOLIC_LINK"|Non_static_ids->sletof_string=function|"FILE"->FILE|"DIRECTORY"->DIRECTORY|"GIT_LINK"->GIT_LINK|"SYMBOLIC_LINK"->SYMBOLIC_LINK|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 ObjectTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ObjectTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleIsHunkConflict=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_valueendmoduleMergeHunkDetail=structtypenonrect={startLine:LineNumber.toption[@ocaml.doc"The start position of the hunk in the merge result."];endLine:LineNumber.toption[@ocaml.doc"The end position of the hunk in the merge result."];hunkContent:HunkContent.toption[@ocaml.doc"The base-64 encoded content of the hunk merged region that might contain a conflict."]}letmake?startLine=fun?endLine->fun?hunkContent->fun()->{startLine;endLine;hunkContent}letto_valuex=structure_to_value[("startLine",(Option.mapx.startLine~f:LineNumber.to_value));("endLine",(Option.mapx.endLine~f:LineNumber.to_value));("hunkContent",(Option.mapx.hunkContent~f:HunkContent.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethunkContent=(Option.map~f:HunkContent.of_xml)(Xml.childxml_arg0"hunkContent")inletendLine=(Option.map~f:LineNumber.of_xml)(Xml.childxml_arg0"endLine")inletstartLine=(Option.map~f:LineNumber.of_xml)(Xml.childxml_arg0"startLine")inmake?hunkContent?endLine?startLine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethunkContent=field_mapjson__"hunkContent"HunkContent.of_jsoninletendLine=field_mapjson__"endLine"LineNumber.of_jsoninletstartLine=field_mapjson__"startLine"LineNumber.of_jsoninmake?hunkContent?endLine?startLine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the details of a merge hunk that contains a conflict in a merge or pull request operation."]moduleApprovalRuleContent=structtypenonrect=stringletcontext_="ApprovalRuleContent"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:3000)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApprovalRuleContent"jletto_json=simple_to_jsonto_valueendmoduleApprovalRuleId=structtypenonrect=stringletcontext_="ApprovalRuleId"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:"ApprovalRuleId"jletto_json=simple_to_jsonto_valueendmoduleApprovalRuleName=structtypenonrect=stringletcontext_="ApprovalRuleName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:100)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApprovalRuleName"jletto_json=simple_to_jsonto_valueendmoduleOriginApprovalRuleTemplate=structtypenonrect={approvalRuleTemplateId:ApprovalRuleTemplateId.toption[@ocaml.doc"The ID of the template that created the approval rule."];approvalRuleTemplateName:ApprovalRuleTemplateName.toption[@ocaml.doc"The name of the template that created the approval rule."]}letmake?approvalRuleTemplateId=fun?approvalRuleTemplateName->fun()->{approvalRuleTemplateId;approvalRuleTemplateName}letto_valuex=structure_to_value[("approvalRuleTemplateId",(Option.mapx.approvalRuleTemplateId~f:ApprovalRuleTemplateId.to_value));("approvalRuleTemplateName",(Option.mapx.approvalRuleTemplateName~f:ApprovalRuleTemplateName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateName=(Option.map~f:ApprovalRuleTemplateName.of_xml)(Xml.childxml_arg0"approvalRuleTemplateName")inletapprovalRuleTemplateId=(Option.map~f:ApprovalRuleTemplateId.of_xml)(Xml.childxml_arg0"approvalRuleTemplateId")inmake?approvalRuleTemplateName?approvalRuleTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateName=field_mapjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninletapprovalRuleTemplateId=field_mapjson__"approvalRuleTemplateId"ApprovalRuleTemplateId.of_jsoninmake?approvalRuleTemplateName?approvalRuleTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the template that created the approval rule for a pull request."]moduleRuleContentSha256=structtypenonrect=stringletcontext_="RuleContentSha256"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:"RuleContentSha256"jletto_json=simple_to_jsonto_valueendmoduleMergeMetadata=structtypenonrect={isMerged:IsMerged.toption[@ocaml.doc"A Boolean value indicating whether the merge has been made."];mergedBy:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user who merged the branches."];mergeCommitId:CommitId.toption[@ocaml.doc"The commit ID for the merge commit, if any."];mergeOption:MergeOptionTypeEnum.toption[@ocaml.doc"The merge strategy used in the merge."]}letmake?isMerged=fun?mergedBy->fun?mergeCommitId->fun?mergeOption->fun()->{isMerged;mergedBy;mergeCommitId;mergeOption}letto_valuex=structure_to_value[("isMerged",(Option.mapx.isMerged~f:IsMerged.to_value));("mergedBy",(Option.mapx.mergedBy~f:Arn.to_value));("mergeCommitId",(Option.mapx.mergeCommitId~f:CommitId.to_value));("mergeOption",(Option.mapx.mergeOption~f:MergeOptionTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeOption=(Option.map~f:MergeOptionTypeEnum.of_xml)(Xml.childxml_arg0"mergeOption")inletmergeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"mergeCommitId")inletmergedBy=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"mergedBy")inletisMerged=(Option.map~f:IsMerged.of_xml)(Xml.childxml_arg0"isMerged")inmake?mergeOption?mergeCommitId?mergedBy?isMerged()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeOption=field_mapjson__"mergeOption"MergeOptionTypeEnum.of_jsoninletmergeCommitId=field_mapjson__"mergeCommitId"CommitId.of_jsoninletmergedBy=field_mapjson__"mergedBy"Arn.of_jsoninletisMerged=field_mapjson__"isMerged"IsMerged.of_jsoninmake?mergeOption?mergeCommitId?mergedBy?isMerged()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a merge or potential merge between a source reference and a destination reference in a pull request."]moduleReferenceName=structtypenonrect=stringletcontext_="ReferenceName"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:"ReferenceName"jletto_json=simple_to_jsonto_valueendmoduleRepositoryName=structtypenonrect=stringletcontext_="RepositoryName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:100)>>=(fun()->check_patterni~pattern:"[\\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:"RepositoryName"jletto_json=simple_to_jsonto_valueendmoduleBranchName=structtypenonrect=stringletcontext_="BranchName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BranchName"jletto_json=simple_to_jsonto_valueendmoduleRepositoryTriggerEventEnum=structtypenonrect=|All|UpdateReference|CreateReference|DeleteReference|Non_static_idofstringletmakei=iletto_string=function|All->"all"|UpdateReference->"updateReference"|CreateReference->"createReference"|DeleteReference->"deleteReference"|Non_static_ids->sletof_string=function|"all"->All|"updateReference"->UpdateReference|"createReference"->CreateReference|"deleteReference"->DeleteReference|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 RepositoryTriggerEventEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RepositoryTriggerEventEnum"j)letto_json=simple_to_jsonto_valueendmodulePath=structtypenonrect=stringletcontext_="Path"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:"Path"jletto_json=simple_to_jsonto_valueendmoduleFileContent=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleReplacementTypeEnum=structtypenonrect=|KEEP_BASE|KEEP_SOURCE|KEEP_DESTINATION|USE_NEW_CONTENT|Non_static_idofstringletmakei=iletto_string=function|KEEP_BASE->"KEEP_BASE"|KEEP_SOURCE->"KEEP_SOURCE"|KEEP_DESTINATION->"KEEP_DESTINATION"|USE_NEW_CONTENT->"USE_NEW_CONTENT"|Non_static_ids->sletof_string=function|"KEEP_BASE"->KEEP_BASE|"KEEP_SOURCE"->KEEP_SOURCE|"KEEP_DESTINATION"->KEEP_DESTINATION|"USE_NEW_CONTENT"->USE_NEW_CONTENT|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 ReplacementTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplacementTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleAdditionalData=structtypenonrect=stringletcontext_="AdditionalData"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:"AdditionalData"jletto_json=simple_to_jsonto_valueendmoduleMessage=structtypenonrect=stringletcontext_="Message"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:"Message"jletto_json=simple_to_jsonto_valueendmoduleParentList=structtypenonrect=ObjectId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ObjectId.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:ObjectId.of_xml)letof_jsonj=list_of_json~kind:"ParentList"~of_json:ObjectId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUserInfo=structtypenonrect={name:Name.toption[@ocaml.doc"The name of the user who made the specified commit."];email:Email.toption[@ocaml.doc"The email address associated with the user who made the commit, if any."];date:Date.toption[@ocaml.doc"The date when the specified commit was commited, in timestamp format with GMT offset."]}letmake?name=fun?email->fun?date->fun()->{name;email;date}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("date",(Option.mapx.date~f:Date.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdate=(Option.map~f:Date.of_xml)(Xml.childxml_arg0"date")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inmake?date?email?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdate=field_mapjson__"date"Date.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletname=field_mapjson__"name"Name.of_jsoninmake?date?email?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the user who made a specified commit."]moduleRevisionId=structtypenonrect=stringletcontext_="RevisionId"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:"RevisionId"jletto_json=simple_to_jsonto_valueendmoduleMode=structtypenonrect=stringletcontext_="Mode"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:"Mode"jletto_json=simple_to_jsonto_valueendmoduleComment=structtypenonrect={commentId:CommentId.toption[@ocaml.doc"The system-generated comment ID."];content:Content.toption[@ocaml.doc"The content of the comment."];inReplyTo:CommentId.toption[@ocaml.doc"The ID of the comment for which this comment is a reply, if any."];creationDate:CreationDate.toption[@ocaml.doc"The date and time the comment was created, in timestamp format."];lastModifiedDate:LastModifiedDate.toption[@ocaml.doc"The date and time the comment was most recently modified, in timestamp format."];authorArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the person who posted the comment."];deleted:IsCommentDeleted.toption[@ocaml.doc"A Boolean value indicating whether the comment has been deleted."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."];callerReactions:CallerReactions.toption[@ocaml.doc"The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API."];reactionCounts:ReactionCountsMap.toption[@ocaml.doc"A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions."]}letmake?commentId=fun?content->fun?inReplyTo->fun?creationDate->fun?lastModifiedDate->fun?authorArn->fun?deleted->fun?clientRequestToken->fun?callerReactions->fun?reactionCounts->fun()->{commentId;content;inReplyTo;creationDate;lastModifiedDate;authorArn;deleted;clientRequestToken;callerReactions;reactionCounts}letto_valuex=structure_to_value[("commentId",(Option.mapx.commentId~f:CommentId.to_value));("content",(Option.mapx.content~f:Content.to_value));("inReplyTo",(Option.mapx.inReplyTo~f:CommentId.to_value));("creationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("lastModifiedDate",(Option.mapx.lastModifiedDate~f:LastModifiedDate.to_value));("authorArn",(Option.mapx.authorArn~f:Arn.to_value));("deleted",(Option.mapx.deleted~f:IsCommentDeleted.to_value));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("callerReactions",(Option.mapx.callerReactions~f:CallerReactions.to_value));("reactionCounts",(Option.mapx.reactionCounts~f:ReactionCountsMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreactionCounts=(Option.map~f:ReactionCountsMap.of_xml)(Xml.childxml_arg0"reactionCounts")inletcallerReactions=(Option.map~f:CallerReactions.of_xml)(Xml.childxml_arg0"callerReactions")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inletdeleted=(Option.map~f:IsCommentDeleted.of_xml)(Xml.childxml_arg0"deleted")inletauthorArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"authorArn")inletlastModifiedDate=(Option.map~f:LastModifiedDate.of_xml)(Xml.childxml_arg0"lastModifiedDate")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"creationDate")inletinReplyTo=(Option.map~f:CommentId.of_xml)(Xml.childxml_arg0"inReplyTo")inletcontent=(Option.map~f:Content.of_xml)(Xml.childxml_arg0"content")inletcommentId=(Option.map~f:CommentId.of_xml)(Xml.childxml_arg0"commentId")inmake?reactionCounts?callerReactions?clientRequestToken?deleted?authorArn?lastModifiedDate?creationDate?inReplyTo?content?commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreactionCounts=field_mapjson__"reactionCounts"ReactionCountsMap.of_jsoninletcallerReactions=field_mapjson__"callerReactions"CallerReactions.of_jsoninletclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninletdeleted=field_mapjson__"deleted"IsCommentDeleted.of_jsoninletauthorArn=field_mapjson__"authorArn"Arn.of_jsoninletlastModifiedDate=field_mapjson__"lastModifiedDate"LastModifiedDate.of_jsoninletcreationDate=field_mapjson__"creationDate"CreationDate.of_jsoninletinReplyTo=field_mapjson__"inReplyTo"CommentId.of_jsoninletcontent=field_mapjson__"content"Content.of_jsoninletcommentId=field_mapjson__"commentId"CommentId.of_jsoninmake?reactionCounts?callerReactions?clientRequestToken?deleted?authorArn?lastModifiedDate?creationDate?inReplyTo?content?commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific comment."]modulePosition=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_valueendmoduleRelativeFileVersionEnum=structtypenonrect=|BEFORE|AFTER|Non_static_idofstringletmakei=iletto_string=function|BEFORE->"BEFORE"|AFTER->"AFTER"|Non_static_ids->sletof_string=function|"BEFORE"->BEFORE|"AFTER"->AFTER|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 RelativeFileVersionEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RelativeFileVersionEnum"j)letto_json=simple_to_jsonto_valueendmoduleReactionEmoji=structtypenonrect=stringletcontext_="ReactionEmoji"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:"ReactionEmoji"jletto_json=simple_to_jsonto_valueendmoduleReactionShortCode=structtypenonrect=stringletcontext_="ReactionShortCode"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:"ReactionShortCode"jletto_json=simple_to_jsonto_valueendmoduleReactionUnicode=structtypenonrect=stringletcontext_="ReactionUnicode"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:"ReactionUnicode"jletto_json=simple_to_jsonto_valueendmoduleOverrideStatus=structtypenonrect=|OVERRIDE|REVOKE|Non_static_idofstringletmakei=iletto_string=function|OVERRIDE->"OVERRIDE"|REVOKE->"REVOKE"|Non_static_ids->sletof_string=function|"OVERRIDE"->OVERRIDE|"REVOKE"->REVOKE|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 OverrideStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OverrideStatus"j)letto_json=simple_to_jsonto_valueendmoduleApprovalState=structtypenonrect=|APPROVE|REVOKE|Non_static_idofstringletmakei=iletto_string=function|APPROVE->"APPROVE"|REVOKE->"REVOKE"|Non_static_ids->sletof_string=function|"APPROVE"->APPROVE|"REVOKE"->REVOKE|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 ApprovalState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ApprovalState"j)letto_json=simple_to_jsonto_valueendmodulePullRequestStatusEnum=structtypenonrect=|OPEN|CLOSED|Non_static_idofstringletmakei=iletto_string=function|OPEN->"OPEN"|CLOSED->"CLOSED"|Non_static_ids->sletof_string=function|"OPEN"->OPEN|"CLOSED"->CLOSED|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 PullRequestStatusEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PullRequestStatusEnum"j)letto_json=simple_to_jsonto_valueendmoduleIsMove=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_valueendmoduleFileModes=structtypenonrect={source:FileModeTypeEnum.toption[@ocaml.doc"The file mode of a file in the source of a merge or pull request."];destination:FileModeTypeEnum.toption[@ocaml.doc"The file mode of a file in the destination of a merge or pull request."];base:FileModeTypeEnum.toption[@ocaml.doc"The file mode of a file in the base of a merge or pull request."]}letmake?source=fun?destination->fun?base->fun()->{source;destination;base}letto_valuex=structure_to_value[("source",(Option.mapx.source~f:FileModeTypeEnum.to_value));("destination",(Option.mapx.destination~f:FileModeTypeEnum.to_value));("base",(Option.mapx.base~f:FileModeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbase=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"base")inletdestination=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"source")inmake?base?destination?source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbase=field_mapjson__"base"FileModeTypeEnum.of_jsoninletdestination=field_mapjson__"destination"FileModeTypeEnum.of_jsoninletsource=field_mapjson__"source"FileModeTypeEnum.of_jsoninmake?base?destination?source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about file modes in a merge or pull request."]moduleFileSizes=structtypenonrect={source:FileSize.toption[@ocaml.doc"The size of a file in the source of a merge or pull request."];destination:FileSize.toption[@ocaml.doc"The size of a file in the destination of a merge or pull request."];base:FileSize.toption[@ocaml.doc"The size of a file in the base of a merge or pull request."]}letmake?source=fun?destination->fun?base->fun()->{source;destination;base}letto_valuex=structure_to_value[("source",(Option.mapx.source~f:FileSize.to_value));("destination",(Option.mapx.destination~f:FileSize.to_value));("base",(Option.mapx.base~f:FileSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbase=(Option.map~f:FileSize.of_xml)(Xml.childxml_arg0"base")inletdestination=(Option.map~f:FileSize.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:FileSize.of_xml)(Xml.childxml_arg0"source")inmake?base?destination?source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbase=field_mapjson__"base"FileSize.of_jsoninletdestination=field_mapjson__"destination"FileSize.of_jsoninletsource=field_mapjson__"source"FileSize.of_jsoninmake?base?destination?source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the size of files in a merge or pull request."]moduleIsBinaryFile=structtypenonrect={source:CapitalBoolean.toption[@ocaml.doc"The binary or non-binary status of file in the source of a merge or pull request."];destination:CapitalBoolean.toption[@ocaml.doc"The binary or non-binary status of a file in the destination of a merge or pull request."];base:CapitalBoolean.toption[@ocaml.doc"The binary or non-binary status of a file in the base of a merge or pull request."]}letmake?source=fun?destination->fun?base->fun()->{source;destination;base}letto_valuex=structure_to_value[("source",(Option.mapx.source~f:CapitalBoolean.to_value));("destination",(Option.mapx.destination~f:CapitalBoolean.to_value));("base",(Option.mapx.base~f:CapitalBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbase=(Option.map~f:CapitalBoolean.of_xml)(Xml.childxml_arg0"base")inletdestination=(Option.map~f:CapitalBoolean.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:CapitalBoolean.of_xml)(Xml.childxml_arg0"source")inmake?base?destination?source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbase=field_mapjson__"base"CapitalBoolean.of_jsoninletdestination=field_mapjson__"destination"CapitalBoolean.of_jsoninletsource=field_mapjson__"source"CapitalBoolean.of_jsoninmake?base?destination?source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about whether a file is binary or textual in a merge or pull request operation."]moduleIsContentConflict=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_valueendmoduleIsFileModeConflict=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_valueendmoduleIsObjectTypeConflict=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_valueendmoduleMergeOperations=structtypenonrect={source:ChangeTypeEnum.toption[@ocaml.doc"The operation (add, modify, or delete) on a file in the source of a merge or pull request."];destination:ChangeTypeEnum.toption[@ocaml.doc"The operation on a file in the destination of a merge or pull request."]}letmake?source=fun?destination->fun()->{source;destination}letto_valuex=structure_to_value[("source",(Option.mapx.source~f:ChangeTypeEnum.to_value));("destination",(Option.mapx.destination~f:ChangeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestination=(Option.map~f:ChangeTypeEnum.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:ChangeTypeEnum.of_xml)(Xml.childxml_arg0"source")inmake?destination?source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestination=field_mapjson__"destination"ChangeTypeEnum.of_jsoninletsource=field_mapjson__"source"ChangeTypeEnum.of_jsoninmake?destination?source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the file operation conflicts in a merge operation."]moduleNumberOfConflicts=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 NumberOfConflicts"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleObjectTypes=structtypenonrect={source:ObjectTypeEnum.toption[@ocaml.doc"The type of the object in the source branch."];destination:ObjectTypeEnum.toption[@ocaml.doc"The type of the object in the destination branch."];base:ObjectTypeEnum.toption[@ocaml.doc"The type of the object in the base commit of the merge."]}letmake?source=fun?destination->fun?base->fun()->{source;destination;base}letto_valuex=structure_to_value[("source",(Option.mapx.source~f:ObjectTypeEnum.to_value));("destination",(Option.mapx.destination~f:ObjectTypeEnum.to_value));("base",(Option.mapx.base~f:ObjectTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbase=(Option.map~f:ObjectTypeEnum.of_xml)(Xml.childxml_arg0"base")inletdestination=(Option.map~f:ObjectTypeEnum.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:ObjectTypeEnum.of_xml)(Xml.childxml_arg0"source")inmake?base?destination?source()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbase=field_mapjson__"base"ObjectTypeEnum.of_jsoninletdestination=field_mapjson__"destination"ObjectTypeEnum.of_jsoninletsource=field_mapjson__"source"ObjectTypeEnum.of_jsoninmake?base?destination?source()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the type of an object in a merge operation."]moduleMergeHunk=structtypenonrect={isConflict:IsHunkConflict.toption[@ocaml.doc"A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true."];source:MergeHunkDetail.toption[@ocaml.doc"Information about the merge hunk in the source of a merge or pull request."];destination:MergeHunkDetail.toption[@ocaml.doc"Information about the merge hunk in the destination of a merge or pull request."];base:MergeHunkDetail.toption[@ocaml.doc"Information about the merge hunk in the base of a merge or pull request."]}letmake?isConflict=fun?source->fun?destination->fun?base->fun()->{isConflict;source;destination;base}letto_valuex=structure_to_value[("isConflict",(Option.mapx.isConflict~f:IsHunkConflict.to_value));("source",(Option.mapx.source~f:MergeHunkDetail.to_value));("destination",(Option.mapx.destination~f:MergeHunkDetail.to_value));("base",(Option.mapx.base~f:MergeHunkDetail.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbase=(Option.map~f:MergeHunkDetail.of_xml)(Xml.childxml_arg0"base")inletdestination=(Option.map~f:MergeHunkDetail.of_xml)(Xml.childxml_arg0"destination")inletsource=(Option.map~f:MergeHunkDetail.of_xml)(Xml.childxml_arg0"source")inletisConflict=(Option.map~f:IsHunkConflict.of_xml)(Xml.childxml_arg0"isConflict")inmake?base?destination?source?isConflict()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbase=field_mapjson__"base"MergeHunkDetail.of_jsoninletdestination=field_mapjson__"destination"MergeHunkDetail.of_jsoninletsource=field_mapjson__"source"MergeHunkDetail.of_jsoninletisConflict=field_mapjson__"isConflict"IsHunkConflict.of_jsoninmake?base?destination?source?isConflict()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about merge hunks in a merge or pull request operation."]moduleApprovalRule=structtypenonrect={approvalRuleId:ApprovalRuleId.toption[@ocaml.doc"The system-generated ID of the approval rule."];approvalRuleName:ApprovalRuleName.toption[@ocaml.doc"The name of the approval rule."];approvalRuleContent:ApprovalRuleContent.toption[@ocaml.doc"The content of the approval rule."];ruleContentSha256:RuleContentSha256.toption[@ocaml.doc"The SHA-256 hash signature for the content of the approval rule."];lastModifiedDate:LastModifiedDate.toption[@ocaml.doc"The date the approval rule was most recently changed, in timestamp format."];creationDate:CreationDate.toption[@ocaml.doc"The date the approval rule was created, in timestamp format."];lastModifiedUser:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule."];originApprovalRuleTemplate:OriginApprovalRuleTemplate.toption[@ocaml.doc"The approval rule template used to create the rule."]}letmake?approvalRuleId=fun?approvalRuleName->fun?approvalRuleContent->fun?ruleContentSha256->fun?lastModifiedDate->fun?creationDate->fun?lastModifiedUser->fun?originApprovalRuleTemplate->fun()->{approvalRuleId;approvalRuleName;approvalRuleContent;ruleContentSha256;lastModifiedDate;creationDate;lastModifiedUser;originApprovalRuleTemplate}letto_valuex=structure_to_value[("approvalRuleId",(Option.mapx.approvalRuleId~f:ApprovalRuleId.to_value));("approvalRuleName",(Option.mapx.approvalRuleName~f:ApprovalRuleName.to_value));("approvalRuleContent",(Option.mapx.approvalRuleContent~f:ApprovalRuleContent.to_value));("ruleContentSha256",(Option.mapx.ruleContentSha256~f:RuleContentSha256.to_value));("lastModifiedDate",(Option.mapx.lastModifiedDate~f:LastModifiedDate.to_value));("creationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("lastModifiedUser",(Option.mapx.lastModifiedUser~f:Arn.to_value));("originApprovalRuleTemplate",(Option.mapx.originApprovalRuleTemplate~f:OriginApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoriginApprovalRuleTemplate=(Option.map~f:OriginApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"originApprovalRuleTemplate")inletlastModifiedUser=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"lastModifiedUser")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"creationDate")inletlastModifiedDate=(Option.map~f:LastModifiedDate.of_xml)(Xml.childxml_arg0"lastModifiedDate")inletruleContentSha256=(Option.map~f:RuleContentSha256.of_xml)(Xml.childxml_arg0"ruleContentSha256")inletapprovalRuleContent=(Option.map~f:ApprovalRuleContent.of_xml)(Xml.childxml_arg0"approvalRuleContent")inletapprovalRuleName=(Option.map~f:ApprovalRuleName.of_xml)(Xml.childxml_arg0"approvalRuleName")inletapprovalRuleId=(Option.map~f:ApprovalRuleId.of_xml)(Xml.childxml_arg0"approvalRuleId")inmake?originApprovalRuleTemplate?lastModifiedUser?creationDate?lastModifiedDate?ruleContentSha256?approvalRuleContent?approvalRuleName?approvalRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoriginApprovalRuleTemplate=field_mapjson__"originApprovalRuleTemplate"OriginApprovalRuleTemplate.of_jsoninletlastModifiedUser=field_mapjson__"lastModifiedUser"Arn.of_jsoninletcreationDate=field_mapjson__"creationDate"CreationDate.of_jsoninletlastModifiedDate=field_mapjson__"lastModifiedDate"LastModifiedDate.of_jsoninletruleContentSha256=field_mapjson__"ruleContentSha256"RuleContentSha256.of_jsoninletapprovalRuleContent=field_mapjson__"approvalRuleContent"ApprovalRuleContent.of_jsoninletapprovalRuleName=field_mapjson__"approvalRuleName"ApprovalRuleName.of_jsoninletapprovalRuleId=field_mapjson__"approvalRuleId"ApprovalRuleId.of_jsoninmake?originApprovalRuleTemplate?lastModifiedUser?creationDate?lastModifiedDate?ruleContentSha256?approvalRuleContent?approvalRuleName?approvalRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an approval rule."]modulePullRequestTarget=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that contains the pull request source and destination branches."];sourceReference:ReferenceName.toption[@ocaml.doc"The branch of the repository that contains the changes for the pull request. Also known as the source branch."];destinationReference:ReferenceName.toption[@ocaml.doc"The branch of the repository where the pull request changes are merged. Also known as the destination branch."];destinationCommit:CommitId.toption[@ocaml.doc"The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged."];sourceCommit:CommitId.toption[@ocaml.doc"The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch."];mergeBase:CommitId.toption[@ocaml.doc"The commit ID of the most recent commit that the source branch and the destination branch have in common."];mergeMetadata:MergeMetadata.toption[@ocaml.doc"Returns metadata about the state of the merge, including whether the merge has been made."]}letmake?repositoryName=fun?sourceReference->fun?destinationReference->fun?destinationCommit->fun?sourceCommit->fun?mergeBase->fun?mergeMetadata->fun()->{repositoryName;sourceReference;destinationReference;destinationCommit;sourceCommit;mergeBase;mergeMetadata}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("sourceReference",(Option.mapx.sourceReference~f:ReferenceName.to_value));("destinationReference",(Option.mapx.destinationReference~f:ReferenceName.to_value));("destinationCommit",(Option.mapx.destinationCommit~f:CommitId.to_value));("sourceCommit",(Option.mapx.sourceCommit~f:CommitId.to_value));("mergeBase",(Option.mapx.mergeBase~f:CommitId.to_value));("mergeMetadata",(Option.mapx.mergeMetadata~f:MergeMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeMetadata=(Option.map~f:MergeMetadata.of_xml)(Xml.childxml_arg0"mergeMetadata")inletmergeBase=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"mergeBase")inletsourceCommit=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"sourceCommit")inletdestinationCommit=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"destinationCommit")inletdestinationReference=(Option.map~f:ReferenceName.of_xml)(Xml.childxml_arg0"destinationReference")inletsourceReference=(Option.map~f:ReferenceName.of_xml)(Xml.childxml_arg0"sourceReference")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?mergeMetadata?mergeBase?sourceCommit?destinationCommit?destinationReference?sourceReference?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeMetadata=field_mapjson__"mergeMetadata"MergeMetadata.of_jsoninletmergeBase=field_mapjson__"mergeBase"CommitId.of_jsoninletsourceCommit=field_mapjson__"sourceCommit"CommitId.of_jsoninletdestinationCommit=field_mapjson__"destinationCommit"CommitId.of_jsoninletdestinationReference=field_mapjson__"destinationReference"ReferenceName.of_jsoninletsourceReference=field_mapjson__"sourceReference"ReferenceName.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?mergeMetadata?mergeBase?sourceCommit?destinationCommit?destinationReference?sourceReference?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a pull request target."]moduleRepositoryTriggerExecutionFailureMessage=structtypenonrect=stringletcontext_="RepositoryTriggerExecutionFailureMessage"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:"RepositoryTriggerExecutionFailureMessage"jletto_json=simple_to_jsonto_valueendmoduleRepositoryTriggerName=structtypenonrect=stringletcontext_="RepositoryTriggerName"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:"RepositoryTriggerName"jletto_json=simple_to_jsonto_valueendmoduleBranchNameList=structtypenonrect=BranchName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BranchName.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:BranchName.of_xml)letof_jsonj=list_of_json~kind:"BranchNameList"~of_json:BranchName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryTriggerCustomData=structtypenonrect=stringletcontext_="RepositoryTriggerCustomData"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:"RepositoryTriggerCustomData"jletto_json=simple_to_jsonto_valueendmoduleRepositoryTriggerEventList=structtypenonrect=RepositoryTriggerEventEnum.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryTriggerEventEnum.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:RepositoryTriggerEventEnum.of_xml)letof_jsonj=list_of_json~kind:"RepositoryTriggerEventList"~of_json:RepositoryTriggerEventEnum.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeleteFileEntry=structtypenonrect={filePath:Path.t[@ocaml.doc"The full path of the file to be deleted, including the name of the file."]}letcontext_="DeleteFileEntry"letmake~filePath=fun()->{filePath}letto_valuex=structure_to_value[("filePath",(Some(Path.to_valuex.filePath)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inmake~filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilePath=field_map_exnjson__"filePath"Path.of_jsoninmake~filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A file that is deleted as part of a commit."]moduleReplaceContentEntry=structtypenonrect={filePath:Path.t[@ocaml.doc"The path of the conflicting file."];replacementType:ReplacementTypeEnum.t[@ocaml.doc"The replacement type to use when determining how to resolve the conflict."];content:FileContent.toption[@ocaml.doc"The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The file mode to apply during conflict resoltion."]}letcontext_="ReplaceContentEntry"letmake?content=fun?fileMode->fun~filePath->fun~replacementType->fun()->{content;fileMode;filePath;replacementType}letto_valuex=structure_to_value[("filePath",(Some(Path.to_valuex.filePath)));("replacementType",(Some(ReplacementTypeEnum.to_valuex.replacementType)));("content",(Option.mapx.content~f:FileContent.to_value));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletcontent=(Option.map~f:FileContent.of_xml)(Xml.childxml_arg0"content")inletreplacementType=ReplacementTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"replacementType")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inmake?fileMode?content~replacementType~filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletcontent=field_mapjson__"content"FileContent.of_jsoninletreplacementType=field_map_exnjson__"replacementType"ReplacementTypeEnum.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninmake?fileMode?content~replacementType~filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a replacement content entry in the conflict of a merge or pull request operation."]moduleSetFileModeEntry=structtypenonrect={filePath:Path.t[@ocaml.doc"The full path to the file, including the name of the file."];fileMode:FileModeTypeEnum.t[@ocaml.doc"The file mode for the file."]}letcontext_="SetFileModeEntry"letmake~filePath=fun~fileMode->fun()->{filePath;fileMode}letto_valuex=structure_to_value[("filePath",(Some(Path.to_valuex.filePath)));("fileMode",(Some(FileModeTypeEnum.to_valuex.fileMode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileMode=FileModeTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"fileMode")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inmake~fileMode~filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileMode=field_map_exnjson__"fileMode"FileModeTypeEnum.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninmake~fileMode~filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the file mode changes."]moduleRepositoryId=structtypenonrect=stringletcontext_="RepositoryId"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:"RepositoryId"jletto_json=simple_to_jsonto_valueendmoduleCommit=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full SHA ID of the specified commit."];treeId:ObjectId.toption[@ocaml.doc"Tree information for the specified commit."];parents:ParentList.toption[@ocaml.doc"A list of parent commits for the specified commit. Each parent commit ID is the full commit ID."];message:Message.toption[@ocaml.doc"The commit message associated with the specified commit."];author:UserInfo.toption[@ocaml.doc"Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git."];committer:UserInfo.toption[@ocaml.doc"Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub."];additionalData:AdditionalData.toption[@ocaml.doc"Any other data associated with the specified commit."]}letmake?commitId=fun?treeId->fun?parents->fun?message->fun?author->fun?committer->fun?additionalData->fun()->{commitId;treeId;parents;message;author;committer;additionalData}letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value));("parents",(Option.mapx.parents~f:ParentList.to_value));("message",(Option.mapx.message~f:Message.to_value));("author",(Option.mapx.author~f:UserInfo.to_value));("committer",(Option.mapx.committer~f:UserInfo.to_value));("additionalData",(Option.mapx.additionalData~f:AdditionalData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalData=(Option.map~f:AdditionalData.of_xml)(Xml.childxml_arg0"additionalData")inletcommitter=(Option.map~f:UserInfo.of_xml)(Xml.childxml_arg0"committer")inletauthor=(Option.map~f:UserInfo.of_xml)(Xml.childxml_arg0"author")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletparents=(Option.map~f:ParentList.of_xml)(Xml.childxml_arg0"parents")inlettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?additionalData?committer?author?message?parents?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalData=field_mapjson__"additionalData"AdditionalData.of_jsoninletcommitter=field_mapjson__"committer"UserInfo.of_jsoninletauthor=field_mapjson__"author"UserInfo.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletparents=field_mapjson__"parents"ParentList.of_jsoninlettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?additionalData?committer?author?message?parents?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific commit."]moduleRevisionChildren=structtypenonrect=RevisionId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RevisionId.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:RevisionId.of_xml)letof_jsonj=list_of_json~kind:"RevisionChildren"~of_json:RevisionId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlobMetadata=structtypenonrect={blobId:ObjectId.toption[@ocaml.doc"The full ID of the blob."];path:Path.toption[@ocaml.doc"The path to the blob and associated file name, if any."];mode:Mode.toption[@ocaml.doc"The file mode permissions of the blob. File mode permission codes include: 100644 indicates read/write 100755 indicates read/write/execute 160000 indicates a submodule 120000 indicates a symlink"]}letmake?blobId=fun?path->fun?mode->fun()->{blobId;path;mode}letto_valuex=structure_to_value[("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("path",(Option.mapx.path~f:Path.to_value));("mode",(Option.mapx.mode~f:Mode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmode=(Option.map~f:Mode.of_xml)(Xml.childxml_arg0"mode")inletpath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"path")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inmake?mode?path?blobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmode=field_mapjson__"mode"Mode.of_jsoninletpath=field_mapjson__"path"Path.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninmake?mode?path?blobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific Git blob object."]moduleComments=structtypenonrect=Comment.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Comment.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:Comment.of_xml)letof_jsonj=list_of_json~kind:"Comments"~of_json:Comment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLocation=structtypenonrect={filePath:Path.toption[@ocaml.doc"The name of the file being compared, including its extension and subdirectory, if any."];filePosition:Position.toption[@ocaml.doc"The position of a change in a compared file, in line number format."];relativeFileVersion:RelativeFileVersionEnum.toption[@ocaml.doc"In a comparison of commits or a pull request, whether the change is in the before or after of that comparison."]}letmake?filePath=fun?filePosition->fun?relativeFileVersion->fun()->{filePath;filePosition;relativeFileVersion}letto_valuex=structure_to_value[("filePath",(Option.mapx.filePath~f:Path.to_value));("filePosition",(Option.mapx.filePosition~f:Position.to_value));("relativeFileVersion",(Option.mapx.relativeFileVersion~f:RelativeFileVersionEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrelativeFileVersion=(Option.map~f:RelativeFileVersionEnum.of_xml)(Xml.childxml_arg0"relativeFileVersion")inletfilePosition=(Option.map~f:Position.of_xml)(Xml.childxml_arg0"filePosition")inletfilePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"filePath")inmake?relativeFileVersion?filePosition?filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrelativeFileVersion=field_mapjson__"relativeFileVersion"RelativeFileVersionEnum.of_jsoninletfilePosition=field_mapjson__"filePosition"Position.of_jsoninletfilePath=field_mapjson__"filePath"Path.of_jsoninmake?relativeFileVersion?filePosition?filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the location of a change or comment in the comparison between two commits or a pull request."]modulePullRequestId=structtypenonrect=stringletcontext_="PullRequestId"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:"PullRequestId"jletto_json=simple_to_jsonto_valueendmoduleReactionUsersList=structtypenonrect=Arn.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Arn.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Arn.of_xml)letof_jsonj=list_of_json~kind:"ReactionUsersList"~of_json:Arn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReactionValueFormats=structtypenonrect={emoji:ReactionEmoji.toption[@ocaml.doc"The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems."];shortCode:ReactionShortCode.toption[@ocaml.doc"The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems."];unicode:ReactionUnicode.toption[@ocaml.doc"The Unicode codepoint for the reaction."]}letmake?emoji=fun?shortCode->fun?unicode->fun()->{emoji;shortCode;unicode}letto_valuex=structure_to_value[("emoji",(Option.mapx.emoji~f:ReactionEmoji.to_value));("shortCode",(Option.mapx.shortCode~f:ReactionShortCode.to_value));("unicode",(Option.mapx.unicode~f:ReactionUnicode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunicode=(Option.map~f:ReactionUnicode.of_xml)(Xml.childxml_arg0"unicode")inletshortCode=(Option.map~f:ReactionShortCode.of_xml)(Xml.childxml_arg0"shortCode")inletemoji=(Option.map~f:ReactionEmoji.of_xml)(Xml.childxml_arg0"emoji")inmake?unicode?shortCode?emoji()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunicode=field_mapjson__"unicode"ReactionUnicode.of_jsoninletshortCode=field_mapjson__"shortCode"ReactionShortCode.of_jsoninletemoji=field_mapjson__"emoji"ReactionEmoji.of_jsoninmake?unicode?shortCode?emoji()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions."]moduleApprovalRuleEventMetadata=structtypenonrect={approvalRuleName:ApprovalRuleName.toption[@ocaml.doc"The name of the approval rule."];approvalRuleId:ApprovalRuleId.toption[@ocaml.doc"The system-generated ID of the approval rule."];approvalRuleContent:ApprovalRuleContent.toption[@ocaml.doc"The content of the approval rule."]}letmake?approvalRuleName=fun?approvalRuleId->fun?approvalRuleContent->fun()->{approvalRuleName;approvalRuleId;approvalRuleContent}letto_valuex=structure_to_value[("approvalRuleName",(Option.mapx.approvalRuleName~f:ApprovalRuleName.to_value));("approvalRuleId",(Option.mapx.approvalRuleId~f:ApprovalRuleId.to_value));("approvalRuleContent",(Option.mapx.approvalRuleContent~f:ApprovalRuleContent.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleContent=(Option.map~f:ApprovalRuleContent.of_xml)(Xml.childxml_arg0"approvalRuleContent")inletapprovalRuleId=(Option.map~f:ApprovalRuleId.of_xml)(Xml.childxml_arg0"approvalRuleId")inletapprovalRuleName=(Option.map~f:ApprovalRuleName.of_xml)(Xml.childxml_arg0"approvalRuleName")inmake?approvalRuleContent?approvalRuleId?approvalRuleName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleContent=field_mapjson__"approvalRuleContent"ApprovalRuleContent.of_jsoninletapprovalRuleId=field_mapjson__"approvalRuleId"ApprovalRuleId.of_jsoninletapprovalRuleName=field_mapjson__"approvalRuleName"ApprovalRuleName.of_jsoninmake?approvalRuleContent?approvalRuleId?approvalRuleName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an event for an approval rule."]moduleApprovalRuleOverriddenEventMetadata=structtypenonrect={revisionId:RevisionId.toption[@ocaml.doc"The revision ID of the pull request when the override event occurred."];overrideStatus:OverrideStatus.toption[@ocaml.doc"The status of the override event."]}letmake?revisionId=fun?overrideStatus->fun()->{revisionId;overrideStatus}letto_valuex=structure_to_value[("revisionId",(Option.mapx.revisionId~f:RevisionId.to_value));("overrideStatus",(Option.mapx.overrideStatus~f:OverrideStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoverrideStatus=(Option.map~f:OverrideStatus.of_xml)(Xml.childxml_arg0"overrideStatus")inletrevisionId=(Option.map~f:RevisionId.of_xml)(Xml.childxml_arg0"revisionId")inmake?overrideStatus?revisionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoverrideStatus=field_mapjson__"overrideStatus"OverrideStatus.of_jsoninletrevisionId=field_mapjson__"revisionId"RevisionId.of_jsoninmake?overrideStatus?revisionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an override event for approval rules for a pull request."]moduleApprovalStateChangedEventMetadata=structtypenonrect={revisionId:RevisionId.toption[@ocaml.doc"The revision ID of the pull request when the approval state changed."];approvalStatus:ApprovalState.toption[@ocaml.doc"The approval status for the pull request."]}letmake?revisionId=fun?approvalStatus->fun()->{revisionId;approvalStatus}letto_valuex=structure_to_value[("revisionId",(Option.mapx.revisionId~f:RevisionId.to_value));("approvalStatus",(Option.mapx.approvalStatus~f:ApprovalState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalStatus=(Option.map~f:ApprovalState.of_xml)(Xml.childxml_arg0"approvalStatus")inletrevisionId=(Option.map~f:RevisionId.of_xml)(Xml.childxml_arg0"revisionId")inmake?approvalStatus?revisionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalStatus=field_mapjson__"approvalStatus"ApprovalState.of_jsoninletrevisionId=field_mapjson__"revisionId"RevisionId.of_jsoninmake?approvalStatus?revisionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a change in the approval state for a pull request."]moduleEventDate=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_valueendmodulePullRequestCreatedEventMetadata=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where the pull request was created."];sourceCommitId:CommitId.toption[@ocaml.doc"The commit ID on the source branch used when the pull request was created."];destinationCommitId:CommitId.toption[@ocaml.doc"The commit ID of the tip of the branch specified as the destination branch when the pull request was created."];mergeBase:CommitId.toption[@ocaml.doc"The commit ID of the most recent commit that the source branch and the destination branch have in common."]}letmake?repositoryName=fun?sourceCommitId->fun?destinationCommitId->fun?mergeBase->fun()->{repositoryName;sourceCommitId;destinationCommitId;mergeBase}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("sourceCommitId",(Option.mapx.sourceCommitId~f:CommitId.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:CommitId.to_value));("mergeBase",(Option.mapx.mergeBase~f:CommitId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeBase=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"mergeBase")inletdestinationCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"destinationCommitId")inletsourceCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?mergeBase?destinationCommitId?sourceCommitId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeBase=field_mapjson__"mergeBase"CommitId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"CommitId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?mergeBase?destinationCommitId?sourceCommitId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Metadata about the pull request that is used when comparing the pull request source with its destination."]modulePullRequestEventType=structtypenonrect=|PULL_REQUEST_CREATED|PULL_REQUEST_STATUS_CHANGED|PULL_REQUEST_SOURCE_REFERENCE_UPDATED|PULL_REQUEST_MERGE_STATE_CHANGED|PULL_REQUEST_APPROVAL_RULE_CREATED|PULL_REQUEST_APPROVAL_RULE_UPDATED|PULL_REQUEST_APPROVAL_RULE_DELETED|PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN|PULL_REQUEST_APPROVAL_STATE_CHANGED|Non_static_idofstringletmakei=iletto_string=function|PULL_REQUEST_CREATED->"PULL_REQUEST_CREATED"|PULL_REQUEST_STATUS_CHANGED->"PULL_REQUEST_STATUS_CHANGED"|PULL_REQUEST_SOURCE_REFERENCE_UPDATED->"PULL_REQUEST_SOURCE_REFERENCE_UPDATED"|PULL_REQUEST_MERGE_STATE_CHANGED->"PULL_REQUEST_MERGE_STATE_CHANGED"|PULL_REQUEST_APPROVAL_RULE_CREATED->"PULL_REQUEST_APPROVAL_RULE_CREATED"|PULL_REQUEST_APPROVAL_RULE_UPDATED->"PULL_REQUEST_APPROVAL_RULE_UPDATED"|PULL_REQUEST_APPROVAL_RULE_DELETED->"PULL_REQUEST_APPROVAL_RULE_DELETED"|PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN->"PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"|PULL_REQUEST_APPROVAL_STATE_CHANGED->"PULL_REQUEST_APPROVAL_STATE_CHANGED"|Non_static_ids->sletof_string=function|"PULL_REQUEST_CREATED"->PULL_REQUEST_CREATED|"PULL_REQUEST_STATUS_CHANGED"->PULL_REQUEST_STATUS_CHANGED|"PULL_REQUEST_SOURCE_REFERENCE_UPDATED"->PULL_REQUEST_SOURCE_REFERENCE_UPDATED|"PULL_REQUEST_MERGE_STATE_CHANGED"->PULL_REQUEST_MERGE_STATE_CHANGED|"PULL_REQUEST_APPROVAL_RULE_CREATED"->PULL_REQUEST_APPROVAL_RULE_CREATED|"PULL_REQUEST_APPROVAL_RULE_UPDATED"->PULL_REQUEST_APPROVAL_RULE_UPDATED|"PULL_REQUEST_APPROVAL_RULE_DELETED"->PULL_REQUEST_APPROVAL_RULE_DELETED|"PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"->PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN|"PULL_REQUEST_APPROVAL_STATE_CHANGED"->PULL_REQUEST_APPROVAL_STATE_CHANGED|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 PullRequestEventType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PullRequestEventType"j)letto_json=simple_to_jsonto_valueendmodulePullRequestMergedStateChangedEventMetadata=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where the pull request was created."];destinationReference:ReferenceName.toption[@ocaml.doc"The name of the branch that the pull request is merged into."];mergeMetadata:MergeMetadata.toption[@ocaml.doc"Information about the merge state change event."]}letmake?repositoryName=fun?destinationReference->fun?mergeMetadata->fun()->{repositoryName;destinationReference;mergeMetadata}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("destinationReference",(Option.mapx.destinationReference~f:ReferenceName.to_value));("mergeMetadata",(Option.mapx.mergeMetadata~f:MergeMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeMetadata=(Option.map~f:MergeMetadata.of_xml)(Xml.childxml_arg0"mergeMetadata")inletdestinationReference=(Option.map~f:ReferenceName.of_xml)(Xml.childxml_arg0"destinationReference")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?mergeMetadata?destinationReference?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeMetadata=field_mapjson__"mergeMetadata"MergeMetadata.of_jsoninletdestinationReference=field_mapjson__"destinationReference"ReferenceName.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?mergeMetadata?destinationReference?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the change in the merge state for a pull request event."]modulePullRequestSourceReferenceUpdatedEventMetadata=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where the pull request was updated."];beforeCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated."];afterCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated."];mergeBase:CommitId.toption[@ocaml.doc"The commit ID of the most recent commit that the source branch and the destination branch have in common."]}letmake?repositoryName=fun?beforeCommitId->fun?afterCommitId->fun?mergeBase->fun()->{repositoryName;beforeCommitId;afterCommitId;mergeBase}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("mergeBase",(Option.mapx.mergeBase~f:CommitId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeBase=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"mergeBase")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?mergeBase?afterCommitId?beforeCommitId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeBase=field_mapjson__"mergeBase"CommitId.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?mergeBase?afterCommitId?beforeCommitId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an update to the source branch of a pull request."]modulePullRequestStatusChangedEventMetadata=structtypenonrect={pullRequestStatus:PullRequestStatusEnum.toption[@ocaml.doc"The changed status of the pull request."]}letmake?pullRequestStatus=fun()->{pullRequestStatus}letto_valuex=structure_to_value[("pullRequestStatus",(Option.mapx.pullRequestStatus~f:PullRequestStatusEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestStatus=(Option.map~f:PullRequestStatusEnum.of_xml)(Xml.childxml_arg0"pullRequestStatus")inmake?pullRequestStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestStatus=field_mapjson__"pullRequestStatus"PullRequestStatusEnum.of_jsoninmake?pullRequestStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a change to the status of a pull request."]moduleSourceFileSpecifier=structtypenonrect={filePath:Path.t[@ocaml.doc"The full path to the file, including the name of the file."];isMove:IsMove.toption[@ocaml.doc"Whether to remove the source file from the parent commit."]}letcontext_="SourceFileSpecifier"letmake?isMove=fun~filePath->fun()->{isMove;filePath}letto_valuex=structure_to_value[("filePath",(Some(Path.to_valuex.filePath)));("isMove",(Option.mapx.isMove~f:IsMove.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisMove=(Option.map~f:IsMove.of_xml)(Xml.childxml_arg0"isMove")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inmake?isMove~filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisMove=field_mapjson__"isMove"IsMove.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninmake?isMove~filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a source file that is part of changes made in a commit."]moduleBatchGetRepositoriesErrorCodeEnum=structtypenonrect=|EncryptionIntegrityChecksFailedException|EncryptionKeyAccessDeniedException|EncryptionKeyDisabledException|EncryptionKeyNotFoundException|EncryptionKeyUnavailableException|RepositoryDoesNotExistException|Non_static_idofstringletmakei=iletto_string=function|EncryptionIntegrityChecksFailedException->"EncryptionIntegrityChecksFailedException"|EncryptionKeyAccessDeniedException->"EncryptionKeyAccessDeniedException"|EncryptionKeyDisabledException->"EncryptionKeyDisabledException"|EncryptionKeyNotFoundException->"EncryptionKeyNotFoundException"|EncryptionKeyUnavailableException->"EncryptionKeyUnavailableException"|RepositoryDoesNotExistException->"RepositoryDoesNotExistException"|Non_static_ids->sletof_string=function|"EncryptionIntegrityChecksFailedException"->EncryptionIntegrityChecksFailedException|"EncryptionKeyAccessDeniedException"->EncryptionKeyAccessDeniedException|"EncryptionKeyDisabledException"->EncryptionKeyDisabledException|"EncryptionKeyNotFoundException"->EncryptionKeyNotFoundException|"EncryptionKeyUnavailableException"->EncryptionKeyUnavailableException|"RepositoryDoesNotExistException"->RepositoryDoesNotExistException|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 BatchGetRepositoriesErrorCodeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BatchGetRepositoriesErrorCodeEnum"j)letto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleAccountId=structtypenonrect=stringletcontext_="AccountId"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:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleCloneUrlHttp=structtypenonrect=stringletcontext_="CloneUrlHttp"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:"CloneUrlHttp"jletto_json=simple_to_jsonto_valueendmoduleCloneUrlSsh=structtypenonrect=stringletcontext_="CloneUrlSsh"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:"CloneUrlSsh"jletto_json=simple_to_jsonto_valueendmoduleKmsKeyId=structtypenonrect=stringletcontext_="KmsKeyId"letmakei=letopenResultinok_or_failwith(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:"KmsKeyId"jletto_json=simple_to_jsonto_valueendmoduleRepositoryDescription=structtypenonrect=stringletcontext_="RepositoryDescription"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:1000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RepositoryDescription"jletto_json=simple_to_jsonto_valueendmoduleErrorCode=structtypenonrect=stringletcontext_="ErrorCode"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:"ErrorCode"jletto_json=simple_to_jsonto_valueendmoduleExceptionName=structtypenonrect=stringletcontext_="ExceptionName"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:"ExceptionName"jletto_json=simple_to_jsonto_valueendmoduleConflictMetadata=structtypenonrect={filePath:Path.toption[@ocaml.doc"The path of the file that contains conflicts."];fileSizes:FileSizes.toption[@ocaml.doc"The file sizes of the file in the source, destination, and base of the merge."];fileModes:FileModes.toption[@ocaml.doc"The file modes of the file in the source, destination, and base of the merge."];objectTypes:ObjectTypes.toption[@ocaml.doc"Information about any object type conflicts in a merge operation."];numberOfConflicts:NumberOfConflicts.toption[@ocaml.doc"The number of conflicts, including both hunk conflicts and metadata conflicts."];isBinaryFile:IsBinaryFile.toption[@ocaml.doc"A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge."];contentConflict:IsContentConflict.toption[@ocaml.doc"A boolean value indicating whether there are conflicts in the content of a file."];fileModeConflict:IsFileModeConflict.toption[@ocaml.doc"A boolean value indicating whether there are conflicts in the file mode of a file."];objectTypeConflict:IsObjectTypeConflict.toption[@ocaml.doc"A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule."];mergeOperations:MergeOperations.toption[@ocaml.doc"Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge."]}letmake?filePath=fun?fileSizes->fun?fileModes->fun?objectTypes->fun?numberOfConflicts->fun?isBinaryFile->fun?contentConflict->fun?fileModeConflict->fun?objectTypeConflict->fun?mergeOperations->fun()->{filePath;fileSizes;fileModes;objectTypes;numberOfConflicts;isBinaryFile;contentConflict;fileModeConflict;objectTypeConflict;mergeOperations}letto_valuex=structure_to_value[("filePath",(Option.mapx.filePath~f:Path.to_value));("fileSizes",(Option.mapx.fileSizes~f:FileSizes.to_value));("fileModes",(Option.mapx.fileModes~f:FileModes.to_value));("objectTypes",(Option.mapx.objectTypes~f:ObjectTypes.to_value));("numberOfConflicts",(Option.mapx.numberOfConflicts~f:NumberOfConflicts.to_value));("isBinaryFile",(Option.mapx.isBinaryFile~f:IsBinaryFile.to_value));("contentConflict",(Option.mapx.contentConflict~f:IsContentConflict.to_value));("fileModeConflict",(Option.mapx.fileModeConflict~f:IsFileModeConflict.to_value));("objectTypeConflict",(Option.mapx.objectTypeConflict~f:IsObjectTypeConflict.to_value));("mergeOperations",(Option.mapx.mergeOperations~f:MergeOperations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeOperations=(Option.map~f:MergeOperations.of_xml)(Xml.childxml_arg0"mergeOperations")inletobjectTypeConflict=(Option.map~f:IsObjectTypeConflict.of_xml)(Xml.childxml_arg0"objectTypeConflict")inletfileModeConflict=(Option.map~f:IsFileModeConflict.of_xml)(Xml.childxml_arg0"fileModeConflict")inletcontentConflict=(Option.map~f:IsContentConflict.of_xml)(Xml.childxml_arg0"contentConflict")inletisBinaryFile=(Option.map~f:IsBinaryFile.of_xml)(Xml.childxml_arg0"isBinaryFile")inletnumberOfConflicts=(Option.map~f:NumberOfConflicts.of_xml)(Xml.childxml_arg0"numberOfConflicts")inletobjectTypes=(Option.map~f:ObjectTypes.of_xml)(Xml.childxml_arg0"objectTypes")inletfileModes=(Option.map~f:FileModes.of_xml)(Xml.childxml_arg0"fileModes")inletfileSizes=(Option.map~f:FileSizes.of_xml)(Xml.childxml_arg0"fileSizes")inletfilePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"filePath")inmake?mergeOperations?objectTypeConflict?fileModeConflict?contentConflict?isBinaryFile?numberOfConflicts?objectTypes?fileModes?fileSizes?filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeOperations=field_mapjson__"mergeOperations"MergeOperations.of_jsoninletobjectTypeConflict=field_mapjson__"objectTypeConflict"IsObjectTypeConflict.of_jsoninletfileModeConflict=field_mapjson__"fileModeConflict"IsFileModeConflict.of_jsoninletcontentConflict=field_mapjson__"contentConflict"IsContentConflict.of_jsoninletisBinaryFile=field_mapjson__"isBinaryFile"IsBinaryFile.of_jsoninletnumberOfConflicts=field_mapjson__"numberOfConflicts"NumberOfConflicts.of_jsoninletobjectTypes=field_mapjson__"objectTypes"ObjectTypes.of_jsoninletfileModes=field_mapjson__"fileModes"FileModes.of_jsoninletfileSizes=field_mapjson__"fileSizes"FileSizes.of_jsoninletfilePath=field_mapjson__"filePath"Path.of_jsoninmake?mergeOperations?objectTypeConflict?fileModeConflict?contentConflict?isBinaryFile?numberOfConflicts?objectTypes?fileModes?fileSizes?filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the metadata for a conflict in a merge operation."]moduleMergeHunks=structtypenonrect=MergeHunk.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MergeHunk.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:MergeHunk.of_xml)letof_jsonj=list_of_json~kind:"MergeHunks"~of_json:MergeHunk.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApprovalRulesList=structtypenonrect=ApprovalRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApprovalRule.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:ApprovalRule.of_xml)letof_jsonj=list_of_json~kind:"ApprovalRulesList"~of_json:ApprovalRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDescription=structtypenonrect=stringletcontext_="Description"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:10240);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Description"jletto_json=simple_to_jsonto_valueendmodulePullRequestTargetList=structtypenonrect=PullRequestTarget.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PullRequestTarget.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:PullRequestTarget.of_xml)letof_jsonj=list_of_json~kind:"PullRequestTargetList"~of_json:PullRequestTarget.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTitle=structtypenonrect=stringletcontext_="Title"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:150);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_valueendmoduleApprovalRuleTemplateContent=structtypenonrect=stringletcontext_="ApprovalRuleTemplateContent"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:3000)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApprovalRuleTemplateContent"jletto_json=simple_to_jsonto_valueendmoduleApprovalRuleTemplateDescription=structtypenonrect=stringletcontext_="ApprovalRuleTemplateDescription"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1000)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApprovalRuleTemplateDescription"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleRepositoryTriggerExecutionFailure=structtypenonrect={trigger:RepositoryTriggerName.toption[@ocaml.doc"The name of the trigger that did not run."];failureMessage:RepositoryTriggerExecutionFailureMessage.toption[@ocaml.doc"Message information about the trigger that did not run."]}letmake?trigger=fun?failureMessage->fun()->{trigger;failureMessage}letto_valuex=structure_to_value[("trigger",(Option.mapx.trigger~f:RepositoryTriggerName.to_value));("failureMessage",(Option.mapx.failureMessage~f:RepositoryTriggerExecutionFailureMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureMessage=(Option.map~f:RepositoryTriggerExecutionFailureMessage.of_xml)(Xml.childxml_arg0"failureMessage")inlettrigger=(Option.map~f:RepositoryTriggerName.of_xml)(Xml.childxml_arg0"trigger")inmake?failureMessage?trigger()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureMessage=field_mapjson__"failureMessage"RepositoryTriggerExecutionFailureMessage.of_jsoninlettrigger=field_mapjson__"trigger"RepositoryTriggerName.of_jsoninmake?failureMessage?trigger()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A trigger failed to run."]moduleRepositoryTrigger=structtypenonrect={name:RepositoryTriggerName.t[@ocaml.doc"The name of the trigger."];destinationArn:Arn.t[@ocaml.doc"The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS)."];customData:RepositoryTriggerCustomData.toption[@ocaml.doc"Any custom data associated with the trigger to be included in the information sent to the target of the trigger."];branches:BranchNameList.toption[@ocaml.doc"The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches. Although no content is required in the array, you must include the array itself."];events:RepositoryTriggerEventList.t[@ocaml.doc"The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. The valid value \"all\" cannot be used with any other values."]}letcontext_="RepositoryTrigger"letmake?customData=fun?branches->fun~name->fun~destinationArn->fun~events->fun()->{customData;branches;name;destinationArn;events}letto_valuex=structure_to_value[("name",(Some(RepositoryTriggerName.to_valuex.name)));("destinationArn",(Some(Arn.to_valuex.destinationArn)));("customData",(Option.mapx.customData~f:RepositoryTriggerCustomData.to_value));("branches",(Option.mapx.branches~f:BranchNameList.to_value));("events",(Some(RepositoryTriggerEventList.to_valuex.events)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letevents=RepositoryTriggerEventList.of_xml(Xml.child_exn~context:context_xml_arg0"events")inletbranches=(Option.map~f:BranchNameList.of_xml)(Xml.childxml_arg0"branches")inletcustomData=(Option.map~f:RepositoryTriggerCustomData.of_xml)(Xml.childxml_arg0"customData")inletdestinationArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"destinationArn")inletname=RepositoryTriggerName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake~events?branches?customData~destinationArn~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letevents=field_map_exnjson__"events"RepositoryTriggerEventList.of_jsoninletbranches=field_mapjson__"branches"BranchNameList.of_jsoninletcustomData=field_mapjson__"customData"RepositoryTriggerCustomData.of_jsoninletdestinationArn=field_map_exnjson__"destinationArn"Arn.of_jsoninletname=field_map_exnjson__"name"RepositoryTriggerName.of_jsoninmake~events?branches?customData~destinationArn~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a trigger for a repository. If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events."]moduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleDeleteFileEntries=structtypenonrect=DeleteFileEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DeleteFileEntry.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:DeleteFileEntry.of_xml)letof_jsonj=list_of_json~kind:"DeleteFileEntries"~of_json:DeleteFileEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplaceContentEntries=structtypenonrect=ReplaceContentEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplaceContentEntry.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:ReplaceContentEntry.of_xml)letof_jsonj=list_of_json~kind:"ReplaceContentEntries"~of_json:ReplaceContentEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSetFileModeEntries=structtypenonrect=SetFileModeEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SetFileModeEntry.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:SetFileModeEntry.of_xml)letof_jsonj=list_of_json~kind:"SetFileModeEntries"~of_json:SetFileModeEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryNameIdPair=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name associated with the repository."];repositoryId:RepositoryId.toption[@ocaml.doc"The ID associated with the repository."]}letmake?repositoryName=fun?repositoryId->fun()->{repositoryName;repositoryId}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("repositoryId",(Option.mapx.repositoryId~f:RepositoryId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryId=(Option.map~f:RepositoryId.of_xml)(Xml.childxml_arg0"repositoryId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?repositoryId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryId=field_mapjson__"repositoryId"RepositoryId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?repositoryId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a repository name and ID."]moduleFileVersion=structtypenonrect={commit:Commit.toption;blobId:ObjectId.toption[@ocaml.doc"The blob ID of the object that represents the content of the file in this version."];path:Path.toption[@ocaml.doc"The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes."];revisionChildren:RevisionChildren.toption[@ocaml.doc"An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty."]}letmake?commit=fun?blobId->fun?path->fun?revisionChildren->fun()->{commit;blobId;path;revisionChildren}letto_valuex=structure_to_value[("commit",(Option.mapx.commit~f:Commit.to_value));("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("path",(Option.mapx.path~f:Path.to_value));("revisionChildren",(Option.mapx.revisionChildren~f:RevisionChildren.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionChildren=(Option.map~f:RevisionChildren.of_xml)(Xml.childxml_arg0"revisionChildren")inletpath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"path")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inletcommit=(Option.map~f:Commit.of_xml)(Xml.childxml_arg0"commit")inmake?revisionChildren?path?blobId?commit()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionChildren=field_mapjson__"revisionChildren"RevisionChildren.of_jsoninletpath=field_mapjson__"path"Path.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninletcommit=field_mapjson__"commit"Commit.of_jsoninmake?revisionChildren?path?blobId?commit()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a version of a file."]moduleApproval=structtypenonrect={userArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user."];approvalState:ApprovalState.toption[@ocaml.doc"The state of the approval, APPROVE or REVOKE. REVOKE states are not stored."]}letmake?userArn=fun?approvalState->fun()->{userArn;approvalState}letto_valuex=structure_to_value[("userArn",(Option.mapx.userArn~f:Arn.to_value));("approvalState",(Option.mapx.approvalState~f:ApprovalState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalState=(Option.map~f:ApprovalState.of_xml)(Xml.childxml_arg0"approvalState")inletuserArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"userArn")inmake?approvalState?userArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalState=field_mapjson__"approvalState"ApprovalState.of_jsoninletuserArn=field_mapjson__"userArn"Arn.of_jsoninmake?approvalState?userArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specific approval on a pull request."]moduleFile=structtypenonrect={blobId:ObjectId.toption[@ocaml.doc"The blob ID that contains the file information."];absolutePath:Path.toption[@ocaml.doc"The fully qualified path to the file in the repository."];relativePath:Path.toption[@ocaml.doc"The relative path of the file from the folder where the query originated."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL."]}letmake?blobId=fun?absolutePath->fun?relativePath->fun?fileMode->fun()->{blobId;absolutePath;relativePath;fileMode}letto_valuex=structure_to_value[("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("absolutePath",(Option.mapx.absolutePath~f:Path.to_value));("relativePath",(Option.mapx.relativePath~f:Path.to_value));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletrelativePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"relativePath")inletabsolutePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"absolutePath")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inmake?fileMode?relativePath?absolutePath?blobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletrelativePath=field_mapjson__"relativePath"Path.of_jsoninletabsolutePath=field_mapjson__"absolutePath"Path.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninmake?fileMode?relativePath?absolutePath?blobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a file in a repository."]moduleFolder=structtypenonrect={treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains the folder."];absolutePath:Path.toption[@ocaml.doc"The fully qualified path of the folder in the repository."];relativePath:Path.toption[@ocaml.doc"The relative path of the specified folder from the folder where the query originated."]}letmake?treeId=fun?absolutePath->fun?relativePath->fun()->{treeId;absolutePath;relativePath}letto_valuex=structure_to_value[("treeId",(Option.mapx.treeId~f:ObjectId.to_value));("absolutePath",(Option.mapx.absolutePath~f:Path.to_value));("relativePath",(Option.mapx.relativePath~f:Path.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrelativePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"relativePath")inletabsolutePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"absolutePath")inlettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inmake?relativePath?absolutePath?treeId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrelativePath=field_mapjson__"relativePath"Path.of_jsoninletabsolutePath=field_mapjson__"absolutePath"Path.of_jsoninlettreeId=field_mapjson__"treeId"ObjectId.of_jsoninmake?relativePath?absolutePath?treeId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a folder in a repository."]moduleSubModule=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The commit ID that contains the reference to the submodule."];absolutePath:Path.toption[@ocaml.doc"The fully qualified path to the folder that contains the reference to the submodule."];relativePath:Path.toption[@ocaml.doc"The relative path of the submodule from the folder where the query originated."]}letmake?commitId=fun?absolutePath->fun?relativePath->fun()->{commitId;absolutePath;relativePath}letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("absolutePath",(Option.mapx.absolutePath~f:Path.to_value));("relativePath",(Option.mapx.relativePath~f:Path.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrelativePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"relativePath")inletabsolutePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"absolutePath")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?relativePath?absolutePath?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrelativePath=field_mapjson__"relativePath"Path.of_jsoninletabsolutePath=field_mapjson__"absolutePath"Path.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?relativePath?absolutePath?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a submodule reference in a repository folder."]moduleSymbolicLink=structtypenonrect={blobId:ObjectId.toption[@ocaml.doc"The blob ID that contains the information about the symbolic link."];absolutePath:Path.toption[@ocaml.doc"The fully qualified path to the folder that contains the symbolic link."];relativePath:Path.toption[@ocaml.doc"The relative path of the symbolic link from the folder where the query originated."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The file mode permissions of the blob that cotains information about the symbolic link."]}letmake?blobId=fun?absolutePath->fun?relativePath->fun?fileMode->fun()->{blobId;absolutePath;relativePath;fileMode}letto_valuex=structure_to_value[("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("absolutePath",(Option.mapx.absolutePath~f:Path.to_value));("relativePath",(Option.mapx.relativePath~f:Path.to_value));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletrelativePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"relativePath")inletabsolutePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"absolutePath")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inmake?fileMode?relativePath?absolutePath?blobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletrelativePath=field_mapjson__"relativePath"Path.of_jsoninletabsolutePath=field_mapjson__"absolutePath"Path.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninmake?fileMode?relativePath?absolutePath?blobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a symbolic link in a repository folder."]moduleDifference=structtypenonrect={beforeBlob:BlobMetadata.toption[@ocaml.doc"Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path."];afterBlob:BlobMetadata.toption[@ocaml.doc"Information about an afterBlob data type object, including the ID, the file mode permission code, and the path."];changeType:ChangeTypeEnum.toption[@ocaml.doc"Whether the change type of the difference is an addition (A), deletion (D), or modification (M)."]}letmake?beforeBlob=fun?afterBlob->fun?changeType->fun()->{beforeBlob;afterBlob;changeType}letto_valuex=structure_to_value[("beforeBlob",(Option.mapx.beforeBlob~f:BlobMetadata.to_value));("afterBlob",(Option.mapx.afterBlob~f:BlobMetadata.to_value));("changeType",(Option.mapx.changeType~f:ChangeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letchangeType=(Option.map~f:ChangeTypeEnum.of_xml)(Xml.childxml_arg0"changeType")inletafterBlob=(Option.map~f:BlobMetadata.of_xml)(Xml.childxml_arg0"afterBlob")inletbeforeBlob=(Option.map~f:BlobMetadata.of_xml)(Xml.childxml_arg0"beforeBlob")inmake?changeType?afterBlob?beforeBlob()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letchangeType=field_mapjson__"changeType"ChangeTypeEnum.of_jsoninletafterBlob=field_mapjson__"afterBlob"BlobMetadata.of_jsoninletbeforeBlob=field_mapjson__"beforeBlob"BlobMetadata.of_jsoninmake?changeType?afterBlob?beforeBlob()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a set of differences for a commit specifier."]moduleCommentsForPullRequest=structtypenonrect={pullRequestId:PullRequestId.toption[@ocaml.doc"The system-generated ID of the pull request."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that contains the pull request."];beforeCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch."];afterCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit that was the tip of the source branch at the time the comment was made."];beforeBlobId:ObjectId.toption[@ocaml.doc"The full blob ID of the file on which you want to comment on the destination commit."];afterBlobId:ObjectId.toption[@ocaml.doc"The full blob ID of the file on which you want to comment on the source commit."];location:Location.toption[@ocaml.doc"Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch)."];comments:Comments.toption[@ocaml.doc"An array of comment objects. Each comment object contains information about a comment on the pull request."]}letmake?pullRequestId=fun?repositoryName->fun?beforeCommitId->fun?afterCommitId->fun?beforeBlobId->fun?afterBlobId->fun?location->fun?comments->fun()->{pullRequestId;repositoryName;beforeCommitId;afterCommitId;beforeBlobId;afterBlobId;location;comments}letto_valuex=structure_to_value[("pullRequestId",(Option.mapx.pullRequestId~f:PullRequestId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("beforeBlobId",(Option.mapx.beforeBlobId~f:ObjectId.to_value));("afterBlobId",(Option.mapx.afterBlobId~f:ObjectId.to_value));("location",(Option.mapx.location~f:Location.to_value));("comments",(Option.mapx.comments~f:Comments.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomments=(Option.map~f:Comments.of_xml)(Xml.childxml_arg0"comments")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"afterBlobId")inletbeforeBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"beforeBlobId")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletpullRequestId=(Option.map~f:PullRequestId.of_xml)(Xml.childxml_arg0"pullRequestId")inmake?comments?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName?pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomments=field_mapjson__"comments"Comments.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterBlobId=field_mapjson__"afterBlobId"ObjectId.of_jsoninletbeforeBlobId=field_mapjson__"beforeBlobId"ObjectId.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_mapjson__"pullRequestId"PullRequestId.of_jsoninmake?comments?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName?pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about comments on a pull request."]moduleCommentsForComparedCommit=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that contains the compared commits."];beforeCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit used to establish the before of the comparison."];afterCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit used to establish the after of the comparison."];beforeBlobId:ObjectId.toption[@ocaml.doc"The full blob ID of the commit used to establish the before of the comparison."];afterBlobId:ObjectId.toption[@ocaml.doc"The full blob ID of the commit used to establish the after of the comparison."];location:Location.toption[@ocaml.doc"Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER."];comments:Comments.toption[@ocaml.doc"An array of comment objects. Each comment object contains information about a comment on the comparison between commits."]}letmake?repositoryName=fun?beforeCommitId->fun?afterCommitId->fun?beforeBlobId->fun?afterBlobId->fun?location->fun?comments->fun()->{repositoryName;beforeCommitId;afterCommitId;beforeBlobId;afterBlobId;location;comments}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("beforeBlobId",(Option.mapx.beforeBlobId~f:ObjectId.to_value));("afterBlobId",(Option.mapx.afterBlobId~f:ObjectId.to_value));("location",(Option.mapx.location~f:Location.to_value));("comments",(Option.mapx.comments~f:Comments.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomments=(Option.map~f:Comments.of_xml)(Xml.childxml_arg0"comments")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"afterBlobId")inletbeforeBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"beforeBlobId")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?comments?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomments=field_mapjson__"comments"Comments.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterBlobId=field_mapjson__"afterBlobId"ObjectId.of_jsoninletbeforeBlobId=field_mapjson__"beforeBlobId"ObjectId.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?comments?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about comments on the comparison between two commits."]moduleReactionForComment=structtypenonrect={reaction:ReactionValueFormats.toption[@ocaml.doc"The reaction for a specified comment."];reactionUsers:ReactionUsersList.toption[@ocaml.doc"The Amazon Resource Names (ARNs) of users who have provided reactions to the comment."];reactionsFromDeletedUsersCount:Count.toption[@ocaml.doc"A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts."]}letmake?reaction=fun?reactionUsers->fun?reactionsFromDeletedUsersCount->fun()->{reaction;reactionUsers;reactionsFromDeletedUsersCount}letto_valuex=structure_to_value[("reaction",(Option.mapx.reaction~f:ReactionValueFormats.to_value));("reactionUsers",(Option.mapx.reactionUsers~f:ReactionUsersList.to_value));("reactionsFromDeletedUsersCount",(Option.mapx.reactionsFromDeletedUsersCount~f:Count.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreactionsFromDeletedUsersCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"reactionsFromDeletedUsersCount")inletreactionUsers=(Option.map~f:ReactionUsersList.of_xml)(Xml.childxml_arg0"reactionUsers")inletreaction=(Option.map~f:ReactionValueFormats.of_xml)(Xml.childxml_arg0"reaction")inmake?reactionsFromDeletedUsersCount?reactionUsers?reaction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreactionsFromDeletedUsersCount=field_mapjson__"reactionsFromDeletedUsersCount"Count.of_jsoninletreactionUsers=field_mapjson__"reactionUsers"ReactionUsersList.of_jsoninletreaction=field_mapjson__"reaction"ReactionValueFormats.of_jsoninmake?reactionsFromDeletedUsersCount?reactionUsers?reaction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the reaction values provided by users on a comment."]moduleApprovalRulesNotSatisfiedList=structtypenonrect=ApprovalRuleName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApprovalRuleName.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:ApprovalRuleName.of_xml)letof_jsonj=list_of_json~kind:"ApprovalRulesNotSatisfiedList"~of_json:ApprovalRuleName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApprovalRulesSatisfiedList=structtypenonrect=ApprovalRuleName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApprovalRuleName.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:ApprovalRuleName.of_xml)letof_jsonj=list_of_json~kind:"ApprovalRulesSatisfiedList"~of_json:ApprovalRuleName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApproved=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_valueendmoduleOverridden=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_valueendmodulePullRequestEvent=structtypenonrect={pullRequestId:PullRequestId.toption[@ocaml.doc"The system-generated ID of the pull request."];eventDate:EventDate.toption[@ocaml.doc"The day and time of the pull request event, in timestamp format."];pullRequestEventType:PullRequestEventType.toption[@ocaml.doc"The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED))."];actorArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request."];pullRequestCreatedEventMetadata:PullRequestCreatedEventMetadata.toption[@ocaml.doc"Information about the source and destination branches for the pull request."];pullRequestStatusChangedEventMetadata:PullRequestStatusChangedEventMetadata.toption[@ocaml.doc"Information about the change in status for the pull request event."];pullRequestSourceReferenceUpdatedEventMetadata:PullRequestSourceReferenceUpdatedEventMetadata.toption[@ocaml.doc"Information about the updated source branch for the pull request event."];pullRequestMergedStateChangedEventMetadata:PullRequestMergedStateChangedEventMetadata.toption[@ocaml.doc"Information about the change in mergability state for the pull request event."];approvalRuleEventMetadata:ApprovalRuleEventMetadata.toption[@ocaml.doc"Information about a pull request event."];approvalStateChangedEventMetadata:ApprovalStateChangedEventMetadata.toption[@ocaml.doc"Information about an approval state change for a pull request."];approvalRuleOverriddenEventMetadata:ApprovalRuleOverriddenEventMetadata.toption[@ocaml.doc"Information about an approval rule override event for a pull request."]}letmake?pullRequestId=fun?eventDate->fun?pullRequestEventType->fun?actorArn->fun?pullRequestCreatedEventMetadata->fun?pullRequestStatusChangedEventMetadata->fun?pullRequestSourceReferenceUpdatedEventMetadata->fun?pullRequestMergedStateChangedEventMetadata->fun?approvalRuleEventMetadata->fun?approvalStateChangedEventMetadata->fun?approvalRuleOverriddenEventMetadata->fun()->{pullRequestId;eventDate;pullRequestEventType;actorArn;pullRequestCreatedEventMetadata;pullRequestStatusChangedEventMetadata;pullRequestSourceReferenceUpdatedEventMetadata;pullRequestMergedStateChangedEventMetadata;approvalRuleEventMetadata;approvalStateChangedEventMetadata;approvalRuleOverriddenEventMetadata}letto_valuex=structure_to_value[("pullRequestId",(Option.mapx.pullRequestId~f:PullRequestId.to_value));("eventDate",(Option.mapx.eventDate~f:EventDate.to_value));("pullRequestEventType",(Option.mapx.pullRequestEventType~f:PullRequestEventType.to_value));("actorArn",(Option.mapx.actorArn~f:Arn.to_value));("pullRequestCreatedEventMetadata",(Option.mapx.pullRequestCreatedEventMetadata~f:PullRequestCreatedEventMetadata.to_value));("pullRequestStatusChangedEventMetadata",(Option.mapx.pullRequestStatusChangedEventMetadata~f:PullRequestStatusChangedEventMetadata.to_value));("pullRequestSourceReferenceUpdatedEventMetadata",(Option.mapx.pullRequestSourceReferenceUpdatedEventMetadata~f:PullRequestSourceReferenceUpdatedEventMetadata.to_value));("pullRequestMergedStateChangedEventMetadata",(Option.mapx.pullRequestMergedStateChangedEventMetadata~f:PullRequestMergedStateChangedEventMetadata.to_value));("approvalRuleEventMetadata",(Option.mapx.approvalRuleEventMetadata~f:ApprovalRuleEventMetadata.to_value));("approvalStateChangedEventMetadata",(Option.mapx.approvalStateChangedEventMetadata~f:ApprovalStateChangedEventMetadata.to_value));("approvalRuleOverriddenEventMetadata",(Option.mapx.approvalRuleOverriddenEventMetadata~f:ApprovalRuleOverriddenEventMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleOverriddenEventMetadata=(Option.map~f:ApprovalRuleOverriddenEventMetadata.of_xml)(Xml.childxml_arg0"approvalRuleOverriddenEventMetadata")inletapprovalStateChangedEventMetadata=(Option.map~f:ApprovalStateChangedEventMetadata.of_xml)(Xml.childxml_arg0"approvalStateChangedEventMetadata")inletapprovalRuleEventMetadata=(Option.map~f:ApprovalRuleEventMetadata.of_xml)(Xml.childxml_arg0"approvalRuleEventMetadata")inletpullRequestMergedStateChangedEventMetadata=(Option.map~f:PullRequestMergedStateChangedEventMetadata.of_xml)(Xml.childxml_arg0"pullRequestMergedStateChangedEventMetadata")inletpullRequestSourceReferenceUpdatedEventMetadata=(Option.map~f:PullRequestSourceReferenceUpdatedEventMetadata.of_xml)(Xml.childxml_arg0"pullRequestSourceReferenceUpdatedEventMetadata")inletpullRequestStatusChangedEventMetadata=(Option.map~f:PullRequestStatusChangedEventMetadata.of_xml)(Xml.childxml_arg0"pullRequestStatusChangedEventMetadata")inletpullRequestCreatedEventMetadata=(Option.map~f:PullRequestCreatedEventMetadata.of_xml)(Xml.childxml_arg0"pullRequestCreatedEventMetadata")inletactorArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"actorArn")inletpullRequestEventType=(Option.map~f:PullRequestEventType.of_xml)(Xml.childxml_arg0"pullRequestEventType")inleteventDate=(Option.map~f:EventDate.of_xml)(Xml.childxml_arg0"eventDate")inletpullRequestId=(Option.map~f:PullRequestId.of_xml)(Xml.childxml_arg0"pullRequestId")inmake?approvalRuleOverriddenEventMetadata?approvalStateChangedEventMetadata?approvalRuleEventMetadata?pullRequestMergedStateChangedEventMetadata?pullRequestSourceReferenceUpdatedEventMetadata?pullRequestStatusChangedEventMetadata?pullRequestCreatedEventMetadata?actorArn?pullRequestEventType?eventDate?pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleOverriddenEventMetadata=field_mapjson__"approvalRuleOverriddenEventMetadata"ApprovalRuleOverriddenEventMetadata.of_jsoninletapprovalStateChangedEventMetadata=field_mapjson__"approvalStateChangedEventMetadata"ApprovalStateChangedEventMetadata.of_jsoninletapprovalRuleEventMetadata=field_mapjson__"approvalRuleEventMetadata"ApprovalRuleEventMetadata.of_jsoninletpullRequestMergedStateChangedEventMetadata=field_mapjson__"pullRequestMergedStateChangedEventMetadata"PullRequestMergedStateChangedEventMetadata.of_jsoninletpullRequestSourceReferenceUpdatedEventMetadata=field_mapjson__"pullRequestSourceReferenceUpdatedEventMetadata"PullRequestSourceReferenceUpdatedEventMetadata.of_jsoninletpullRequestStatusChangedEventMetadata=field_mapjson__"pullRequestStatusChangedEventMetadata"PullRequestStatusChangedEventMetadata.of_jsoninletpullRequestCreatedEventMetadata=field_mapjson__"pullRequestCreatedEventMetadata"PullRequestCreatedEventMetadata.of_jsoninletactorArn=field_mapjson__"actorArn"Arn.of_jsoninletpullRequestEventType=field_mapjson__"pullRequestEventType"PullRequestEventType.of_jsoninleteventDate=field_mapjson__"eventDate"EventDate.of_jsoninletpullRequestId=field_mapjson__"pullRequestId"PullRequestId.of_jsoninmake?approvalRuleOverriddenEventMetadata?approvalStateChangedEventMetadata?approvalRuleEventMetadata?pullRequestMergedStateChangedEventMetadata?pullRequestSourceReferenceUpdatedEventMetadata?pullRequestStatusChangedEventMetadata?pullRequestCreatedEventMetadata?actorArn?pullRequestEventType?eventDate?pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a pull request event."]moduleTarget=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the pull request."];sourceReference:ReferenceName.t[@ocaml.doc"The branch of the repository that contains the changes for the pull request. Also known as the source branch."];destinationReference:ReferenceName.toption[@ocaml.doc"The branch of the repository where the pull request changes are merged. Also known as the destination branch."]}letcontext_="Target"letmake?destinationReference=fun~repositoryName->fun~sourceReference->fun()->{destinationReference;repositoryName;sourceReference}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceReference",(Some(ReferenceName.to_valuex.sourceReference)));("destinationReference",(Option.mapx.destinationReference~f:ReferenceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationReference=(Option.map~f:ReferenceName.of_xml)(Xml.childxml_arg0"destinationReference")inletsourceReference=ReferenceName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceReference")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?destinationReference~sourceReference~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationReference=field_mapjson__"destinationReference"ReferenceName.of_jsoninletsourceReference=field_map_exnjson__"sourceReference"ReferenceName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?destinationReference~sourceReference~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a target for a pull request."]moduleFileMetadata=structtypenonrect={absolutePath:Path.toption[@ocaml.doc"The full path to the file to be added or updated, including the name of the file."];blobId:ObjectId.toption[@ocaml.doc"The blob ID that contains the file information."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL."]}letmake?absolutePath=fun?blobId->fun?fileMode->fun()->{absolutePath;blobId;fileMode}letto_valuex=structure_to_value[("absolutePath",(Option.mapx.absolutePath~f:Path.to_value));("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inletabsolutePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"absolutePath")inmake?fileMode?blobId?absolutePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninletabsolutePath=field_mapjson__"absolutePath"Path.of_jsoninmake?fileMode?blobId?absolutePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A file to be added, updated, or deleted as part of a commit."]modulePutFileEntry=structtypenonrect={filePath:Path.t[@ocaml.doc"The full path to the file in the repository, including the name of the file."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL."];fileContent:FileContent.toption[@ocaml.doc"The content of the file, if a source file is not specified."];sourceFile:SourceFileSpecifier.toption[@ocaml.doc"The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly."]}letcontext_="PutFileEntry"letmake?fileMode=fun?fileContent->fun?sourceFile->fun~filePath->fun()->{fileMode;fileContent;sourceFile;filePath}letto_valuex=structure_to_value[("filePath",(Some(Path.to_valuex.filePath)));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value));("fileContent",(Option.mapx.fileContent~f:FileContent.to_value));("sourceFile",(Option.mapx.sourceFile~f:SourceFileSpecifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceFile=(Option.map~f:SourceFileSpecifier.of_xml)(Xml.childxml_arg0"sourceFile")inletfileContent=(Option.map~f:FileContent.of_xml)(Xml.childxml_arg0"fileContent")inletfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inmake?sourceFile?fileContent?fileMode~filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceFile=field_mapjson__"sourceFile"SourceFileSpecifier.of_jsoninletfileContent=field_mapjson__"fileContent"FileContent.of_jsoninletfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninmake?sourceFile?fileContent?fileMode~filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a file added or updated as part of a commit."]moduleBatchGetRepositoriesError=structtypenonrect={repositoryId:RepositoryId.toption[@ocaml.doc"The ID of a repository that either could not be found or was not in a valid state."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of a repository that either could not be found or was not in a valid state."];errorCode:BatchGetRepositoriesErrorCodeEnum.toption[@ocaml.doc"An error code that specifies the type of failure."];errorMessage:ErrorMessage.toption[@ocaml.doc"An error message that provides detail about why the repository either was not found or was not in a valid state."]}letmake?repositoryId=fun?repositoryName->fun?errorCode->fun?errorMessage->fun()->{repositoryId;repositoryName;errorCode;errorMessage}letto_valuex=structure_to_value[("repositoryId",(Option.mapx.repositoryId~f:RepositoryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("errorCode",(Option.mapx.errorCode~f:BatchGetRepositoriesErrorCodeEnum.to_value));("errorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:BatchGetRepositoriesErrorCodeEnum.of_xml)(Xml.childxml_arg0"errorCode")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletrepositoryId=(Option.map~f:RepositoryId.of_xml)(Xml.childxml_arg0"repositoryId")inmake?errorMessage?errorCode?repositoryName?repositoryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"errorMessage"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"errorCode"BatchGetRepositoriesErrorCodeEnum.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletrepositoryId=field_mapjson__"repositoryId"RepositoryId.of_jsoninmake?errorMessage?errorCode?repositoryName?repositoryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about errors in a BatchGetRepositories operation."]moduleRepositoryMetadata=structtypenonrect={accountId:AccountId.toption[@ocaml.doc"The ID of the Amazon Web Services account associated with the repository."];repositoryId:RepositoryId.toption[@ocaml.doc"The ID of the repository."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository's name."];repositoryDescription:RepositoryDescription.toption[@ocaml.doc"A comment or description about the repository."];defaultBranch:BranchName.toption[@ocaml.doc"The repository's default branch name."];lastModifiedDate:LastModifiedDate.toption[@ocaml.doc"The date and time the repository was last modified, in timestamp format."];creationDate:CreationDate.toption[@ocaml.doc"The date and time the repository was created, in timestamp format."];cloneUrlHttp:CloneUrlHttp.toption[@ocaml.doc"The URL to use for cloning the repository over HTTPS."];cloneUrlSsh:CloneUrlSsh.toption[@ocaml.doc"The URL to use for cloning the repository over SSH."];arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the repository."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of the Key Management Service encryption key used to encrypt and decrypt the repository."]}letmake?accountId=fun?repositoryId->fun?repositoryName->fun?repositoryDescription->fun?defaultBranch->fun?lastModifiedDate->fun?creationDate->fun?cloneUrlHttp->fun?cloneUrlSsh->fun?arn->fun?kmsKeyId->fun()->{accountId;repositoryId;repositoryName;repositoryDescription;defaultBranch;lastModifiedDate;creationDate;cloneUrlHttp;cloneUrlSsh;arn;kmsKeyId}letto_valuex=structure_to_value[("accountId",(Option.mapx.accountId~f:AccountId.to_value));("repositoryId",(Option.mapx.repositoryId~f:RepositoryId.to_value));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("repositoryDescription",(Option.mapx.repositoryDescription~f:RepositoryDescription.to_value));("defaultBranch",(Option.mapx.defaultBranch~f:BranchName.to_value));("lastModifiedDate",(Option.mapx.lastModifiedDate~f:LastModifiedDate.to_value));("creationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("cloneUrlHttp",(Option.mapx.cloneUrlHttp~f:CloneUrlHttp.to_value));("cloneUrlSsh",(Option.mapx.cloneUrlSsh~f:CloneUrlSsh.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletcloneUrlSsh=(Option.map~f:CloneUrlSsh.of_xml)(Xml.childxml_arg0"cloneUrlSsh")inletcloneUrlHttp=(Option.map~f:CloneUrlHttp.of_xml)(Xml.childxml_arg0"cloneUrlHttp")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"creationDate")inletlastModifiedDate=(Option.map~f:LastModifiedDate.of_xml)(Xml.childxml_arg0"lastModifiedDate")inletdefaultBranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"defaultBranch")inletrepositoryDescription=(Option.map~f:RepositoryDescription.of_xml)(Xml.childxml_arg0"repositoryDescription")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletrepositoryId=(Option.map~f:RepositoryId.of_xml)(Xml.childxml_arg0"repositoryId")inletaccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"accountId")inmake?kmsKeyId?arn?cloneUrlSsh?cloneUrlHttp?creationDate?lastModifiedDate?defaultBranch?repositoryDescription?repositoryName?repositoryId?accountId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletcloneUrlSsh=field_mapjson__"cloneUrlSsh"CloneUrlSsh.of_jsoninletcloneUrlHttp=field_mapjson__"cloneUrlHttp"CloneUrlHttp.of_jsoninletcreationDate=field_mapjson__"creationDate"CreationDate.of_jsoninletlastModifiedDate=field_mapjson__"lastModifiedDate"LastModifiedDate.of_jsoninletdefaultBranch=field_mapjson__"defaultBranch"BranchName.of_jsoninletrepositoryDescription=field_mapjson__"repositoryDescription"RepositoryDescription.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletrepositoryId=field_mapjson__"repositoryId"RepositoryId.of_jsoninletaccountId=field_mapjson__"accountId"AccountId.of_jsoninmake?kmsKeyId?arn?cloneUrlSsh?cloneUrlHttp?creationDate?lastModifiedDate?defaultBranch?repositoryDescription?repositoryName?repositoryId?accountId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a repository."]moduleBatchGetCommitsError=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"A commit ID that either could not be found or was not in a valid format."];errorCode:ErrorCode.toption[@ocaml.doc"An error code that specifies whether the commit ID was not valid or not found."];errorMessage:ErrorMessage.toption[@ocaml.doc"An error message that provides detail about why the commit ID either was not found or was not valid."]}letmake?commitId=fun?errorCode->fun?errorMessage->fun()->{commitId;errorCode;errorMessage}letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("errorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("errorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"errorCode")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?errorMessage?errorCode?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"errorMessage"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"errorCode"ErrorCode.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?errorMessage?errorCode?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about errors in a BatchGetCommits operation."]moduleBatchDisassociateApprovalRuleTemplateFromRepositoriesError=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where the association with the template was not able to be removed."];errorCode:ErrorCode.toption[@ocaml.doc"An error code that specifies whether the repository name was not valid or not found."];errorMessage:ErrorMessage.toption[@ocaml.doc"An error message that provides details about why the repository name was either not found or not valid."]}letmake?repositoryName=fun?errorCode->fun?errorMessage->fun()->{repositoryName;errorCode;errorMessage}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("errorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("errorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"errorCode")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?errorMessage?errorCode?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"errorMessage"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"errorCode"ErrorCode.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?errorMessage?errorCode?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation."]moduleBatchDescribeMergeConflictsError=structtypenonrect={filePath:Path.toption[@ocaml.doc"The path to the file."];exceptionName:ExceptionName.toption[@ocaml.doc"The name of the exception."];message:Message.toption[@ocaml.doc"The message provided by the exception."]}letmake?filePath=fun?exceptionName->fun?message->fun()->{filePath;exceptionName;message}letto_valuex=structure_to_value[("filePath",(Option.mapx.filePath~f:Path.to_value));("exceptionName",(Option.mapx.exceptionName~f:ExceptionName.to_value));("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletexceptionName=(Option.map~f:ExceptionName.of_xml)(Xml.childxml_arg0"exceptionName")inletfilePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"filePath")inmake?message?exceptionName?filePath()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninletexceptionName=field_mapjson__"exceptionName"ExceptionName.of_jsoninletfilePath=field_mapjson__"filePath"Path.of_jsoninmake?message?exceptionName?filePath()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about errors in a BatchDescribeMergeConflicts operation."]moduleConflict=structtypenonrect={conflictMetadata:ConflictMetadata.toption[@ocaml.doc"Metadata about a conflict in a merge operation."];mergeHunks:MergeHunks.toption[@ocaml.doc"A list of hunks that contain the differences between files or lines causing the conflict."]}letmake?conflictMetadata=fun?mergeHunks->fun()->{conflictMetadata;mergeHunks}letto_valuex=structure_to_value[("conflictMetadata",(Option.mapx.conflictMetadata~f:ConflictMetadata.to_value));("mergeHunks",(Option.mapx.mergeHunks~f:MergeHunks.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergeHunks=(Option.map~f:MergeHunks.of_xml)(Xml.childxml_arg0"mergeHunks")inletconflictMetadata=(Option.map~f:ConflictMetadata.of_xml)(Xml.childxml_arg0"conflictMetadata")inmake?mergeHunks?conflictMetadata()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergeHunks=field_mapjson__"mergeHunks"MergeHunks.of_jsoninletconflictMetadata=field_mapjson__"conflictMetadata"ConflictMetadata.of_jsoninmake?mergeHunks?conflictMetadata()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about conflicts in a merge operation."]moduleBatchAssociateApprovalRuleTemplateWithRepositoriesError=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where the association was not made."];errorCode:ErrorCode.toption[@ocaml.doc"An error code that specifies whether the repository name was not valid or not found."];errorMessage:ErrorMessage.toption[@ocaml.doc"An error message that provides details about why the repository name was not found or not valid."]}letmake?repositoryName=fun?errorCode->fun?errorMessage->fun()->{repositoryName;errorCode;errorMessage}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("errorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("errorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"errorCode")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?errorMessage?errorCode?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"errorMessage"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"errorCode"ErrorCode.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?errorMessage?errorCode?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation."]moduleEncryptionIntegrityChecksFailedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An encryption integrity check failed."]moduleEncryptionKeyAccessDeniedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An encryption key could not be accessed."]moduleEncryptionKeyDisabledException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The encryption key is disabled."]moduleEncryptionKeyInvalidIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Key Management Service encryption key is not valid."]moduleEncryptionKeyInvalidUsageException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A KMS encryption key was used to try and encrypt or decrypt a repository, but either the repository or the key was not in a valid state to support the operation."]moduleEncryptionKeyNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"No encryption key was found."]moduleEncryptionKeyRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A KMS encryption key ID is required but was not specified."]moduleEncryptionKeyUnavailableException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The encryption key is not available."]moduleInvalidRepositoryNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A specified repository name is not valid. This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist."]moduleRepositoryDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository does not exist."]moduleRepositoryNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A repository name is required, but was not specified."]moduleInvalidPullRequestIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again."]moduleInvalidTitleException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length."]modulePullRequest=structtypenonrect={pullRequestId:PullRequestId.toption[@ocaml.doc"The system-generated ID of the pull request."];title:Title.toption[@ocaml.doc"The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users."];description:Description.toption[@ocaml.doc"The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request."];lastActivityDate:LastModifiedDate.toption[@ocaml.doc"The day and time of the last user or system activity on the pull request, in timestamp format."];creationDate:CreationDate.toption[@ocaml.doc"The date and time the pull request was originally created, in timestamp format."];pullRequestStatus:PullRequestStatusEnum.toption[@ocaml.doc"The status of the pull request. Pull request status can only change from OPEN to CLOSED."];authorArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user who created the pull request."];pullRequestTargets:PullRequestTargetList.toption[@ocaml.doc"The targets of the pull request, including the source branch and destination branch for the pull request."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."];revisionId:RevisionId.toption[@ocaml.doc"The system-generated revision ID for the pull request."];approvalRules:ApprovalRulesList.toption[@ocaml.doc"The approval rules applied to the pull request."]}letmake?pullRequestId=fun?title->fun?description->fun?lastActivityDate->fun?creationDate->fun?pullRequestStatus->fun?authorArn->fun?pullRequestTargets->fun?clientRequestToken->fun?revisionId->fun?approvalRules->fun()->{pullRequestId;title;description;lastActivityDate;creationDate;pullRequestStatus;authorArn;pullRequestTargets;clientRequestToken;revisionId;approvalRules}letto_valuex=structure_to_value[("pullRequestId",(Option.mapx.pullRequestId~f:PullRequestId.to_value));("title",(Option.mapx.title~f:Title.to_value));("description",(Option.mapx.description~f:Description.to_value));("lastActivityDate",(Option.mapx.lastActivityDate~f:LastModifiedDate.to_value));("creationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("pullRequestStatus",(Option.mapx.pullRequestStatus~f:PullRequestStatusEnum.to_value));("authorArn",(Option.mapx.authorArn~f:Arn.to_value));("pullRequestTargets",(Option.mapx.pullRequestTargets~f:PullRequestTargetList.to_value));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("revisionId",(Option.mapx.revisionId~f:RevisionId.to_value));("approvalRules",(Option.mapx.approvalRules~f:ApprovalRulesList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRules=(Option.map~f:ApprovalRulesList.of_xml)(Xml.childxml_arg0"approvalRules")inletrevisionId=(Option.map~f:RevisionId.of_xml)(Xml.childxml_arg0"revisionId")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inletpullRequestTargets=(Option.map~f:PullRequestTargetList.of_xml)(Xml.childxml_arg0"pullRequestTargets")inletauthorArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"authorArn")inletpullRequestStatus=(Option.map~f:PullRequestStatusEnum.of_xml)(Xml.childxml_arg0"pullRequestStatus")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"creationDate")inletlastActivityDate=(Option.map~f:LastModifiedDate.of_xml)(Xml.childxml_arg0"lastActivityDate")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"description")inlettitle=(Option.map~f:Title.of_xml)(Xml.childxml_arg0"title")inletpullRequestId=(Option.map~f:PullRequestId.of_xml)(Xml.childxml_arg0"pullRequestId")inmake?approvalRules?revisionId?clientRequestToken?pullRequestTargets?authorArn?pullRequestStatus?creationDate?lastActivityDate?description?title?pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRules=field_mapjson__"approvalRules"ApprovalRulesList.of_jsoninletrevisionId=field_mapjson__"revisionId"RevisionId.of_jsoninletclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninletpullRequestTargets=field_mapjson__"pullRequestTargets"PullRequestTargetList.of_jsoninletauthorArn=field_mapjson__"authorArn"Arn.of_jsoninletpullRequestStatus=field_mapjson__"pullRequestStatus"PullRequestStatusEnum.of_jsoninletcreationDate=field_mapjson__"creationDate"CreationDate.of_jsoninletlastActivityDate=field_mapjson__"lastActivityDate"LastModifiedDate.of_jsoninletdescription=field_mapjson__"description"Description.of_jsoninlettitle=field_mapjson__"title"Title.of_jsoninletpullRequestId=field_mapjson__"pullRequestId"PullRequestId.of_jsoninmake?approvalRules?revisionId?clientRequestToken?pullRequestTargets?authorArn?pullRequestStatus?creationDate?lastActivityDate?description?title?pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a pull request."]modulePullRequestAlreadyClosedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request status cannot be updated because it is already closed."]modulePullRequestDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again."]modulePullRequestIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A pull request ID is required, but none was provided."]moduleTitleRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A pull request title is required. It cannot be empty or null."]moduleInvalidPullRequestStatusException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request status is not valid. The only valid values are OPEN and CLOSED."]moduleInvalidPullRequestStatusUpdateException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request status update is not valid. The only valid update is from OPEN to CLOSED."]modulePullRequestStatusRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A pull request status is required, but none was provided."]moduleInvalidDescriptionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request description is not valid. Descriptions cannot be more than 1,000 characters."]moduleApprovalRuleContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null."]moduleApprovalRuleDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified approval rule does not exist."]moduleApprovalRuleNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An approval rule name is required, but was not specified."]moduleCannotModifyApprovalRuleFromTemplateException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The approval rule cannot be modified for the pull request because it was created by an approval rule template and applied to the pull request automatically."]moduleInvalidApprovalRuleContentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The content for the approval rule is not valid."]moduleInvalidApprovalRuleNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The name for the approval rule is not valid."]moduleInvalidRuleContentSha256Exception=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The SHA-256 hash signature for the rule content is not valid."]moduleCommentContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The comment is empty. You must provide some content for a comment. The content cannot be null."]moduleCommentContentSizeLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The comment is too large. Comments are limited to 10,240 characters."]moduleCommentDeletedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This comment has already been deleted. You cannot edit or delete a deleted comment."]moduleCommentDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"No comment exists with the provided ID. Verify that you have used the correct ID, and then try again."]moduleCommentIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The comment ID is missing or null. A comment ID is required."]moduleCommentNotCreatedByCallerException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You cannot modify or delete this comment. Only comment authors can modify or delete their comments."]moduleInvalidCommentIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The comment ID is not in a valid format. Make sure that you have provided the full comment ID."]moduleApprovalRuleTemplate=structtypenonrect={approvalRuleTemplateId:ApprovalRuleTemplateId.toption[@ocaml.doc"The system-generated ID of the approval rule template."];approvalRuleTemplateName:ApprovalRuleTemplateName.toption[@ocaml.doc"The name of the approval rule template."];approvalRuleTemplateDescription:ApprovalRuleTemplateDescription.toption[@ocaml.doc"The description of the approval rule template."];approvalRuleTemplateContent:ApprovalRuleTemplateContent.toption[@ocaml.doc"The content of the approval rule template."];ruleContentSha256:RuleContentSha256.toption[@ocaml.doc"The SHA-256 hash signature for the content of the approval rule template."];lastModifiedDate:LastModifiedDate.toption[@ocaml.doc"The date the approval rule template was most recently changed, in timestamp format."];creationDate:CreationDate.toption[@ocaml.doc"The date the approval rule template was created, in timestamp format."];lastModifiedUser:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template."]}letmake?approvalRuleTemplateId=fun?approvalRuleTemplateName->fun?approvalRuleTemplateDescription->fun?approvalRuleTemplateContent->fun?ruleContentSha256->fun?lastModifiedDate->fun?creationDate->fun?lastModifiedUser->fun()->{approvalRuleTemplateId;approvalRuleTemplateName;approvalRuleTemplateDescription;approvalRuleTemplateContent;ruleContentSha256;lastModifiedDate;creationDate;lastModifiedUser}letto_valuex=structure_to_value[("approvalRuleTemplateId",(Option.mapx.approvalRuleTemplateId~f:ApprovalRuleTemplateId.to_value));("approvalRuleTemplateName",(Option.mapx.approvalRuleTemplateName~f:ApprovalRuleTemplateName.to_value));("approvalRuleTemplateDescription",(Option.mapx.approvalRuleTemplateDescription~f:ApprovalRuleTemplateDescription.to_value));("approvalRuleTemplateContent",(Option.mapx.approvalRuleTemplateContent~f:ApprovalRuleTemplateContent.to_value));("ruleContentSha256",(Option.mapx.ruleContentSha256~f:RuleContentSha256.to_value));("lastModifiedDate",(Option.mapx.lastModifiedDate~f:LastModifiedDate.to_value));("creationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("lastModifiedUser",(Option.mapx.lastModifiedUser~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastModifiedUser=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"lastModifiedUser")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"creationDate")inletlastModifiedDate=(Option.map~f:LastModifiedDate.of_xml)(Xml.childxml_arg0"lastModifiedDate")inletruleContentSha256=(Option.map~f:RuleContentSha256.of_xml)(Xml.childxml_arg0"ruleContentSha256")inletapprovalRuleTemplateContent=(Option.map~f:ApprovalRuleTemplateContent.of_xml)(Xml.childxml_arg0"approvalRuleTemplateContent")inletapprovalRuleTemplateDescription=(Option.map~f:ApprovalRuleTemplateDescription.of_xml)(Xml.childxml_arg0"approvalRuleTemplateDescription")inletapprovalRuleTemplateName=(Option.map~f:ApprovalRuleTemplateName.of_xml)(Xml.childxml_arg0"approvalRuleTemplateName")inletapprovalRuleTemplateId=(Option.map~f:ApprovalRuleTemplateId.of_xml)(Xml.childxml_arg0"approvalRuleTemplateId")inmake?lastModifiedUser?creationDate?lastModifiedDate?ruleContentSha256?approvalRuleTemplateContent?approvalRuleTemplateDescription?approvalRuleTemplateName?approvalRuleTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastModifiedUser=field_mapjson__"lastModifiedUser"Arn.of_jsoninletcreationDate=field_mapjson__"creationDate"CreationDate.of_jsoninletlastModifiedDate=field_mapjson__"lastModifiedDate"LastModifiedDate.of_jsoninletruleContentSha256=field_mapjson__"ruleContentSha256"RuleContentSha256.of_jsoninletapprovalRuleTemplateContent=field_mapjson__"approvalRuleTemplateContent"ApprovalRuleTemplateContent.of_jsoninletapprovalRuleTemplateDescription=field_mapjson__"approvalRuleTemplateDescription"ApprovalRuleTemplateDescription.of_jsoninletapprovalRuleTemplateName=field_mapjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninletapprovalRuleTemplateId=field_mapjson__"approvalRuleTemplateId"ApprovalRuleTemplateId.of_jsoninmake?lastModifiedUser?creationDate?lastModifiedDate?ruleContentSha256?approvalRuleTemplateContent?approvalRuleTemplateDescription?approvalRuleTemplateName?approvalRuleTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an approval rule template."]moduleApprovalRuleTemplateDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template was created, and then try again."]moduleApprovalRuleTemplateNameAlreadyExistsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You cannot create an approval rule template with that name because a template with that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template names must be unique."]moduleApprovalRuleTemplateNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An approval rule template name is required, but was not specified."]moduleInvalidApprovalRuleTemplateNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide."]moduleInvalidApprovalRuleTemplateDescriptionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide."]moduleApprovalRuleTemplateContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null."]moduleInvalidApprovalRuleTemplateContentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The content of the approval rule template is not valid."]moduleResourceArn=structtypenonrect=stringletcontext_="ResourceArn"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:"ResourceArn"jletto_json=simple_to_jsonto_valueendmoduleTagKeysList=structtypenonrect=TagKey.tlistletmakei=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:"TagKeysList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidRepositoryTriggerBranchNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more branch names specified for the trigger is not valid."]moduleInvalidRepositoryTriggerCustomDataException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The custom data provided for the trigger is not valid."]moduleInvalidRepositoryTriggerDestinationArnException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type."]moduleInvalidRepositoryTriggerEventsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events."]moduleInvalidRepositoryTriggerNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The name of the trigger is not valid."]moduleInvalidRepositoryTriggerRegionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the repository. Triggers must be created in the same Amazon Web Services Region as the target for the trigger."]moduleMaximumBranchesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of branches for the trigger was exceeded."]moduleMaximumRepositoryTriggersExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of triggers allowed for the repository was exceeded."]moduleRepositoryTriggerBranchNameListRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"At least one branch name is required, but was not specified in the trigger configuration."]moduleRepositoryTriggerDestinationArnRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A destination ARN for the target service for the trigger is required, but was not specified."]moduleRepositoryTriggerEventsListRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"At least one event for the trigger is required, but was not specified."]moduleRepositoryTriggerExecutionFailureList=structtypenonrect=RepositoryTriggerExecutionFailure.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryTriggerExecutionFailure.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:RepositoryTriggerExecutionFailure.of_xml)letof_jsonj=list_of_json~kind:"RepositoryTriggerExecutionFailureList"~of_json:RepositoryTriggerExecutionFailure.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryTriggerNameList=structtypenonrect=RepositoryTriggerName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryTriggerName.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:RepositoryTriggerName.of_xml)letof_jsonj=list_of_json~kind:"RepositoryTriggerNameList"~of_json:RepositoryTriggerName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryTriggerNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A name for the trigger is required, but was not specified."]moduleRepositoryTriggersListRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The list of triggers for the repository is required, but was not specified."]moduleRepositoryTriggersList=structtypenonrect=RepositoryTrigger.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryTrigger.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:RepositoryTrigger.of_xml)letof_jsonj=list_of_json~kind:"RepositoryTriggersList"~of_json:RepositoryTrigger.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagsMap=structtypenonrect=(TagKey.t*TagValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((TagKey.of_stringchopped),(TagValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(TagKey.to_valuex)|>(funx->(TagValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:TagKey.of_string~of_json:TagValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryTriggersConfigurationId=structtypenonrect=stringletcontext_="RepositoryTriggersConfigurationId"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:"RepositoryTriggersConfigurationId"jletto_json=simple_to_jsonto_valueendmoduleBranchDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified branch does not exist."]moduleBranchNameIsTagNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified branch name is not valid because it is a tag name. Enter the name of a branch in the repository. For a list of valid branch names, use ListBranches."]moduleBranchNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A branch name is required, but was not specified."]moduleCommitMessageLengthExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit message is too long. Provide a shorter string."]moduleDirectoryNameConflictsWithFileNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file."]moduleFileContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The file cannot be added because it is empty. Empty files cannot be added to the repository with this API."]moduleFileContentSizeLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The file cannot be added because it is too large. The maximum file size is 6 MB, and the combined file content change size is 7 MB. Consider making these changes using a Git client."]moduleFileNameConflictsWithDirectoryNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide another name for the file, or add the file in a directory that does not match the file name."]moduleFilePathConflictsWithSubmodulePathException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because a specified file path points to a submodule. Verify that the destination files have valid file paths that do not point to a submodule."]moduleFolderContentSizeLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because at least one of the overall changes in the commit results in a folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes, or split the changes across multiple folders."]moduleInvalidBranchNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified reference name is not valid."]moduleInvalidDeletionParameterException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified deletion parameter is not valid."]moduleInvalidEmailException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters allowed for an email address."]moduleInvalidFileModeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified file mode permission is not valid. For a list of valid file mode permissions, see PutFile."]moduleInvalidParentCommitIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you want to add or update a file."]moduleInvalidPathException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified path is not valid."]moduleNameLengthExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user name is not valid because it has exceeded the character limit for author names."]moduleParentCommitDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository."]moduleParentCommitIdOutdatedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head of the branch, use GetBranch."]moduleParentCommitIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A parent commit ID is required. To view the full commit ID of a branch in a repository, use GetBranch or a Git command (for example, git pull or git log)."]modulePathRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The folderPath for a location cannot be null."]moduleSameFileContentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch that you specified."]moduleClientRequestTokenRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A client request token is required. A client request token is an unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."]moduleIdempotencyParameterMismatchException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be reused."]moduleInvalidClientRequestTokenException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client request token is not valid."]moduleBeforeCommitIdAndAfterCommitIdAreSameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs."]moduleCommitDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified commit does not exist or no commit was specified, and the specified repository has no default branch."]moduleCommitIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A commit ID was not specified."]moduleInvalidCommitIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified commit ID is not valid."]moduleInvalidFileLocationException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The location of the file is not valid. Make sure that you include the file name and extension."]moduleInvalidFilePositionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The position is not valid. Make sure that the line number exists in the version of the file you want to comment on."]moduleInvalidRelativeFileVersionEnumException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version."]modulePathDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified path does not exist."]moduleRepositoryNotAssociatedWithPullRequestException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID."]moduleConcurrentReferenceUpdateException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again."]moduleInvalidConflictDetailLevelException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified conflict detail level is not valid."]moduleInvalidConflictResolutionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified conflict resolution list is not valid."]moduleInvalidConflictResolutionStrategyException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified conflict resolution strategy is not valid."]moduleInvalidReplacementContentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing."]moduleInvalidReplacementTypeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Automerge was specified for resolving the conflict, but the specified replacement type is not valid."]moduleManualMergeRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts."]moduleMaximumConflictResolutionEntriesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of allowed conflict resolution entries was exceeded."]moduleMaximumFileContentToLoadExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of files to load exceeds the allowed limit."]moduleMaximumItemsToCompareExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed."]moduleMultipleConflictResolutionEntriesException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry."]modulePullRequestApprovalRulesNotSatisfiedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met."]moduleReplacementContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"USE_NEW_CONTENT was specified, but no replacement content has been provided."]moduleReplacementTypeRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A replacement type is required."]moduleTipOfSourceReferenceIsDifferentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request. The pull request might have been updated. Make sure that you have the latest changes."]moduleTipsDivergenceExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The divergence between the tips of the provided commit specifiers is too great to determine whether there might be any merge conflicts. Locally compare the specifiers using git diff or a diff tool."]moduleConflictDetailLevelTypeEnum=structtypenonrect=|FILE_LEVEL|LINE_LEVEL|Non_static_idofstringletmakei=iletto_string=function|FILE_LEVEL->"FILE_LEVEL"|LINE_LEVEL->"LINE_LEVEL"|Non_static_ids->sletof_string=function|"FILE_LEVEL"->FILE_LEVEL|"LINE_LEVEL"->LINE_LEVEL|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 ConflictDetailLevelTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConflictDetailLevelTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleConflictResolution=structtypenonrect={replaceContents:ReplaceContentEntries.toption[@ocaml.doc"Files to have content replaced as part of the merge conflict resolution."];deleteFiles:DeleteFileEntries.toption[@ocaml.doc"Files to be deleted as part of the merge conflict resolution."];setFileModes:SetFileModeEntries.toption[@ocaml.doc"File modes that are set as part of the merge conflict resolution."]}letmake?replaceContents=fun?deleteFiles->fun?setFileModes->fun()->{replaceContents;deleteFiles;setFileModes}letto_valuex=structure_to_value[("replaceContents",(Option.mapx.replaceContents~f:ReplaceContentEntries.to_value));("deleteFiles",(Option.mapx.deleteFiles~f:DeleteFileEntries.to_value));("setFileModes",(Option.mapx.setFileModes~f:SetFileModeEntries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsetFileModes=(Option.map~f:SetFileModeEntries.of_xml)(Xml.childxml_arg0"setFileModes")inletdeleteFiles=(Option.map~f:DeleteFileEntries.of_xml)(Xml.childxml_arg0"deleteFiles")inletreplaceContents=(Option.map~f:ReplaceContentEntries.of_xml)(Xml.childxml_arg0"replaceContents")inmake?setFileModes?deleteFiles?replaceContents()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsetFileModes=field_mapjson__"setFileModes"SetFileModeEntries.of_jsoninletdeleteFiles=field_mapjson__"deleteFiles"DeleteFileEntries.of_jsoninletreplaceContents=field_mapjson__"replaceContents"ReplaceContentEntries.of_jsoninmake?setFileModes?deleteFiles?replaceContents()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]moduleConflictResolutionStrategyTypeEnum=structtypenonrect=|NONE|ACCEPT_SOURCE|ACCEPT_DESTINATION|AUTOMERGE|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|ACCEPT_SOURCE->"ACCEPT_SOURCE"|ACCEPT_DESTINATION->"ACCEPT_DESTINATION"|AUTOMERGE->"AUTOMERGE"|Non_static_ids->sletof_string=function|"NONE"->NONE|"ACCEPT_SOURCE"->ACCEPT_SOURCE|"ACCEPT_DESTINATION"->ACCEPT_DESTINATION|"AUTOMERGE"->AUTOMERGE|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 ConflictResolutionStrategyTypeEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConflictResolutionStrategyTypeEnum"j)letto_json=simple_to_jsonto_valueendmoduleKeepEmptyFolders=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_valueendmoduleReferenceDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified reference does not exist. You must provide a full commit ID."]moduleCommitRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A commit was not specified."]moduleFileModeRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because no file mode has been specified. A file mode is required to update mode permissions for a file."]moduleInvalidCommitException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified commit is not valid."]moduleInvalidTargetBranchException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified target branch is not valid."]moduleCommitName=structtypenonrect=stringletcontext_="CommitName"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:"CommitName"jletto_json=simple_to_jsonto_valueendmoduleInvalidResourceArnException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The value for the resource ARN is not valid. For more information about resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleResourceArnRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleInvalidContinuationTokenException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified continuation token is not valid."]moduleInvalidOrderException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified sort order is not valid."]moduleInvalidSortByException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified sort by value is not valid."]moduleRepositoryNameIdPairList=structtypenonrect=RepositoryNameIdPair.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryNameIdPair.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:RepositoryNameIdPair.of_xml)letof_jsonj=list_of_json~kind:"RepositoryNameIdPairList"~of_json:RepositoryNameIdPair.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOrderEnum=structtypenonrect=|Ascending|Descending|Non_static_idofstringletmakei=iletto_string=function|Ascending->"ascending"|Descending->"descending"|Non_static_ids->sletof_string=function|"ascending"->Ascending|"descending"->Descending|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration OrderEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OrderEnum"j)letto_json=simple_to_jsonto_valueendmoduleSortByEnum=structtypenonrect=|RepositoryName|LastModifiedDate|Non_static_idofstringletmakei=iletto_string=function|RepositoryName->"repositoryName"|LastModifiedDate->"lastModifiedDate"|Non_static_ids->sletof_string=function|"repositoryName"->RepositoryName|"lastModifiedDate"->LastModifiedDate|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 SortByEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SortByEnum"j)letto_json=simple_to_jsonto_valueendmoduleInvalidMaxResultsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified number of maximum results is not valid."]moduleRepositoryNameList=structtypenonrect=RepositoryName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryName.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:RepositoryName.of_xml)letof_jsonj=list_of_json~kind:"RepositoryNameList"~of_json:RepositoryName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=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 MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAuthorDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account."]moduleInvalidAuthorArnException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again."]modulePullRequestIdList=structtypenonrect=PullRequestId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PullRequestId.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:PullRequestId.of_xml)letof_jsonj=list_of_json~kind:"PullRequestIdList"~of_json:PullRequestId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRevisionDag=structtypenonrect=FileVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FileVersion.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:FileVersion.of_xml)letof_jsonj=list_of_json~kind:"RevisionDag"~of_json:FileVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLimit=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 Limit"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleApprovalRuleTemplateNameList=structtypenonrect=ApprovalRuleTemplateName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApprovalRuleTemplateName.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:ApprovalRuleTemplateName.of_xml)letof_jsonj=list_of_json~kind:"ApprovalRuleTemplateNameList"~of_json:ApprovalRuleTemplateName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidRevisionIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The revision ID is not valid. Use GetPullRequest to determine the value."]moduleRevisionIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A revision ID is required, but was not provided."]moduleApprovalList=structtypenonrect=Approval.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Approval.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:Approval.of_xml)letof_jsonj=list_of_json~kind:"ApprovalList"~of_json:Approval.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMergeOptions=structtypenonrect=MergeOptionTypeEnum.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MergeOptionTypeEnum.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:MergeOptionTypeEnum.of_xml)letof_jsonj=list_of_json~kind:"MergeOptions"~of_json:MergeOptionTypeEnum.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConflictMetadataList=structtypenonrect=ConflictMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConflictMetadata.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:ConflictMetadata.of_xml)letof_jsonj=list_of_json~kind:"ConflictMetadataList"~of_json:ConflictMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidDestinationCommitSpecifierException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID."]moduleInvalidMaxConflictFilesException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified value for the number of conflict files to return is not valid."]moduleInvalidMergeOptionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations."]moduleInvalidSourceCommitSpecifierException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID."]moduleIsMergeable=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_valueendmoduleMergeOptionRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A merge option or stategy is required, and none was provided."]moduleFileList=structtypenonrect=File.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:File.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:File.of_xml)letof_jsonj=list_of_json~kind:"FileList"~of_json:File.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFolderDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified folder does not exist. Either the folder name is not correct, or you did not enter the full path to the folder."]moduleFolderList=structtypenonrect=Folder.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Folder.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:Folder.of_xml)letof_jsonj=list_of_json~kind:"FolderList"~of_json:Folder.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubModuleList=structtypenonrect=SubModule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SubModule.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:SubModule.of_xml)letof_jsonj=list_of_json~kind:"SubModuleList"~of_json:SubModule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSymbolicLinkList=structtypenonrect=SymbolicLink.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SymbolicLink.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:SymbolicLink.of_xml)letof_jsonj=list_of_json~kind:"SymbolicLinkList"~of_json:SymbolicLink.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFileDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified file does not exist. Verify that you have used the correct file name, full path, and extension."]moduleFileTooLargeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide."]moduleObjectSize=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_valueendmoduleDifferenceList=structtypenonrect=Difference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Difference.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:Difference.of_xml)letof_jsonj=list_of_json~kind:"DifferenceList"~of_json:Difference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommitIdDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified commit ID does not exist."]moduleCommentsForPullRequestData=structtypenonrect=CommentsForPullRequest.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CommentsForPullRequest.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:CommentsForPullRequest.of_xml)letof_jsonj=list_of_json~kind:"CommentsForPullRequestData"~of_json:CommentsForPullRequest.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommentsForComparedCommitData=structtypenonrect=CommentsForComparedCommit.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CommentsForComparedCommit.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:CommentsForComparedCommit.of_xml)letof_jsonj=list_of_json~kind:"CommentsForComparedCommitData"~of_json:CommentsForComparedCommit.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidReactionUserArnException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Resource Name (ARN) of the user or identity is not valid."]moduleReactionsForCommentList=structtypenonrect=ReactionForComment.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReactionForComment.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:ReactionForComment.of_xml)letof_jsonj=list_of_json~kind:"ReactionsForCommentList"~of_json:ReactionForComment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBranchInfo=structtypenonrect={branchName:BranchName.toption[@ocaml.doc"The name of the branch."];commitId:CommitId.toption[@ocaml.doc"The ID of the last commit made to the branch."]}letmake?branchName=fun?commitId->fun()->{branchName;commitId}letto_valuex=structure_to_value[("branchName",(Option.mapx.branchName~f:BranchName.to_value));("commitId",(Option.mapx.commitId~f:CommitId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"commitId")inletbranchName=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"branchName")inmake?commitId?branchName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommitId=field_mapjson__"commitId"CommitId.of_jsoninletbranchName=field_mapjson__"branchName"BranchName.of_jsoninmake?commitId?branchName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a branch."]moduleBlobIdDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified blob does not exist."]moduleBlobIdRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A blob ID is required, but was not specified."]moduleInvalidBlobIdException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified blob is not valid."]moduleBlob=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleEvaluation=structtypenonrect={approved:Approved.toption[@ocaml.doc"Whether the state of the pull request is approved."];overridden:Overridden.toption[@ocaml.doc"Whether the approval rule requirements for the pull request have been overridden and no longer need to be met."];approvalRulesSatisfied:ApprovalRulesSatisfiedList.toption[@ocaml.doc"The names of the approval rules that have had their conditions met."];approvalRulesNotSatisfied:ApprovalRulesNotSatisfiedList.toption[@ocaml.doc"The names of the approval rules that have not had their conditions met."]}letmake?approved=fun?overridden->fun?approvalRulesSatisfied->fun?approvalRulesNotSatisfied->fun()->{approved;overridden;approvalRulesSatisfied;approvalRulesNotSatisfied}letto_valuex=structure_to_value[("approved",(Option.mapx.approved~f:Approved.to_value));("overridden",(Option.mapx.overridden~f:Overridden.to_value));("approvalRulesSatisfied",(Option.mapx.approvalRulesSatisfied~f:ApprovalRulesSatisfiedList.to_value));("approvalRulesNotSatisfied",(Option.mapx.approvalRulesNotSatisfied~f:ApprovalRulesNotSatisfiedList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRulesNotSatisfied=(Option.map~f:ApprovalRulesNotSatisfiedList.of_xml)(Xml.childxml_arg0"approvalRulesNotSatisfied")inletapprovalRulesSatisfied=(Option.map~f:ApprovalRulesSatisfiedList.of_xml)(Xml.childxml_arg0"approvalRulesSatisfied")inletoverridden=(Option.map~f:Overridden.of_xml)(Xml.childxml_arg0"overridden")inletapproved=(Option.map~f:Approved.of_xml)(Xml.childxml_arg0"approved")inmake?approvalRulesNotSatisfied?approvalRulesSatisfied?overridden?approved()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRulesNotSatisfied=field_mapjson__"approvalRulesNotSatisfied"ApprovalRulesNotSatisfiedList.of_jsoninletapprovalRulesSatisfied=field_mapjson__"approvalRulesSatisfied"ApprovalRulesSatisfiedList.of_jsoninletoverridden=field_mapjson__"overridden"Overridden.of_jsoninletapproved=field_mapjson__"approved"Approved.of_jsoninmake?approvalRulesNotSatisfied?approvalRulesSatisfied?overridden?approved()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the approval rules applied to a pull request and whether conditions have been met."]moduleRevisionNotCurrentException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID."]moduleActorDoesNotExistException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account."]moduleInvalidActorArnException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the user who initiated the change for the pull request, and then try again."]moduleInvalidPullRequestEventTypeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request event type is not valid."]modulePullRequestEventList=structtypenonrect=PullRequestEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PullRequestEvent.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:PullRequestEvent.of_xml)letof_jsonj=list_of_json~kind:"PullRequestEventList"~of_json:PullRequestEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidMaxMergeHunksException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified value for the number of merge hunks to return is not valid."]moduleCannotDeleteApprovalRuleFromTemplateException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically."]moduleDefaultBranchCannotBeDeletedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch."]moduleApprovalRuleTemplateInUseException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove all associations, and then try again."]moduleInvalidRepositoryDescriptionException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository description is not valid."]moduleInvalidSystemTagUsageException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified tag is not valid. Key names cannot be prefixed with aws:."]moduleInvalidTagsMapException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The map of tags is not valid."]moduleOperationNotAllowedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested action is not allowed."]moduleRepositoryLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A repository resource limit was exceeded."]moduleRepositoryNameExistsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified repository name already exists."]moduleTagPolicyException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The tag policy is not valid."]moduleTooManyTagsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of tags for an CodeCommit resource has been exceeded."]moduleInvalidReferenceNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/main). For more information, see Git Internals - Git References or consult your Git documentation."]moduleInvalidTargetException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The target for the pull request is not valid. A target must contain the full values for the repository name, source branch, and destination branch for the pull request."]moduleInvalidTargetsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for the repository name, source branch, and destination branch for a pull request."]moduleMaximumOpenPullRequestsExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You cannot create the pull request because the repository has too many open pull requests. The maximum number of open pull requests for a repository is 1,000. Close one or more open pull requests, and then try again."]moduleMultipleRepositoriesInPullRequestException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You cannot include more than one repository in a pull request. Make sure you have specified only one repository name in your request, and then try again."]moduleReferenceNameRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A reference name is required, but none was provided."]moduleReferenceTypeNotSupportedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified reference is not a supported type."]moduleSourceAndDestinationAreSameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The source branch and destination branch for the pull request are the same. You must specify different branches for the source and destination."]moduleTargetRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A pull request target is required. It cannot be empty or null. A pull request target must contain the full values for the repository name, source branch, and destination branch for the pull request."]moduleTargetsRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An array of target objects is required. It cannot be empty or null."]moduleTargetList=structtypenonrect=Target.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Target.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:Target.of_xml)letof_jsonj=list_of_json~kind:"TargetList"~of_json:Target.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApprovalRuleNameAlreadyExistsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An approval rule with that name already exists. Approval rule names must be unique within the scope of a pull request."]moduleNumberOfRulesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it."]moduleFileContentAndSourceFileSpecifiedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file or provide the file content directly."]moduleFileEntryRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit."]moduleFilesMetadata=structtypenonrect=FileMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FileMetadata.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:FileMetadata.of_xml)letof_jsonj=list_of_json~kind:"FilesMetadata"~of_json:FileMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaximumFileEntriesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of specified files to change as part of this commit exceeds the maximum number of files that can be changed in a single commit. Consider using a Git client for these changes."]moduleNoChangeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change."]modulePutFileEntryConflictException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because one or more files specified in the commit reference both a file and a folder."]moduleRestrictedSourceFileException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file."]moduleSamePathRequestException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example, you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same file as part of the same commit."]moduleSourceFileOrContentRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The commit cannot be created because no source files or file content have been specified for the commit."]modulePutFileEntries=structtypenonrect=PutFileEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PutFileEntry.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:PutFileEntry.of_xml)letof_jsonj=list_of_json~kind:"PutFileEntries"~of_json:PutFileEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNumberOfRuleTemplatesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region."]moduleBatchGetRepositoriesErrorsList=structtypenonrect=BatchGetRepositoriesError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchGetRepositoriesError.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:BatchGetRepositoriesError.of_xml)letof_jsonj=list_of_json~kind:"BatchGetRepositoriesErrorsList"~of_json:BatchGetRepositoriesError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaximumRepositoryNamesExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of allowed repository names was exceeded. Currently, this number is 100."]moduleRepositoryMetadataList=structtypenonrect=RepositoryMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryMetadata.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:RepositoryMetadata.of_xml)letof_jsonj=list_of_json~kind:"RepositoryMetadataList"~of_json:RepositoryMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryNamesRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"At least one repository name object is required, but was not specified."]moduleRepositoryNotFoundList=structtypenonrect=RepositoryName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryName.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:RepositoryName.of_xml)letof_jsonj=list_of_json~kind:"RepositoryNotFoundList"~of_json:RepositoryName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchGetCommitsErrorsList=structtypenonrect=BatchGetCommitsError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchGetCommitsError.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:BatchGetCommitsError.of_xml)letof_jsonj=list_of_json~kind:"BatchGetCommitsErrorsList"~of_json:BatchGetCommitsError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommitIdsLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again."]moduleCommitIdsListRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of commit IDs is required, but was either not specified or the list was empty."]moduleCommitObjectsList=structtypenonrect=Commit.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Commit.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:Commit.of_xml)letof_jsonj=list_of_json~kind:"CommitObjectsList"~of_json:Commit.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommitIdsInputList=structtypenonrect=ObjectId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ObjectId.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:ObjectId.of_xml)letof_jsonj=list_of_json~kind:"CommitIdsInputList"~of_json:ObjectId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList=structtypenonrect=BatchDisassociateApprovalRuleTemplateFromRepositoriesError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchDisassociateApprovalRuleTemplateFromRepositoriesError.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:BatchDisassociateApprovalRuleTemplateFromRepositoriesError.of_xml)letof_jsonj=list_of_json~kind:"BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList"~of_json:BatchDisassociateApprovalRuleTemplateFromRepositoriesError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchDescribeMergeConflictsErrors=structtypenonrect=BatchDescribeMergeConflictsError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchDescribeMergeConflictsError.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:BatchDescribeMergeConflictsError.of_xml)letof_jsonj=list_of_json~kind:"BatchDescribeMergeConflictsErrors"~of_json:BatchDescribeMergeConflictsError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConflicts=structtypenonrect=Conflict.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Conflict.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:Conflict.of_xml)letof_jsonj=list_of_json~kind:"Conflicts"~of_json:Conflict.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilePaths=structtypenonrect=Path.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Path.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:Path.of_xml)letof_jsonj=list_of_json~kind:"FilePaths"~of_json:Path.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList=structtypenonrect=BatchAssociateApprovalRuleTemplateWithRepositoriesError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BatchAssociateApprovalRuleTemplateWithRepositoriesError.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:BatchAssociateApprovalRuleTemplateWithRepositoriesError.of_xml)letof_jsonj=list_of_json~kind:"BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList"~of_json:BatchAssociateApprovalRuleTemplateWithRepositoriesError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateRepositoryNameInput=structtypenonrect={oldName:RepositoryName.t[@ocaml.doc"The current name of the repository."];newName:RepositoryName.t[@ocaml.doc"The new name for the repository."]}letcontext_="UpdateRepositoryNameInput"letmake~oldName=fun~newName->fun()->{oldName;newName}letto_valuex=structure_to_value[("oldName",(Some(RepositoryName.to_valuex.oldName)));("newName",(Some(RepositoryName.to_valuex.newName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnewName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"newName")inletoldName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"oldName")inmake~newName~oldName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnewName=field_map_exnjson__"newName"RepositoryName.of_jsoninletoldName=field_map_exnjson__"oldName"RepositoryName.of_jsoninmake~newName~oldName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of an update repository description operation."]moduleUpdateRepositoryEncryptionKeyOutput=structtypenonrect={repositoryId:RepositoryId.toption[@ocaml.doc"The ID of the repository."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of the encryption key."];originalKmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of the encryption key formerly used to encrypt and decrypt the repository."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyInvalidIdExceptionofEncryptionKeyInvalidIdException.t|`EncryptionKeyInvalidUsageExceptionofEncryptionKeyInvalidUsageException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyRequiredExceptionofEncryptionKeyRequiredException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryId=fun?kmsKeyId->fun?originalKmsKeyId->fun()->{repositoryId;kmsKeyId;originalKmsKeyId}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyInvalidIdException"->`EncryptionKeyInvalidIdException(EncryptionKeyInvalidIdException.of_jsonjson)|"EncryptionKeyInvalidUsageException"->`EncryptionKeyInvalidUsageException(EncryptionKeyInvalidUsageException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyRequiredException"->`EncryptionKeyRequiredException(EncryptionKeyRequiredException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyInvalidIdException"->`EncryptionKeyInvalidIdException(EncryptionKeyInvalidIdException.of_xmlxml)|"EncryptionKeyInvalidUsageException"->`EncryptionKeyInvalidUsageException(EncryptionKeyInvalidUsageException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyRequiredException"->`EncryptionKeyRequiredException(EncryptionKeyRequiredException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyInvalidIdExceptione->`Assoc[("error",(`String"EncryptionKeyInvalidIdException"));("details",(EncryptionKeyInvalidIdException.to_jsone))]|`EncryptionKeyInvalidUsageExceptione->`Assoc[("error",(`String"EncryptionKeyInvalidUsageException"));("details",(EncryptionKeyInvalidUsageException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyRequiredExceptione->`Assoc[("error",(`String"EncryptionKeyRequiredException"));("details",(EncryptionKeyRequiredException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryId",(Option.mapx.repositoryId~f:RepositoryId.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("originalKmsKeyId",(Option.mapx.originalKmsKeyId~f:KmsKeyId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoriginalKmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"originalKmsKeyId")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inletrepositoryId=(Option.map~f:RepositoryId.of_xml)(Xml.childxml_arg0"repositoryId")inmake?originalKmsKeyId?kmsKeyId?repositoryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoriginalKmsKeyId=field_mapjson__"originalKmsKeyId"KmsKeyId.of_jsoninletkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninletrepositoryId=field_mapjson__"repositoryId"RepositoryId.of_jsoninmake?originalKmsKeyId?kmsKeyId?repositoryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository."]moduleUpdateRepositoryEncryptionKeyInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository."];kmsKeyId:KmsKeyId.t[@ocaml.doc"The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference."]}letcontext_="UpdateRepositoryEncryptionKeyInput"letmake~repositoryName=fun~kmsKeyId->fun()->{repositoryName;kmsKeyId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("kmsKeyId",(Some(KmsKeyId.to_valuex.kmsKeyId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=KmsKeyId.of_xml(Xml.child_exn~context:context_xml_arg0"kmsKeyId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~kmsKeyId~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_map_exnjson__"kmsKeyId"KmsKeyId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~kmsKeyId~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository."]moduleUpdateRepositoryDescriptionInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to set or change the comment or description for."];repositoryDescription:RepositoryDescription.toption[@ocaml.doc"The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters."]}letcontext_="UpdateRepositoryDescriptionInput"letmake?repositoryDescription=fun~repositoryName->fun()->{repositoryDescription;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("repositoryDescription",(Option.mapx.repositoryDescription~f:RepositoryDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryDescription=(Option.map~f:RepositoryDescription.of_xml)(Xml.childxml_arg0"repositoryDescription")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?repositoryDescription~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryDescription=field_mapjson__"repositoryDescription"RepositoryDescription.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?repositoryDescription~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of an update repository description operation."]moduleUpdatePullRequestTitleOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the updated pull request."]}typenonrecerror=[`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidTitleExceptionofInvalidTitleException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`TitleRequiredExceptionofTitleRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidTitleException"->`InvalidTitleException(InvalidTitleException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"TitleRequiredException"->`TitleRequiredException(TitleRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidTitleException"->`InvalidTitleException(InvalidTitleException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"TitleRequiredException"->`TitleRequiredException(TitleRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidTitleExceptione->`Assoc[("error",(`String"InvalidTitleException"));("details",(InvalidTitleException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`TitleRequiredExceptione->`Assoc[("error",(`String"TitleRequiredException"));("details",(TitleRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the title of a pull request."]moduleUpdatePullRequestTitleInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];title:Title.t[@ocaml.doc"The updated title of the pull request. This replaces the existing title."]}letcontext_="UpdatePullRequestTitleInput"letmake~pullRequestId=fun~title->fun()->{pullRequestId;title}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("title",(Some(Title.to_valuex.title)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettitle=Title.of_xml(Xml.child_exn~context:context_xml_arg0"title")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~title~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettitle=field_map_exnjson__"title"Title.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~title~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the title of a pull request."]moduleUpdatePullRequestStatusOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the pull request."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidPullRequestStatusExceptionofInvalidPullRequestStatusException.t|`InvalidPullRequestStatusUpdateExceptionofInvalidPullRequestStatusUpdateException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`PullRequestStatusRequiredExceptionofPullRequestStatusRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidPullRequestStatusException"->`InvalidPullRequestStatusException(InvalidPullRequestStatusException.of_jsonjson)|"InvalidPullRequestStatusUpdateException"->`InvalidPullRequestStatusUpdateException(InvalidPullRequestStatusUpdateException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"PullRequestStatusRequiredException"->`PullRequestStatusRequiredException(PullRequestStatusRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidPullRequestStatusException"->`InvalidPullRequestStatusException(InvalidPullRequestStatusException.of_xmlxml)|"InvalidPullRequestStatusUpdateException"->`InvalidPullRequestStatusUpdateException(InvalidPullRequestStatusUpdateException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"PullRequestStatusRequiredException"->`PullRequestStatusRequiredException(PullRequestStatusRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidPullRequestStatusExceptione->`Assoc[("error",(`String"InvalidPullRequestStatusException"));("details",(InvalidPullRequestStatusException.to_jsone))]|`InvalidPullRequestStatusUpdateExceptione->`Assoc[("error",(`String"InvalidPullRequestStatusUpdateException"));("details",(InvalidPullRequestStatusUpdateException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`PullRequestStatusRequiredExceptione->`Assoc[("error",(`String"PullRequestStatusRequiredException"));("details",(PullRequestStatusRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the status of a pull request."]moduleUpdatePullRequestStatusInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];pullRequestStatus:PullRequestStatusEnum.t[@ocaml.doc"The status of the pull request. The only valid operations are to update the status from OPEN to OPEN, OPEN to CLOSED or from CLOSED to CLOSED."]}letcontext_="UpdatePullRequestStatusInput"letmake~pullRequestId=fun~pullRequestStatus->fun()->{pullRequestId;pullRequestStatus}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("pullRequestStatus",(Some(PullRequestStatusEnum.to_valuex.pullRequestStatus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestStatus=PullRequestStatusEnum.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestStatus")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~pullRequestStatus~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestStatus=field_map_exnjson__"pullRequestStatus"PullRequestStatusEnum.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~pullRequestStatus~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the status of a pull request."]moduleUpdatePullRequestDescriptionOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the updated pull request."]}typenonrecerror=[`InvalidDescriptionExceptionofInvalidDescriptionException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"InvalidDescriptionException"->`InvalidDescriptionException(InvalidDescriptionException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidDescriptionException"->`InvalidDescriptionException(InvalidDescriptionException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidDescriptionExceptione->`Assoc[("error",(`String"InvalidDescriptionException"));("details",(InvalidDescriptionException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the contents of the description of a pull request."]moduleUpdatePullRequestDescriptionInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];description:Description.t[@ocaml.doc"The updated content of the description for the pull request. This content replaces the existing description."]}letcontext_="UpdatePullRequestDescriptionInput"letmake~pullRequestId=fun~description->fun()->{pullRequestId;description}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("description",(Some(Description.to_valuex.description)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=Description.of_xml(Xml.child_exn~context:context_xml_arg0"description")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~description~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_map_exnjson__"description"Description.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~description~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the contents of the description of a pull request."]moduleUpdatePullRequestApprovalStateInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request."];revisionId:RevisionId.t[@ocaml.doc"The system-generated ID of the revision."];approvalState:ApprovalState.t[@ocaml.doc"The approval state to associate with the user on the pull request."]}letcontext_="UpdatePullRequestApprovalStateInput"letmake~pullRequestId=fun~revisionId->fun~approvalState->fun()->{pullRequestId;revisionId;approvalState}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("revisionId",(Some(RevisionId.to_valuex.revisionId)));("approvalState",(Some(ApprovalState.to_valuex.approvalState)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalState=ApprovalState.of_xml(Xml.child_exn~context:context_xml_arg0"approvalState")inletrevisionId=RevisionId.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~approvalState~revisionId~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalState=field_map_exnjson__"approvalState"ApprovalState.of_jsoninletrevisionId=field_map_exnjson__"revisionId"RevisionId.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~approvalState~revisionId~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made."]moduleUpdatePullRequestApprovalRuleContentOutput=structtypenonrect={approvalRule:ApprovalRule.toption[@ocaml.doc"Information about the updated approval rule."]}typenonrecerror=[`ApprovalRuleContentRequiredExceptionofApprovalRuleContentRequiredException.t|`ApprovalRuleDoesNotExistExceptionofApprovalRuleDoesNotExistException.t|`ApprovalRuleNameRequiredExceptionofApprovalRuleNameRequiredException.t|`CannotModifyApprovalRuleFromTemplateExceptionofCannotModifyApprovalRuleFromTemplateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleContentExceptionofInvalidApprovalRuleContentException.t|`InvalidApprovalRuleNameExceptionofInvalidApprovalRuleNameException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRuleContentSha256ExceptionofInvalidRuleContentSha256Exception.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRule=fun()->{approvalRule}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleContentRequiredException"->`ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException.of_jsonjson)|"ApprovalRuleDoesNotExistException"->`ApprovalRuleDoesNotExistException(ApprovalRuleDoesNotExistException.of_jsonjson)|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_jsonjson)|"CannotModifyApprovalRuleFromTemplateException"->`CannotModifyApprovalRuleFromTemplateException(CannotModifyApprovalRuleFromTemplateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleContentException"->`InvalidApprovalRuleContentException(InvalidApprovalRuleContentException.of_jsonjson)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRuleContentSha256Exception"->`InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleContentRequiredException"->`ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException.of_xmlxml)|"ApprovalRuleDoesNotExistException"->`ApprovalRuleDoesNotExistException(ApprovalRuleDoesNotExistException.of_xmlxml)|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_xmlxml)|"CannotModifyApprovalRuleFromTemplateException"->`CannotModifyApprovalRuleFromTemplateException(CannotModifyApprovalRuleFromTemplateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleContentException"->`InvalidApprovalRuleContentException(InvalidApprovalRuleContentException.of_xmlxml)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRuleContentSha256Exception"->`InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleContentRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleContentRequiredException"));("details",(ApprovalRuleContentRequiredException.to_jsone))]|`ApprovalRuleDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleDoesNotExistException"));("details",(ApprovalRuleDoesNotExistException.to_jsone))]|`ApprovalRuleNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleNameRequiredException"));("details",(ApprovalRuleNameRequiredException.to_jsone))]|`CannotModifyApprovalRuleFromTemplateExceptione->`Assoc[("error",(`String"CannotModifyApprovalRuleFromTemplateException"));("details",(CannotModifyApprovalRuleFromTemplateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleContentExceptione->`Assoc[("error",(`String"InvalidApprovalRuleContentException"));("details",(InvalidApprovalRuleContentException.to_jsone))]|`InvalidApprovalRuleNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleNameException"));("details",(InvalidApprovalRuleNameException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRuleContentSha256Exceptione->`Assoc[("error",(`String"InvalidRuleContentSha256Exception"));("details",(InvalidRuleContentSha256Exception.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRule",(Option.mapx.approvalRule~f:ApprovalRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRule=(Option.map~f:ApprovalRule.of_xml)(Xml.childxml_arg0"approvalRule")inmake?approvalRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRule=field_mapjson__"approvalRule"ApprovalRule.of_jsoninmake?approvalRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers."]moduleUpdatePullRequestApprovalRuleContentInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request."];approvalRuleName:ApprovalRuleName.t[@ocaml.doc"The name of the approval rule you want to update."];existingRuleContentSha256:RuleContentSha256.toption[@ocaml.doc"The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest."];newRuleContent:ApprovalRuleContent.t[@ocaml.doc"The updated content for the approval rule. When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide."]}letcontext_="UpdatePullRequestApprovalRuleContentInput"letmake?existingRuleContentSha256=fun~pullRequestId->fun~approvalRuleName->fun~newRuleContent->fun()->{existingRuleContentSha256;pullRequestId;approvalRuleName;newRuleContent}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("approvalRuleName",(Some(ApprovalRuleName.to_valuex.approvalRuleName)));("existingRuleContentSha256",(Option.mapx.existingRuleContentSha256~f:RuleContentSha256.to_value));("newRuleContent",(Some(ApprovalRuleContent.to_valuex.newRuleContent)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnewRuleContent=ApprovalRuleContent.of_xml(Xml.child_exn~context:context_xml_arg0"newRuleContent")inletexistingRuleContentSha256=(Option.map~f:RuleContentSha256.of_xml)(Xml.childxml_arg0"existingRuleContentSha256")inletapprovalRuleName=ApprovalRuleName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~newRuleContent?existingRuleContentSha256~approvalRuleName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnewRuleContent=field_map_exnjson__"newRuleContent"ApprovalRuleContent.of_jsoninletexistingRuleContentSha256=field_mapjson__"existingRuleContentSha256"RuleContentSha256.of_jsoninletapprovalRuleName=field_map_exnjson__"approvalRuleName"ApprovalRuleName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~newRuleContent?existingRuleContentSha256~approvalRuleName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers."]moduleUpdateDefaultBranchInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository for which you want to set or change the default branch."];defaultBranchName:BranchName.t[@ocaml.doc"The name of the branch to set as the default branch."]}letcontext_="UpdateDefaultBranchInput"letmake~repositoryName=fun~defaultBranchName->fun()->{repositoryName;defaultBranchName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("defaultBranchName",(Some(BranchName.to_valuex.defaultBranchName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultBranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"defaultBranchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~defaultBranchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultBranchName=field_map_exnjson__"defaultBranchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~defaultBranchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of an update default branch operation."]moduleUpdateCommentOutput=structtypenonrect={comment:Comment.toption[@ocaml.doc"Information about the updated comment."]}typenonrecerror=[`CommentContentRequiredExceptionofCommentContentRequiredException.t|`CommentContentSizeLimitExceededExceptionofCommentContentSizeLimitExceededException.t|`CommentDeletedExceptionofCommentDeletedException.t|`CommentDoesNotExistExceptionofCommentDoesNotExistException.t|`CommentIdRequiredExceptionofCommentIdRequiredException.t|`CommentNotCreatedByCallerExceptionofCommentNotCreatedByCallerException.t|`InvalidCommentIdExceptionofInvalidCommentIdException.t|`Unknown_operation_errorof(string*stringoption)]letmake?comment=fun()->{comment}leterror_of_jsonnamejson=matchnamewith|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_jsonjson)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_jsonjson)|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_jsonjson)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_jsonjson)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_jsonjson)|"CommentNotCreatedByCallerException"->`CommentNotCreatedByCallerException(CommentNotCreatedByCallerException.of_jsonjson)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_xmlxml)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_xmlxml)|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_xmlxml)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_xmlxml)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_xmlxml)|"CommentNotCreatedByCallerException"->`CommentNotCreatedByCallerException(CommentNotCreatedByCallerException.of_xmlxml)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommentContentRequiredExceptione->`Assoc[("error",(`String"CommentContentRequiredException"));("details",(CommentContentRequiredException.to_jsone))]|`CommentContentSizeLimitExceededExceptione->`Assoc[("error",(`String"CommentContentSizeLimitExceededException"));("details",(CommentContentSizeLimitExceededException.to_jsone))]|`CommentDeletedExceptione->`Assoc[("error",(`String"CommentDeletedException"));("details",(CommentDeletedException.to_jsone))]|`CommentDoesNotExistExceptione->`Assoc[("error",(`String"CommentDoesNotExistException"));("details",(CommentDoesNotExistException.to_jsone))]|`CommentIdRequiredExceptione->`Assoc[("error",(`String"CommentIdRequiredException"));("details",(CommentIdRequiredException.to_jsone))]|`CommentNotCreatedByCallerExceptione->`Assoc[("error",(`String"CommentNotCreatedByCallerException"));("details",(CommentNotCreatedByCallerException.to_jsone))]|`InvalidCommentIdExceptione->`Assoc[("error",(`String"InvalidCommentIdException"));("details",(InvalidCommentIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inmake?comment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninmake?comment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the contents of a comment."]moduleUpdateCommentInput=structtypenonrect={commentId:CommentId.t[@ocaml.doc"The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest."];content:Content.t[@ocaml.doc"The updated content to replace the existing content of the comment."]}letcontext_="UpdateCommentInput"letmake~commentId=fun~content->fun()->{commentId;content}letto_valuex=structure_to_value[("commentId",(Some(CommentId.to_valuex.commentId)));("content",(Some(Content.to_valuex.content)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontent=Content.of_xml(Xml.child_exn~context:context_xml_arg0"content")inletcommentId=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"commentId")inmake~content~commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontent=field_map_exnjson__"content"Content.of_jsoninletcommentId=field_map_exnjson__"commentId"CommentId.of_jsoninmake~content~commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Replaces the contents of a comment."]moduleUpdateApprovalRuleTemplateNameOutput=structtypenonrect={approvalRuleTemplate:ApprovalRuleTemplate.toption[@ocaml.doc"The structure and content of the updated approval rule template."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameAlreadyExistsExceptionofApprovalRuleTemplateNameAlreadyExistsException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplate=fun()->{approvalRuleTemplate}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameAlreadyExistsException"->`ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameAlreadyExistsException"->`ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameAlreadyExistsExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameAlreadyExistsException"));("details",(ApprovalRuleTemplateNameAlreadyExistsException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplate",(Option.mapx.approvalRuleTemplate~f:ApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplate=(Option.map~f:ApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"approvalRuleTemplate")inmake?approvalRuleTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplate=field_mapjson__"approvalRuleTemplate"ApprovalRuleTemplate.of_jsoninmake?approvalRuleTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the name of a specified approval rule template."]moduleUpdateApprovalRuleTemplateNameInput=structtypenonrect={oldApprovalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The current name of the approval rule template."];newApprovalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The new name you want to apply to the approval rule template."]}letcontext_="UpdateApprovalRuleTemplateNameInput"letmake~oldApprovalRuleTemplateName=fun~newApprovalRuleTemplateName->fun()->{oldApprovalRuleTemplateName;newApprovalRuleTemplateName}letto_valuex=structure_to_value[("oldApprovalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.oldApprovalRuleTemplateName)));("newApprovalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.newApprovalRuleTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnewApprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"newApprovalRuleTemplateName")inletoldApprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"oldApprovalRuleTemplateName")inmake~newApprovalRuleTemplateName~oldApprovalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnewApprovalRuleTemplateName=field_map_exnjson__"newApprovalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninletoldApprovalRuleTemplateName=field_map_exnjson__"oldApprovalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~newApprovalRuleTemplateName~oldApprovalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the name of a specified approval rule template."]moduleUpdateApprovalRuleTemplateDescriptionOutput=structtypenonrect={approvalRuleTemplate:ApprovalRuleTemplate.toption[@ocaml.doc"The structure and content of the updated approval rule template."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateDescriptionExceptionofInvalidApprovalRuleTemplateDescriptionException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplate=fun()->{approvalRuleTemplate}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateDescriptionException"->`InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateDescriptionException"->`InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateDescriptionExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateDescriptionException"));("details",(InvalidApprovalRuleTemplateDescriptionException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplate",(Option.mapx.approvalRuleTemplate~f:ApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplate=(Option.map~f:ApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"approvalRuleTemplate")inmake?approvalRuleTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplate=field_mapjson__"approvalRuleTemplate"ApprovalRuleTemplate.of_jsoninmake?approvalRuleTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the description for a specified approval rule template."]moduleUpdateApprovalRuleTemplateDescriptionInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the template for which you want to update the description."];approvalRuleTemplateDescription:ApprovalRuleTemplateDescription.t[@ocaml.doc"The updated description of the approval rule template."]}letcontext_="UpdateApprovalRuleTemplateDescriptionInput"letmake~approvalRuleTemplateName=fun~approvalRuleTemplateDescription->fun()->{approvalRuleTemplateName;approvalRuleTemplateDescription}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("approvalRuleTemplateDescription",(Some(ApprovalRuleTemplateDescription.to_valuex.approvalRuleTemplateDescription)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateDescription=ApprovalRuleTemplateDescription.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateDescription")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~approvalRuleTemplateDescription~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateDescription=field_map_exnjson__"approvalRuleTemplateDescription"ApprovalRuleTemplateDescription.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~approvalRuleTemplateDescription~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the description for a specified approval rule template."]moduleUpdateApprovalRuleTemplateContentOutput=structtypenonrect={approvalRuleTemplate:ApprovalRuleTemplate.toption}typenonrecerror=[`ApprovalRuleTemplateContentRequiredExceptionofApprovalRuleTemplateContentRequiredException.t|`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateContentExceptionofInvalidApprovalRuleTemplateContentException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`InvalidRuleContentSha256ExceptionofInvalidRuleContentSha256Exception.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplate=fun()->{approvalRuleTemplate}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateContentRequiredException"->`ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException.of_jsonjson)|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateContentException"->`InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|"InvalidRuleContentSha256Exception"->`InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateContentRequiredException"->`ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException.of_xmlxml)|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateContentException"->`InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|"InvalidRuleContentSha256Exception"->`InvalidRuleContentSha256Exception(InvalidRuleContentSha256Exception.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateContentRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateContentRequiredException"));("details",(ApprovalRuleTemplateContentRequiredException.to_jsone))]|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateContentExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateContentException"));("details",(InvalidApprovalRuleTemplateContentException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`InvalidRuleContentSha256Exceptione->`Assoc[("error",(`String"InvalidRuleContentSha256Exception"));("details",(InvalidRuleContentSha256Exception.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplate",(Option.mapx.approvalRuleTemplate~f:ApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplate=(Option.map~f:ApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"approvalRuleTemplate")inmake?approvalRuleTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplate=field_mapjson__"approvalRuleTemplate"ApprovalRuleTemplate.of_jsoninmake?approvalRuleTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined."]moduleUpdateApprovalRuleTemplateContentInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template where you want to update the content of the rule."];newRuleContent:ApprovalRuleTemplateContent.t[@ocaml.doc"The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes."];existingRuleContentSha256:RuleContentSha256.toption[@ocaml.doc"The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest."]}letcontext_="UpdateApprovalRuleTemplateContentInput"letmake?existingRuleContentSha256=fun~approvalRuleTemplateName->fun~newRuleContent->fun()->{existingRuleContentSha256;approvalRuleTemplateName;newRuleContent}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("newRuleContent",(Some(ApprovalRuleTemplateContent.to_valuex.newRuleContent)));("existingRuleContentSha256",(Option.mapx.existingRuleContentSha256~f:RuleContentSha256.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexistingRuleContentSha256=(Option.map~f:RuleContentSha256.of_xml)(Xml.childxml_arg0"existingRuleContentSha256")inletnewRuleContent=ApprovalRuleTemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"newRuleContent")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake?existingRuleContentSha256~newRuleContent~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexistingRuleContentSha256=field_mapjson__"existingRuleContentSha256"RuleContentSha256.of_jsoninletnewRuleContent=field_map_exnjson__"newRuleContent"ApprovalRuleTemplateContent.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake?existingRuleContentSha256~newRuleContent~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined."]moduleUntagResourceInput=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to which you want to remove tags."];tagKeys:TagKeysList.t[@ocaml.doc"The tag key for each tag that you want to remove from the resource."]}letcontext_="UntagResourceInput"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("tagKeys",(Some(TagKeysList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeysList.of_xml(Xml.child_exn~context:context_xml_arg0"tagKeys")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"tagKeys"TagKeysList.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"ResourceArn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleTestRepositoryTriggersOutput=structtypenonrect={successfulExecutions:RepositoryTriggerNameList.toption[@ocaml.doc"The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas."];failedExecutions:RepositoryTriggerExecutionFailureList.toption[@ocaml.doc"The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidRepositoryTriggerBranchNameExceptionofInvalidRepositoryTriggerBranchNameException.t|`InvalidRepositoryTriggerCustomDataExceptionofInvalidRepositoryTriggerCustomDataException.t|`InvalidRepositoryTriggerDestinationArnExceptionofInvalidRepositoryTriggerDestinationArnException.t|`InvalidRepositoryTriggerEventsExceptionofInvalidRepositoryTriggerEventsException.t|`InvalidRepositoryTriggerNameExceptionofInvalidRepositoryTriggerNameException.t|`InvalidRepositoryTriggerRegionExceptionofInvalidRepositoryTriggerRegionException.t|`MaximumBranchesExceededExceptionofMaximumBranchesExceededException.t|`MaximumRepositoryTriggersExceededExceptionofMaximumRepositoryTriggersExceededException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryTriggerBranchNameListRequiredExceptionofRepositoryTriggerBranchNameListRequiredException.t|`RepositoryTriggerDestinationArnRequiredExceptionofRepositoryTriggerDestinationArnRequiredException.t|`RepositoryTriggerEventsListRequiredExceptionofRepositoryTriggerEventsListRequiredException.t|`RepositoryTriggerNameRequiredExceptionofRepositoryTriggerNameRequiredException.t|`RepositoryTriggersListRequiredExceptionofRepositoryTriggersListRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?successfulExecutions=fun?failedExecutions->fun()->{successfulExecutions;failedExecutions}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidRepositoryTriggerBranchNameException"->`InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException.of_jsonjson)|"InvalidRepositoryTriggerCustomDataException"->`InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException.of_jsonjson)|"InvalidRepositoryTriggerDestinationArnException"->`InvalidRepositoryTriggerDestinationArnException(InvalidRepositoryTriggerDestinationArnException.of_jsonjson)|"InvalidRepositoryTriggerEventsException"->`InvalidRepositoryTriggerEventsException(InvalidRepositoryTriggerEventsException.of_jsonjson)|"InvalidRepositoryTriggerNameException"->`InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException.of_jsonjson)|"InvalidRepositoryTriggerRegionException"->`InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException.of_jsonjson)|"MaximumBranchesExceededException"->`MaximumBranchesExceededException(MaximumBranchesExceededException.of_jsonjson)|"MaximumRepositoryTriggersExceededException"->`MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryTriggerBranchNameListRequiredException"->`RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException.of_jsonjson)|"RepositoryTriggerDestinationArnRequiredException"->`RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException.of_jsonjson)|"RepositoryTriggerEventsListRequiredException"->`RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException.of_jsonjson)|"RepositoryTriggerNameRequiredException"->`RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException.of_jsonjson)|"RepositoryTriggersListRequiredException"->`RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidRepositoryTriggerBranchNameException"->`InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException.of_xmlxml)|"InvalidRepositoryTriggerCustomDataException"->`InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException.of_xmlxml)|"InvalidRepositoryTriggerDestinationArnException"->`InvalidRepositoryTriggerDestinationArnException(InvalidRepositoryTriggerDestinationArnException.of_xmlxml)|"InvalidRepositoryTriggerEventsException"->`InvalidRepositoryTriggerEventsException(InvalidRepositoryTriggerEventsException.of_xmlxml)|"InvalidRepositoryTriggerNameException"->`InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException.of_xmlxml)|"InvalidRepositoryTriggerRegionException"->`InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException.of_xmlxml)|"MaximumBranchesExceededException"->`MaximumBranchesExceededException(MaximumBranchesExceededException.of_xmlxml)|"MaximumRepositoryTriggersExceededException"->`MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryTriggerBranchNameListRequiredException"->`RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException.of_xmlxml)|"RepositoryTriggerDestinationArnRequiredException"->`RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException.of_xmlxml)|"RepositoryTriggerEventsListRequiredException"->`RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException.of_xmlxml)|"RepositoryTriggerNameRequiredException"->`RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException.of_xmlxml)|"RepositoryTriggersListRequiredException"->`RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidRepositoryTriggerBranchNameExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerBranchNameException"));("details",(InvalidRepositoryTriggerBranchNameException.to_jsone))]|`InvalidRepositoryTriggerCustomDataExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerCustomDataException"));("details",(InvalidRepositoryTriggerCustomDataException.to_jsone))]|`InvalidRepositoryTriggerDestinationArnExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerDestinationArnException"));("details",(InvalidRepositoryTriggerDestinationArnException.to_jsone))]|`InvalidRepositoryTriggerEventsExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerEventsException"));("details",(InvalidRepositoryTriggerEventsException.to_jsone))]|`InvalidRepositoryTriggerNameExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerNameException"));("details",(InvalidRepositoryTriggerNameException.to_jsone))]|`InvalidRepositoryTriggerRegionExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerRegionException"));("details",(InvalidRepositoryTriggerRegionException.to_jsone))]|`MaximumBranchesExceededExceptione->`Assoc[("error",(`String"MaximumBranchesExceededException"));("details",(MaximumBranchesExceededException.to_jsone))]|`MaximumRepositoryTriggersExceededExceptione->`Assoc[("error",(`String"MaximumRepositoryTriggersExceededException"));("details",(MaximumRepositoryTriggersExceededException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryTriggerBranchNameListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerBranchNameListRequiredException"));("details",(RepositoryTriggerBranchNameListRequiredException.to_jsone))]|`RepositoryTriggerDestinationArnRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerDestinationArnRequiredException"));("details",(RepositoryTriggerDestinationArnRequiredException.to_jsone))]|`RepositoryTriggerEventsListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerEventsListRequiredException"));("details",(RepositoryTriggerEventsListRequiredException.to_jsone))]|`RepositoryTriggerNameRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerNameRequiredException"));("details",(RepositoryTriggerNameRequiredException.to_jsone))]|`RepositoryTriggersListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggersListRequiredException"));("details",(RepositoryTriggersListRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("successfulExecutions",(Option.mapx.successfulExecutions~f:RepositoryTriggerNameList.to_value));("failedExecutions",(Option.mapx.failedExecutions~f:RepositoryTriggerExecutionFailureList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedExecutions=(Option.map~f:RepositoryTriggerExecutionFailureList.of_xml)(Xml.childxml_arg0"failedExecutions")inletsuccessfulExecutions=(Option.map~f:RepositoryTriggerNameList.of_xml)(Xml.childxml_arg0"successfulExecutions")inmake?failedExecutions?successfulExecutions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedExecutions=field_mapjson__"failedExecutions"RepositoryTriggerExecutionFailureList.of_jsoninletsuccessfulExecutions=field_mapjson__"successfulExecutions"RepositoryTriggerNameList.of_jsoninmake?failedExecutions?successfulExecutions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a test repository triggers operation."]moduleTestRepositoryTriggersInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository in which to test the triggers."];triggers:RepositoryTriggersList.t[@ocaml.doc"The list of triggers to test."]}letcontext_="TestRepositoryTriggersInput"letmake~repositoryName=fun~triggers->fun()->{repositoryName;triggers}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("triggers",(Some(RepositoryTriggersList.to_valuex.triggers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggers=RepositoryTriggersList.of_xml(Xml.child_exn~context:context_xml_arg0"triggers")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~triggers~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggers=field_map_exnjson__"triggers"RepositoryTriggersList.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~triggers~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a test repository triggers operation."]moduleTagsMapRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A map of tags is required."]moduleTagResourceInput=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to which you want to add or update tags."];tags:TagsMap.t[@ocaml.doc"The key-value pair to use when tagging this repository."]}letcontext_="TagResourceInput"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("tags",(Some(TagsMap.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagsMap.of_xml(Xml.child_exn~context:context_xml_arg0"tags")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"tags"TagsMap.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"ResourceArn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleTagKeysListRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of tag keys is required. The list cannot be empty or null."]moduleReactionValueRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A reaction value is required."]moduleReactionLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID."]modulePutRepositoryTriggersOutput=structtypenonrect={configurationId:RepositoryTriggersConfigurationId.toption[@ocaml.doc"The system-generated unique ID for the create or update operation."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidRepositoryTriggerBranchNameExceptionofInvalidRepositoryTriggerBranchNameException.t|`InvalidRepositoryTriggerCustomDataExceptionofInvalidRepositoryTriggerCustomDataException.t|`InvalidRepositoryTriggerDestinationArnExceptionofInvalidRepositoryTriggerDestinationArnException.t|`InvalidRepositoryTriggerEventsExceptionofInvalidRepositoryTriggerEventsException.t|`InvalidRepositoryTriggerNameExceptionofInvalidRepositoryTriggerNameException.t|`InvalidRepositoryTriggerRegionExceptionofInvalidRepositoryTriggerRegionException.t|`MaximumBranchesExceededExceptionofMaximumBranchesExceededException.t|`MaximumRepositoryTriggersExceededExceptionofMaximumRepositoryTriggersExceededException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryTriggerBranchNameListRequiredExceptionofRepositoryTriggerBranchNameListRequiredException.t|`RepositoryTriggerDestinationArnRequiredExceptionofRepositoryTriggerDestinationArnRequiredException.t|`RepositoryTriggerEventsListRequiredExceptionofRepositoryTriggerEventsListRequiredException.t|`RepositoryTriggerNameRequiredExceptionofRepositoryTriggerNameRequiredException.t|`RepositoryTriggersListRequiredExceptionofRepositoryTriggersListRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?configurationId=fun()->{configurationId}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidRepositoryTriggerBranchNameException"->`InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException.of_jsonjson)|"InvalidRepositoryTriggerCustomDataException"->`InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException.of_jsonjson)|"InvalidRepositoryTriggerDestinationArnException"->`InvalidRepositoryTriggerDestinationArnException(InvalidRepositoryTriggerDestinationArnException.of_jsonjson)|"InvalidRepositoryTriggerEventsException"->`InvalidRepositoryTriggerEventsException(InvalidRepositoryTriggerEventsException.of_jsonjson)|"InvalidRepositoryTriggerNameException"->`InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException.of_jsonjson)|"InvalidRepositoryTriggerRegionException"->`InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException.of_jsonjson)|"MaximumBranchesExceededException"->`MaximumBranchesExceededException(MaximumBranchesExceededException.of_jsonjson)|"MaximumRepositoryTriggersExceededException"->`MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryTriggerBranchNameListRequiredException"->`RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException.of_jsonjson)|"RepositoryTriggerDestinationArnRequiredException"->`RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException.of_jsonjson)|"RepositoryTriggerEventsListRequiredException"->`RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException.of_jsonjson)|"RepositoryTriggerNameRequiredException"->`RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException.of_jsonjson)|"RepositoryTriggersListRequiredException"->`RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidRepositoryTriggerBranchNameException"->`InvalidRepositoryTriggerBranchNameException(InvalidRepositoryTriggerBranchNameException.of_xmlxml)|"InvalidRepositoryTriggerCustomDataException"->`InvalidRepositoryTriggerCustomDataException(InvalidRepositoryTriggerCustomDataException.of_xmlxml)|"InvalidRepositoryTriggerDestinationArnException"->`InvalidRepositoryTriggerDestinationArnException(InvalidRepositoryTriggerDestinationArnException.of_xmlxml)|"InvalidRepositoryTriggerEventsException"->`InvalidRepositoryTriggerEventsException(InvalidRepositoryTriggerEventsException.of_xmlxml)|"InvalidRepositoryTriggerNameException"->`InvalidRepositoryTriggerNameException(InvalidRepositoryTriggerNameException.of_xmlxml)|"InvalidRepositoryTriggerRegionException"->`InvalidRepositoryTriggerRegionException(InvalidRepositoryTriggerRegionException.of_xmlxml)|"MaximumBranchesExceededException"->`MaximumBranchesExceededException(MaximumBranchesExceededException.of_xmlxml)|"MaximumRepositoryTriggersExceededException"->`MaximumRepositoryTriggersExceededException(MaximumRepositoryTriggersExceededException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryTriggerBranchNameListRequiredException"->`RepositoryTriggerBranchNameListRequiredException(RepositoryTriggerBranchNameListRequiredException.of_xmlxml)|"RepositoryTriggerDestinationArnRequiredException"->`RepositoryTriggerDestinationArnRequiredException(RepositoryTriggerDestinationArnRequiredException.of_xmlxml)|"RepositoryTriggerEventsListRequiredException"->`RepositoryTriggerEventsListRequiredException(RepositoryTriggerEventsListRequiredException.of_xmlxml)|"RepositoryTriggerNameRequiredException"->`RepositoryTriggerNameRequiredException(RepositoryTriggerNameRequiredException.of_xmlxml)|"RepositoryTriggersListRequiredException"->`RepositoryTriggersListRequiredException(RepositoryTriggersListRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidRepositoryTriggerBranchNameExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerBranchNameException"));("details",(InvalidRepositoryTriggerBranchNameException.to_jsone))]|`InvalidRepositoryTriggerCustomDataExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerCustomDataException"));("details",(InvalidRepositoryTriggerCustomDataException.to_jsone))]|`InvalidRepositoryTriggerDestinationArnExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerDestinationArnException"));("details",(InvalidRepositoryTriggerDestinationArnException.to_jsone))]|`InvalidRepositoryTriggerEventsExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerEventsException"));("details",(InvalidRepositoryTriggerEventsException.to_jsone))]|`InvalidRepositoryTriggerNameExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerNameException"));("details",(InvalidRepositoryTriggerNameException.to_jsone))]|`InvalidRepositoryTriggerRegionExceptione->`Assoc[("error",(`String"InvalidRepositoryTriggerRegionException"));("details",(InvalidRepositoryTriggerRegionException.to_jsone))]|`MaximumBranchesExceededExceptione->`Assoc[("error",(`String"MaximumBranchesExceededException"));("details",(MaximumBranchesExceededException.to_jsone))]|`MaximumRepositoryTriggersExceededExceptione->`Assoc[("error",(`String"MaximumRepositoryTriggersExceededException"));("details",(MaximumRepositoryTriggersExceededException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryTriggerBranchNameListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerBranchNameListRequiredException"));("details",(RepositoryTriggerBranchNameListRequiredException.to_jsone))]|`RepositoryTriggerDestinationArnRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerDestinationArnRequiredException"));("details",(RepositoryTriggerDestinationArnRequiredException.to_jsone))]|`RepositoryTriggerEventsListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerEventsListRequiredException"));("details",(RepositoryTriggerEventsListRequiredException.to_jsone))]|`RepositoryTriggerNameRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggerNameRequiredException"));("details",(RepositoryTriggerNameRequiredException.to_jsone))]|`RepositoryTriggersListRequiredExceptione->`Assoc[("error",(`String"RepositoryTriggersListRequiredException"));("details",(RepositoryTriggersListRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("configurationId",(Option.mapx.configurationId~f:RepositoryTriggersConfigurationId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationId=(Option.map~f:RepositoryTriggersConfigurationId.of_xml)(Xml.childxml_arg0"configurationId")inmake?configurationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationId=field_mapjson__"configurationId"RepositoryTriggersConfigurationId.of_jsoninmake?configurationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a put repository triggers operation."]modulePutRepositoryTriggersInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to create or update the trigger."];triggers:RepositoryTriggersList.t[@ocaml.doc"The JSON block of configuration information for each trigger."]}letcontext_="PutRepositoryTriggersInput"letmake~repositoryName=fun~triggers->fun()->{repositoryName;triggers}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("triggers",(Some(RepositoryTriggersList.to_valuex.triggers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggers=RepositoryTriggersList.of_xml(Xml.child_exn~context:context_xml_arg0"triggers")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~triggers~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggers=field_map_exnjson__"triggers"RepositoryTriggersList.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~triggers~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a put repository triggers operation."]modulePutFileOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full SHA ID of the commit that contains this file change."];blobId:ObjectId.toption[@ocaml.doc"The ID of the blob, which is its SHA-1 pointer."];treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains this file change."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`DirectoryNameConflictsWithFileNameExceptionofDirectoryNameConflictsWithFileNameException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentRequiredExceptionofFileContentRequiredException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FileNameConflictsWithDirectoryNameExceptionofFileNameConflictsWithDirectoryNameException.t|`FilePathConflictsWithSubmodulePathExceptionofFilePathConflictsWithSubmodulePathException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidDeletionParameterExceptionofInvalidDeletionParameterException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidParentCommitIdExceptionofInvalidParentCommitIdException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`ParentCommitDoesNotExistExceptionofParentCommitDoesNotExistException.t|`ParentCommitIdOutdatedExceptionofParentCommitIdOutdatedException.t|`ParentCommitIdRequiredExceptionofParentCommitIdRequiredException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`SameFileContentExceptionofSameFileContentException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?blobId->fun?treeId->fun()->{commitId;blobId;treeId}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"DirectoryNameConflictsWithFileNameException"->`DirectoryNameConflictsWithFileNameException(DirectoryNameConflictsWithFileNameException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentRequiredException"->`FileContentRequiredException(FileContentRequiredException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FileNameConflictsWithDirectoryNameException"->`FileNameConflictsWithDirectoryNameException(FileNameConflictsWithDirectoryNameException.of_jsonjson)|"FilePathConflictsWithSubmodulePathException"->`FilePathConflictsWithSubmodulePathException(FilePathConflictsWithSubmodulePathException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidDeletionParameterException"->`InvalidDeletionParameterException(InvalidDeletionParameterException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_jsonjson)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_jsonjson)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"SameFileContentException"->`SameFileContentException(SameFileContentException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"DirectoryNameConflictsWithFileNameException"->`DirectoryNameConflictsWithFileNameException(DirectoryNameConflictsWithFileNameException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentRequiredException"->`FileContentRequiredException(FileContentRequiredException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FileNameConflictsWithDirectoryNameException"->`FileNameConflictsWithDirectoryNameException(FileNameConflictsWithDirectoryNameException.of_xmlxml)|"FilePathConflictsWithSubmodulePathException"->`FilePathConflictsWithSubmodulePathException(FilePathConflictsWithSubmodulePathException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidDeletionParameterException"->`InvalidDeletionParameterException(InvalidDeletionParameterException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_xmlxml)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_xmlxml)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"SameFileContentException"->`SameFileContentException(SameFileContentException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`DirectoryNameConflictsWithFileNameExceptione->`Assoc[("error",(`String"DirectoryNameConflictsWithFileNameException"));("details",(DirectoryNameConflictsWithFileNameException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentRequiredExceptione->`Assoc[("error",(`String"FileContentRequiredException"));("details",(FileContentRequiredException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FileNameConflictsWithDirectoryNameExceptione->`Assoc[("error",(`String"FileNameConflictsWithDirectoryNameException"));("details",(FileNameConflictsWithDirectoryNameException.to_jsone))]|`FilePathConflictsWithSubmodulePathExceptione->`Assoc[("error",(`String"FilePathConflictsWithSubmodulePathException"));("details",(FilePathConflictsWithSubmodulePathException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidDeletionParameterExceptione->`Assoc[("error",(`String"InvalidDeletionParameterException"));("details",(InvalidDeletionParameterException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidParentCommitIdExceptione->`Assoc[("error",(`String"InvalidParentCommitIdException"));("details",(InvalidParentCommitIdException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`ParentCommitDoesNotExistExceptione->`Assoc[("error",(`String"ParentCommitDoesNotExistException"));("details",(ParentCommitDoesNotExistException.to_jsone))]|`ParentCommitIdOutdatedExceptione->`Assoc[("error",(`String"ParentCommitIdOutdatedException"));("details",(ParentCommitIdOutdatedException.to_jsone))]|`ParentCommitIdRequiredExceptione->`Assoc[("error",(`String"ParentCommitIdRequiredException"));("details",(ParentCommitIdRequiredException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`SameFileContentExceptione->`Assoc[("error",(`String"SameFileContentException"));("details",(SameFileContentException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?treeId?blobId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?treeId?blobId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch."]modulePutFileInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to add or update the file."];branchName:BranchName.t[@ocaml.doc"The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created."];fileContent:FileContent.t[@ocaml.doc"The content of the file, in binary object format."];filePath:Path.t[@ocaml.doc"The name of the file you want to add or update, including the relative path to the file in the repository. If the path does not currently exist in the repository, the path is created as part of adding the file."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The file mode permissions of the blob. Valid file mode permissions are listed here."];parentCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required. The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated."];commitMessage:Message.toption[@ocaml.doc"A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful."];name:Name.toption[@ocaml.doc"The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful."];email:Email.toption[@ocaml.doc"An email address for the person adding or updating the file."]}letcontext_="PutFileInput"letmake?fileMode=fun?parentCommitId->fun?commitMessage->fun?name->fun?email->fun~repositoryName->fun~branchName->fun~fileContent->fun~filePath->fun()->{fileMode;parentCommitId;commitMessage;name;email;repositoryName;branchName;fileContent;filePath}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("branchName",(Some(BranchName.to_valuex.branchName)));("fileContent",(Some(FileContent.to_valuex.fileContent)));("filePath",(Some(Path.to_valuex.filePath)));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value));("parentCommitId",(Option.mapx.parentCommitId~f:CommitId.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("name",(Option.mapx.name~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletparentCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"parentCommitId")inletfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inletfileContent=FileContent.of_xml(Xml.child_exn~context:context_xml_arg0"fileContent")inletbranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"branchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?email?name?commitMessage?parentCommitId?fileMode~filePath~fileContent~branchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemail=field_mapjson__"email"Email.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletparentCommitId=field_mapjson__"parentCommitId"CommitId.of_jsoninletfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninletfileContent=field_map_exnjson__"fileContent"FileContent.of_jsoninletbranchName=field_map_exnjson__"branchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?email?name?commitMessage?parentCommitId?fileMode~filePath~fileContent~branchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch."]modulePutCommentReactionInput=structtypenonrect={commentId:CommentId.t[@ocaml.doc"The ID of the comment to which you want to add or update a reaction."];reactionValue:ReactionValue.t[@ocaml.doc"The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in CodeCommit, see the CodeCommit User Guide."]}letcontext_="PutCommentReactionInput"letmake~commentId=fun~reactionValue->fun()->{commentId;reactionValue}letto_valuex=structure_to_value[("commentId",(Some(CommentId.to_valuex.commentId)));("reactionValue",(Some(ReactionValue.to_valuex.reactionValue)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreactionValue=ReactionValue.of_xml(Xml.child_exn~context:context_xml_arg0"reactionValue")inletcommentId=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"commentId")inmake~reactionValue~commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreactionValue=field_map_exnjson__"reactionValue"ReactionValue.of_jsoninletcommentId=field_map_exnjson__"commentId"CommentId.of_jsoninmake~reactionValue~commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user."]modulePullRequestCannotBeApprovedByAuthorException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull request that you created."]modulePostCommentReplyOutput=structtypenonrect={comment:Comment.toption[@ocaml.doc"Information about the reply to a comment."]}typenonrecerror=[`ClientRequestTokenRequiredExceptionofClientRequestTokenRequiredException.t|`CommentContentRequiredExceptionofCommentContentRequiredException.t|`CommentContentSizeLimitExceededExceptionofCommentContentSizeLimitExceededException.t|`CommentDoesNotExistExceptionofCommentDoesNotExistException.t|`CommentIdRequiredExceptionofCommentIdRequiredException.t|`IdempotencyParameterMismatchExceptionofIdempotencyParameterMismatchException.t|`InvalidClientRequestTokenExceptionofInvalidClientRequestTokenException.t|`InvalidCommentIdExceptionofInvalidCommentIdException.t|`Unknown_operation_errorof(string*stringoption)]letmake?comment=fun()->{comment}leterror_of_jsonnamejson=matchnamewith|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_jsonjson)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_jsonjson)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_jsonjson)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_jsonjson)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_jsonjson)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_jsonjson)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_jsonjson)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_xmlxml)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_xmlxml)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_xmlxml)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_xmlxml)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_xmlxml)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_xmlxml)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_xmlxml)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ClientRequestTokenRequiredExceptione->`Assoc[("error",(`String"ClientRequestTokenRequiredException"));("details",(ClientRequestTokenRequiredException.to_jsone))]|`CommentContentRequiredExceptione->`Assoc[("error",(`String"CommentContentRequiredException"));("details",(CommentContentRequiredException.to_jsone))]|`CommentContentSizeLimitExceededExceptione->`Assoc[("error",(`String"CommentContentSizeLimitExceededException"));("details",(CommentContentSizeLimitExceededException.to_jsone))]|`CommentDoesNotExistExceptione->`Assoc[("error",(`String"CommentDoesNotExistException"));("details",(CommentDoesNotExistException.to_jsone))]|`CommentIdRequiredExceptione->`Assoc[("error",(`String"CommentIdRequiredException"));("details",(CommentIdRequiredException.to_jsone))]|`IdempotencyParameterMismatchExceptione->`Assoc[("error",(`String"IdempotencyParameterMismatchException"));("details",(IdempotencyParameterMismatchException.to_jsone))]|`InvalidClientRequestTokenExceptione->`Assoc[("error",(`String"InvalidClientRequestTokenException"));("details",(InvalidClientRequestTokenException.to_jsone))]|`InvalidCommentIdExceptione->`Assoc[("error",(`String"InvalidCommentIdException"));("details",(InvalidCommentIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inmake?comment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninmake?comment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment in reply to an existing comment on a comparison between commits or a pull request."]modulePostCommentReplyInput=structtypenonrect={inReplyTo:CommentId.t[@ocaml.doc"The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."];content:Content.t[@ocaml.doc"The contents of your reply to a comment."]}letcontext_="PostCommentReplyInput"letmake?clientRequestToken=fun~inReplyTo->fun~content->fun()->{clientRequestToken;inReplyTo;content}letto_valuex=structure_to_value[("inReplyTo",(Some(CommentId.to_valuex.inReplyTo)));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value));("content",(Some(Content.to_valuex.content)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontent=Content.of_xml(Xml.child_exn~context:context_xml_arg0"content")inletclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inletinReplyTo=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"inReplyTo")inmake~content?clientRequestToken~inReplyTo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontent=field_map_exnjson__"content"Content.of_jsoninletclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninletinReplyTo=field_map_exnjson__"inReplyTo"CommentId.of_jsoninmake~content?clientRequestToken~inReplyTo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment in reply to an existing comment on a comparison between commits or a pull request."]modulePostCommentForPullRequestOutput=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where you posted a comment on a pull request."];pullRequestId:PullRequestId.toption[@ocaml.doc"The system-generated ID of the pull request."];beforeCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request."];afterCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the destination branch where the pull request is merged."];beforeBlobId:ObjectId.toption[@ocaml.doc"In the directionality of the pull request, the blob ID of the before blob."];afterBlobId:ObjectId.toption[@ocaml.doc"In the directionality of the pull request, the blob ID of the after blob."];location:Location.toption[@ocaml.doc"The location of the change where you posted your comment."];comment:Comment.toption[@ocaml.doc"The content of the comment you posted."]}typenonrecerror=[`BeforeCommitIdAndAfterCommitIdAreSameExceptionofBeforeCommitIdAndAfterCommitIdAreSameException.t|`ClientRequestTokenRequiredExceptionofClientRequestTokenRequiredException.t|`CommentContentRequiredExceptionofCommentContentRequiredException.t|`CommentContentSizeLimitExceededExceptionofCommentContentSizeLimitExceededException.t|`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitIdRequiredExceptionofCommitIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`IdempotencyParameterMismatchExceptionofIdempotencyParameterMismatchException.t|`InvalidClientRequestTokenExceptionofInvalidClientRequestTokenException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidFileLocationExceptionofInvalidFileLocationException.t|`InvalidFilePositionExceptionofInvalidFilePositionException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRelativeFileVersionEnumExceptionofInvalidRelativeFileVersionEnumException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PathDoesNotExistExceptionofPathDoesNotExistException.t|`PathRequiredExceptionofPathRequiredException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryNotAssociatedWithPullRequestExceptionofRepositoryNotAssociatedWithPullRequestException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryName=fun?pullRequestId->fun?beforeCommitId->fun?afterCommitId->fun?beforeBlobId->fun?afterBlobId->fun?location->fun?comment->fun()->{repositoryName;pullRequestId;beforeCommitId;afterCommitId;beforeBlobId;afterBlobId;location;comment}leterror_of_jsonnamejson=matchnamewith|"BeforeCommitIdAndAfterCommitIdAreSameException"->`BeforeCommitIdAndAfterCommitIdAreSameException(BeforeCommitIdAndAfterCommitIdAreSameException.of_jsonjson)|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_jsonjson)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_jsonjson)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_jsonjson)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_jsonjson)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidFileLocationException"->`InvalidFileLocationException(InvalidFileLocationException.of_jsonjson)|"InvalidFilePositionException"->`InvalidFilePositionException(InvalidFilePositionException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRelativeFileVersionEnumException"->`InvalidRelativeFileVersionEnumException(InvalidRelativeFileVersionEnumException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BeforeCommitIdAndAfterCommitIdAreSameException"->`BeforeCommitIdAndAfterCommitIdAreSameException(BeforeCommitIdAndAfterCommitIdAreSameException.of_xmlxml)|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_xmlxml)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_xmlxml)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_xmlxml)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_xmlxml)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidFileLocationException"->`InvalidFileLocationException(InvalidFileLocationException.of_xmlxml)|"InvalidFilePositionException"->`InvalidFilePositionException(InvalidFilePositionException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRelativeFileVersionEnumException"->`InvalidRelativeFileVersionEnumException(InvalidRelativeFileVersionEnumException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BeforeCommitIdAndAfterCommitIdAreSameExceptione->`Assoc[("error",(`String"BeforeCommitIdAndAfterCommitIdAreSameException"));("details",(BeforeCommitIdAndAfterCommitIdAreSameException.to_jsone))]|`ClientRequestTokenRequiredExceptione->`Assoc[("error",(`String"ClientRequestTokenRequiredException"));("details",(ClientRequestTokenRequiredException.to_jsone))]|`CommentContentRequiredExceptione->`Assoc[("error",(`String"CommentContentRequiredException"));("details",(CommentContentRequiredException.to_jsone))]|`CommentContentSizeLimitExceededExceptione->`Assoc[("error",(`String"CommentContentSizeLimitExceededException"));("details",(CommentContentSizeLimitExceededException.to_jsone))]|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitIdRequiredExceptione->`Assoc[("error",(`String"CommitIdRequiredException"));("details",(CommitIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`IdempotencyParameterMismatchExceptione->`Assoc[("error",(`String"IdempotencyParameterMismatchException"));("details",(IdempotencyParameterMismatchException.to_jsone))]|`InvalidClientRequestTokenExceptione->`Assoc[("error",(`String"InvalidClientRequestTokenException"));("details",(InvalidClientRequestTokenException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidFileLocationExceptione->`Assoc[("error",(`String"InvalidFileLocationException"));("details",(InvalidFileLocationException.to_jsone))]|`InvalidFilePositionExceptione->`Assoc[("error",(`String"InvalidFilePositionException"));("details",(InvalidFilePositionException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRelativeFileVersionEnumExceptione->`Assoc[("error",(`String"InvalidRelativeFileVersionEnumException"));("details",(InvalidRelativeFileVersionEnumException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PathDoesNotExistExceptione->`Assoc[("error",(`String"PathDoesNotExistException"));("details",(PathDoesNotExistException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryNotAssociatedWithPullRequestExceptione->`Assoc[("error",(`String"RepositoryNotAssociatedWithPullRequestException"));("details",(RepositoryNotAssociatedWithPullRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("pullRequestId",(Option.mapx.pullRequestId~f:PullRequestId.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("beforeBlobId",(Option.mapx.beforeBlobId~f:ObjectId.to_value));("afterBlobId",(Option.mapx.afterBlobId~f:ObjectId.to_value));("location",(Option.mapx.location~f:Location.to_value));("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"afterBlobId")inletbeforeBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"beforeBlobId")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletpullRequestId=(Option.map~f:PullRequestId.of_xml)(Xml.childxml_arg0"pullRequestId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?comment?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?pullRequestId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterBlobId=field_mapjson__"afterBlobId"ObjectId.of_jsoninletbeforeBlobId=field_mapjson__"beforeBlobId"ObjectId.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletpullRequestId=field_mapjson__"pullRequestId"PullRequestId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?comment?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?pullRequestId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment on a pull request."]modulePostCommentForPullRequestInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to post a comment on a pull request."];beforeCommitId:CommitId.t[@ocaml.doc"The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created."];afterCommitId:CommitId.t[@ocaml.doc"The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment."];location:Location.toption[@ocaml.doc"The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID."];content:Content.t[@ocaml.doc"The content of your comment on the change."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."]}letcontext_="PostCommentForPullRequestInput"letmake?location=fun?clientRequestToken->fun~pullRequestId->fun~repositoryName->fun~beforeCommitId->fun~afterCommitId->fun~content->fun()->{location;clientRequestToken;pullRequestId;repositoryName;beforeCommitId;afterCommitId;content}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("beforeCommitId",(Some(CommitId.to_valuex.beforeCommitId)));("afterCommitId",(Some(CommitId.to_valuex.afterCommitId)));("location",(Option.mapx.location~f:Location.to_value));("content",(Some(Content.to_valuex.content)));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inletcontent=Content.of_xml(Xml.child_exn~context:context_xml_arg0"content")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterCommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"afterCommitId")inletbeforeCommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"beforeCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?clientRequestToken~content?location~afterCommitId~beforeCommitId~repositoryName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninletcontent=field_map_exnjson__"content"Content.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterCommitId=field_map_exnjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_map_exnjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?clientRequestToken~content?location~afterCommitId~beforeCommitId~repositoryName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment on a pull request."]modulePostCommentForComparedCommitOutput=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository where you posted a comment on the comparison between commits."];beforeCommitId:CommitId.toption[@ocaml.doc"In the directionality you established, the full commit ID of the before commit."];afterCommitId:CommitId.toption[@ocaml.doc"In the directionality you established, the full commit ID of the after commit."];beforeBlobId:ObjectId.toption[@ocaml.doc"In the directionality you established, the blob ID of the before blob."];afterBlobId:ObjectId.toption[@ocaml.doc"In the directionality you established, the blob ID of the after blob."];location:Location.toption[@ocaml.doc"The location of the comment in the comparison between the two commits."];comment:Comment.toption[@ocaml.doc"The content of the comment you posted."]}typenonrecerror=[`BeforeCommitIdAndAfterCommitIdAreSameExceptionofBeforeCommitIdAndAfterCommitIdAreSameException.t|`ClientRequestTokenRequiredExceptionofClientRequestTokenRequiredException.t|`CommentContentRequiredExceptionofCommentContentRequiredException.t|`CommentContentSizeLimitExceededExceptionofCommentContentSizeLimitExceededException.t|`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitIdRequiredExceptionofCommitIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`IdempotencyParameterMismatchExceptionofIdempotencyParameterMismatchException.t|`InvalidClientRequestTokenExceptionofInvalidClientRequestTokenException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidFileLocationExceptionofInvalidFileLocationException.t|`InvalidFilePositionExceptionofInvalidFilePositionException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRelativeFileVersionEnumExceptionofInvalidRelativeFileVersionEnumException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PathDoesNotExistExceptionofPathDoesNotExistException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryName=fun?beforeCommitId->fun?afterCommitId->fun?beforeBlobId->fun?afterBlobId->fun?location->fun?comment->fun()->{repositoryName;beforeCommitId;afterCommitId;beforeBlobId;afterBlobId;location;comment}leterror_of_jsonnamejson=matchnamewith|"BeforeCommitIdAndAfterCommitIdAreSameException"->`BeforeCommitIdAndAfterCommitIdAreSameException(BeforeCommitIdAndAfterCommitIdAreSameException.of_jsonjson)|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_jsonjson)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_jsonjson)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_jsonjson)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_jsonjson)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidFileLocationException"->`InvalidFileLocationException(InvalidFileLocationException.of_jsonjson)|"InvalidFilePositionException"->`InvalidFilePositionException(InvalidFilePositionException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRelativeFileVersionEnumException"->`InvalidRelativeFileVersionEnumException(InvalidRelativeFileVersionEnumException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BeforeCommitIdAndAfterCommitIdAreSameException"->`BeforeCommitIdAndAfterCommitIdAreSameException(BeforeCommitIdAndAfterCommitIdAreSameException.of_xmlxml)|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_xmlxml)|"CommentContentRequiredException"->`CommentContentRequiredException(CommentContentRequiredException.of_xmlxml)|"CommentContentSizeLimitExceededException"->`CommentContentSizeLimitExceededException(CommentContentSizeLimitExceededException.of_xmlxml)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_xmlxml)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidFileLocationException"->`InvalidFileLocationException(InvalidFileLocationException.of_xmlxml)|"InvalidFilePositionException"->`InvalidFilePositionException(InvalidFilePositionException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRelativeFileVersionEnumException"->`InvalidRelativeFileVersionEnumException(InvalidRelativeFileVersionEnumException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BeforeCommitIdAndAfterCommitIdAreSameExceptione->`Assoc[("error",(`String"BeforeCommitIdAndAfterCommitIdAreSameException"));("details",(BeforeCommitIdAndAfterCommitIdAreSameException.to_jsone))]|`ClientRequestTokenRequiredExceptione->`Assoc[("error",(`String"ClientRequestTokenRequiredException"));("details",(ClientRequestTokenRequiredException.to_jsone))]|`CommentContentRequiredExceptione->`Assoc[("error",(`String"CommentContentRequiredException"));("details",(CommentContentRequiredException.to_jsone))]|`CommentContentSizeLimitExceededExceptione->`Assoc[("error",(`String"CommentContentSizeLimitExceededException"));("details",(CommentContentSizeLimitExceededException.to_jsone))]|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitIdRequiredExceptione->`Assoc[("error",(`String"CommitIdRequiredException"));("details",(CommitIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`IdempotencyParameterMismatchExceptione->`Assoc[("error",(`String"IdempotencyParameterMismatchException"));("details",(IdempotencyParameterMismatchException.to_jsone))]|`InvalidClientRequestTokenExceptione->`Assoc[("error",(`String"InvalidClientRequestTokenException"));("details",(InvalidClientRequestTokenException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidFileLocationExceptione->`Assoc[("error",(`String"InvalidFileLocationException"));("details",(InvalidFileLocationException.to_jsone))]|`InvalidFilePositionExceptione->`Assoc[("error",(`String"InvalidFilePositionException"));("details",(InvalidFilePositionException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRelativeFileVersionEnumExceptione->`Assoc[("error",(`String"InvalidRelativeFileVersionEnumException"));("details",(InvalidRelativeFileVersionEnumException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PathDoesNotExistExceptione->`Assoc[("error",(`String"PathDoesNotExistException"));("details",(PathDoesNotExistException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("beforeBlobId",(Option.mapx.beforeBlobId~f:ObjectId.to_value));("afterBlobId",(Option.mapx.afterBlobId~f:ObjectId.to_value));("location",(Option.mapx.location~f:Location.to_value));("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"afterBlobId")inletbeforeBlobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"beforeBlobId")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?comment?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterBlobId=field_mapjson__"afterBlobId"ObjectId.of_jsoninletbeforeBlobId=field_mapjson__"beforeBlobId"ObjectId.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?comment?location?afterBlobId?beforeBlobId?afterCommitId?beforeCommitId?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment on the comparison between two commits."]modulePostCommentForComparedCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to post a comment on the comparison between commits."];beforeCommitId:CommitId.toption[@ocaml.doc"To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit."];afterCommitId:CommitId.t[@ocaml.doc"To establish the directionality of the comparison, the full commit ID of the after commit."];location:Location.toption[@ocaml.doc"The location of the comparison where you want to comment."];content:Content.t[@ocaml.doc"The content of the comment you want to make."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token."]}letcontext_="PostCommentForComparedCommitInput"letmake?beforeCommitId=fun?location->fun?clientRequestToken->fun~repositoryName->fun~afterCommitId->fun~content->fun()->{beforeCommitId;location;clientRequestToken;repositoryName;afterCommitId;content}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Some(CommitId.to_valuex.afterCommitId)));("location",(Option.mapx.location~f:Location.to_value));("content",(Some(Content.to_valuex.content)));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inletcontent=Content.of_xml(Xml.child_exn~context:context_xml_arg0"content")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletafterCommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?clientRequestToken~content?location~afterCommitId?beforeCommitId~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninletcontent=field_map_exnjson__"content"Content.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletafterCommitId=field_map_exnjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?clientRequestToken~content?location~afterCommitId?beforeCommitId~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Posts a comment on the comparison between two commits."]moduleOverrideStatusRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE."]moduleOverridePullRequestApprovalRulesInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest."];revisionId:RevisionId.t[@ocaml.doc"The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest."];overrideStatus:OverrideStatus.t[@ocaml.doc"Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored."]}letcontext_="OverridePullRequestApprovalRulesInput"letmake~pullRequestId=fun~revisionId->fun~overrideStatus->fun()->{pullRequestId;revisionId;overrideStatus}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("revisionId",(Some(RevisionId.to_valuex.revisionId)));("overrideStatus",(Some(OverrideStatus.to_valuex.overrideStatus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoverrideStatus=OverrideStatus.of_xml(Xml.child_exn~context:context_xml_arg0"overrideStatus")inletrevisionId=RevisionId.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~overrideStatus~revisionId~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoverrideStatus=field_map_exnjson__"overrideStatus"OverrideStatus.of_jsoninletrevisionId=field_map_exnjson__"revisionId"RevisionId.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~overrideStatus~revisionId~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sets aside (overrides) all approval rule requirements for a specified pull request."]moduleOverrideAlreadySetException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The pull request has already had its approval rules set to override."]moduleMergePullRequestByThreeWayOutput=structtypenonrect={pullRequest:PullRequest.toption}typenonrecerror=[`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionExceptionofInvalidConflictResolutionException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidReplacementContentExceptionofInvalidReplacementContentException.t|`InvalidReplacementTypeExceptionofInvalidReplacementTypeException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`MaximumConflictResolutionEntriesExceededExceptionofMaximumConflictResolutionEntriesExceededException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MultipleConflictResolutionEntriesExceptionofMultipleConflictResolutionEntriesException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`PathRequiredExceptionofPathRequiredException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestApprovalRulesNotSatisfiedExceptionofPullRequestApprovalRulesNotSatisfiedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`ReplacementContentRequiredExceptionofReplacementContentRequiredException.t|`ReplacementTypeRequiredExceptionofReplacementTypeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryNotAssociatedWithPullRequestExceptionofRepositoryNotAssociatedWithPullRequestException.t|`TipOfSourceReferenceIsDifferentExceptionofTipOfSourceReferenceIsDifferentException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_jsonjson)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_jsonjson)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_jsonjson)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_xmlxml)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_xmlxml)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_xmlxml)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionExceptione->`Assoc[("error",(`String"InvalidConflictResolutionException"));("details",(InvalidConflictResolutionException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidReplacementContentExceptione->`Assoc[("error",(`String"InvalidReplacementContentException"));("details",(InvalidReplacementContentException.to_jsone))]|`InvalidReplacementTypeExceptione->`Assoc[("error",(`String"InvalidReplacementTypeException"));("details",(InvalidReplacementTypeException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`MaximumConflictResolutionEntriesExceededExceptione->`Assoc[("error",(`String"MaximumConflictResolutionEntriesExceededException"));("details",(MaximumConflictResolutionEntriesExceededException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MultipleConflictResolutionEntriesExceptione->`Assoc[("error",(`String"MultipleConflictResolutionEntriesException"));("details",(MultipleConflictResolutionEntriesException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestApprovalRulesNotSatisfiedExceptione->`Assoc[("error",(`String"PullRequestApprovalRulesNotSatisfiedException"));("details",(PullRequestApprovalRulesNotSatisfiedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`ReplacementContentRequiredExceptione->`Assoc[("error",(`String"ReplacementContentRequiredException"));("details",(ReplacementContentRequiredException.to_jsone))]|`ReplacementTypeRequiredExceptione->`Assoc[("error",(`String"ReplacementTypeRequiredException"));("details",(ReplacementTypeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryNotAssociatedWithPullRequestExceptione->`Assoc[("error",(`String"RepositoryNotAssociatedWithPullRequestException"));("details",(RepositoryNotAssociatedWithPullRequestException.to_jsone))]|`TipOfSourceReferenceIsDifferentExceptione->`Assoc[("error",(`String"TipOfSourceReferenceIsDifferentException"));("details",(TipOfSourceReferenceIsDifferentException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request."]moduleMergePullRequestByThreeWayInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where the pull request was created."];sourceCommitId:ObjectId.toption[@ocaml.doc"The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];commitMessage:Message.toption[@ocaml.doc"The commit message to include in the commit information for the merge."];authorName:Name.toption[@ocaml.doc"The name of the author who created the commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address of the person merging the branches. This information is used in the commit information for the merge."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false."];conflictResolution:ConflictResolution.toption[@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]}letcontext_="MergePullRequestByThreeWayInput"letmake?sourceCommitId=fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?commitMessage->fun?authorName->fun?email->fun?keepEmptyFolders->fun?conflictResolution->fun~pullRequestId->fun~repositoryName->fun()->{sourceCommitId;conflictDetailLevel;conflictResolutionStrategy;commitMessage;authorName;email;keepEmptyFolders;conflictResolution;pullRequestId;repositoryName}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("conflictResolution",(Option.mapx.conflictResolution~f:ConflictResolution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolution=(Option.map~f:ConflictResolution.of_xml)(Xml.childxml_arg0"conflictResolution")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?conflictResolution?keepEmptyFolders?email?authorName?commitMessage?conflictResolutionStrategy?conflictDetailLevel?sourceCommitId~repositoryName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolution=field_mapjson__"conflictResolution"ConflictResolution.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?conflictResolution?keepEmptyFolders?email?authorName?commitMessage?conflictResolutionStrategy?conflictDetailLevel?sourceCommitId~repositoryName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request."]moduleMergePullRequestBySquashOutput=structtypenonrect={pullRequest:PullRequest.toption}typenonrecerror=[`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionExceptionofInvalidConflictResolutionException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidReplacementContentExceptionofInvalidReplacementContentException.t|`InvalidReplacementTypeExceptionofInvalidReplacementTypeException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`MaximumConflictResolutionEntriesExceededExceptionofMaximumConflictResolutionEntriesExceededException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MultipleConflictResolutionEntriesExceptionofMultipleConflictResolutionEntriesException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`PathRequiredExceptionofPathRequiredException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestApprovalRulesNotSatisfiedExceptionofPullRequestApprovalRulesNotSatisfiedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`ReplacementContentRequiredExceptionofReplacementContentRequiredException.t|`ReplacementTypeRequiredExceptionofReplacementTypeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryNotAssociatedWithPullRequestExceptionofRepositoryNotAssociatedWithPullRequestException.t|`TipOfSourceReferenceIsDifferentExceptionofTipOfSourceReferenceIsDifferentException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_jsonjson)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_jsonjson)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_jsonjson)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_xmlxml)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_xmlxml)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_xmlxml)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionExceptione->`Assoc[("error",(`String"InvalidConflictResolutionException"));("details",(InvalidConflictResolutionException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidReplacementContentExceptione->`Assoc[("error",(`String"InvalidReplacementContentException"));("details",(InvalidReplacementContentException.to_jsone))]|`InvalidReplacementTypeExceptione->`Assoc[("error",(`String"InvalidReplacementTypeException"));("details",(InvalidReplacementTypeException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`MaximumConflictResolutionEntriesExceededExceptione->`Assoc[("error",(`String"MaximumConflictResolutionEntriesExceededException"));("details",(MaximumConflictResolutionEntriesExceededException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MultipleConflictResolutionEntriesExceptione->`Assoc[("error",(`String"MultipleConflictResolutionEntriesException"));("details",(MultipleConflictResolutionEntriesException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestApprovalRulesNotSatisfiedExceptione->`Assoc[("error",(`String"PullRequestApprovalRulesNotSatisfiedException"));("details",(PullRequestApprovalRulesNotSatisfiedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`ReplacementContentRequiredExceptione->`Assoc[("error",(`String"ReplacementContentRequiredException"));("details",(ReplacementContentRequiredException.to_jsone))]|`ReplacementTypeRequiredExceptione->`Assoc[("error",(`String"ReplacementTypeRequiredException"));("details",(ReplacementTypeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryNotAssociatedWithPullRequestExceptione->`Assoc[("error",(`String"RepositoryNotAssociatedWithPullRequestException"));("details",(RepositoryNotAssociatedWithPullRequestException.to_jsone))]|`TipOfSourceReferenceIsDifferentExceptione->`Assoc[("error",(`String"TipOfSourceReferenceIsDifferentException"));("details",(TipOfSourceReferenceIsDifferentException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request."]moduleMergePullRequestBySquashInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where the pull request was created."];sourceCommitId:ObjectId.toption[@ocaml.doc"The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];commitMessage:Message.toption[@ocaml.doc"The commit message to include in the commit information for the merge."];authorName:Name.toption[@ocaml.doc"The name of the author who created the commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address of the person merging the branches. This information is used in the commit information for the merge."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false."];conflictResolution:ConflictResolution.toption[@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]}letcontext_="MergePullRequestBySquashInput"letmake?sourceCommitId=fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?commitMessage->fun?authorName->fun?email->fun?keepEmptyFolders->fun?conflictResolution->fun~pullRequestId->fun~repositoryName->fun()->{sourceCommitId;conflictDetailLevel;conflictResolutionStrategy;commitMessage;authorName;email;keepEmptyFolders;conflictResolution;pullRequestId;repositoryName}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("conflictResolution",(Option.mapx.conflictResolution~f:ConflictResolution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolution=(Option.map~f:ConflictResolution.of_xml)(Xml.childxml_arg0"conflictResolution")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?conflictResolution?keepEmptyFolders?email?authorName?commitMessage?conflictResolutionStrategy?conflictDetailLevel?sourceCommitId~repositoryName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolution=field_mapjson__"conflictResolution"ConflictResolution.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?conflictResolution?keepEmptyFolders?email?authorName?commitMessage?conflictResolutionStrategy?conflictDetailLevel?sourceCommitId~repositoryName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request."]moduleMergePullRequestByFastForwardOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the specified pull request, including the merge."]}typenonrecerror=[`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestApprovalRulesNotSatisfiedExceptionofPullRequestApprovalRulesNotSatisfiedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`ReferenceDoesNotExistExceptionofReferenceDoesNotExistException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryNotAssociatedWithPullRequestExceptionofRepositoryNotAssociatedWithPullRequestException.t|`TipOfSourceReferenceIsDifferentExceptionofTipOfSourceReferenceIsDifferentException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"ReferenceDoesNotExistException"->`ReferenceDoesNotExistException(ReferenceDoesNotExistException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_jsonjson)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestApprovalRulesNotSatisfiedException"->`PullRequestApprovalRulesNotSatisfiedException(PullRequestApprovalRulesNotSatisfiedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"ReferenceDoesNotExistException"->`ReferenceDoesNotExistException(ReferenceDoesNotExistException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_xmlxml)|"TipOfSourceReferenceIsDifferentException"->`TipOfSourceReferenceIsDifferentException(TipOfSourceReferenceIsDifferentException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestApprovalRulesNotSatisfiedExceptione->`Assoc[("error",(`String"PullRequestApprovalRulesNotSatisfiedException"));("details",(PullRequestApprovalRulesNotSatisfiedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`ReferenceDoesNotExistExceptione->`Assoc[("error",(`String"ReferenceDoesNotExistException"));("details",(ReferenceDoesNotExistException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryNotAssociatedWithPullRequestExceptione->`Assoc[("error",(`String"RepositoryNotAssociatedWithPullRequestException"));("details",(RepositoryNotAssociatedWithPullRequestException.to_jsone))]|`TipOfSourceReferenceIsDifferentExceptione->`Assoc[("error",(`String"TipOfSourceReferenceIsDifferentException"));("details",(TipOfSourceReferenceIsDifferentException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request."]moduleMergePullRequestByFastForwardInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where the pull request was created."];sourceCommitId:ObjectId.toption[@ocaml.doc"The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID."]}letcontext_="MergePullRequestByFastForwardInput"letmake?sourceCommitId=fun~pullRequestId->fun~repositoryName->fun()->{sourceCommitId;pullRequestId;repositoryName}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?sourceCommitId~repositoryName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?sourceCommitId~repositoryName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request."]moduleMergeBranchesByThreeWayOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge in the destination or target branch."];treeId:ObjectId.toption[@ocaml.doc"The tree ID of the merge in the destination or target branch."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`CommitRequiredExceptionofCommitRequiredException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FileModeRequiredExceptionofFileModeRequiredException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionExceptionofInvalidConflictResolutionException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidReplacementContentExceptionofInvalidReplacementContentException.t|`InvalidReplacementTypeExceptionofInvalidReplacementTypeException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidTargetBranchExceptionofInvalidTargetBranchException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`MaximumConflictResolutionEntriesExceededExceptionofMaximumConflictResolutionEntriesExceededException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MultipleConflictResolutionEntriesExceptionofMultipleConflictResolutionEntriesException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`PathRequiredExceptionofPathRequiredException.t|`ReplacementContentRequiredExceptionofReplacementContentRequiredException.t|`ReplacementTypeRequiredExceptionofReplacementTypeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?treeId->fun()->{commitId;treeId}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_jsonjson)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_jsonjson)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_xmlxml)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_xmlxml)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FileModeRequiredExceptione->`Assoc[("error",(`String"FileModeRequiredException"));("details",(FileModeRequiredException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionExceptione->`Assoc[("error",(`String"InvalidConflictResolutionException"));("details",(InvalidConflictResolutionException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidReplacementContentExceptione->`Assoc[("error",(`String"InvalidReplacementContentException"));("details",(InvalidReplacementContentException.to_jsone))]|`InvalidReplacementTypeExceptione->`Assoc[("error",(`String"InvalidReplacementTypeException"));("details",(InvalidReplacementTypeException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidTargetBranchExceptione->`Assoc[("error",(`String"InvalidTargetBranchException"));("details",(InvalidTargetBranchException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`MaximumConflictResolutionEntriesExceededExceptione->`Assoc[("error",(`String"MaximumConflictResolutionEntriesExceededException"));("details",(MaximumConflictResolutionEntriesExceededException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MultipleConflictResolutionEntriesExceptione->`Assoc[("error",(`String"MultipleConflictResolutionEntriesException"));("details",(MultipleConflictResolutionEntriesException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`ReplacementContentRequiredExceptione->`Assoc[("error",(`String"ReplacementContentRequiredException"));("details",(ReplacementContentRequiredException.to_jsone))]|`ReplacementTypeRequiredExceptione->`Assoc[("error",(`String"ReplacementTypeRequiredException"));("details",(ReplacementTypeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two specified branches using the three-way merge strategy."]moduleMergeBranchesByThreeWayInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to merge two branches."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];targetBranch:BranchName.toption[@ocaml.doc"The branch where the merge is applied."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];authorName:Name.toption[@ocaml.doc"The name of the author who created the commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address of the person merging the branches. This information is used in the commit information for the merge."];commitMessage:Message.toption[@ocaml.doc"The commit message to include in the commit information for the merge."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false."];conflictResolution:ConflictResolution.toption[@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]}letcontext_="MergeBranchesByThreeWayInput"letmake?targetBranch=fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?authorName->fun?email->fun?commitMessage->fun?keepEmptyFolders->fun?conflictResolution->fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun()->{targetBranch;conflictDetailLevel;conflictResolutionStrategy;authorName;email;commitMessage;keepEmptyFolders;conflictResolution;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("targetBranch",(Option.mapx.targetBranch~f:BranchName.to_value));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("conflictResolution",(Option.mapx.conflictResolution~f:ConflictResolution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolution=(Option.map~f:ConflictResolution.of_xml)(Xml.childxml_arg0"conflictResolution")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inlettargetBranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"targetBranch")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolution=field_mapjson__"conflictResolution"ConflictResolution.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninlettargetBranch=field_mapjson__"targetBranch"BranchName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two specified branches using the three-way merge strategy."]moduleMergeBranchesBySquashOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge in the destination or target branch."];treeId:ObjectId.toption[@ocaml.doc"The tree ID of the merge in the destination or target branch."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`CommitRequiredExceptionofCommitRequiredException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FileModeRequiredExceptionofFileModeRequiredException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionExceptionofInvalidConflictResolutionException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidReplacementContentExceptionofInvalidReplacementContentException.t|`InvalidReplacementTypeExceptionofInvalidReplacementTypeException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidTargetBranchExceptionofInvalidTargetBranchException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`MaximumConflictResolutionEntriesExceededExceptionofMaximumConflictResolutionEntriesExceededException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MultipleConflictResolutionEntriesExceptionofMultipleConflictResolutionEntriesException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`PathRequiredExceptionofPathRequiredException.t|`ReplacementContentRequiredExceptionofReplacementContentRequiredException.t|`ReplacementTypeRequiredExceptionofReplacementTypeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?treeId->fun()->{commitId;treeId}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_jsonjson)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_jsonjson)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_xmlxml)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_xmlxml)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FileModeRequiredExceptione->`Assoc[("error",(`String"FileModeRequiredException"));("details",(FileModeRequiredException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionExceptione->`Assoc[("error",(`String"InvalidConflictResolutionException"));("details",(InvalidConflictResolutionException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidReplacementContentExceptione->`Assoc[("error",(`String"InvalidReplacementContentException"));("details",(InvalidReplacementContentException.to_jsone))]|`InvalidReplacementTypeExceptione->`Assoc[("error",(`String"InvalidReplacementTypeException"));("details",(InvalidReplacementTypeException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidTargetBranchExceptione->`Assoc[("error",(`String"InvalidTargetBranchException"));("details",(InvalidTargetBranchException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`MaximumConflictResolutionEntriesExceededExceptione->`Assoc[("error",(`String"MaximumConflictResolutionEntriesExceededException"));("details",(MaximumConflictResolutionEntriesExceededException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MultipleConflictResolutionEntriesExceptione->`Assoc[("error",(`String"MultipleConflictResolutionEntriesException"));("details",(MultipleConflictResolutionEntriesException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`ReplacementContentRequiredExceptione->`Assoc[("error",(`String"ReplacementContentRequiredException"));("details",(ReplacementContentRequiredException.to_jsone))]|`ReplacementTypeRequiredExceptione->`Assoc[("error",(`String"ReplacementTypeRequiredException"));("details",(ReplacementTypeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two branches using the squash merge strategy."]moduleMergeBranchesBySquashInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to merge two branches."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];targetBranch:BranchName.toption[@ocaml.doc"The branch where the merge is applied."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];authorName:Name.toption[@ocaml.doc"The name of the author who created the commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address of the person merging the branches. This information is used in the commit information for the merge."];commitMessage:Message.toption[@ocaml.doc"The commit message for the merge."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false."];conflictResolution:ConflictResolution.toption[@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]}letcontext_="MergeBranchesBySquashInput"letmake?targetBranch=fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?authorName->fun?email->fun?commitMessage->fun?keepEmptyFolders->fun?conflictResolution->fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun()->{targetBranch;conflictDetailLevel;conflictResolutionStrategy;authorName;email;commitMessage;keepEmptyFolders;conflictResolution;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("targetBranch",(Option.mapx.targetBranch~f:BranchName.to_value));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("conflictResolution",(Option.mapx.conflictResolution~f:ConflictResolution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolution=(Option.map~f:ConflictResolution.of_xml)(Xml.childxml_arg0"conflictResolution")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inlettargetBranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"targetBranch")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolution=field_mapjson__"conflictResolution"ConflictResolution.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninlettargetBranch=field_mapjson__"targetBranch"BranchName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two branches using the squash merge strategy."]moduleMergeBranchesByFastForwardOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge in the destination or target branch."];treeId:ObjectId.toption[@ocaml.doc"The tree ID of the merge in the destination or target branch."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidTargetBranchExceptionofInvalidTargetBranchException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?treeId->fun()->{commitId;treeId}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidTargetBranchException"->`InvalidTargetBranchException(InvalidTargetBranchException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidTargetBranchExceptione->`Assoc[("error",(`String"InvalidTargetBranchException"));("details",(InvalidTargetBranchException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two branches using the fast-forward merge strategy."]moduleMergeBranchesByFastForwardInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to merge two branches."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];targetBranch:BranchName.toption[@ocaml.doc"The branch where the merge is applied."]}letcontext_="MergeBranchesByFastForwardInput"letmake?targetBranch=fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun()->{targetBranch;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("targetBranch",(Option.mapx.targetBranch~f:BranchName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetBranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"targetBranch")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetBranch=field_mapjson__"targetBranch"BranchName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?targetBranch~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Merges two branches using the fast-forward merge strategy."]moduleMaximumRuleTemplatesAssociatedWithRepositoryException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25 approval rule templates with a repository."]moduleMaximumNumberOfApprovalsExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of approvals required for the approval rule exceeds the maximum number allowed."]moduleListTagsForResourceOutput=structtypenonrect={tags:TagsMap.toption[@ocaml.doc"A list of tag key and value pairs associated with the specified resource."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidResourceArnExceptionofInvalidResourceArnException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`ResourceArnRequiredExceptionofResourceArnRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun?nextToken->fun()->{tags;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidResourceArnException"->`InvalidResourceArnException(InvalidResourceArnException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"ResourceArnRequiredException"->`ResourceArnRequiredException(ResourceArnRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidResourceArnException"->`InvalidResourceArnException(InvalidResourceArnException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"ResourceArnRequiredException"->`ResourceArnRequiredException(ResourceArnRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidResourceArnExceptione->`Assoc[("error",(`String"InvalidResourceArnException"));("details",(InvalidResourceArnException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`ResourceArnRequiredExceptione->`Assoc[("error",(`String"ResourceArnRequiredException"));("details",(ResourceArnRequiredException.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:TagsMap.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inlettags=(Option.map~f:TagsMap.of_xml)(Xml.childxml_arg0"tags")inmake?nextToken?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninlettags=field_mapjson__"tags"TagsMap.of_jsoninmake?nextToken?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleListTagsForResourceInput=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letcontext_="ListTagsForResourceInput"letmake?nextToken=fun~resourceArn->fun()->{nextToken;resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake?nextToken~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"ResourceArn.of_jsoninmake?nextToken~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide."]moduleListRepositoriesOutput=structtypenonrect={repositories:RepositoryNameIdPairList.toption[@ocaml.doc"Lists the repositories called by the list repositories operation."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved."]}typenonrecerror=[`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidOrderExceptionofInvalidOrderException.t|`InvalidSortByExceptionofInvalidSortByException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositories=fun?nextToken->fun()->{repositories;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidOrderException"->`InvalidOrderException(InvalidOrderException.of_jsonjson)|"InvalidSortByException"->`InvalidSortByException(InvalidSortByException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidOrderException"->`InvalidOrderException(InvalidOrderException.of_xmlxml)|"InvalidSortByException"->`InvalidSortByException(InvalidSortByException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidOrderExceptione->`Assoc[("error",(`String"InvalidOrderException"));("details",(InvalidOrderException.to_jsone))]|`InvalidSortByExceptione->`Assoc[("error",(`String"InvalidSortByException"));("details",(InvalidSortByException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositories",(Option.mapx.repositories~f:RepositoryNameIdPairList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletrepositories=(Option.map~f:RepositoryNameIdPairList.of_xml)(Xml.childxml_arg0"repositories")inmake?nextToken?repositories()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositories=field_mapjson__"repositories"RepositoryNameIdPairList.of_jsoninmake?nextToken?repositories()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a list repositories operation."]moduleListRepositoriesInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved."];sortBy:SortByEnum.toption[@ocaml.doc"The criteria used to sort the results of a list repositories operation."];order:OrderEnum.toption[@ocaml.doc"The order in which to sort the results of a list repositories operation."]}letmake?nextToken=fun?sortBy->fun?order->fun()->{nextToken;sortBy;order}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("sortBy",(Option.mapx.sortBy~f:SortByEnum.to_value));("order",(Option.mapx.order~f:OrderEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorder=(Option.map~f:OrderEnum.of_xml)(Xml.childxml_arg0"order")inletsortBy=(Option.map~f:SortByEnum.of_xml)(Xml.childxml_arg0"sortBy")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?order?sortBy?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorder=field_mapjson__"order"OrderEnum.of_jsoninletsortBy=field_mapjson__"sortBy"SortByEnum.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninmake?order?sortBy?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a list repositories operation."]moduleListRepositoriesForApprovalRuleTemplateOutput=structtypenonrect={repositoryNames:RepositoryNameList.toption[@ocaml.doc"A list of repository names that are associated with the specified approval rule template."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryNames=fun?nextToken->fun()->{repositoryNames;nextToken}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryNames",(Option.mapx.repositoryNames~f:RepositoryNameList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletrepositoryNames=(Option.map~f:RepositoryNameList.of_xml)(Xml.childxml_arg0"repositoryNames")inmake?nextToken?repositoryNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositoryNames=field_mapjson__"repositoryNames"RepositoryNameList.of_jsoninmake?nextToken?repositoryNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all repositories associated with the specified approval rule template."]moduleListRepositoriesForApprovalRuleTemplateInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template for which you want to list repositories that are associated with that template."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."]}letcontext_="ListRepositoriesForApprovalRuleTemplateInput"letmake?nextToken=fun?maxResults->fun~approvalRuleTemplateName->fun()->{nextToken;maxResults;approvalRuleTemplateName}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake?maxResults?nextToken~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake?maxResults?nextToken~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all repositories associated with the specified approval rule template."]moduleListPullRequestsOutput=structtypenonrect={pullRequestIds:PullRequestIdList.toption[@ocaml.doc"The system-generated IDs of the pull requests."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`AuthorDoesNotExistExceptionofAuthorDoesNotExistException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidAuthorArnExceptionofInvalidAuthorArnException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidPullRequestStatusExceptionofInvalidPullRequestStatusException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequestIds=fun?nextToken->fun()->{pullRequestIds;nextToken}leterror_of_jsonnamejson=matchnamewith|"AuthorDoesNotExistException"->`AuthorDoesNotExistException(AuthorDoesNotExistException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidAuthorArnException"->`InvalidAuthorArnException(InvalidAuthorArnException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidPullRequestStatusException"->`InvalidPullRequestStatusException(InvalidPullRequestStatusException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorDoesNotExistException"->`AuthorDoesNotExistException(AuthorDoesNotExistException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidAuthorArnException"->`InvalidAuthorArnException(InvalidAuthorArnException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidPullRequestStatusException"->`InvalidPullRequestStatusException(InvalidPullRequestStatusException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorDoesNotExistExceptione->`Assoc[("error",(`String"AuthorDoesNotExistException"));("details",(AuthorDoesNotExistException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidAuthorArnExceptione->`Assoc[("error",(`String"InvalidAuthorArnException"));("details",(InvalidAuthorArnException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidPullRequestStatusExceptione->`Assoc[("error",(`String"InvalidPullRequestStatusException"));("details",(InvalidPullRequestStatusException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequestIds",(Option.mapx.pullRequestIds~f:PullRequestIdList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletpullRequestIds=(Option.map~f:PullRequestIdList.of_xml)(Xml.childxml_arg0"pullRequestIds")inmake?nextToken?pullRequestIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletpullRequestIds=field_mapjson__"pullRequestIds"PullRequestIdList.of_jsoninmake?nextToken?pullRequestIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN."]moduleListPullRequestsInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository for which you want to list pull requests."];authorArn:Arn.toption[@ocaml.doc"Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user."];pullRequestStatus:PullRequestStatusEnum.toption[@ocaml.doc"Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."]}letcontext_="ListPullRequestsInput"letmake?authorArn=fun?pullRequestStatus->fun?nextToken->fun?maxResults->fun~repositoryName->fun()->{authorArn;pullRequestStatus;nextToken;maxResults;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("authorArn",(Option.mapx.authorArn~f:Arn.to_value));("pullRequestStatus",(Option.mapx.pullRequestStatus~f:PullRequestStatusEnum.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletpullRequestStatus=(Option.map~f:PullRequestStatusEnum.of_xml)(Xml.childxml_arg0"pullRequestStatus")inletauthorArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"authorArn")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?maxResults?nextToken?pullRequestStatus?authorArn~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletpullRequestStatus=field_mapjson__"pullRequestStatus"PullRequestStatusEnum.of_jsoninletauthorArn=field_mapjson__"authorArn"Arn.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?maxResults?nextToken?pullRequestStatus?authorArn~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN."]moduleListFileCommitHistoryResponse=structtypenonrect={revisionDag:RevisionDag.toption[@ocaml.doc"An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used to return the next batch of results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?revisionDag=fun?nextToken->fun()->{revisionDag;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("revisionDag",(Option.mapx.revisionDag~f:RevisionDag.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletrevisionDag=(Option.map~f:RevisionDag.of_xml)(Xml.childxml_arg0"revisionDag")inmake?nextToken?revisionDag()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrevisionDag=field_mapjson__"revisionDag"RevisionDag.of_jsoninmake?nextToken?revisionDag()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of commits and changes to a specified file."]moduleListFileCommitHistoryRequest=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the file."];commitSpecifier:CommitName.toption[@ocaml.doc"The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used."];filePath:Path.t[@ocaml.doc"The full path of the file whose history you want to retrieve, including the name of the file."];maxResults:Limit.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results."]}letcontext_="ListFileCommitHistoryRequest"letmake?commitSpecifier=fun?maxResults->fun?nextToken->fun~repositoryName->fun~filePath->fun()->{commitSpecifier;maxResults;nextToken;repositoryName;filePath}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("commitSpecifier",(Option.mapx.commitSpecifier~f:CommitName.to_value));("filePath",(Some(Path.to_valuex.filePath)));("maxResults",(Option.mapx.maxResults~f:Limit.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:Limit.of_xml)(Xml.childxml_arg0"maxResults")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inletcommitSpecifier=(Option.map~f:CommitName.of_xml)(Xml.childxml_arg0"commitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken?maxResults~filePath?commitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"Limit.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninletcommitSpecifier=field_mapjson__"commitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken?maxResults~filePath?commitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of commits and changes to a specified file."]moduleListBranchesOutput=structtypenonrect={branches:BranchNameList.toption[@ocaml.doc"The list of branch names."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that returns the batch of the results."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?branches=fun?nextToken->fun()->{branches;nextToken}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("branches",(Option.mapx.branches~f:BranchNameList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletbranches=(Option.map~f:BranchNameList.of_xml)(Xml.childxml_arg0"branches")inmake?nextToken?branches()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletbranches=field_mapjson__"branches"BranchNameList.of_jsoninmake?nextToken?branches()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a list branches operation."]moduleListBranchesInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the branches."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results."]}letcontext_="ListBranchesInput"letmake?nextToken=fun~repositoryName->fun()->{nextToken;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a list branches operation."]moduleListAssociatedApprovalRuleTemplatesForRepositoryOutput=structtypenonrect={approvalRuleTemplateNames:ApprovalRuleTemplateNameList.toption[@ocaml.doc"The names of all approval rule templates associated with the repository."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplateNames=fun?nextToken->fun()->{approvalRuleTemplateNames;nextToken}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplateNames",(Option.mapx.approvalRuleTemplateNames~f:ApprovalRuleTemplateNameList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletapprovalRuleTemplateNames=(Option.map~f:ApprovalRuleTemplateNameList.of_xml)(Xml.childxml_arg0"approvalRuleTemplateNames")inmake?nextToken?approvalRuleTemplateNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletapprovalRuleTemplateNames=field_mapjson__"approvalRuleTemplateNames"ApprovalRuleTemplateNameList.of_jsoninmake?nextToken?approvalRuleTemplateNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all approval rule templates that are associated with a specified repository."]moduleListAssociatedApprovalRuleTemplatesForRepositoryInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository for which you want to list all associated approval rule templates."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."]}letcontext_="ListAssociatedApprovalRuleTemplatesForRepositoryInput"letmake?nextToken=fun?maxResults->fun~repositoryName->fun()->{nextToken;maxResults;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?maxResults?nextToken~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?maxResults?nextToken~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all approval rule templates that are associated with a specified repository."]moduleListApprovalRuleTemplatesOutput=structtypenonrect={approvalRuleTemplateNames:ApprovalRuleTemplateNameList.toption[@ocaml.doc"The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplateNames=fun?nextToken->fun()->{approvalRuleTemplateNames;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplateNames",(Option.mapx.approvalRuleTemplateNames~f:ApprovalRuleTemplateNameList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletapprovalRuleTemplateNames=(Option.map~f:ApprovalRuleTemplateNameList.of_xml)(Xml.childxml_arg0"approvalRuleTemplateNames")inmake?nextToken?approvalRuleTemplateNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletapprovalRuleTemplateNames=field_mapjson__"approvalRuleTemplateNames"ApprovalRuleTemplateNameList.of_jsoninmake?nextToken?approvalRuleTemplateNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used."]moduleListApprovalRuleTemplatesInput=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used."]moduleInvalidTagKeysListException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The list of tags is not valid."]moduleInvalidReactionValueException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The value of the reaction is not valid. For more information, see the CodeCommit User Guide."]moduleInvalidOverrideStatusException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The override status is not valid. Valid statuses are OVERRIDE and REVOKE."]moduleInvalidApprovalStateException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The state for the approval is not valid. Valid values include APPROVE and REVOKE."]moduleGetRepositoryTriggersOutput=structtypenonrect={configurationId:RepositoryTriggersConfigurationId.toption[@ocaml.doc"The system-generated unique ID for the trigger."];triggers:RepositoryTriggersList.toption[@ocaml.doc"The JSON block of configuration information for each trigger."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?configurationId=fun?triggers->fun()->{configurationId;triggers}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("configurationId",(Option.mapx.configurationId~f:RepositoryTriggersConfigurationId.to_value));("triggers",(Option.mapx.triggers~f:RepositoryTriggersList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggers=(Option.map~f:RepositoryTriggersList.of_xml)(Xml.childxml_arg0"triggers")inletconfigurationId=(Option.map~f:RepositoryTriggersConfigurationId.of_xml)(Xml.childxml_arg0"configurationId")inmake?triggers?configurationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggers=field_mapjson__"triggers"RepositoryTriggersList.of_jsoninletconfigurationId=field_mapjson__"configurationId"RepositoryTriggersConfigurationId.of_jsoninmake?triggers?configurationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a get repository triggers operation."]moduleGetRepositoryTriggersInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository for which the trigger is configured."]}letcontext_="GetRepositoryTriggersInput"letmake~repositoryName=fun()->{repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a get repository triggers operation."]moduleGetRepositoryOutput=structtypenonrect={repositoryMetadata:RepositoryMetadata.toption[@ocaml.doc"Information about the repository."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryMetadata=fun()->{repositoryMetadata}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryMetadata",(Option.mapx.repositoryMetadata~f:RepositoryMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryMetadata=(Option.map~f:RepositoryMetadata.of_xml)(Xml.childxml_arg0"repositoryMetadata")inmake?repositoryMetadata()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryMetadata=field_mapjson__"repositoryMetadata"RepositoryMetadata.of_jsoninmake?repositoryMetadata()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a get repository operation."]moduleGetRepositoryInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to get information about."]}letcontext_="GetRepositoryInput"letmake~repositoryName=fun()->{repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a get repository operation."]moduleGetPullRequestOverrideStateOutput=structtypenonrect={overridden:Overridden.toption[@ocaml.doc"A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE)."];overrider:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRevisionIdExceptionofInvalidRevisionIdException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`RevisionIdRequiredExceptionofRevisionIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?overridden=fun?overrider->fun()->{overridden;overrider}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRevisionIdExceptione->`Assoc[("error",(`String"InvalidRevisionIdException"));("details",(InvalidRevisionIdException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`RevisionIdRequiredExceptione->`Assoc[("error",(`String"RevisionIdRequiredException"));("details",(RevisionIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("overridden",(Option.mapx.overridden~f:Overridden.to_value));("overrider",(Option.mapx.overrider~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoverrider=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"overrider")inletoverridden=(Option.map~f:Overridden.of_xml)(Xml.childxml_arg0"overridden")inmake?overrider?overridden()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoverrider=field_mapjson__"overrider"Arn.of_jsoninletoverridden=field_mapjson__"overridden"Overridden.of_jsoninmake?overrider?overridden()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request."]moduleGetPullRequestOverrideStateInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden)."];revisionId:RevisionId.t[@ocaml.doc"The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest."]}letcontext_="GetPullRequestOverrideStateInput"letmake~pullRequestId=fun~revisionId->fun()->{pullRequestId;revisionId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("revisionId",(Some(RevisionId.to_valuex.revisionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionId=RevisionId.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~revisionId~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionId=field_map_exnjson__"revisionId"RevisionId.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~revisionId~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request."]moduleGetPullRequestOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the specified pull request."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a pull request in a specified repository."]moduleGetPullRequestInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."]}letcontext_="GetPullRequestInput"letmake~pullRequestId=fun()->{pullRequestId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a pull request in a specified repository."]moduleGetPullRequestApprovalStatesOutput=structtypenonrect={approvals:ApprovalList.toption[@ocaml.doc"Information about users who have approved the pull request."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRevisionIdExceptionofInvalidRevisionIdException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`RevisionIdRequiredExceptionofRevisionIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvals=fun()->{approvals}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRevisionIdExceptione->`Assoc[("error",(`String"InvalidRevisionIdException"));("details",(InvalidRevisionIdException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`RevisionIdRequiredExceptione->`Assoc[("error",(`String"RevisionIdRequiredException"));("details",(RevisionIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvals",(Option.mapx.approvals~f:ApprovalList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovals=(Option.map~f:ApprovalList.of_xml)(Xml.childxml_arg0"approvals")inmake?approvals()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovals=field_mapjson__"approvals"ApprovalList.of_jsoninmake?approvals()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them."]moduleGetPullRequestApprovalStatesInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID for the pull request."];revisionId:RevisionId.t[@ocaml.doc"The system-generated ID for the pull request revision."]}letcontext_="GetPullRequestApprovalStatesInput"letmake~pullRequestId=fun~revisionId->fun()->{pullRequestId;revisionId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("revisionId",(Some(RevisionId.to_valuex.revisionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionId=RevisionId.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~revisionId~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionId=field_map_exnjson__"revisionId"RevisionId.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~revisionId~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them."]moduleGetMergeOptionsOutput=structtypenonrect={mergeOptions:MergeOptions.toption[@ocaml.doc"The merge option or strategy used to merge the code."];sourceCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the source commit specifier that was used in the merge evaluation."];destinationCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the destination commit specifier that was used in the merge evaluation."];baseCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge base."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?mergeOptions=fun?sourceCommitId->fun?destinationCommitId->fun?baseCommitId->fun()->{mergeOptions;sourceCommitId;destinationCommitId;baseCommitId}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("mergeOptions",(Option.mapx.mergeOptions~f:MergeOptions.to_value));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:ObjectId.to_value));("baseCommitId",(Option.mapx.baseCommitId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbaseCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"baseCommitId")inletdestinationCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"destinationCommitId")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletmergeOptions=(Option.map~f:MergeOptions.of_xml)(Xml.childxml_arg0"mergeOptions")inmake?baseCommitId?destinationCommitId?sourceCommitId?mergeOptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbaseCommitId=field_mapjson__"baseCommitId"ObjectId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"ObjectId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletmergeOptions=field_mapjson__"mergeOptions"MergeOptions.of_jsoninmake?baseCommitId?destinationCommitId?sourceCommitId?mergeOptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts."]moduleGetMergeOptionsInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the commits about which you want to get merge options."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."]}letcontext_="GetMergeOptionsInput"letmake?conflictDetailLevel=fun?conflictResolutionStrategy->fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun()->{conflictDetailLevel;conflictResolutionStrategy;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?conflictResolutionStrategy?conflictDetailLevel~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?conflictResolutionStrategy?conflictDetailLevel~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts."]moduleGetMergeConflictsOutput=structtypenonrect={mergeable:IsMergeable.toption[@ocaml.doc"A Boolean value that indicates whether the code is mergeable by the specified merge option."];destinationCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the destination commit specifier that was used in the merge evaluation."];sourceCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the source commit specifier that was used in the merge evaluation."];baseCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge base."];conflictMetadataList:ConflictMetadataList.toption[@ocaml.doc"A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidDestinationCommitSpecifierExceptionofInvalidDestinationCommitSpecifierException.t|`InvalidMaxConflictFilesExceptionofInvalidMaxConflictFilesException.t|`InvalidMergeOptionExceptionofInvalidMergeOptionException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidSourceCommitSpecifierExceptionofInvalidSourceCommitSpecifierException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MergeOptionRequiredExceptionofMergeOptionRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?mergeable=fun?destinationCommitId->fun?sourceCommitId->fun?baseCommitId->fun?conflictMetadataList->fun?nextToken->fun()->{mergeable;destinationCommitId;sourceCommitId;baseCommitId;conflictMetadataList;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidDestinationCommitSpecifierException"->`InvalidDestinationCommitSpecifierException(InvalidDestinationCommitSpecifierException.of_jsonjson)|"InvalidMaxConflictFilesException"->`InvalidMaxConflictFilesException(InvalidMaxConflictFilesException.of_jsonjson)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidSourceCommitSpecifierException"->`InvalidSourceCommitSpecifierException(InvalidSourceCommitSpecifierException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidDestinationCommitSpecifierException"->`InvalidDestinationCommitSpecifierException(InvalidDestinationCommitSpecifierException.of_xmlxml)|"InvalidMaxConflictFilesException"->`InvalidMaxConflictFilesException(InvalidMaxConflictFilesException.of_xmlxml)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidSourceCommitSpecifierException"->`InvalidSourceCommitSpecifierException(InvalidSourceCommitSpecifierException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidDestinationCommitSpecifierExceptione->`Assoc[("error",(`String"InvalidDestinationCommitSpecifierException"));("details",(InvalidDestinationCommitSpecifierException.to_jsone))]|`InvalidMaxConflictFilesExceptione->`Assoc[("error",(`String"InvalidMaxConflictFilesException"));("details",(InvalidMaxConflictFilesException.to_jsone))]|`InvalidMergeOptionExceptione->`Assoc[("error",(`String"InvalidMergeOptionException"));("details",(InvalidMergeOptionException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidSourceCommitSpecifierExceptione->`Assoc[("error",(`String"InvalidSourceCommitSpecifierException"));("details",(InvalidSourceCommitSpecifierException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MergeOptionRequiredExceptione->`Assoc[("error",(`String"MergeOptionRequiredException"));("details",(MergeOptionRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("mergeable",(Option.mapx.mergeable~f:IsMergeable.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:ObjectId.to_value));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("baseCommitId",(Option.mapx.baseCommitId~f:ObjectId.to_value));("conflictMetadataList",(Option.mapx.conflictMetadataList~f:ConflictMetadataList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletconflictMetadataList=(Option.map~f:ConflictMetadataList.of_xml)(Xml.childxml_arg0"conflictMetadataList")inletbaseCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"baseCommitId")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletdestinationCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"destinationCommitId")inletmergeable=(Option.map~f:IsMergeable.of_xml)(Xml.childxml_arg0"mergeable")inmake?nextToken?conflictMetadataList?baseCommitId?sourceCommitId?destinationCommitId?mergeable()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletconflictMetadataList=field_mapjson__"conflictMetadataList"ConflictMetadataList.of_jsoninletbaseCommitId=field_mapjson__"baseCommitId"ObjectId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"ObjectId.of_jsoninletmergeable=field_mapjson__"mergeable"IsMergeable.of_jsoninmake?nextToken?conflictMetadataList?baseCommitId?sourceCommitId?destinationCommitId?mergeable()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository."]moduleGetMergeConflictsInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where the pull request was created."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];mergeOption:MergeOptionTypeEnum.t[@ocaml.doc"The merge option or strategy you want to use to merge the code."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];maxConflictFiles:MaxResults.toption[@ocaml.doc"The maximum number of files to include in the output."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letcontext_="GetMergeConflictsInput"letmake?conflictDetailLevel=fun?maxConflictFiles->fun?conflictResolutionStrategy->fun?nextToken->fun~repositoryName->fun~destinationCommitSpecifier->fun~sourceCommitSpecifier->fun~mergeOption->fun()->{conflictDetailLevel;maxConflictFiles;conflictResolutionStrategy;nextToken;repositoryName;destinationCommitSpecifier;sourceCommitSpecifier;mergeOption}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("mergeOption",(Some(MergeOptionTypeEnum.to_valuex.mergeOption)));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("maxConflictFiles",(Option.mapx.maxConflictFiles~f:MaxResults.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletmaxConflictFiles=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxConflictFiles")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletmergeOption=MergeOptionTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"mergeOption")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken?conflictResolutionStrategy?maxConflictFiles?conflictDetailLevel~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletmaxConflictFiles=field_mapjson__"maxConflictFiles"MaxResults.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletmergeOption=field_map_exnjson__"mergeOption"MergeOptionTypeEnum.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken?conflictResolutionStrategy?maxConflictFiles?conflictDetailLevel~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository."]moduleGetMergeCommitOutput=structtypenonrect={sourceCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the source commit specifier that was used in the merge evaluation."];destinationCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the destination commit specifier that was used in the merge evaluation."];baseCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge base."];mergedCommitId:ObjectId.toption[@ocaml.doc"The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sourceCommitId=fun?destinationCommitId->fun?baseCommitId->fun?mergedCommitId->fun()->{sourceCommitId;destinationCommitId;baseCommitId;mergedCommitId}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:ObjectId.to_value));("baseCommitId",(Option.mapx.baseCommitId~f:ObjectId.to_value));("mergedCommitId",(Option.mapx.mergedCommitId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmergedCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"mergedCommitId")inletbaseCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"baseCommitId")inletdestinationCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"destinationCommitId")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inmake?mergedCommitId?baseCommitId?destinationCommitId?sourceCommitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmergedCommitId=field_mapjson__"mergedCommitId"ObjectId.of_jsoninletbaseCommitId=field_mapjson__"baseCommitId"ObjectId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"ObjectId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninmake?mergedCommitId?baseCommitId?destinationCommitId?sourceCommitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified merge commit."]moduleGetMergeCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the merge commit about which you want to get information."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."]}letcontext_="GetMergeCommitInput"letmake?conflictDetailLevel=fun?conflictResolutionStrategy->fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun()->{conflictDetailLevel;conflictResolutionStrategy;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?conflictResolutionStrategy?conflictDetailLevel~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?conflictResolutionStrategy?conflictDetailLevel~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified merge commit."]moduleGetFolderOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full commit ID used as a reference for the returned version of the folder content."];folderPath:Path.toption[@ocaml.doc"The fully qualified path of the folder whose contents are returned."];treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains the folder."];subFolders:FolderList.toption[@ocaml.doc"The list of folders that exist under the specified folder, if any."];files:FileList.toption[@ocaml.doc"The list of files in the specified folder, if any."];symbolicLinks:SymbolicLinkList.toption[@ocaml.doc"The list of symbolic links to other files and folders in the specified folder, if any."];subModules:SubModuleList.toption[@ocaml.doc"The list of submodules in the specified folder, if any."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FolderDoesNotExistExceptionofFolderDoesNotExistException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?folderPath->fun?treeId->fun?subFolders->fun?files->fun?symbolicLinks->fun?subModules->fun()->{commitId;folderPath;treeId;subFolders;files;symbolicLinks;subModules}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FolderDoesNotExistException"->`FolderDoesNotExistException(FolderDoesNotExistException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FolderDoesNotExistException"->`FolderDoesNotExistException(FolderDoesNotExistException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FolderDoesNotExistExceptione->`Assoc[("error",(`String"FolderDoesNotExistException"));("details",(FolderDoesNotExistException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("folderPath",(Option.mapx.folderPath~f:Path.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value));("subFolders",(Option.mapx.subFolders~f:FolderList.to_value));("files",(Option.mapx.files~f:FileList.to_value));("symbolicLinks",(Option.mapx.symbolicLinks~f:SymbolicLinkList.to_value));("subModules",(Option.mapx.subModules~f:SubModuleList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubModules=(Option.map~f:SubModuleList.of_xml)(Xml.childxml_arg0"subModules")inletsymbolicLinks=(Option.map~f:SymbolicLinkList.of_xml)(Xml.childxml_arg0"symbolicLinks")inletfiles=(Option.map~f:FileList.of_xml)(Xml.childxml_arg0"files")inletsubFolders=(Option.map~f:FolderList.of_xml)(Xml.childxml_arg0"subFolders")inlettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletfolderPath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"folderPath")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?subModules?symbolicLinks?files?subFolders?treeId?folderPath?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubModules=field_mapjson__"subModules"SubModuleList.of_jsoninletsymbolicLinks=field_mapjson__"symbolicLinks"SymbolicLinkList.of_jsoninletfiles=field_mapjson__"files"FileList.of_jsoninletsubFolders=field_mapjson__"subFolders"FolderList.of_jsoninlettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletfolderPath=field_mapjson__"folderPath"Path.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?subModules?symbolicLinks?files?subFolders?treeId?folderPath?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the contents of a specified folder in a repository."]moduleGetFolderInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository."];commitSpecifier:CommitName.toption[@ocaml.doc"A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit."];folderPath:Path.t[@ocaml.doc"The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository."]}letcontext_="GetFolderInput"letmake?commitSpecifier=fun~repositoryName->fun~folderPath->fun()->{commitSpecifier;repositoryName;folderPath}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("commitSpecifier",(Option.mapx.commitSpecifier~f:CommitName.to_value));("folderPath",(Some(Path.to_valuex.folderPath)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfolderPath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"folderPath")inletcommitSpecifier=(Option.map~f:CommitName.of_xml)(Xml.childxml_arg0"commitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~folderPath?commitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfolderPath=field_map_exnjson__"folderPath"Path.of_jsoninletcommitSpecifier=field_mapjson__"commitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~folderPath?commitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the contents of a specified folder in a repository."]moduleGetFileOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full commit ID of the commit that contains the content returned by GetFile."];blobId:ObjectId.toption[@ocaml.doc"The blob ID of the object that represents the file content."];filePath:Path.toption[@ocaml.doc"The fully qualified path to the specified file. Returns the name and extension of the file."];fileMode:FileModeTypeEnum.toption[@ocaml.doc"The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values. The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values."];fileSize:ObjectSize.toption[@ocaml.doc"The size of the contents of the file, in bytes."];fileContent:FileContent.toption[@ocaml.doc"The base-64 encoded binary data object that represents the content of the file."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileDoesNotExistExceptionofFileDoesNotExistException.t|`FileTooLargeExceptionofFileTooLargeException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?blobId->fun?filePath->fun?fileMode->fun?fileSize->fun?fileContent->fun()->{commitId;blobId;filePath;fileMode;fileSize;fileContent}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_jsonjson)|"FileTooLargeException"->`FileTooLargeException(FileTooLargeException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_xmlxml)|"FileTooLargeException"->`FileTooLargeException(FileTooLargeException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileDoesNotExistExceptione->`Assoc[("error",(`String"FileDoesNotExistException"));("details",(FileDoesNotExistException.to_jsone))]|`FileTooLargeExceptione->`Assoc[("error",(`String"FileTooLargeException"));("details",(FileTooLargeException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("filePath",(Option.mapx.filePath~f:Path.to_value));("fileMode",(Option.mapx.fileMode~f:FileModeTypeEnum.to_value));("fileSize",(Option.mapx.fileSize~f:ObjectSize.to_value));("fileContent",(Option.mapx.fileContent~f:FileContent.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileContent=(Option.map~f:FileContent.of_xml)(Xml.childxml_arg0"fileContent")inletfileSize=(Option.map~f:ObjectSize.of_xml)(Xml.childxml_arg0"fileSize")inletfileMode=(Option.map~f:FileModeTypeEnum.of_xml)(Xml.childxml_arg0"fileMode")inletfilePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"filePath")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?fileContent?fileSize?fileMode?filePath?blobId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileContent=field_mapjson__"fileContent"FileContent.of_jsoninletfileSize=field_mapjson__"fileSize"ObjectSize.of_jsoninletfileMode=field_mapjson__"fileMode"FileModeTypeEnum.of_jsoninletfilePath=field_mapjson__"filePath"Path.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?fileContent?fileSize?fileMode?filePath?blobId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the base-64 encoded contents of a specified file and its metadata."]moduleGetFileInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the file."];commitSpecifier:CommitName.toption[@ocaml.doc"The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used."];filePath:Path.t[@ocaml.doc"The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples."]}letcontext_="GetFileInput"letmake?commitSpecifier=fun~repositoryName->fun~filePath->fun()->{commitSpecifier;repositoryName;filePath}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("commitSpecifier",(Option.mapx.commitSpecifier~f:CommitName.to_value));("filePath",(Some(Path.to_valuex.filePath)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inletcommitSpecifier=(Option.map~f:CommitName.of_xml)(Xml.childxml_arg0"commitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~filePath?commitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilePath=field_map_exnjson__"filePath"Path.of_jsoninletcommitSpecifier=field_mapjson__"commitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~filePath?commitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the base-64 encoded contents of a specified file and its metadata."]moduleGetDifferencesOutput=structtypenonrect={differences:DifferenceList.toption[@ocaml.doc"A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M)."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PathDoesNotExistExceptionofPathDoesNotExistException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?differences=fun?nextToken->fun()->{differences;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PathDoesNotExistException"->`PathDoesNotExistException(PathDoesNotExistException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PathDoesNotExistExceptione->`Assoc[("error",(`String"PathDoesNotExistException"));("details",(PathDoesNotExistException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("differences",(Option.mapx.differences~f:DifferenceList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdifferences=(Option.map~f:DifferenceList.of_xml)(Xml.childxml_arg0"differences")inmake?nextToken?differences()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdifferences=field_mapjson__"differences"DifferenceList.of_jsoninmake?nextToken?differences()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path."]moduleGetDifferencesInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to get differences."];beforeCommitSpecifier:CommitName.toption[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults."];afterCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit."];beforePath:Path.toption[@ocaml.doc"The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths."];afterPath:Path.toption[@ocaml.doc"The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths."];maxResults:Limit.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letcontext_="GetDifferencesInput"letmake?beforeCommitSpecifier=fun?beforePath->fun?afterPath->fun?maxResults->fun?nextToken->fun~repositoryName->fun~afterCommitSpecifier->fun()->{beforeCommitSpecifier;beforePath;afterPath;maxResults;nextToken;repositoryName;afterCommitSpecifier}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("beforeCommitSpecifier",(Option.mapx.beforeCommitSpecifier~f:CommitName.to_value));("afterCommitSpecifier",(Some(CommitName.to_valuex.afterCommitSpecifier)));("beforePath",(Option.mapx.beforePath~f:Path.to_value));("afterPath",(Option.mapx.afterPath~f:Path.to_value));("MaxResults",(Option.mapx.maxResults~f:Limit.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:Limit.of_xml)(Xml.childxml_arg0"MaxResults")inletafterPath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"afterPath")inletbeforePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"beforePath")inletafterCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"afterCommitSpecifier")inletbeforeCommitSpecifier=(Option.map~f:CommitName.of_xml)(Xml.childxml_arg0"beforeCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken?maxResults?afterPath?beforePath~afterCommitSpecifier?beforeCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"Limit.of_jsoninletafterPath=field_mapjson__"afterPath"Path.of_jsoninletbeforePath=field_mapjson__"beforePath"Path.of_jsoninletafterCommitSpecifier=field_map_exnjson__"afterCommitSpecifier"CommitName.of_jsoninletbeforeCommitSpecifier=field_mapjson__"beforeCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken?maxResults?afterPath?beforePath~afterCommitSpecifier?beforeCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path."]moduleGetCommitOutput=structtypenonrect={commit:Commit.toption[@ocaml.doc"A commit data type object that contains information about the specified commit."]}typenonrecerror=[`CommitIdDoesNotExistExceptionofCommitIdDoesNotExistException.t|`CommitIdRequiredExceptionofCommitIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commit=fun()->{commit}leterror_of_jsonnamejson=matchnamewith|"CommitIdDoesNotExistException"->`CommitIdDoesNotExistException(CommitIdDoesNotExistException.of_jsonjson)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitIdDoesNotExistException"->`CommitIdDoesNotExistException(CommitIdDoesNotExistException.of_xmlxml)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitIdDoesNotExistExceptione->`Assoc[("error",(`String"CommitIdDoesNotExistException"));("details",(CommitIdDoesNotExistException.to_jsone))]|`CommitIdRequiredExceptione->`Assoc[("error",(`String"CommitIdRequiredException"));("details",(CommitIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commit",(Option.mapx.commit~f:Commit.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommit=(Option.map~f:Commit.of_xml)(Xml.childxml_arg0"commit")inmake?commit()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommit=field_mapjson__"commit"Commit.of_jsoninmake?commit()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a get commit operation."]moduleGetCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to which the commit was made."];commitId:ObjectId.t[@ocaml.doc"The commit ID. Commit IDs are the full SHA ID of the commit."]}letcontext_="GetCommitInput"letmake~repositoryName=fun~commitId->fun()->{repositoryName;commitId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("commitId",(Some(ObjectId.to_valuex.commitId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommitId=ObjectId.of_xml(Xml.child_exn~context:context_xml_arg0"commitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~commitId~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommitId=field_map_exnjson__"commitId"ObjectId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~commitId~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a get commit operation."]moduleGetCommentsForPullRequestOutput=structtypenonrect={commentsForPullRequestData:CommentsForPullRequestData.toption[@ocaml.doc"An array of comment objects on the pull request."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitIdRequiredExceptionofCommitIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RepositoryNotAssociatedWithPullRequestExceptionofRepositoryNotAssociatedWithPullRequestException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commentsForPullRequestData=fun?nextToken->fun()->{commentsForPullRequestData;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RepositoryNotAssociatedWithPullRequestException"->`RepositoryNotAssociatedWithPullRequestException(RepositoryNotAssociatedWithPullRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitIdRequiredExceptione->`Assoc[("error",(`String"CommitIdRequiredException"));("details",(CommitIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RepositoryNotAssociatedWithPullRequestExceptione->`Assoc[("error",(`String"RepositoryNotAssociatedWithPullRequestException"));("details",(RepositoryNotAssociatedWithPullRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commentsForPullRequestData",(Option.mapx.commentsForPullRequestData~f:CommentsForPullRequestData.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletcommentsForPullRequestData=(Option.map~f:CommentsForPullRequestData.of_xml)(Xml.childxml_arg0"commentsForPullRequestData")inmake?nextToken?commentsForPullRequestData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletcommentsForPullRequestData=field_mapjson__"commentsForPullRequestData"CommentsForPullRequestData.of_jsoninmake?nextToken?commentsForPullRequestData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns comments made on a pull request. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetCommentsForPullRequestInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included."];beforeCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included."];afterCommitId:CommitId.toption[@ocaml.doc"The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request."]}letcontext_="GetCommentsForPullRequestInput"letmake?repositoryName=fun?beforeCommitId->fun?afterCommitId->fun?nextToken->fun?maxResults->fun~pullRequestId->fun()->{repositoryName;beforeCommitId;afterCommitId;nextToken;maxResults;pullRequestId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Option.mapx.afterCommitId~f:CommitId.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletafterCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?maxResults?nextToken?afterCommitId?beforeCommitId?repositoryName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletafterCommitId=field_mapjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?maxResults?nextToken?afterCommitId?beforeCommitId?repositoryName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns comments made on a pull request. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetCommentsForComparedCommitOutput=structtypenonrect={commentsForComparedCommitData:CommentsForComparedCommitData.toption[@ocaml.doc"A list of comment objects on the compared commit."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitIdRequiredExceptionofCommitIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitIdExceptionofInvalidCommitIdException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commentsForComparedCommitData=fun?nextToken->fun()->{commentsForComparedCommitData;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitIdRequiredException"->`CommitIdRequiredException(CommitIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitIdException"->`InvalidCommitIdException(InvalidCommitIdException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitIdRequiredExceptione->`Assoc[("error",(`String"CommitIdRequiredException"));("details",(CommitIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitIdExceptione->`Assoc[("error",(`String"InvalidCommitIdException"));("details",(InvalidCommitIdException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commentsForComparedCommitData",(Option.mapx.commentsForComparedCommitData~f:CommentsForComparedCommitData.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletcommentsForComparedCommitData=(Option.map~f:CommentsForComparedCommitData.of_xml)(Xml.childxml_arg0"commentsForComparedCommitData")inmake?nextToken?commentsForComparedCommitData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletcommentsForComparedCommitData=field_mapjson__"commentsForComparedCommitData"CommentsForComparedCommitData.of_jsoninmake?nextToken?commentsForComparedCommitData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about comments made on the comparison between two commits. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetCommentsForComparedCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to compare commits."];beforeCommitId:CommitId.toption[@ocaml.doc"To establish the directionality of the comparison, the full commit ID of the before commit."];afterCommitId:CommitId.t[@ocaml.doc"To establish the directionality of the comparison, the full commit ID of the after commit."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500."]}letcontext_="GetCommentsForComparedCommitInput"letmake?beforeCommitId=fun?nextToken->fun?maxResults->fun~repositoryName->fun~afterCommitId->fun()->{beforeCommitId;nextToken;maxResults;repositoryName;afterCommitId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("beforeCommitId",(Option.mapx.beforeCommitId~f:CommitId.to_value));("afterCommitId",(Some(CommitId.to_valuex.afterCommitId)));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletafterCommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"afterCommitId")inletbeforeCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"beforeCommitId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?maxResults?nextToken~afterCommitId?beforeCommitId~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletafterCommitId=field_map_exnjson__"afterCommitId"CommitId.of_jsoninletbeforeCommitId=field_mapjson__"beforeCommitId"CommitId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?maxResults?nextToken~afterCommitId?beforeCommitId~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about comments made on the comparison between two commits. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetCommentReactionsOutput=structtypenonrect={reactionsForComment:ReactionsForCommentList.toption[@ocaml.doc"An array of reactions to the specified comment."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`CommentDeletedExceptionofCommentDeletedException.t|`CommentDoesNotExistExceptionofCommentDoesNotExistException.t|`CommentIdRequiredExceptionofCommentIdRequiredException.t|`InvalidCommentIdExceptionofInvalidCommentIdException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidReactionUserArnExceptionofInvalidReactionUserArnException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reactionsForComment=fun?nextToken->fun()->{reactionsForComment;nextToken}leterror_of_jsonnamejson=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_jsonjson)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_jsonjson)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_jsonjson)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidReactionUserArnException"->`InvalidReactionUserArnException(InvalidReactionUserArnException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_xmlxml)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_xmlxml)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_xmlxml)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidReactionUserArnException"->`InvalidReactionUserArnException(InvalidReactionUserArnException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommentDeletedExceptione->`Assoc[("error",(`String"CommentDeletedException"));("details",(CommentDeletedException.to_jsone))]|`CommentDoesNotExistExceptione->`Assoc[("error",(`String"CommentDoesNotExistException"));("details",(CommentDoesNotExistException.to_jsone))]|`CommentIdRequiredExceptione->`Assoc[("error",(`String"CommentIdRequiredException"));("details",(CommentIdRequiredException.to_jsone))]|`InvalidCommentIdExceptione->`Assoc[("error",(`String"InvalidCommentIdException"));("details",(InvalidCommentIdException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidReactionUserArnExceptione->`Assoc[("error",(`String"InvalidReactionUserArnException"));("details",(InvalidReactionUserArnException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reactionsForComment",(Option.mapx.reactionsForComment~f:ReactionsForCommentList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletreactionsForComment=(Option.map~f:ReactionsForCommentList.of_xml)(Xml.childxml_arg0"reactionsForComment")inmake?nextToken?reactionsForComment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletreactionsForComment=field_mapjson__"reactionsForComment"ReactionsForCommentList.of_jsoninmake?nextToken?reactionsForComment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count."]moduleGetCommentReactionsInput=structtypenonrect={commentId:CommentId.t[@ocaml.doc"The ID of the comment for which you want to get reactions information."];reactionUserArn:Arn.toption[@ocaml.doc"Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000."]}letcontext_="GetCommentReactionsInput"letmake?reactionUserArn=fun?nextToken->fun?maxResults->fun~commentId->fun()->{reactionUserArn;nextToken;maxResults;commentId}letto_valuex=structure_to_value[("commentId",(Some(CommentId.to_valuex.commentId)));("reactionUserArn",(Option.mapx.reactionUserArn~f:Arn.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletreactionUserArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"reactionUserArn")inletcommentId=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"commentId")inmake?maxResults?nextToken?reactionUserArn~commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletreactionUserArn=field_mapjson__"reactionUserArn"Arn.of_jsoninletcommentId=field_map_exnjson__"commentId"CommentId.of_jsoninmake?maxResults?nextToken?reactionUserArn~commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count."]moduleGetCommentOutput=structtypenonrect={comment:Comment.toption[@ocaml.doc"The contents of the comment."]}typenonrecerror=[`CommentDeletedExceptionofCommentDeletedException.t|`CommentDoesNotExistExceptionofCommentDoesNotExistException.t|`CommentIdRequiredExceptionofCommentIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommentIdExceptionofInvalidCommentIdException.t|`Unknown_operation_errorof(string*stringoption)]letmake?comment=fun()->{comment}leterror_of_jsonnamejson=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_jsonjson)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_jsonjson)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_xmlxml)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_xmlxml)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommentDeletedExceptione->`Assoc[("error",(`String"CommentDeletedException"));("details",(CommentDeletedException.to_jsone))]|`CommentDoesNotExistExceptione->`Assoc[("error",(`String"CommentDoesNotExistException"));("details",(CommentDoesNotExistException.to_jsone))]|`CommentIdRequiredExceptione->`Assoc[("error",(`String"CommentIdRequiredException"));("details",(CommentIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommentIdExceptione->`Assoc[("error",(`String"InvalidCommentIdException"));("details",(InvalidCommentIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inmake?comment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninmake?comment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the content of a comment made on a change, file, or commit in a repository. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetCommentInput=structtypenonrect={commentId:CommentId.t[@ocaml.doc"The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest."]}letcontext_="GetCommentInput"letmake~commentId=fun()->{commentId}letto_valuex=structure_to_value[("commentId",(Some(CommentId.to_valuex.commentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommentId=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"commentId")inmake~commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommentId=field_map_exnjson__"commentId"CommentId.of_jsoninmake~commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the content of a comment made on a change, file, or commit in a repository. Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions."]moduleGetBranchOutput=structtypenonrect={branch:BranchInfo.toption[@ocaml.doc"The name of the branch."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?branch=fun()->{branch}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("branch",(Option.mapx.branch~f:BranchInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbranch=(Option.map~f:BranchInfo.of_xml)(Xml.childxml_arg0"branch")inmake?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbranch=field_mapjson__"branch"BranchInfo.of_jsoninmake?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a get branch operation."]moduleGetBranchInput=structtypenonrect={repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository that contains the branch for which you want to retrieve information."];branchName:BranchName.toption[@ocaml.doc"The name of the branch for which you want to retrieve information."]}letmake?repositoryName=fun?branchName->fun()->{repositoryName;branchName}letto_valuex=structure_to_value[("repositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("branchName",(Option.mapx.branchName~f:BranchName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbranchName=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"branchName")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"repositoryName")inmake?branchName?repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbranchName=field_mapjson__"branchName"BranchName.of_jsoninletrepositoryName=field_mapjson__"repositoryName"RepositoryName.of_jsoninmake?branchName?repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a get branch operation."]moduleGetBlobOutput=structtypenonrect={content:Blob.toption[@ocaml.doc"The content of the blob, usually a file."]}typenonrecerror=[`BlobIdDoesNotExistExceptionofBlobIdDoesNotExistException.t|`BlobIdRequiredExceptionofBlobIdRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileTooLargeExceptionofFileTooLargeException.t|`InvalidBlobIdExceptionofInvalidBlobIdException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?content=fun()->{content}leterror_of_jsonnamejson=matchnamewith|"BlobIdDoesNotExistException"->`BlobIdDoesNotExistException(BlobIdDoesNotExistException.of_jsonjson)|"BlobIdRequiredException"->`BlobIdRequiredException(BlobIdRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileTooLargeException"->`FileTooLargeException(FileTooLargeException.of_jsonjson)|"InvalidBlobIdException"->`InvalidBlobIdException(InvalidBlobIdException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BlobIdDoesNotExistException"->`BlobIdDoesNotExistException(BlobIdDoesNotExistException.of_xmlxml)|"BlobIdRequiredException"->`BlobIdRequiredException(BlobIdRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileTooLargeException"->`FileTooLargeException(FileTooLargeException.of_xmlxml)|"InvalidBlobIdException"->`InvalidBlobIdException(InvalidBlobIdException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BlobIdDoesNotExistExceptione->`Assoc[("error",(`String"BlobIdDoesNotExistException"));("details",(BlobIdDoesNotExistException.to_jsone))]|`BlobIdRequiredExceptione->`Assoc[("error",(`String"BlobIdRequiredException"));("details",(BlobIdRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileTooLargeExceptione->`Assoc[("error",(`String"FileTooLargeException"));("details",(FileTooLargeException.to_jsone))]|`InvalidBlobIdExceptione->`Assoc[("error",(`String"InvalidBlobIdException"));("details",(InvalidBlobIdException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make?content:(Somepipe)())[@warning"-27"])letto_valuex=structure_to_value[("content",(Option.mapx.content~f:Blob.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontent=(Option.map~f:Blob.of_xml)(Xml.childxml_arg0"content")inmake?content()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontent=field_mapjson__"content"Blob.of_jsoninmake?content()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a get blob operation."]moduleGetBlobInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the blob."];blobId:ObjectId.t[@ocaml.doc"The ID of the blob, which is its SHA-1 pointer."]}letcontext_="GetBlobInput"letmake~repositoryName=fun~blobId->fun()->{repositoryName;blobId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("blobId",(Some(ObjectId.to_valuex.blobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblobId=ObjectId.of_xml(Xml.child_exn~context:context_xml_arg0"blobId")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~blobId~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblobId=field_map_exnjson__"blobId"ObjectId.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~blobId~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a get blob operation."]moduleGetApprovalRuleTemplateOutput=structtypenonrect={approvalRuleTemplate:ApprovalRuleTemplate.toption[@ocaml.doc"The content and structure of the approval rule template."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplate=fun()->{approvalRuleTemplate}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplate",(Option.mapx.approvalRuleTemplate~f:ApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplate=(Option.map~f:ApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"approvalRuleTemplate")inmake?approvalRuleTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplate=field_mapjson__"approvalRuleTemplate"ApprovalRuleTemplate.of_jsoninmake?approvalRuleTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified approval rule template."]moduleGetApprovalRuleTemplateInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template for which you want to get information."]}letcontext_="GetApprovalRuleTemplateInput"letmake~approvalRuleTemplateName=fun()->{approvalRuleTemplateName}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified approval rule template."]moduleEvaluatePullRequestApprovalRulesOutput=structtypenonrect={evaluation:Evaluation.toption[@ocaml.doc"The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`InvalidRevisionIdExceptionofInvalidRevisionIdException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`RevisionIdRequiredExceptionofRevisionIdRequiredException.t|`RevisionNotCurrentExceptionofRevisionNotCurrentException.t|`Unknown_operation_errorof(string*stringoption)]letmake?evaluation=fun()->{evaluation}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_jsonjson)|"RevisionNotCurrentException"->`RevisionNotCurrentException(RevisionNotCurrentException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"InvalidRevisionIdException"->`InvalidRevisionIdException(InvalidRevisionIdException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|"RevisionIdRequiredException"->`RevisionIdRequiredException(RevisionIdRequiredException.of_xmlxml)|"RevisionNotCurrentException"->`RevisionNotCurrentException(RevisionNotCurrentException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`InvalidRevisionIdExceptione->`Assoc[("error",(`String"InvalidRevisionIdException"));("details",(InvalidRevisionIdException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`RevisionIdRequiredExceptione->`Assoc[("error",(`String"RevisionIdRequiredException"));("details",(RevisionIdRequiredException.to_jsone))]|`RevisionNotCurrentExceptione->`Assoc[("error",(`String"RevisionNotCurrentException"));("details",(RevisionNotCurrentException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("evaluation",(Option.mapx.evaluation~f:Evaluation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letevaluation=(Option.map~f:Evaluation.of_xml)(Xml.childxml_arg0"evaluation")inmake?evaluation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letevaluation=field_mapjson__"evaluation"Evaluation.of_jsoninmake?evaluation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Evaluates whether a pull request has met all the conditions specified in its associated approval rules."]moduleEvaluatePullRequestApprovalRulesInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request you want to evaluate."];revisionId:RevisionId.t[@ocaml.doc"The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use GetPullRequest."]}letcontext_="EvaluatePullRequestApprovalRulesInput"letmake~pullRequestId=fun~revisionId->fun()->{pullRequestId;revisionId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("revisionId",(Some(RevisionId.to_valuex.revisionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisionId=RevisionId.of_xml(Xml.child_exn~context:context_xml_arg0"revisionId")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~revisionId~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisionId=field_map_exnjson__"revisionId"RevisionId.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~revisionId~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Evaluates whether a pull request has met all the conditions specified in its associated approval rules."]moduleDisassociateApprovalRuleTemplateFromRepositoryInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template to disassociate from a specified repository."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository you want to disassociate from the template."]}letcontext_="DisassociateApprovalRuleTemplateFromRepositoryInput"letmake~approvalRuleTemplateName=fun~repositoryName->fun()->{approvalRuleTemplateName;repositoryName}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~repositoryName~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~repositoryName~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association."]moduleDescribePullRequestEventsOutput=structtypenonrect={pullRequestEvents:PullRequestEventList.toption[@ocaml.doc"Information about the pull request events."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."]}typenonrecerror=[`ActorDoesNotExistExceptionofActorDoesNotExistException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidActorArnExceptionofInvalidActorArnException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxResultsExceptionofInvalidMaxResultsException.t|`InvalidPullRequestEventTypeExceptionofInvalidPullRequestEventTypeException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequestEvents=fun?nextToken->fun()->{pullRequestEvents;nextToken}leterror_of_jsonnamejson=matchnamewith|"ActorDoesNotExistException"->`ActorDoesNotExistException(ActorDoesNotExistException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidActorArnException"->`InvalidActorArnException(InvalidActorArnException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_jsonjson)|"InvalidPullRequestEventTypeException"->`InvalidPullRequestEventTypeException(InvalidPullRequestEventTypeException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ActorDoesNotExistException"->`ActorDoesNotExistException(ActorDoesNotExistException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidActorArnException"->`InvalidActorArnException(InvalidActorArnException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxResultsException"->`InvalidMaxResultsException(InvalidMaxResultsException.of_xmlxml)|"InvalidPullRequestEventTypeException"->`InvalidPullRequestEventTypeException(InvalidPullRequestEventTypeException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ActorDoesNotExistExceptione->`Assoc[("error",(`String"ActorDoesNotExistException"));("details",(ActorDoesNotExistException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidActorArnExceptione->`Assoc[("error",(`String"InvalidActorArnException"));("details",(InvalidActorArnException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxResultsExceptione->`Assoc[("error",(`String"InvalidMaxResultsException"));("details",(InvalidMaxResultsException.to_jsone))]|`InvalidPullRequestEventTypeExceptione->`Assoc[("error",(`String"InvalidPullRequestEventTypeException"));("details",(InvalidPullRequestEventTypeException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequestEvents",(Option.mapx.pullRequestEvents~f:PullRequestEventList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletpullRequestEvents=(Option.map~f:PullRequestEventList.of_xml)(Xml.childxml_arg0"pullRequestEvents")inmake?nextToken?pullRequestEvents()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletpullRequestEvents=field_mapjson__"pullRequestEvents"PullRequestEventList.of_jsoninmake?nextToken?pullRequestEvents()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more pull request events."]moduleDescribePullRequestEventsInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request. To get this ID, use ListPullRequests."];pullRequestEventType:PullRequestEventType.toption[@ocaml.doc"Optional. The pull request event type about which you want to return information."];actorArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."];maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result."]}letcontext_="DescribePullRequestEventsInput"letmake?pullRequestEventType=fun?actorArn->fun?nextToken->fun?maxResults->fun~pullRequestId->fun()->{pullRequestEventType;actorArn;nextToken;maxResults;pullRequestId}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("pullRequestEventType",(Option.mapx.pullRequestEventType~f:PullRequestEventType.to_value));("actorArn",(Option.mapx.actorArn~f:Arn.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletactorArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"actorArn")inletpullRequestEventType=(Option.map~f:PullRequestEventType.of_xml)(Xml.childxml_arg0"pullRequestEventType")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake?maxResults?nextToken?actorArn?pullRequestEventType~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletactorArn=field_mapjson__"actorArn"Arn.of_jsoninletpullRequestEventType=field_mapjson__"pullRequestEventType"PullRequestEventType.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake?maxResults?nextToken?actorArn?pullRequestEventType~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more pull request events."]moduleDescribeMergeConflictsOutput=structtypenonrect={conflictMetadata:ConflictMetadata.toption[@ocaml.doc"Contains metadata about the conflicts found in the merge."];mergeHunks:MergeHunks.toption[@ocaml.doc"A list of merge hunks of the differences between the files or lines."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."];destinationCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the destination commit specifier that was used in the merge evaluation."];sourceCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the source commit specifier that was used in the merge evaluation."];baseCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge base."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileDoesNotExistExceptionofFileDoesNotExistException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxMergeHunksExceptionofInvalidMaxMergeHunksException.t|`InvalidMergeOptionExceptionofInvalidMergeOptionException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MergeOptionRequiredExceptionofMergeOptionRequiredException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?conflictMetadata=fun?mergeHunks->fun?nextToken->fun?destinationCommitId->fun?sourceCommitId->fun?baseCommitId->fun()->{conflictMetadata;mergeHunks;nextToken;destinationCommitId;sourceCommitId;baseCommitId}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxMergeHunksException"->`InvalidMaxMergeHunksException(InvalidMaxMergeHunksException.of_jsonjson)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxMergeHunksException"->`InvalidMaxMergeHunksException(InvalidMaxMergeHunksException.of_xmlxml)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileDoesNotExistExceptione->`Assoc[("error",(`String"FileDoesNotExistException"));("details",(FileDoesNotExistException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxMergeHunksExceptione->`Assoc[("error",(`String"InvalidMaxMergeHunksException"));("details",(InvalidMaxMergeHunksException.to_jsone))]|`InvalidMergeOptionExceptione->`Assoc[("error",(`String"InvalidMergeOptionException"));("details",(InvalidMergeOptionException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MergeOptionRequiredExceptione->`Assoc[("error",(`String"MergeOptionRequiredException"));("details",(MergeOptionRequiredException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("conflictMetadata",(Option.mapx.conflictMetadata~f:ConflictMetadata.to_value));("mergeHunks",(Option.mapx.mergeHunks~f:MergeHunks.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:ObjectId.to_value));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("baseCommitId",(Option.mapx.baseCommitId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbaseCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"baseCommitId")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletdestinationCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"destinationCommitId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmergeHunks=(Option.map~f:MergeHunks.of_xml)(Xml.childxml_arg0"mergeHunks")inletconflictMetadata=(Option.map~f:ConflictMetadata.of_xml)(Xml.childxml_arg0"conflictMetadata")inmake?baseCommitId?sourceCommitId?destinationCommitId?nextToken?mergeHunks?conflictMetadata()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbaseCommitId=field_mapjson__"baseCommitId"ObjectId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"ObjectId.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmergeHunks=field_mapjson__"mergeHunks"MergeHunks.of_jsoninletconflictMetadata=field_mapjson__"conflictMetadata"ConflictMetadata.of_jsoninmake?baseCommitId?sourceCommitId?destinationCommitId?nextToken?mergeHunks?conflictMetadata()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown."]moduleDescribeMergeConflictsInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to get information about a merge conflict."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];mergeOption:MergeOptionTypeEnum.t[@ocaml.doc"The merge option or strategy you want to use to merge the code."];maxMergeHunks:MaxResults.toption[@ocaml.doc"The maximum number of merge hunks to include in the output."];filePath:Path.t[@ocaml.doc"The path of the target files used to describe the conflicts."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letcontext_="DescribeMergeConflictsInput"letmake?maxMergeHunks=fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?nextToken->fun~repositoryName->fun~destinationCommitSpecifier->fun~sourceCommitSpecifier->fun~mergeOption->fun~filePath->fun()->{maxMergeHunks;conflictDetailLevel;conflictResolutionStrategy;nextToken;repositoryName;destinationCommitSpecifier;sourceCommitSpecifier;mergeOption;filePath}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("mergeOption",(Some(MergeOptionTypeEnum.to_valuex.mergeOption)));("maxMergeHunks",(Option.mapx.maxMergeHunks~f:MaxResults.to_value));("filePath",(Some(Path.to_valuex.filePath)));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inletmaxMergeHunks=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxMergeHunks")inletmergeOption=MergeOptionTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"mergeOption")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken?conflictResolutionStrategy?conflictDetailLevel~filePath?maxMergeHunks~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninletmaxMergeHunks=field_mapjson__"maxMergeHunks"MaxResults.of_jsoninletmergeOption=field_map_exnjson__"mergeOption"MergeOptionTypeEnum.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken?conflictResolutionStrategy?conflictDetailLevel~filePath?maxMergeHunks~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown."]moduleDeleteRepositoryOutput=structtypenonrect={repositoryId:RepositoryId.toption[@ocaml.doc"The ID of the repository that was deleted."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryId=fun()->{repositoryId}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryId",(Option.mapx.repositoryId~f:RepositoryId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryId=(Option.map~f:RepositoryId.of_xml)(Xml.childxml_arg0"repositoryId")inmake?repositoryId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryId=field_mapjson__"repositoryId"RepositoryId.of_jsoninmake?repositoryId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a delete repository operation."]moduleDeleteRepositoryInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to delete."]}letcontext_="DeleteRepositoryInput"letmake~repositoryName=fun()->{repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a delete repository operation."]moduleDeletePullRequestApprovalRuleOutput=structtypenonrect={approvalRuleId:ApprovalRuleId.toption[@ocaml.doc"The ID of the deleted approval rule. If the approval rule was deleted in an earlier API call, the response is 200 OK without content."]}typenonrecerror=[`ApprovalRuleNameRequiredExceptionofApprovalRuleNameRequiredException.t|`CannotDeleteApprovalRuleFromTemplateExceptionofCannotDeleteApprovalRuleFromTemplateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleNameExceptionofInvalidApprovalRuleNameException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleId=fun()->{approvalRuleId}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_jsonjson)|"CannotDeleteApprovalRuleFromTemplateException"->`CannotDeleteApprovalRuleFromTemplateException(CannotDeleteApprovalRuleFromTemplateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_xmlxml)|"CannotDeleteApprovalRuleFromTemplateException"->`CannotDeleteApprovalRuleFromTemplateException(CannotDeleteApprovalRuleFromTemplateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleNameRequiredException"));("details",(ApprovalRuleNameRequiredException.to_jsone))]|`CannotDeleteApprovalRuleFromTemplateExceptione->`Assoc[("error",(`String"CannotDeleteApprovalRuleFromTemplateException"));("details",(CannotDeleteApprovalRuleFromTemplateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleNameException"));("details",(InvalidApprovalRuleNameException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleId",(Option.mapx.approvalRuleId~f:ApprovalRuleId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleId=(Option.map~f:ApprovalRuleId.of_xml)(Xml.childxml_arg0"approvalRuleId")inmake?approvalRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleId=field_mapjson__"approvalRuleId"ApprovalRuleId.of_jsoninmake?approvalRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request."]moduleDeletePullRequestApprovalRuleInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request that contains the approval rule you want to delete."];approvalRuleName:ApprovalRuleName.t[@ocaml.doc"The name of the approval rule you want to delete."]}letcontext_="DeletePullRequestApprovalRuleInput"letmake~pullRequestId=fun~approvalRuleName->fun()->{pullRequestId;approvalRuleName}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("approvalRuleName",(Some(ApprovalRuleName.to_valuex.approvalRuleName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleName=ApprovalRuleName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~approvalRuleName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleName=field_map_exnjson__"approvalRuleName"ApprovalRuleName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~approvalRuleName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request."]moduleDeleteFileOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full commit ID of the commit that contains the change that deletes the file."];blobId:ObjectId.toption[@ocaml.doc"The blob ID removed from the tree as part of deleting the file."];treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains the delete file change."];filePath:Path.toption[@ocaml.doc"The fully qualified path to the file to be deleted, including the full name and extension of that file."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileDoesNotExistExceptionofFileDoesNotExistException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidParentCommitIdExceptionofInvalidParentCommitIdException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`ParentCommitDoesNotExistExceptionofParentCommitDoesNotExistException.t|`ParentCommitIdOutdatedExceptionofParentCommitIdOutdatedException.t|`ParentCommitIdRequiredExceptionofParentCommitIdRequiredException.t|`PathRequiredExceptionofPathRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?blobId->fun?treeId->fun?filePath->fun()->{commitId;blobId;treeId;filePath}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_jsonjson)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_jsonjson)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_xmlxml)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_xmlxml)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileDoesNotExistExceptione->`Assoc[("error",(`String"FileDoesNotExistException"));("details",(FileDoesNotExistException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidParentCommitIdExceptione->`Assoc[("error",(`String"InvalidParentCommitIdException"));("details",(InvalidParentCommitIdException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`ParentCommitDoesNotExistExceptione->`Assoc[("error",(`String"ParentCommitDoesNotExistException"));("details",(ParentCommitDoesNotExistException.to_jsone))]|`ParentCommitIdOutdatedExceptione->`Assoc[("error",(`String"ParentCommitIdOutdatedException"));("details",(ParentCommitIdOutdatedException.to_jsone))]|`ParentCommitIdRequiredExceptione->`Assoc[("error",(`String"ParentCommitIdRequiredException"));("details",(ParentCommitIdRequiredException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("blobId",(Option.mapx.blobId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value));("filePath",(Option.mapx.filePath~f:Path.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilePath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"filePath")inlettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletblobId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"blobId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?filePath?treeId?blobId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilePath=field_mapjson__"filePath"Path.of_jsoninlettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletblobId=field_mapjson__"blobId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?filePath?treeId?blobId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion."]moduleDeleteFileInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the file to delete."];branchName:BranchName.t[@ocaml.doc"The name of the branch where the commit that deletes the file is made."];filePath:Path.t[@ocaml.doc"The fully qualified path to the file that to be deleted, including the full name and extension of that file. For example, /examples/file.md is a fully qualified path to a file named file.md in a folder named examples."];parentCommitId:CommitId.t[@ocaml.doc"The ID of the commit that is the tip of the branch where you want to create the commit that deletes the file. This must be the HEAD commit for the branch. The commit that deletes the file is created from this commit ID."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If a file is the only object in the folder or directory, specifies whether to delete the folder or directory that contains the file. By default, empty folders are deleted. This includes empty folders that are part of the directory structure. For example, if the path to a file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the last file in dir4 also deletes the empty folders dir4, dir3, and dir2."];commitMessage:Message.toption[@ocaml.doc"The commit message you want to include as part of deleting the file. Commit messages are limited to 256 KB. If no message is specified, a default message is used."];name:Name.toption[@ocaml.doc"The name of the author of the commit that deletes the file. If no name is specified, the user's ARN is used as the author name and committer name."];email:Email.toption[@ocaml.doc"The email address for the commit that deletes the file. If no email address is specified, the email address is left blank."]}letcontext_="DeleteFileInput"letmake?keepEmptyFolders=fun?commitMessage->fun?name->fun?email->fun~repositoryName->fun~branchName->fun~filePath->fun~parentCommitId->fun()->{keepEmptyFolders;commitMessage;name;email;repositoryName;branchName;filePath;parentCommitId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("branchName",(Some(BranchName.to_valuex.branchName)));("filePath",(Some(Path.to_valuex.filePath)));("parentCommitId",(Some(CommitId.to_valuex.parentCommitId)));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("name",(Option.mapx.name~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletparentCommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"parentCommitId")inletfilePath=Path.of_xml(Xml.child_exn~context:context_xml_arg0"filePath")inletbranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"branchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?email?name?commitMessage?keepEmptyFolders~parentCommitId~filePath~branchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemail=field_mapjson__"email"Email.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletparentCommitId=field_map_exnjson__"parentCommitId"CommitId.of_jsoninletfilePath=field_map_exnjson__"filePath"Path.of_jsoninletbranchName=field_map_exnjson__"branchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?email?name?commitMessage?keepEmptyFolders~parentCommitId~filePath~branchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion."]moduleDeleteCommentContentOutput=structtypenonrect={comment:Comment.toption[@ocaml.doc"Information about the comment you just deleted."]}typenonrecerror=[`CommentDeletedExceptionofCommentDeletedException.t|`CommentDoesNotExistExceptionofCommentDoesNotExistException.t|`CommentIdRequiredExceptionofCommentIdRequiredException.t|`InvalidCommentIdExceptionofInvalidCommentIdException.t|`Unknown_operation_errorof(string*stringoption)]letmake?comment=fun()->{comment}leterror_of_jsonnamejson=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_jsonjson)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_jsonjson)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_jsonjson)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommentDeletedException"->`CommentDeletedException(CommentDeletedException.of_xmlxml)|"CommentDoesNotExistException"->`CommentDoesNotExistException(CommentDoesNotExistException.of_xmlxml)|"CommentIdRequiredException"->`CommentIdRequiredException(CommentIdRequiredException.of_xmlxml)|"InvalidCommentIdException"->`InvalidCommentIdException(InvalidCommentIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommentDeletedExceptione->`Assoc[("error",(`String"CommentDeletedException"));("details",(CommentDeletedException.to_jsone))]|`CommentDoesNotExistExceptione->`Assoc[("error",(`String"CommentDoesNotExistException"));("details",(CommentDoesNotExistException.to_jsone))]|`CommentIdRequiredExceptione->`Assoc[("error",(`String"CommentIdRequiredException"));("details",(CommentIdRequiredException.to_jsone))]|`InvalidCommentIdExceptione->`Assoc[("error",(`String"InvalidCommentIdException"));("details",(InvalidCommentIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("comment",(Option.mapx.comment~f:Comment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomment=(Option.map~f:Comment.of_xml)(Xml.childxml_arg0"comment")inmake?comment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomment=field_mapjson__"comment"Comment.of_jsoninmake?comment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the content of a comment made on a change, file, or commit in a repository."]moduleDeleteCommentContentInput=structtypenonrect={commentId:CommentId.t[@ocaml.doc"The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest."]}letcontext_="DeleteCommentContentInput"letmake~commentId=fun()->{commentId}letto_valuex=structure_to_value[("commentId",(Some(CommentId.to_valuex.commentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommentId=CommentId.of_xml(Xml.child_exn~context:context_xml_arg0"commentId")inmake~commentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommentId=field_map_exnjson__"commentId"CommentId.of_jsoninmake~commentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the content of a comment made on a change, file, or commit in a repository."]moduleDeleteBranchOutput=structtypenonrect={deletedBranch:BranchInfo.toption[@ocaml.doc"Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch."]}typenonrecerror=[`BranchNameRequiredExceptionofBranchNameRequiredException.t|`DefaultBranchCannotBeDeletedExceptionofDefaultBranchCannotBeDeletedException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deletedBranch=fun()->{deletedBranch}leterror_of_jsonnamejson=matchnamewith|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"DefaultBranchCannotBeDeletedException"->`DefaultBranchCannotBeDeletedException(DefaultBranchCannotBeDeletedException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"DefaultBranchCannotBeDeletedException"->`DefaultBranchCannotBeDeletedException(DefaultBranchCannotBeDeletedException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`DefaultBranchCannotBeDeletedExceptione->`Assoc[("error",(`String"DefaultBranchCannotBeDeletedException"));("details",(DefaultBranchCannotBeDeletedException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("deletedBranch",(Option.mapx.deletedBranch~f:BranchInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeletedBranch=(Option.map~f:BranchInfo.of_xml)(Xml.childxml_arg0"deletedBranch")inmake?deletedBranch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeletedBranch=field_mapjson__"deletedBranch"BranchInfo.of_jsoninmake?deletedBranch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a delete branch operation."]moduleDeleteBranchInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the branch to be deleted."];branchName:BranchName.t[@ocaml.doc"The name of the branch to delete."]}letcontext_="DeleteBranchInput"letmake~repositoryName=fun~branchName->fun()->{repositoryName;branchName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("branchName",(Some(BranchName.to_valuex.branchName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"branchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~branchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbranchName=field_map_exnjson__"branchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~branchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a delete branch operation."]moduleDeleteApprovalRuleTemplateOutput=structtypenonrect={approvalRuleTemplateId:ApprovalRuleTemplateId.toption[@ocaml.doc"The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK."]}typenonrecerror=[`ApprovalRuleTemplateInUseExceptionofApprovalRuleTemplateInUseException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplateId=fun()->{approvalRuleTemplateId}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateInUseException"->`ApprovalRuleTemplateInUseException(ApprovalRuleTemplateInUseException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateInUseException"->`ApprovalRuleTemplateInUseException(ApprovalRuleTemplateInUseException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateInUseExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateInUseException"));("details",(ApprovalRuleTemplateInUseException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplateId",(Option.mapx.approvalRuleTemplateId~f:ApprovalRuleTemplateId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateId=(Option.map~f:ApprovalRuleTemplateId.of_xml)(Xml.childxml_arg0"approvalRuleTemplateId")inmake?approvalRuleTemplateId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateId=field_mapjson__"approvalRuleTemplateId"ApprovalRuleTemplateId.of_jsoninmake?approvalRuleTemplateId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template."]moduleDeleteApprovalRuleTemplateInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template to delete."]}letcontext_="DeleteApprovalRuleTemplateInput"letmake~approvalRuleTemplateName=fun()->{approvalRuleTemplateName}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template."]moduleCreateUnreferencedMergeCommitOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full commit ID of the commit that contains your merge results."];treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains the merge results."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`CommitRequiredExceptionofCommitRequiredException.t|`ConcurrentReferenceUpdateExceptionofConcurrentReferenceUpdateException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FileModeRequiredExceptionofFileModeRequiredException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionExceptionofInvalidConflictResolutionException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidMergeOptionExceptionofInvalidMergeOptionException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidReplacementContentExceptionofInvalidReplacementContentException.t|`InvalidReplacementTypeExceptionofInvalidReplacementTypeException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`ManualMergeRequiredExceptionofManualMergeRequiredException.t|`MaximumConflictResolutionEntriesExceededExceptionofMaximumConflictResolutionEntriesExceededException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MergeOptionRequiredExceptionofMergeOptionRequiredException.t|`MultipleConflictResolutionEntriesExceptionofMultipleConflictResolutionEntriesException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`PathRequiredExceptionofPathRequiredException.t|`ReplacementContentRequiredExceptionofReplacementContentRequiredException.t|`ReplacementTypeRequiredExceptionofReplacementTypeRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?treeId->fun()->{commitId;treeId}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_jsonjson)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_jsonjson)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_jsonjson)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_jsonjson)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"ConcurrentReferenceUpdateException"->`ConcurrentReferenceUpdateException(ConcurrentReferenceUpdateException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionException"->`InvalidConflictResolutionException(InvalidConflictResolutionException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidReplacementContentException"->`InvalidReplacementContentException(InvalidReplacementContentException.of_xmlxml)|"InvalidReplacementTypeException"->`InvalidReplacementTypeException(InvalidReplacementTypeException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"ManualMergeRequiredException"->`ManualMergeRequiredException(ManualMergeRequiredException.of_xmlxml)|"MaximumConflictResolutionEntriesExceededException"->`MaximumConflictResolutionEntriesExceededException(MaximumConflictResolutionEntriesExceededException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_xmlxml)|"MultipleConflictResolutionEntriesException"->`MultipleConflictResolutionEntriesException(MultipleConflictResolutionEntriesException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"ReplacementContentRequiredException"->`ReplacementContentRequiredException(ReplacementContentRequiredException.of_xmlxml)|"ReplacementTypeRequiredException"->`ReplacementTypeRequiredException(ReplacementTypeRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`ConcurrentReferenceUpdateExceptione->`Assoc[("error",(`String"ConcurrentReferenceUpdateException"));("details",(ConcurrentReferenceUpdateException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FileModeRequiredExceptione->`Assoc[("error",(`String"FileModeRequiredException"));("details",(FileModeRequiredException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionExceptione->`Assoc[("error",(`String"InvalidConflictResolutionException"));("details",(InvalidConflictResolutionException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidMergeOptionExceptione->`Assoc[("error",(`String"InvalidMergeOptionException"));("details",(InvalidMergeOptionException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidReplacementContentExceptione->`Assoc[("error",(`String"InvalidReplacementContentException"));("details",(InvalidReplacementContentException.to_jsone))]|`InvalidReplacementTypeExceptione->`Assoc[("error",(`String"InvalidReplacementTypeException"));("details",(InvalidReplacementTypeException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`ManualMergeRequiredExceptione->`Assoc[("error",(`String"ManualMergeRequiredException"));("details",(ManualMergeRequiredException.to_jsone))]|`MaximumConflictResolutionEntriesExceededExceptione->`Assoc[("error",(`String"MaximumConflictResolutionEntriesExceededException"));("details",(MaximumConflictResolutionEntriesExceededException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MergeOptionRequiredExceptione->`Assoc[("error",(`String"MergeOptionRequiredException"));("details",(MergeOptionRequiredException.to_jsone))]|`MultipleConflictResolutionEntriesExceptione->`Assoc[("error",(`String"MultipleConflictResolutionEntriesException"));("details",(MultipleConflictResolutionEntriesException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`ReplacementContentRequiredExceptione->`Assoc[("error",(`String"ReplacementContentRequiredException"));("details",(ReplacementContentRequiredException.to_jsone))]|`ReplacementTypeRequiredExceptione->`Assoc[("error",(`String"ReplacementTypeRequiredException"));("details",(ReplacementTypeRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit. This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it."]moduleCreateUnreferencedMergeCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you want to create the unreferenced merge commit."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];mergeOption:MergeOptionTypeEnum.t[@ocaml.doc"The merge option or strategy you want to use to merge the code."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];authorName:Name.toption[@ocaml.doc"The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address for the person who created the unreferenced commit."];commitMessage:Message.toption[@ocaml.doc"The commit message for the unreferenced commit."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false."];conflictResolution:ConflictResolution.toption[@ocaml.doc"If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge."]}letcontext_="CreateUnreferencedMergeCommitInput"letmake?conflictDetailLevel=fun?conflictResolutionStrategy->fun?authorName->fun?email->fun?commitMessage->fun?keepEmptyFolders->fun?conflictResolution->fun~repositoryName->fun~sourceCommitSpecifier->fun~destinationCommitSpecifier->fun~mergeOption->fun()->{conflictDetailLevel;conflictResolutionStrategy;authorName;email;commitMessage;keepEmptyFolders;conflictResolution;repositoryName;sourceCommitSpecifier;destinationCommitSpecifier;mergeOption}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("mergeOption",(Some(MergeOptionTypeEnum.to_valuex.mergeOption)));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("conflictResolution",(Option.mapx.conflictResolution~f:ConflictResolution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconflictResolution=(Option.map~f:ConflictResolution.of_xml)(Xml.childxml_arg0"conflictResolution")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletmergeOption=MergeOptionTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"mergeOption")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel~mergeOption~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconflictResolution=field_mapjson__"conflictResolution"ConflictResolution.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletmergeOption=field_map_exnjson__"mergeOption"MergeOptionTypeEnum.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?conflictResolution?keepEmptyFolders?commitMessage?email?authorName?conflictResolutionStrategy?conflictDetailLevel~mergeOption~destinationCommitSpecifier~sourceCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit. This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it."]moduleCreateRepositoryOutput=structtypenonrect={repositoryMetadata:RepositoryMetadata.toption[@ocaml.doc"Information about the newly created repository."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyInvalidIdExceptionofEncryptionKeyInvalidIdException.t|`EncryptionKeyInvalidUsageExceptionofEncryptionKeyInvalidUsageException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryDescriptionExceptionofInvalidRepositoryDescriptionException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidSystemTagUsageExceptionofInvalidSystemTagUsageException.t|`InvalidTagsMapExceptionofInvalidTagsMapException.t|`OperationNotAllowedExceptionofOperationNotAllowedException.t|`RepositoryLimitExceededExceptionofRepositoryLimitExceededException.t|`RepositoryNameExistsExceptionofRepositoryNameExistsException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TagPolicyExceptionofTagPolicyException.t|`TooManyTagsExceptionofTooManyTagsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryMetadata=fun()->{repositoryMetadata}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyInvalidIdException"->`EncryptionKeyInvalidIdException(EncryptionKeyInvalidIdException.of_jsonjson)|"EncryptionKeyInvalidUsageException"->`EncryptionKeyInvalidUsageException(EncryptionKeyInvalidUsageException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryDescriptionException"->`InvalidRepositoryDescriptionException(InvalidRepositoryDescriptionException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidSystemTagUsageException"->`InvalidSystemTagUsageException(InvalidSystemTagUsageException.of_jsonjson)|"InvalidTagsMapException"->`InvalidTagsMapException(InvalidTagsMapException.of_jsonjson)|"OperationNotAllowedException"->`OperationNotAllowedException(OperationNotAllowedException.of_jsonjson)|"RepositoryLimitExceededException"->`RepositoryLimitExceededException(RepositoryLimitExceededException.of_jsonjson)|"RepositoryNameExistsException"->`RepositoryNameExistsException(RepositoryNameExistsException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TagPolicyException"->`TagPolicyException(TagPolicyException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyInvalidIdException"->`EncryptionKeyInvalidIdException(EncryptionKeyInvalidIdException.of_xmlxml)|"EncryptionKeyInvalidUsageException"->`EncryptionKeyInvalidUsageException(EncryptionKeyInvalidUsageException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryDescriptionException"->`InvalidRepositoryDescriptionException(InvalidRepositoryDescriptionException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidSystemTagUsageException"->`InvalidSystemTagUsageException(InvalidSystemTagUsageException.of_xmlxml)|"InvalidTagsMapException"->`InvalidTagsMapException(InvalidTagsMapException.of_xmlxml)|"OperationNotAllowedException"->`OperationNotAllowedException(OperationNotAllowedException.of_xmlxml)|"RepositoryLimitExceededException"->`RepositoryLimitExceededException(RepositoryLimitExceededException.of_xmlxml)|"RepositoryNameExistsException"->`RepositoryNameExistsException(RepositoryNameExistsException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TagPolicyException"->`TagPolicyException(TagPolicyException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyInvalidIdExceptione->`Assoc[("error",(`String"EncryptionKeyInvalidIdException"));("details",(EncryptionKeyInvalidIdException.to_jsone))]|`EncryptionKeyInvalidUsageExceptione->`Assoc[("error",(`String"EncryptionKeyInvalidUsageException"));("details",(EncryptionKeyInvalidUsageException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryDescriptionExceptione->`Assoc[("error",(`String"InvalidRepositoryDescriptionException"));("details",(InvalidRepositoryDescriptionException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidSystemTagUsageExceptione->`Assoc[("error",(`String"InvalidSystemTagUsageException"));("details",(InvalidSystemTagUsageException.to_jsone))]|`InvalidTagsMapExceptione->`Assoc[("error",(`String"InvalidTagsMapException"));("details",(InvalidTagsMapException.to_jsone))]|`OperationNotAllowedExceptione->`Assoc[("error",(`String"OperationNotAllowedException"));("details",(OperationNotAllowedException.to_jsone))]|`RepositoryLimitExceededExceptione->`Assoc[("error",(`String"RepositoryLimitExceededException"));("details",(RepositoryLimitExceededException.to_jsone))]|`RepositoryNameExistsExceptione->`Assoc[("error",(`String"RepositoryNameExistsException"));("details",(RepositoryNameExistsException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TagPolicyExceptione->`Assoc[("error",(`String"TagPolicyException"));("details",(TagPolicyException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositoryMetadata",(Option.mapx.repositoryMetadata~f:RepositoryMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryMetadata=(Option.map~f:RepositoryMetadata.of_xml)(Xml.childxml_arg0"repositoryMetadata")inmake?repositoryMetadata()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryMetadata=field_mapjson__"repositoryMetadata"RepositoryMetadata.of_jsoninmake?repositoryMetadata()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a create repository operation."]moduleCreateRepositoryInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the new repository to be created. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide. The suffix .git is prohibited."];repositoryDescription:RepositoryDescription.toption[@ocaml.doc"A comment or description about the new repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage."];tags:TagsMap.toption[@ocaml.doc"One or more tag key-value pairs to use when tagging this repository."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see KeyId in the Decrypt API description in the Key Management Service API Reference. If no key is specified, the default aws/codecommit Amazon Web Services managed key is used."]}letcontext_="CreateRepositoryInput"letmake?repositoryDescription=fun?tags->fun?kmsKeyId->fun~repositoryName->fun()->{repositoryDescription;tags;kmsKeyId;repositoryName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("repositoryDescription",(Option.mapx.repositoryDescription~f:RepositoryDescription.to_value));("tags",(Option.mapx.tags~f:TagsMap.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inlettags=(Option.map~f:TagsMap.of_xml)(Xml.childxml_arg0"tags")inletrepositoryDescription=(Option.map~f:RepositoryDescription.of_xml)(Xml.childxml_arg0"repositoryDescription")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?kmsKeyId?tags?repositoryDescription~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninlettags=field_mapjson__"tags"TagsMap.of_jsoninletrepositoryDescription=field_mapjson__"repositoryDescription"RepositoryDescription.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?kmsKeyId?tags?repositoryDescription~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a create repository operation."]moduleCreatePullRequestOutput=structtypenonrect={pullRequest:PullRequest.toption[@ocaml.doc"Information about the newly created pull request."]}typenonrecerror=[`ClientRequestTokenRequiredExceptionofClientRequestTokenRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`IdempotencyParameterMismatchExceptionofIdempotencyParameterMismatchException.t|`InvalidClientRequestTokenExceptionofInvalidClientRequestTokenException.t|`InvalidDescriptionExceptionofInvalidDescriptionException.t|`InvalidReferenceNameExceptionofInvalidReferenceNameException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`InvalidTargetExceptionofInvalidTargetException.t|`InvalidTargetsExceptionofInvalidTargetsException.t|`InvalidTitleExceptionofInvalidTitleException.t|`MaximumOpenPullRequestsExceededExceptionofMaximumOpenPullRequestsExceededException.t|`MultipleRepositoriesInPullRequestExceptionofMultipleRepositoriesInPullRequestException.t|`ReferenceDoesNotExistExceptionofReferenceDoesNotExistException.t|`ReferenceNameRequiredExceptionofReferenceNameRequiredException.t|`ReferenceTypeNotSupportedExceptionofReferenceTypeNotSupportedException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`SourceAndDestinationAreSameExceptionofSourceAndDestinationAreSameException.t|`TargetRequiredExceptionofTargetRequiredException.t|`TargetsRequiredExceptionofTargetsRequiredException.t|`TitleRequiredExceptionofTitleRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?pullRequest=fun()->{pullRequest}leterror_of_jsonnamejson=matchnamewith|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_jsonjson)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_jsonjson)|"InvalidDescriptionException"->`InvalidDescriptionException(InvalidDescriptionException.of_jsonjson)|"InvalidReferenceNameException"->`InvalidReferenceNameException(InvalidReferenceNameException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"InvalidTargetException"->`InvalidTargetException(InvalidTargetException.of_jsonjson)|"InvalidTargetsException"->`InvalidTargetsException(InvalidTargetsException.of_jsonjson)|"InvalidTitleException"->`InvalidTitleException(InvalidTitleException.of_jsonjson)|"MaximumOpenPullRequestsExceededException"->`MaximumOpenPullRequestsExceededException(MaximumOpenPullRequestsExceededException.of_jsonjson)|"MultipleRepositoriesInPullRequestException"->`MultipleRepositoriesInPullRequestException(MultipleRepositoriesInPullRequestException.of_jsonjson)|"ReferenceDoesNotExistException"->`ReferenceDoesNotExistException(ReferenceDoesNotExistException.of_jsonjson)|"ReferenceNameRequiredException"->`ReferenceNameRequiredException(ReferenceNameRequiredException.of_jsonjson)|"ReferenceTypeNotSupportedException"->`ReferenceTypeNotSupportedException(ReferenceTypeNotSupportedException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"SourceAndDestinationAreSameException"->`SourceAndDestinationAreSameException(SourceAndDestinationAreSameException.of_jsonjson)|"TargetRequiredException"->`TargetRequiredException(TargetRequiredException.of_jsonjson)|"TargetsRequiredException"->`TargetsRequiredException(TargetsRequiredException.of_jsonjson)|"TitleRequiredException"->`TitleRequiredException(TitleRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ClientRequestTokenRequiredException"->`ClientRequestTokenRequiredException(ClientRequestTokenRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"IdempotencyParameterMismatchException"->`IdempotencyParameterMismatchException(IdempotencyParameterMismatchException.of_xmlxml)|"InvalidClientRequestTokenException"->`InvalidClientRequestTokenException(InvalidClientRequestTokenException.of_xmlxml)|"InvalidDescriptionException"->`InvalidDescriptionException(InvalidDescriptionException.of_xmlxml)|"InvalidReferenceNameException"->`InvalidReferenceNameException(InvalidReferenceNameException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"InvalidTargetException"->`InvalidTargetException(InvalidTargetException.of_xmlxml)|"InvalidTargetsException"->`InvalidTargetsException(InvalidTargetsException.of_xmlxml)|"InvalidTitleException"->`InvalidTitleException(InvalidTitleException.of_xmlxml)|"MaximumOpenPullRequestsExceededException"->`MaximumOpenPullRequestsExceededException(MaximumOpenPullRequestsExceededException.of_xmlxml)|"MultipleRepositoriesInPullRequestException"->`MultipleRepositoriesInPullRequestException(MultipleRepositoriesInPullRequestException.of_xmlxml)|"ReferenceDoesNotExistException"->`ReferenceDoesNotExistException(ReferenceDoesNotExistException.of_xmlxml)|"ReferenceNameRequiredException"->`ReferenceNameRequiredException(ReferenceNameRequiredException.of_xmlxml)|"ReferenceTypeNotSupportedException"->`ReferenceTypeNotSupportedException(ReferenceTypeNotSupportedException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"SourceAndDestinationAreSameException"->`SourceAndDestinationAreSameException(SourceAndDestinationAreSameException.of_xmlxml)|"TargetRequiredException"->`TargetRequiredException(TargetRequiredException.of_xmlxml)|"TargetsRequiredException"->`TargetsRequiredException(TargetsRequiredException.of_xmlxml)|"TitleRequiredException"->`TitleRequiredException(TitleRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ClientRequestTokenRequiredExceptione->`Assoc[("error",(`String"ClientRequestTokenRequiredException"));("details",(ClientRequestTokenRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`IdempotencyParameterMismatchExceptione->`Assoc[("error",(`String"IdempotencyParameterMismatchException"));("details",(IdempotencyParameterMismatchException.to_jsone))]|`InvalidClientRequestTokenExceptione->`Assoc[("error",(`String"InvalidClientRequestTokenException"));("details",(InvalidClientRequestTokenException.to_jsone))]|`InvalidDescriptionExceptione->`Assoc[("error",(`String"InvalidDescriptionException"));("details",(InvalidDescriptionException.to_jsone))]|`InvalidReferenceNameExceptione->`Assoc[("error",(`String"InvalidReferenceNameException"));("details",(InvalidReferenceNameException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`InvalidTargetExceptione->`Assoc[("error",(`String"InvalidTargetException"));("details",(InvalidTargetException.to_jsone))]|`InvalidTargetsExceptione->`Assoc[("error",(`String"InvalidTargetsException"));("details",(InvalidTargetsException.to_jsone))]|`InvalidTitleExceptione->`Assoc[("error",(`String"InvalidTitleException"));("details",(InvalidTitleException.to_jsone))]|`MaximumOpenPullRequestsExceededExceptione->`Assoc[("error",(`String"MaximumOpenPullRequestsExceededException"));("details",(MaximumOpenPullRequestsExceededException.to_jsone))]|`MultipleRepositoriesInPullRequestExceptione->`Assoc[("error",(`String"MultipleRepositoriesInPullRequestException"));("details",(MultipleRepositoriesInPullRequestException.to_jsone))]|`ReferenceDoesNotExistExceptione->`Assoc[("error",(`String"ReferenceDoesNotExistException"));("details",(ReferenceDoesNotExistException.to_jsone))]|`ReferenceNameRequiredExceptione->`Assoc[("error",(`String"ReferenceNameRequiredException"));("details",(ReferenceNameRequiredException.to_jsone))]|`ReferenceTypeNotSupportedExceptione->`Assoc[("error",(`String"ReferenceTypeNotSupportedException"));("details",(ReferenceTypeNotSupportedException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`SourceAndDestinationAreSameExceptione->`Assoc[("error",(`String"SourceAndDestinationAreSameException"));("details",(SourceAndDestinationAreSameException.to_jsone))]|`TargetRequiredExceptione->`Assoc[("error",(`String"TargetRequiredException"));("details",(TargetRequiredException.to_jsone))]|`TargetsRequiredExceptione->`Assoc[("error",(`String"TargetsRequiredException"));("details",(TargetsRequiredException.to_jsone))]|`TitleRequiredExceptione->`Assoc[("error",(`String"TitleRequiredException"));("details",(TitleRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("pullRequest",(Option.mapx.pullRequest~f:PullRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequest=(Option.map~f:PullRequest.of_xml)(Xml.childxml_arg0"pullRequest")inmake?pullRequest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequest=field_mapjson__"pullRequest"PullRequest.of_jsoninmake?pullRequest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a pull request in the specified repository."]moduleCreatePullRequestInput=structtypenonrect={title:Title.t[@ocaml.doc"The title of the pull request. This title is used to identify the pull request to other users in the repository."];description:Description.toption[@ocaml.doc"A description of the pull request."];targets:TargetList.t[@ocaml.doc"The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch)."];clientRequestToken:ClientRequestToken.toption[@ocaml.doc"A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token. The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you."]}letcontext_="CreatePullRequestInput"letmake?description=fun?clientRequestToken->fun~title->fun~targets->fun()->{description;clientRequestToken;title;targets}letto_valuex=structure_to_value[("title",(Some(Title.to_valuex.title)));("description",(Option.mapx.description~f:Description.to_value));("targets",(Some(TargetList.to_valuex.targets)));("clientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestToken.of_xml)(Xml.childxml_arg0"clientRequestToken")inlettargets=TargetList.of_xml(Xml.child_exn~context:context_xml_arg0"targets")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"description")inlettitle=Title.of_xml(Xml.child_exn~context:context_xml_arg0"title")inmake?clientRequestToken~targets?description~title()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"clientRequestToken"ClientRequestToken.of_jsoninlettargets=field_map_exnjson__"targets"TargetList.of_jsoninletdescription=field_mapjson__"description"Description.of_jsoninlettitle=field_map_exnjson__"title"Title.of_jsoninmake?clientRequestToken~targets?description~title()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a pull request in the specified repository."]moduleCreatePullRequestApprovalRuleOutput=structtypenonrect={approvalRule:ApprovalRule.toption[@ocaml.doc"Information about the created approval rule."]}typenonrecerror=[`ApprovalRuleContentRequiredExceptionofApprovalRuleContentRequiredException.t|`ApprovalRuleNameAlreadyExistsExceptionofApprovalRuleNameAlreadyExistsException.t|`ApprovalRuleNameRequiredExceptionofApprovalRuleNameRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleContentExceptionofInvalidApprovalRuleContentException.t|`InvalidApprovalRuleNameExceptionofInvalidApprovalRuleNameException.t|`InvalidPullRequestIdExceptionofInvalidPullRequestIdException.t|`NumberOfRulesExceededExceptionofNumberOfRulesExceededException.t|`PullRequestAlreadyClosedExceptionofPullRequestAlreadyClosedException.t|`PullRequestDoesNotExistExceptionofPullRequestDoesNotExistException.t|`PullRequestIdRequiredExceptionofPullRequestIdRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRule=fun()->{approvalRule}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleContentRequiredException"->`ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException.of_jsonjson)|"ApprovalRuleNameAlreadyExistsException"->`ApprovalRuleNameAlreadyExistsException(ApprovalRuleNameAlreadyExistsException.of_jsonjson)|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleContentException"->`InvalidApprovalRuleContentException(InvalidApprovalRuleContentException.of_jsonjson)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_jsonjson)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_jsonjson)|"NumberOfRulesExceededException"->`NumberOfRulesExceededException(NumberOfRulesExceededException.of_jsonjson)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_jsonjson)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_jsonjson)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleContentRequiredException"->`ApprovalRuleContentRequiredException(ApprovalRuleContentRequiredException.of_xmlxml)|"ApprovalRuleNameAlreadyExistsException"->`ApprovalRuleNameAlreadyExistsException(ApprovalRuleNameAlreadyExistsException.of_xmlxml)|"ApprovalRuleNameRequiredException"->`ApprovalRuleNameRequiredException(ApprovalRuleNameRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleContentException"->`InvalidApprovalRuleContentException(InvalidApprovalRuleContentException.of_xmlxml)|"InvalidApprovalRuleNameException"->`InvalidApprovalRuleNameException(InvalidApprovalRuleNameException.of_xmlxml)|"InvalidPullRequestIdException"->`InvalidPullRequestIdException(InvalidPullRequestIdException.of_xmlxml)|"NumberOfRulesExceededException"->`NumberOfRulesExceededException(NumberOfRulesExceededException.of_xmlxml)|"PullRequestAlreadyClosedException"->`PullRequestAlreadyClosedException(PullRequestAlreadyClosedException.of_xmlxml)|"PullRequestDoesNotExistException"->`PullRequestDoesNotExistException(PullRequestDoesNotExistException.of_xmlxml)|"PullRequestIdRequiredException"->`PullRequestIdRequiredException(PullRequestIdRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleContentRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleContentRequiredException"));("details",(ApprovalRuleContentRequiredException.to_jsone))]|`ApprovalRuleNameAlreadyExistsExceptione->`Assoc[("error",(`String"ApprovalRuleNameAlreadyExistsException"));("details",(ApprovalRuleNameAlreadyExistsException.to_jsone))]|`ApprovalRuleNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleNameRequiredException"));("details",(ApprovalRuleNameRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleContentExceptione->`Assoc[("error",(`String"InvalidApprovalRuleContentException"));("details",(InvalidApprovalRuleContentException.to_jsone))]|`InvalidApprovalRuleNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleNameException"));("details",(InvalidApprovalRuleNameException.to_jsone))]|`InvalidPullRequestIdExceptione->`Assoc[("error",(`String"InvalidPullRequestIdException"));("details",(InvalidPullRequestIdException.to_jsone))]|`NumberOfRulesExceededExceptione->`Assoc[("error",(`String"NumberOfRulesExceededException"));("details",(NumberOfRulesExceededException.to_jsone))]|`PullRequestAlreadyClosedExceptione->`Assoc[("error",(`String"PullRequestAlreadyClosedException"));("details",(PullRequestAlreadyClosedException.to_jsone))]|`PullRequestDoesNotExistExceptione->`Assoc[("error",(`String"PullRequestDoesNotExistException"));("details",(PullRequestDoesNotExistException.to_jsone))]|`PullRequestIdRequiredExceptione->`Assoc[("error",(`String"PullRequestIdRequiredException"));("details",(PullRequestIdRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRule",(Option.mapx.approvalRule~f:ApprovalRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRule=(Option.map~f:ApprovalRule.of_xml)(Xml.childxml_arg0"approvalRule")inmake?approvalRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRule=field_mapjson__"approvalRule"ApprovalRule.of_jsoninmake?approvalRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an approval rule for a pull request."]moduleCreatePullRequestApprovalRuleInput=structtypenonrect={pullRequestId:PullRequestId.t[@ocaml.doc"The system-generated ID of the pull request for which you want to create the approval rule."];approvalRuleName:ApprovalRuleName.t[@ocaml.doc"The name for the approval rule."];approvalRuleContent:ApprovalRuleContent.t[@ocaml.doc"The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the CodeCommit User Guide. When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following would be counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide."]}letcontext_="CreatePullRequestApprovalRuleInput"letmake~pullRequestId=fun~approvalRuleName->fun~approvalRuleContent->fun()->{pullRequestId;approvalRuleName;approvalRuleContent}letto_valuex=structure_to_value[("pullRequestId",(Some(PullRequestId.to_valuex.pullRequestId)));("approvalRuleName",(Some(ApprovalRuleName.to_valuex.approvalRuleName)));("approvalRuleContent",(Some(ApprovalRuleContent.to_valuex.approvalRuleContent)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleContent=ApprovalRuleContent.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleContent")inletapprovalRuleName=ApprovalRuleName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleName")inletpullRequestId=PullRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"pullRequestId")inmake~approvalRuleContent~approvalRuleName~pullRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleContent=field_map_exnjson__"approvalRuleContent"ApprovalRuleContent.of_jsoninletapprovalRuleName=field_map_exnjson__"approvalRuleName"ApprovalRuleName.of_jsoninletpullRequestId=field_map_exnjson__"pullRequestId"PullRequestId.of_jsoninmake~approvalRuleContent~approvalRuleName~pullRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an approval rule for a pull request."]moduleCreateCommitOutput=structtypenonrect={commitId:ObjectId.toption[@ocaml.doc"The full commit ID of the commit that contains your committed file changes."];treeId:ObjectId.toption[@ocaml.doc"The full SHA-1 pointer of the tree information for the commit that contains the commited file changes."];filesAdded:FilesMetadata.toption[@ocaml.doc"The files added as part of the committed file changes."];filesUpdated:FilesMetadata.toption[@ocaml.doc"The files updated as part of the commited file changes."];filesDeleted:FilesMetadata.toption[@ocaml.doc"The files deleted as part of the committed file changes."]}typenonrecerror=[`BranchDoesNotExistExceptionofBranchDoesNotExistException.t|`BranchNameIsTagNameExceptionofBranchNameIsTagNameException.t|`BranchNameRequiredExceptionofBranchNameRequiredException.t|`CommitMessageLengthExceededExceptionofCommitMessageLengthExceededException.t|`DirectoryNameConflictsWithFileNameExceptionofDirectoryNameConflictsWithFileNameException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`FileContentAndSourceFileSpecifiedExceptionofFileContentAndSourceFileSpecifiedException.t|`FileContentSizeLimitExceededExceptionofFileContentSizeLimitExceededException.t|`FileDoesNotExistExceptionofFileDoesNotExistException.t|`FileEntryRequiredExceptionofFileEntryRequiredException.t|`FileModeRequiredExceptionofFileModeRequiredException.t|`FileNameConflictsWithDirectoryNameExceptionofFileNameConflictsWithDirectoryNameException.t|`FilePathConflictsWithSubmodulePathExceptionofFilePathConflictsWithSubmodulePathException.t|`FolderContentSizeLimitExceededExceptionofFolderContentSizeLimitExceededException.t|`InvalidBranchNameExceptionofInvalidBranchNameException.t|`InvalidDeletionParameterExceptionofInvalidDeletionParameterException.t|`InvalidEmailExceptionofInvalidEmailException.t|`InvalidFileModeExceptionofInvalidFileModeException.t|`InvalidParentCommitIdExceptionofInvalidParentCommitIdException.t|`InvalidPathExceptionofInvalidPathException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`MaximumFileEntriesExceededExceptionofMaximumFileEntriesExceededException.t|`NameLengthExceededExceptionofNameLengthExceededException.t|`NoChangeExceptionofNoChangeException.t|`ParentCommitDoesNotExistExceptionofParentCommitDoesNotExistException.t|`ParentCommitIdOutdatedExceptionofParentCommitIdOutdatedException.t|`ParentCommitIdRequiredExceptionofParentCommitIdRequiredException.t|`PathRequiredExceptionofPathRequiredException.t|`PutFileEntryConflictExceptionofPutFileEntryConflictException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`RestrictedSourceFileExceptionofRestrictedSourceFileException.t|`SamePathRequestExceptionofSamePathRequestException.t|`SourceFileOrContentRequiredExceptionofSourceFileOrContentRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commitId=fun?treeId->fun?filesAdded->fun?filesUpdated->fun?filesDeleted->fun()->{commitId;treeId;filesAdded;filesUpdated;filesDeleted}leterror_of_jsonnamejson=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_jsonjson)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_jsonjson)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_jsonjson)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_jsonjson)|"DirectoryNameConflictsWithFileNameException"->`DirectoryNameConflictsWithFileNameException(DirectoryNameConflictsWithFileNameException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"FileContentAndSourceFileSpecifiedException"->`FileContentAndSourceFileSpecifiedException(FileContentAndSourceFileSpecifiedException.of_jsonjson)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_jsonjson)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_jsonjson)|"FileEntryRequiredException"->`FileEntryRequiredException(FileEntryRequiredException.of_jsonjson)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_jsonjson)|"FileNameConflictsWithDirectoryNameException"->`FileNameConflictsWithDirectoryNameException(FileNameConflictsWithDirectoryNameException.of_jsonjson)|"FilePathConflictsWithSubmodulePathException"->`FilePathConflictsWithSubmodulePathException(FilePathConflictsWithSubmodulePathException.of_jsonjson)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_jsonjson)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_jsonjson)|"InvalidDeletionParameterException"->`InvalidDeletionParameterException(InvalidDeletionParameterException.of_jsonjson)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_jsonjson)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_jsonjson)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_jsonjson)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"MaximumFileEntriesExceededException"->`MaximumFileEntriesExceededException(MaximumFileEntriesExceededException.of_jsonjson)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_jsonjson)|"NoChangeException"->`NoChangeException(NoChangeException.of_jsonjson)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_jsonjson)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_jsonjson)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_jsonjson)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_jsonjson)|"PutFileEntryConflictException"->`PutFileEntryConflictException(PutFileEntryConflictException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"RestrictedSourceFileException"->`RestrictedSourceFileException(RestrictedSourceFileException.of_jsonjson)|"SamePathRequestException"->`SamePathRequestException(SamePathRequestException.of_jsonjson)|"SourceFileOrContentRequiredException"->`SourceFileOrContentRequiredException(SourceFileOrContentRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BranchDoesNotExistException"->`BranchDoesNotExistException(BranchDoesNotExistException.of_xmlxml)|"BranchNameIsTagNameException"->`BranchNameIsTagNameException(BranchNameIsTagNameException.of_xmlxml)|"BranchNameRequiredException"->`BranchNameRequiredException(BranchNameRequiredException.of_xmlxml)|"CommitMessageLengthExceededException"->`CommitMessageLengthExceededException(CommitMessageLengthExceededException.of_xmlxml)|"DirectoryNameConflictsWithFileNameException"->`DirectoryNameConflictsWithFileNameException(DirectoryNameConflictsWithFileNameException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"FileContentAndSourceFileSpecifiedException"->`FileContentAndSourceFileSpecifiedException(FileContentAndSourceFileSpecifiedException.of_xmlxml)|"FileContentSizeLimitExceededException"->`FileContentSizeLimitExceededException(FileContentSizeLimitExceededException.of_xmlxml)|"FileDoesNotExistException"->`FileDoesNotExistException(FileDoesNotExistException.of_xmlxml)|"FileEntryRequiredException"->`FileEntryRequiredException(FileEntryRequiredException.of_xmlxml)|"FileModeRequiredException"->`FileModeRequiredException(FileModeRequiredException.of_xmlxml)|"FileNameConflictsWithDirectoryNameException"->`FileNameConflictsWithDirectoryNameException(FileNameConflictsWithDirectoryNameException.of_xmlxml)|"FilePathConflictsWithSubmodulePathException"->`FilePathConflictsWithSubmodulePathException(FilePathConflictsWithSubmodulePathException.of_xmlxml)|"FolderContentSizeLimitExceededException"->`FolderContentSizeLimitExceededException(FolderContentSizeLimitExceededException.of_xmlxml)|"InvalidBranchNameException"->`InvalidBranchNameException(InvalidBranchNameException.of_xmlxml)|"InvalidDeletionParameterException"->`InvalidDeletionParameterException(InvalidDeletionParameterException.of_xmlxml)|"InvalidEmailException"->`InvalidEmailException(InvalidEmailException.of_xmlxml)|"InvalidFileModeException"->`InvalidFileModeException(InvalidFileModeException.of_xmlxml)|"InvalidParentCommitIdException"->`InvalidParentCommitIdException(InvalidParentCommitIdException.of_xmlxml)|"InvalidPathException"->`InvalidPathException(InvalidPathException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"MaximumFileEntriesExceededException"->`MaximumFileEntriesExceededException(MaximumFileEntriesExceededException.of_xmlxml)|"NameLengthExceededException"->`NameLengthExceededException(NameLengthExceededException.of_xmlxml)|"NoChangeException"->`NoChangeException(NoChangeException.of_xmlxml)|"ParentCommitDoesNotExistException"->`ParentCommitDoesNotExistException(ParentCommitDoesNotExistException.of_xmlxml)|"ParentCommitIdOutdatedException"->`ParentCommitIdOutdatedException(ParentCommitIdOutdatedException.of_xmlxml)|"ParentCommitIdRequiredException"->`ParentCommitIdRequiredException(ParentCommitIdRequiredException.of_xmlxml)|"PathRequiredException"->`PathRequiredException(PathRequiredException.of_xmlxml)|"PutFileEntryConflictException"->`PutFileEntryConflictException(PutFileEntryConflictException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"RestrictedSourceFileException"->`RestrictedSourceFileException(RestrictedSourceFileException.of_xmlxml)|"SamePathRequestException"->`SamePathRequestException(SamePathRequestException.of_xmlxml)|"SourceFileOrContentRequiredException"->`SourceFileOrContentRequiredException(SourceFileOrContentRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BranchDoesNotExistExceptione->`Assoc[("error",(`String"BranchDoesNotExistException"));("details",(BranchDoesNotExistException.to_jsone))]|`BranchNameIsTagNameExceptione->`Assoc[("error",(`String"BranchNameIsTagNameException"));("details",(BranchNameIsTagNameException.to_jsone))]|`BranchNameRequiredExceptione->`Assoc[("error",(`String"BranchNameRequiredException"));("details",(BranchNameRequiredException.to_jsone))]|`CommitMessageLengthExceededExceptione->`Assoc[("error",(`String"CommitMessageLengthExceededException"));("details",(CommitMessageLengthExceededException.to_jsone))]|`DirectoryNameConflictsWithFileNameExceptione->`Assoc[("error",(`String"DirectoryNameConflictsWithFileNameException"));("details",(DirectoryNameConflictsWithFileNameException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`FileContentAndSourceFileSpecifiedExceptione->`Assoc[("error",(`String"FileContentAndSourceFileSpecifiedException"));("details",(FileContentAndSourceFileSpecifiedException.to_jsone))]|`FileContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FileContentSizeLimitExceededException"));("details",(FileContentSizeLimitExceededException.to_jsone))]|`FileDoesNotExistExceptione->`Assoc[("error",(`String"FileDoesNotExistException"));("details",(FileDoesNotExistException.to_jsone))]|`FileEntryRequiredExceptione->`Assoc[("error",(`String"FileEntryRequiredException"));("details",(FileEntryRequiredException.to_jsone))]|`FileModeRequiredExceptione->`Assoc[("error",(`String"FileModeRequiredException"));("details",(FileModeRequiredException.to_jsone))]|`FileNameConflictsWithDirectoryNameExceptione->`Assoc[("error",(`String"FileNameConflictsWithDirectoryNameException"));("details",(FileNameConflictsWithDirectoryNameException.to_jsone))]|`FilePathConflictsWithSubmodulePathExceptione->`Assoc[("error",(`String"FilePathConflictsWithSubmodulePathException"));("details",(FilePathConflictsWithSubmodulePathException.to_jsone))]|`FolderContentSizeLimitExceededExceptione->`Assoc[("error",(`String"FolderContentSizeLimitExceededException"));("details",(FolderContentSizeLimitExceededException.to_jsone))]|`InvalidBranchNameExceptione->`Assoc[("error",(`String"InvalidBranchNameException"));("details",(InvalidBranchNameException.to_jsone))]|`InvalidDeletionParameterExceptione->`Assoc[("error",(`String"InvalidDeletionParameterException"));("details",(InvalidDeletionParameterException.to_jsone))]|`InvalidEmailExceptione->`Assoc[("error",(`String"InvalidEmailException"));("details",(InvalidEmailException.to_jsone))]|`InvalidFileModeExceptione->`Assoc[("error",(`String"InvalidFileModeException"));("details",(InvalidFileModeException.to_jsone))]|`InvalidParentCommitIdExceptione->`Assoc[("error",(`String"InvalidParentCommitIdException"));("details",(InvalidParentCommitIdException.to_jsone))]|`InvalidPathExceptione->`Assoc[("error",(`String"InvalidPathException"));("details",(InvalidPathException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`MaximumFileEntriesExceededExceptione->`Assoc[("error",(`String"MaximumFileEntriesExceededException"));("details",(MaximumFileEntriesExceededException.to_jsone))]|`NameLengthExceededExceptione->`Assoc[("error",(`String"NameLengthExceededException"));("details",(NameLengthExceededException.to_jsone))]|`NoChangeExceptione->`Assoc[("error",(`String"NoChangeException"));("details",(NoChangeException.to_jsone))]|`ParentCommitDoesNotExistExceptione->`Assoc[("error",(`String"ParentCommitDoesNotExistException"));("details",(ParentCommitDoesNotExistException.to_jsone))]|`ParentCommitIdOutdatedExceptione->`Assoc[("error",(`String"ParentCommitIdOutdatedException"));("details",(ParentCommitIdOutdatedException.to_jsone))]|`ParentCommitIdRequiredExceptione->`Assoc[("error",(`String"ParentCommitIdRequiredException"));("details",(ParentCommitIdRequiredException.to_jsone))]|`PathRequiredExceptione->`Assoc[("error",(`String"PathRequiredException"));("details",(PathRequiredException.to_jsone))]|`PutFileEntryConflictExceptione->`Assoc[("error",(`String"PutFileEntryConflictException"));("details",(PutFileEntryConflictException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`RestrictedSourceFileExceptione->`Assoc[("error",(`String"RestrictedSourceFileException"));("details",(RestrictedSourceFileException.to_jsone))]|`SamePathRequestExceptione->`Assoc[("error",(`String"SamePathRequestException"));("details",(SamePathRequestException.to_jsone))]|`SourceFileOrContentRequiredExceptione->`Assoc[("error",(`String"SourceFileOrContentRequiredException"));("details",(SourceFileOrContentRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commitId",(Option.mapx.commitId~f:ObjectId.to_value));("treeId",(Option.mapx.treeId~f:ObjectId.to_value));("filesAdded",(Option.mapx.filesAdded~f:FilesMetadata.to_value));("filesUpdated",(Option.mapx.filesUpdated~f:FilesMetadata.to_value));("filesDeleted",(Option.mapx.filesDeleted~f:FilesMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilesDeleted=(Option.map~f:FilesMetadata.of_xml)(Xml.childxml_arg0"filesDeleted")inletfilesUpdated=(Option.map~f:FilesMetadata.of_xml)(Xml.childxml_arg0"filesUpdated")inletfilesAdded=(Option.map~f:FilesMetadata.of_xml)(Xml.childxml_arg0"filesAdded")inlettreeId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"treeId")inletcommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"commitId")inmake?filesDeleted?filesUpdated?filesAdded?treeId?commitId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilesDeleted=field_mapjson__"filesDeleted"FilesMetadata.of_jsoninletfilesUpdated=field_mapjson__"filesUpdated"FilesMetadata.of_jsoninletfilesAdded=field_mapjson__"filesAdded"FilesMetadata.of_jsoninlettreeId=field_mapjson__"treeId"ObjectId.of_jsoninletcommitId=field_mapjson__"commitId"ObjectId.of_jsoninmake?filesDeleted?filesUpdated?filesAdded?treeId?commitId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a commit for a repository on the tip of a specified branch."]moduleCreateCommitInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository where you create the commit."];branchName:BranchName.t[@ocaml.doc"The name of the branch where you create the commit."];parentCommitId:CommitId.toption[@ocaml.doc"The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository."];authorName:Name.toption[@ocaml.doc"The name of the author who created the commit. This information is used as both the author and committer for the commit."];email:Email.toption[@ocaml.doc"The email address of the person who created the commit."];commitMessage:Message.toption[@ocaml.doc"The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used."];keepEmptyFolders:KeepEmptyFolders.toption[@ocaml.doc"If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false."];putFiles:PutFileEntries.toption[@ocaml.doc"The files to add or update in this commit."];deleteFiles:DeleteFileEntries.toption[@ocaml.doc"The files to delete in this commit. These files still exist in earlier commits."];setFileModes:SetFileModeEntries.toption[@ocaml.doc"The file modes to update for files in this commit."]}letcontext_="CreateCommitInput"letmake?parentCommitId=fun?authorName->fun?email->fun?commitMessage->fun?keepEmptyFolders->fun?putFiles->fun?deleteFiles->fun?setFileModes->fun~repositoryName->fun~branchName->fun()->{parentCommitId;authorName;email;commitMessage;keepEmptyFolders;putFiles;deleteFiles;setFileModes;repositoryName;branchName}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("branchName",(Some(BranchName.to_valuex.branchName)));("parentCommitId",(Option.mapx.parentCommitId~f:CommitId.to_value));("authorName",(Option.mapx.authorName~f:Name.to_value));("email",(Option.mapx.email~f:Email.to_value));("commitMessage",(Option.mapx.commitMessage~f:Message.to_value));("keepEmptyFolders",(Option.mapx.keepEmptyFolders~f:KeepEmptyFolders.to_value));("putFiles",(Option.mapx.putFiles~f:PutFileEntries.to_value));("deleteFiles",(Option.mapx.deleteFiles~f:DeleteFileEntries.to_value));("setFileModes",(Option.mapx.setFileModes~f:SetFileModeEntries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsetFileModes=(Option.map~f:SetFileModeEntries.of_xml)(Xml.childxml_arg0"setFileModes")inletdeleteFiles=(Option.map~f:DeleteFileEntries.of_xml)(Xml.childxml_arg0"deleteFiles")inletputFiles=(Option.map~f:PutFileEntries.of_xml)(Xml.childxml_arg0"putFiles")inletkeepEmptyFolders=(Option.map~f:KeepEmptyFolders.of_xml)(Xml.childxml_arg0"keepEmptyFolders")inletcommitMessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"commitMessage")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletauthorName=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"authorName")inletparentCommitId=(Option.map~f:CommitId.of_xml)(Xml.childxml_arg0"parentCommitId")inletbranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"branchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?setFileModes?deleteFiles?putFiles?keepEmptyFolders?commitMessage?email?authorName?parentCommitId~branchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsetFileModes=field_mapjson__"setFileModes"SetFileModeEntries.of_jsoninletdeleteFiles=field_mapjson__"deleteFiles"DeleteFileEntries.of_jsoninletputFiles=field_mapjson__"putFiles"PutFileEntries.of_jsoninletkeepEmptyFolders=field_mapjson__"keepEmptyFolders"KeepEmptyFolders.of_jsoninletcommitMessage=field_mapjson__"commitMessage"Message.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletauthorName=field_mapjson__"authorName"Name.of_jsoninletparentCommitId=field_mapjson__"parentCommitId"CommitId.of_jsoninletbranchName=field_map_exnjson__"branchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?setFileModes?deleteFiles?putFiles?keepEmptyFolders?commitMessage?email?authorName?parentCommitId~branchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a commit for a repository on the tip of a specified branch."]moduleCreateBranchInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository in which you want to create the new branch."];branchName:BranchName.t[@ocaml.doc"The name of the new branch to create."];commitId:CommitId.t[@ocaml.doc"The ID of the commit to point the new branch to."]}letcontext_="CreateBranchInput"letmake~repositoryName=fun~branchName->fun~commitId->fun()->{repositoryName;branchName;commitId}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("branchName",(Some(BranchName.to_valuex.branchName)));("commitId",(Some(CommitId.to_valuex.commitId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommitId=CommitId.of_xml(Xml.child_exn~context:context_xml_arg0"commitId")inletbranchName=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"branchName")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake~commitId~branchName~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommitId=field_map_exnjson__"commitId"CommitId.of_jsoninletbranchName=field_map_exnjson__"branchName"BranchName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake~commitId~branchName~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a create branch operation."]moduleCreateApprovalRuleTemplateOutput=structtypenonrect={approvalRuleTemplate:ApprovalRuleTemplate.toption[@ocaml.doc"The content and structure of the created approval rule template."]}typenonrecerror=[`ApprovalRuleTemplateContentRequiredExceptionofApprovalRuleTemplateContentRequiredException.t|`ApprovalRuleTemplateNameAlreadyExistsExceptionofApprovalRuleTemplateNameAlreadyExistsException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`InvalidApprovalRuleTemplateContentExceptionofInvalidApprovalRuleTemplateContentException.t|`InvalidApprovalRuleTemplateDescriptionExceptionofInvalidApprovalRuleTemplateDescriptionException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`NumberOfRuleTemplatesExceededExceptionofNumberOfRuleTemplatesExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?approvalRuleTemplate=fun()->{approvalRuleTemplate}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateContentRequiredException"->`ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException.of_jsonjson)|"ApprovalRuleTemplateNameAlreadyExistsException"->`ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"InvalidApprovalRuleTemplateContentException"->`InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException.of_jsonjson)|"InvalidApprovalRuleTemplateDescriptionException"->`InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|"NumberOfRuleTemplatesExceededException"->`NumberOfRuleTemplatesExceededException(NumberOfRuleTemplatesExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateContentRequiredException"->`ApprovalRuleTemplateContentRequiredException(ApprovalRuleTemplateContentRequiredException.of_xmlxml)|"ApprovalRuleTemplateNameAlreadyExistsException"->`ApprovalRuleTemplateNameAlreadyExistsException(ApprovalRuleTemplateNameAlreadyExistsException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"InvalidApprovalRuleTemplateContentException"->`InvalidApprovalRuleTemplateContentException(InvalidApprovalRuleTemplateContentException.of_xmlxml)|"InvalidApprovalRuleTemplateDescriptionException"->`InvalidApprovalRuleTemplateDescriptionException(InvalidApprovalRuleTemplateDescriptionException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|"NumberOfRuleTemplatesExceededException"->`NumberOfRuleTemplatesExceededException(NumberOfRuleTemplatesExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateContentRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateContentRequiredException"));("details",(ApprovalRuleTemplateContentRequiredException.to_jsone))]|`ApprovalRuleTemplateNameAlreadyExistsExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameAlreadyExistsException"));("details",(ApprovalRuleTemplateNameAlreadyExistsException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`InvalidApprovalRuleTemplateContentExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateContentException"));("details",(InvalidApprovalRuleTemplateContentException.to_jsone))]|`InvalidApprovalRuleTemplateDescriptionExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateDescriptionException"));("details",(InvalidApprovalRuleTemplateDescriptionException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`NumberOfRuleTemplatesExceededExceptione->`Assoc[("error",(`String"NumberOfRuleTemplatesExceededException"));("details",(NumberOfRuleTemplatesExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("approvalRuleTemplate",(Option.mapx.approvalRuleTemplate~f:ApprovalRuleTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplate=(Option.map~f:ApprovalRuleTemplate.of_xml)(Xml.childxml_arg0"approvalRuleTemplate")inmake?approvalRuleTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplate=field_mapjson__"approvalRuleTemplate"ApprovalRuleTemplate.of_jsoninmake?approvalRuleTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository."]moduleCreateApprovalRuleTemplateInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories."];approvalRuleTemplateContent:ApprovalRuleTemplateContent.t[@ocaml.doc"The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template. When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide."];approvalRuleTemplateDescription:ApprovalRuleTemplateDescription.toption[@ocaml.doc"The description of the approval rule template. Consider providing a description that explains what this template does and when it might be appropriate to associate it with repositories."]}letcontext_="CreateApprovalRuleTemplateInput"letmake?approvalRuleTemplateDescription=fun~approvalRuleTemplateName->fun~approvalRuleTemplateContent->fun()->{approvalRuleTemplateDescription;approvalRuleTemplateName;approvalRuleTemplateContent}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("approvalRuleTemplateContent",(Some(ApprovalRuleTemplateContent.to_valuex.approvalRuleTemplateContent)));("approvalRuleTemplateDescription",(Option.mapx.approvalRuleTemplateDescription~f:ApprovalRuleTemplateDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapprovalRuleTemplateDescription=(Option.map~f:ApprovalRuleTemplateDescription.of_xml)(Xml.childxml_arg0"approvalRuleTemplateDescription")inletapprovalRuleTemplateContent=ApprovalRuleTemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateContent")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake?approvalRuleTemplateDescription~approvalRuleTemplateContent~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapprovalRuleTemplateDescription=field_mapjson__"approvalRuleTemplateDescription"ApprovalRuleTemplateDescription.of_jsoninletapprovalRuleTemplateContent=field_map_exnjson__"approvalRuleTemplateContent"ApprovalRuleTemplateContent.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake?approvalRuleTemplateDescription~approvalRuleTemplateContent~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository."]moduleBranchNameExistsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique."]moduleBatchGetRepositoriesOutput=structtypenonrect={repositories:RepositoryMetadataList.toption[@ocaml.doc"A list of repositories returned by the batch get repositories operation."];repositoriesNotFound:RepositoryNotFoundList.toption[@ocaml.doc"Returns a list of repository names for which information could not be found."];errors:BatchGetRepositoriesErrorsList.toption[@ocaml.doc"Returns information about any errors returned when attempting to retrieve information about the repositories."]}typenonrecerror=[`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`MaximumRepositoryNamesExceededExceptionofMaximumRepositoryNamesExceededException.t|`RepositoryNamesRequiredExceptionofRepositoryNamesRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositories=fun?repositoriesNotFound->fun?errors->fun()->{repositories;repositoriesNotFound;errors}leterror_of_jsonnamejson=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_jsonjson)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_xmlxml)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`MaximumRepositoryNamesExceededExceptione->`Assoc[("error",(`String"MaximumRepositoryNamesExceededException"));("details",(MaximumRepositoryNamesExceededException.to_jsone))]|`RepositoryNamesRequiredExceptione->`Assoc[("error",(`String"RepositoryNamesRequiredException"));("details",(RepositoryNamesRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("repositories",(Option.mapx.repositories~f:RepositoryMetadataList.to_value));("repositoriesNotFound",(Option.mapx.repositoriesNotFound~f:RepositoryNotFoundList.to_value));("errors",(Option.mapx.errors~f:BatchGetRepositoriesErrorsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrors=(Option.map~f:BatchGetRepositoriesErrorsList.of_xml)(Xml.childxml_arg0"errors")inletrepositoriesNotFound=(Option.map~f:RepositoryNotFoundList.of_xml)(Xml.childxml_arg0"repositoriesNotFound")inletrepositories=(Option.map~f:RepositoryMetadataList.of_xml)(Xml.childxml_arg0"repositories")inmake?errors?repositoriesNotFound?repositories()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"errors"BatchGetRepositoriesErrorsList.of_jsoninletrepositoriesNotFound=field_mapjson__"repositoriesNotFound"RepositoryNotFoundList.of_jsoninletrepositories=field_mapjson__"repositories"RepositoryMetadataList.of_jsoninmake?errors?repositoriesNotFound?repositories()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a batch get repositories operation."]moduleBatchGetRepositoriesInput=structtypenonrect={repositoryNames:RepositoryNameList.t[@ocaml.doc"The names of the repositories to get information about. The length constraint limit is for each string in the array. The array itself can be empty."]}letcontext_="BatchGetRepositoriesInput"letmake~repositoryNames=fun()->{repositoryNames}letto_valuex=structure_to_value[("repositoryNames",(Some(RepositoryNameList.to_valuex.repositoryNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryNames=RepositoryNameList.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryNames")inmake~repositoryNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryNames=field_map_exnjson__"repositoryNames"RepositoryNameList.of_jsoninmake~repositoryNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the input of a batch get repositories operation."]moduleBatchGetCommitsOutput=structtypenonrect={commits:CommitObjectsList.toption[@ocaml.doc"An array of commit data type objects, each of which contains information about a specified commit."];errors:BatchGetCommitsErrorsList.toption[@ocaml.doc"Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information."]}typenonrecerror=[`CommitIdsLimitExceededExceptionofCommitIdsLimitExceededException.t|`CommitIdsListRequiredExceptionofCommitIdsListRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commits=fun?errors->fun()->{commits;errors}leterror_of_jsonnamejson=matchnamewith|"CommitIdsLimitExceededException"->`CommitIdsLimitExceededException(CommitIdsLimitExceededException.of_jsonjson)|"CommitIdsListRequiredException"->`CommitIdsListRequiredException(CommitIdsListRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitIdsLimitExceededException"->`CommitIdsLimitExceededException(CommitIdsLimitExceededException.of_xmlxml)|"CommitIdsListRequiredException"->`CommitIdsListRequiredException(CommitIdsListRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitIdsLimitExceededExceptione->`Assoc[("error",(`String"CommitIdsLimitExceededException"));("details",(CommitIdsLimitExceededException.to_jsone))]|`CommitIdsListRequiredExceptione->`Assoc[("error",(`String"CommitIdsListRequiredException"));("details",(CommitIdsListRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commits",(Option.mapx.commits~f:CommitObjectsList.to_value));("errors",(Option.mapx.errors~f:BatchGetCommitsErrorsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrors=(Option.map~f:BatchGetCommitsErrorsList.of_xml)(Xml.childxml_arg0"errors")inletcommits=(Option.map~f:CommitObjectsList.of_xml)(Xml.childxml_arg0"commits")inmake?errors?commits()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"errors"BatchGetCommitsErrorsList.of_jsoninletcommits=field_mapjson__"commits"CommitObjectsList.of_jsoninmake?errors?commits()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the contents of one or more commits in a repository."]moduleBatchGetCommitsInput=structtypenonrect={commitIds:CommitIdsInputList.t[@ocaml.doc"The full commit IDs of the commits to get information about. You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the commits."]}letcontext_="BatchGetCommitsInput"letmake~commitIds=fun~repositoryName->fun()->{commitIds;repositoryName}letto_valuex=structure_to_value[("commitIds",(Some(CommitIdsInputList.to_valuex.commitIds)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletcommitIds=CommitIdsInputList.of_xml(Xml.child_exn~context:context_xml_arg0"commitIds")inmake~repositoryName~commitIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletcommitIds=field_map_exnjson__"commitIds"CommitIdsInputList.of_jsoninmake~repositoryName~commitIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the contents of one or more commits in a repository."]moduleBatchDisassociateApprovalRuleTemplateFromRepositoriesOutput=structtypenonrect={disassociatedRepositoryNames:RepositoryNameList.toption[@ocaml.doc"A list of repository names that have had their association with the template removed."];errors:BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.toption[@ocaml.doc"A list of any errors that might have occurred while attempting to remove the association between the template and the repositories."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`MaximumRepositoryNamesExceededExceptionofMaximumRepositoryNamesExceededException.t|`RepositoryNamesRequiredExceptionofRepositoryNamesRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?disassociatedRepositoryNames=fun?errors->fun()->{disassociatedRepositoryNames;errors}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_jsonjson)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_xmlxml)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`MaximumRepositoryNamesExceededExceptione->`Assoc[("error",(`String"MaximumRepositoryNamesExceededException"));("details",(MaximumRepositoryNamesExceededException.to_jsone))]|`RepositoryNamesRequiredExceptione->`Assoc[("error",(`String"RepositoryNamesRequiredException"));("details",(RepositoryNamesRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("disassociatedRepositoryNames",(Option.mapx.disassociatedRepositoryNames~f:RepositoryNameList.to_value));("errors",(Option.mapx.errors~f:BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrors=(Option.map~f:BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.of_xml)(Xml.childxml_arg0"errors")inletdisassociatedRepositoryNames=(Option.map~f:RepositoryNameList.of_xml)(Xml.childxml_arg0"disassociatedRepositoryNames")inmake?errors?disassociatedRepositoryNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"errors"BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.of_jsoninletdisassociatedRepositoryNames=field_mapjson__"disassociatedRepositoryNames"RepositoryNameList.of_jsoninmake?errors?disassociatedRepositoryNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between an approval rule template and one or more specified repositories."]moduleBatchDisassociateApprovalRuleTemplateFromRepositoriesInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the template that you want to disassociate from one or more repositories."];repositoryNames:RepositoryNameList.t[@ocaml.doc"The repository names that you want to disassociate from the approval rule template. The length constraint limit is for each string in the array. The array itself can be empty."]}letcontext_="BatchDisassociateApprovalRuleTemplateFromRepositoriesInput"letmake~approvalRuleTemplateName=fun~repositoryNames->fun()->{approvalRuleTemplateName;repositoryNames}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("repositoryNames",(Some(RepositoryNameList.to_valuex.repositoryNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryNames=RepositoryNameList.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryNames")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~repositoryNames~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryNames=field_map_exnjson__"repositoryNames"RepositoryNameList.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~repositoryNames~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between an approval rule template and one or more specified repositories."]moduleBatchDescribeMergeConflictsOutput=structtypenonrect={conflicts:Conflicts.toption[@ocaml.doc"A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that can be used in a request to return the next batch of the results."];errors:BatchDescribeMergeConflictsErrors.toption[@ocaml.doc"A list of any errors returned while describing the merge conflicts for each file."];destinationCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the destination commit specifier that was used in the merge evaluation."];sourceCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the source commit specifier that was used in the merge evaluation."];baseCommitId:ObjectId.toption[@ocaml.doc"The commit ID of the merge base."]}typenonrecerror=[`CommitDoesNotExistExceptionofCommitDoesNotExistException.t|`CommitRequiredExceptionofCommitRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidCommitExceptionofInvalidCommitException.t|`InvalidConflictDetailLevelExceptionofInvalidConflictDetailLevelException.t|`InvalidConflictResolutionStrategyExceptionofInvalidConflictResolutionStrategyException.t|`InvalidContinuationTokenExceptionofInvalidContinuationTokenException.t|`InvalidMaxConflictFilesExceptionofInvalidMaxConflictFilesException.t|`InvalidMaxMergeHunksExceptionofInvalidMaxMergeHunksException.t|`InvalidMergeOptionExceptionofInvalidMergeOptionException.t|`InvalidRepositoryNameExceptionofInvalidRepositoryNameException.t|`MaximumFileContentToLoadExceededExceptionofMaximumFileContentToLoadExceededException.t|`MaximumItemsToCompareExceededExceptionofMaximumItemsToCompareExceededException.t|`MergeOptionRequiredExceptionofMergeOptionRequiredException.t|`RepositoryDoesNotExistExceptionofRepositoryDoesNotExistException.t|`RepositoryNameRequiredExceptionofRepositoryNameRequiredException.t|`TipsDivergenceExceededExceptionofTipsDivergenceExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?conflicts=fun?nextToken->fun?errors->fun?destinationCommitId->fun?sourceCommitId->fun?baseCommitId->fun()->{conflicts;nextToken;errors;destinationCommitId;sourceCommitId;baseCommitId}leterror_of_jsonnamejson=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_jsonjson)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_jsonjson)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_jsonjson)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_jsonjson)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_jsonjson)|"InvalidMaxConflictFilesException"->`InvalidMaxConflictFilesException(InvalidMaxConflictFilesException.of_jsonjson)|"InvalidMaxMergeHunksException"->`InvalidMaxMergeHunksException(InvalidMaxMergeHunksException.of_jsonjson)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_jsonjson)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_jsonjson)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_jsonjson)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_jsonjson)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_jsonjson)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_jsonjson)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_jsonjson)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CommitDoesNotExistException"->`CommitDoesNotExistException(CommitDoesNotExistException.of_xmlxml)|"CommitRequiredException"->`CommitRequiredException(CommitRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidCommitException"->`InvalidCommitException(InvalidCommitException.of_xmlxml)|"InvalidConflictDetailLevelException"->`InvalidConflictDetailLevelException(InvalidConflictDetailLevelException.of_xmlxml)|"InvalidConflictResolutionStrategyException"->`InvalidConflictResolutionStrategyException(InvalidConflictResolutionStrategyException.of_xmlxml)|"InvalidContinuationTokenException"->`InvalidContinuationTokenException(InvalidContinuationTokenException.of_xmlxml)|"InvalidMaxConflictFilesException"->`InvalidMaxConflictFilesException(InvalidMaxConflictFilesException.of_xmlxml)|"InvalidMaxMergeHunksException"->`InvalidMaxMergeHunksException(InvalidMaxMergeHunksException.of_xmlxml)|"InvalidMergeOptionException"->`InvalidMergeOptionException(InvalidMergeOptionException.of_xmlxml)|"InvalidRepositoryNameException"->`InvalidRepositoryNameException(InvalidRepositoryNameException.of_xmlxml)|"MaximumFileContentToLoadExceededException"->`MaximumFileContentToLoadExceededException(MaximumFileContentToLoadExceededException.of_xmlxml)|"MaximumItemsToCompareExceededException"->`MaximumItemsToCompareExceededException(MaximumItemsToCompareExceededException.of_xmlxml)|"MergeOptionRequiredException"->`MergeOptionRequiredException(MergeOptionRequiredException.of_xmlxml)|"RepositoryDoesNotExistException"->`RepositoryDoesNotExistException(RepositoryDoesNotExistException.of_xmlxml)|"RepositoryNameRequiredException"->`RepositoryNameRequiredException(RepositoryNameRequiredException.of_xmlxml)|"TipsDivergenceExceededException"->`TipsDivergenceExceededException(TipsDivergenceExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CommitDoesNotExistExceptione->`Assoc[("error",(`String"CommitDoesNotExistException"));("details",(CommitDoesNotExistException.to_jsone))]|`CommitRequiredExceptione->`Assoc[("error",(`String"CommitRequiredException"));("details",(CommitRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidCommitExceptione->`Assoc[("error",(`String"InvalidCommitException"));("details",(InvalidCommitException.to_jsone))]|`InvalidConflictDetailLevelExceptione->`Assoc[("error",(`String"InvalidConflictDetailLevelException"));("details",(InvalidConflictDetailLevelException.to_jsone))]|`InvalidConflictResolutionStrategyExceptione->`Assoc[("error",(`String"InvalidConflictResolutionStrategyException"));("details",(InvalidConflictResolutionStrategyException.to_jsone))]|`InvalidContinuationTokenExceptione->`Assoc[("error",(`String"InvalidContinuationTokenException"));("details",(InvalidContinuationTokenException.to_jsone))]|`InvalidMaxConflictFilesExceptione->`Assoc[("error",(`String"InvalidMaxConflictFilesException"));("details",(InvalidMaxConflictFilesException.to_jsone))]|`InvalidMaxMergeHunksExceptione->`Assoc[("error",(`String"InvalidMaxMergeHunksException"));("details",(InvalidMaxMergeHunksException.to_jsone))]|`InvalidMergeOptionExceptione->`Assoc[("error",(`String"InvalidMergeOptionException"));("details",(InvalidMergeOptionException.to_jsone))]|`InvalidRepositoryNameExceptione->`Assoc[("error",(`String"InvalidRepositoryNameException"));("details",(InvalidRepositoryNameException.to_jsone))]|`MaximumFileContentToLoadExceededExceptione->`Assoc[("error",(`String"MaximumFileContentToLoadExceededException"));("details",(MaximumFileContentToLoadExceededException.to_jsone))]|`MaximumItemsToCompareExceededExceptione->`Assoc[("error",(`String"MaximumItemsToCompareExceededException"));("details",(MaximumItemsToCompareExceededException.to_jsone))]|`MergeOptionRequiredExceptione->`Assoc[("error",(`String"MergeOptionRequiredException"));("details",(MergeOptionRequiredException.to_jsone))]|`RepositoryDoesNotExistExceptione->`Assoc[("error",(`String"RepositoryDoesNotExistException"));("details",(RepositoryDoesNotExistException.to_jsone))]|`RepositoryNameRequiredExceptione->`Assoc[("error",(`String"RepositoryNameRequiredException"));("details",(RepositoryNameRequiredException.to_jsone))]|`TipsDivergenceExceededExceptione->`Assoc[("error",(`String"TipsDivergenceExceededException"));("details",(TipsDivergenceExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("conflicts",(Option.mapx.conflicts~f:Conflicts.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("errors",(Option.mapx.errors~f:BatchDescribeMergeConflictsErrors.to_value));("destinationCommitId",(Option.mapx.destinationCommitId~f:ObjectId.to_value));("sourceCommitId",(Option.mapx.sourceCommitId~f:ObjectId.to_value));("baseCommitId",(Option.mapx.baseCommitId~f:ObjectId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbaseCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"baseCommitId")inletsourceCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"sourceCommitId")inletdestinationCommitId=(Option.map~f:ObjectId.of_xml)(Xml.childxml_arg0"destinationCommitId")inleterrors=(Option.map~f:BatchDescribeMergeConflictsErrors.of_xml)(Xml.childxml_arg0"errors")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletconflicts=(Option.map~f:Conflicts.of_xml)(Xml.childxml_arg0"conflicts")inmake?baseCommitId?sourceCommitId?destinationCommitId?errors?nextToken?conflicts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbaseCommitId=field_mapjson__"baseCommitId"ObjectId.of_jsoninletsourceCommitId=field_mapjson__"sourceCommitId"ObjectId.of_jsoninletdestinationCommitId=field_mapjson__"destinationCommitId"ObjectId.of_jsoninleterrors=field_mapjson__"errors"BatchDescribeMergeConflictsErrors.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletconflicts=field_mapjson__"conflicts"Conflicts.of_jsoninmake?baseCommitId?sourceCommitId?destinationCommitId?errors?nextToken?conflicts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy."]moduleBatchDescribeMergeConflictsInput=structtypenonrect={repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that contains the merge conflicts you want to review."];destinationCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];sourceCommitSpecifier:CommitName.t[@ocaml.doc"The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."];mergeOption:MergeOptionTypeEnum.t[@ocaml.doc"The merge option or strategy you want to use to merge the code."];maxMergeHunks:MaxResults.toption[@ocaml.doc"The maximum number of merge hunks to include in the output."];maxConflictFiles:MaxResults.toption[@ocaml.doc"The maximum number of files to include in the output."];filePaths:FilePaths.toption[@ocaml.doc"The path of the target files used to describe the conflicts. If not specified, the default is all conflict files."];conflictDetailLevel:ConflictDetailLevelTypeEnum.toption[@ocaml.doc"The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."];conflictResolutionStrategy:ConflictResolutionStrategyTypeEnum.toption[@ocaml.doc"Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."];nextToken:NextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letcontext_="BatchDescribeMergeConflictsInput"letmake?maxMergeHunks=fun?maxConflictFiles->fun?filePaths->fun?conflictDetailLevel->fun?conflictResolutionStrategy->fun?nextToken->fun~repositoryName->fun~destinationCommitSpecifier->fun~sourceCommitSpecifier->fun~mergeOption->fun()->{maxMergeHunks;maxConflictFiles;filePaths;conflictDetailLevel;conflictResolutionStrategy;nextToken;repositoryName;destinationCommitSpecifier;sourceCommitSpecifier;mergeOption}letto_valuex=structure_to_value[("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("destinationCommitSpecifier",(Some(CommitName.to_valuex.destinationCommitSpecifier)));("sourceCommitSpecifier",(Some(CommitName.to_valuex.sourceCommitSpecifier)));("mergeOption",(Some(MergeOptionTypeEnum.to_valuex.mergeOption)));("maxMergeHunks",(Option.mapx.maxMergeHunks~f:MaxResults.to_value));("maxConflictFiles",(Option.mapx.maxConflictFiles~f:MaxResults.to_value));("filePaths",(Option.mapx.filePaths~f:FilePaths.to_value));("conflictDetailLevel",(Option.mapx.conflictDetailLevel~f:ConflictDetailLevelTypeEnum.to_value));("conflictResolutionStrategy",(Option.mapx.conflictResolutionStrategy~f:ConflictResolutionStrategyTypeEnum.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletconflictResolutionStrategy=(Option.map~f:ConflictResolutionStrategyTypeEnum.of_xml)(Xml.childxml_arg0"conflictResolutionStrategy")inletconflictDetailLevel=(Option.map~f:ConflictDetailLevelTypeEnum.of_xml)(Xml.childxml_arg0"conflictDetailLevel")inletfilePaths=(Option.map~f:FilePaths.of_xml)(Xml.childxml_arg0"filePaths")inletmaxConflictFiles=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxConflictFiles")inletmaxMergeHunks=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxMergeHunks")inletmergeOption=MergeOptionTypeEnum.of_xml(Xml.child_exn~context:context_xml_arg0"mergeOption")inletsourceCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"sourceCommitSpecifier")inletdestinationCommitSpecifier=CommitName.of_xml(Xml.child_exn~context:context_xml_arg0"destinationCommitSpecifier")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inmake?nextToken?conflictResolutionStrategy?conflictDetailLevel?filePaths?maxConflictFiles?maxMergeHunks~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletconflictResolutionStrategy=field_mapjson__"conflictResolutionStrategy"ConflictResolutionStrategyTypeEnum.of_jsoninletconflictDetailLevel=field_mapjson__"conflictDetailLevel"ConflictDetailLevelTypeEnum.of_jsoninletfilePaths=field_mapjson__"filePaths"FilePaths.of_jsoninletmaxConflictFiles=field_mapjson__"maxConflictFiles"MaxResults.of_jsoninletmaxMergeHunks=field_mapjson__"maxMergeHunks"MaxResults.of_jsoninletmergeOption=field_map_exnjson__"mergeOption"MergeOptionTypeEnum.of_jsoninletsourceCommitSpecifier=field_map_exnjson__"sourceCommitSpecifier"CommitName.of_jsoninletdestinationCommitSpecifier=field_map_exnjson__"destinationCommitSpecifier"CommitName.of_jsoninletrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninmake?nextToken?conflictResolutionStrategy?conflictDetailLevel?filePaths?maxConflictFiles?maxMergeHunks~mergeOption~sourceCommitSpecifier~destinationCommitSpecifier~repositoryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy."]moduleBatchAssociateApprovalRuleTemplateWithRepositoriesOutput=structtypenonrect={associatedRepositoryNames:RepositoryNameList.toption[@ocaml.doc"A list of names of the repositories that have been associated with the template."];errors:BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.toption[@ocaml.doc"A list of any errors that might have occurred while attempting to create the association between the template and the repositories."]}typenonrecerror=[`ApprovalRuleTemplateDoesNotExistExceptionofApprovalRuleTemplateDoesNotExistException.t|`ApprovalRuleTemplateNameRequiredExceptionofApprovalRuleTemplateNameRequiredException.t|`EncryptionIntegrityChecksFailedExceptionofEncryptionIntegrityChecksFailedException.t|`EncryptionKeyAccessDeniedExceptionofEncryptionKeyAccessDeniedException.t|`EncryptionKeyDisabledExceptionofEncryptionKeyDisabledException.t|`EncryptionKeyNotFoundExceptionofEncryptionKeyNotFoundException.t|`EncryptionKeyUnavailableExceptionofEncryptionKeyUnavailableException.t|`InvalidApprovalRuleTemplateNameExceptionofInvalidApprovalRuleTemplateNameException.t|`MaximumRepositoryNamesExceededExceptionofMaximumRepositoryNamesExceededException.t|`RepositoryNamesRequiredExceptionofRepositoryNamesRequiredException.t|`Unknown_operation_errorof(string*stringoption)]letmake?associatedRepositoryNames=fun?errors->fun()->{associatedRepositoryNames;errors}leterror_of_jsonnamejson=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_jsonjson)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_jsonjson)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_jsonjson)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_jsonjson)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_jsonjson)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_jsonjson)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_jsonjson)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_jsonjson)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_jsonjson)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ApprovalRuleTemplateDoesNotExistException"->`ApprovalRuleTemplateDoesNotExistException(ApprovalRuleTemplateDoesNotExistException.of_xmlxml)|"ApprovalRuleTemplateNameRequiredException"->`ApprovalRuleTemplateNameRequiredException(ApprovalRuleTemplateNameRequiredException.of_xmlxml)|"EncryptionIntegrityChecksFailedException"->`EncryptionIntegrityChecksFailedException(EncryptionIntegrityChecksFailedException.of_xmlxml)|"EncryptionKeyAccessDeniedException"->`EncryptionKeyAccessDeniedException(EncryptionKeyAccessDeniedException.of_xmlxml)|"EncryptionKeyDisabledException"->`EncryptionKeyDisabledException(EncryptionKeyDisabledException.of_xmlxml)|"EncryptionKeyNotFoundException"->`EncryptionKeyNotFoundException(EncryptionKeyNotFoundException.of_xmlxml)|"EncryptionKeyUnavailableException"->`EncryptionKeyUnavailableException(EncryptionKeyUnavailableException.of_xmlxml)|"InvalidApprovalRuleTemplateNameException"->`InvalidApprovalRuleTemplateNameException(InvalidApprovalRuleTemplateNameException.of_xmlxml)|"MaximumRepositoryNamesExceededException"->`MaximumRepositoryNamesExceededException(MaximumRepositoryNamesExceededException.of_xmlxml)|"RepositoryNamesRequiredException"->`RepositoryNamesRequiredException(RepositoryNamesRequiredException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ApprovalRuleTemplateDoesNotExistExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateDoesNotExistException"));("details",(ApprovalRuleTemplateDoesNotExistException.to_jsone))]|`ApprovalRuleTemplateNameRequiredExceptione->`Assoc[("error",(`String"ApprovalRuleTemplateNameRequiredException"));("details",(ApprovalRuleTemplateNameRequiredException.to_jsone))]|`EncryptionIntegrityChecksFailedExceptione->`Assoc[("error",(`String"EncryptionIntegrityChecksFailedException"));("details",(EncryptionIntegrityChecksFailedException.to_jsone))]|`EncryptionKeyAccessDeniedExceptione->`Assoc[("error",(`String"EncryptionKeyAccessDeniedException"));("details",(EncryptionKeyAccessDeniedException.to_jsone))]|`EncryptionKeyDisabledExceptione->`Assoc[("error",(`String"EncryptionKeyDisabledException"));("details",(EncryptionKeyDisabledException.to_jsone))]|`EncryptionKeyNotFoundExceptione->`Assoc[("error",(`String"EncryptionKeyNotFoundException"));("details",(EncryptionKeyNotFoundException.to_jsone))]|`EncryptionKeyUnavailableExceptione->`Assoc[("error",(`String"EncryptionKeyUnavailableException"));("details",(EncryptionKeyUnavailableException.to_jsone))]|`InvalidApprovalRuleTemplateNameExceptione->`Assoc[("error",(`String"InvalidApprovalRuleTemplateNameException"));("details",(InvalidApprovalRuleTemplateNameException.to_jsone))]|`MaximumRepositoryNamesExceededExceptione->`Assoc[("error",(`String"MaximumRepositoryNamesExceededException"));("details",(MaximumRepositoryNamesExceededException.to_jsone))]|`RepositoryNamesRequiredExceptione->`Assoc[("error",(`String"RepositoryNamesRequiredException"));("details",(RepositoryNamesRequiredException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("associatedRepositoryNames",(Option.mapx.associatedRepositoryNames~f:RepositoryNameList.to_value));("errors",(Option.mapx.errors~f:BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrors=(Option.map~f:BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.of_xml)(Xml.childxml_arg0"errors")inletassociatedRepositoryNames=(Option.map~f:RepositoryNameList.of_xml)(Xml.childxml_arg0"associatedRepositoryNames")inmake?errors?associatedRepositoryNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"errors"BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.of_jsoninletassociatedRepositoryNames=field_mapjson__"associatedRepositoryNames"RepositoryNameList.of_jsoninmake?errors?associatedRepositoryNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an association between an approval rule template and one or more specified repositories."]moduleBatchAssociateApprovalRuleTemplateWithRepositoriesInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name of the template you want to associate with one or more repositories."];repositoryNames:RepositoryNameList.t[@ocaml.doc"The names of the repositories you want to associate with the template. The length constraint limit is for each string in the array. The array itself can be empty."]}letcontext_="BatchAssociateApprovalRuleTemplateWithRepositoriesInput"letmake~approvalRuleTemplateName=fun~repositoryNames->fun()->{approvalRuleTemplateName;repositoryNames}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("repositoryNames",(Some(RepositoryNameList.to_valuex.repositoryNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryNames=RepositoryNameList.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryNames")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~repositoryNames~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryNames=field_map_exnjson__"repositoryNames"RepositoryNameList.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~repositoryNames~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an association between an approval rule template and one or more specified repositories."]moduleAssociateApprovalRuleTemplateWithRepositoryInput=structtypenonrect={approvalRuleTemplateName:ApprovalRuleTemplateName.t[@ocaml.doc"The name for the approval rule template."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository that you want to associate with the template."]}letcontext_="AssociateApprovalRuleTemplateWithRepositoryInput"letmake~approvalRuleTemplateName=fun~repositoryName->fun()->{approvalRuleTemplateName;repositoryName}letto_valuex=structure_to_value[("approvalRuleTemplateName",(Some(ApprovalRuleTemplateName.to_valuex.approvalRuleTemplateName)));("repositoryName",(Some(RepositoryName.to_valuex.repositoryName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"repositoryName")inletapprovalRuleTemplateName=ApprovalRuleTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"approvalRuleTemplateName")inmake~repositoryName~approvalRuleTemplateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_map_exnjson__"repositoryName"RepositoryName.of_jsoninletapprovalRuleTemplateName=field_map_exnjson__"approvalRuleTemplateName"ApprovalRuleTemplateName.of_jsoninmake~repositoryName~approvalRuleTemplateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository."]moduleApprovalStateRequiredException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An approval state is required, but was not specified."]