123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230(* 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.codebuildletapiVersion="2016-10-06"letendpointPrefix="codebuild"letserviceFullName="AWS CodeBuild"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"lettargetPrefix="CodeBuild_20161006"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[]))])moduleArtifactsType=structtypenonrect=|CODEPIPELINE|S3|NO_ARTIFACTS|Non_static_idofstringletmakei=iletto_string=function|CODEPIPELINE->"CODEPIPELINE"|S3->"S3"|NO_ARTIFACTS->"NO_ARTIFACTS"|Non_static_ids->sletof_string=function|"CODEPIPELINE"->CODEPIPELINE|"S3"->S3|"NO_ARTIFACTS"->NO_ARTIFACTS|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 ArtifactsType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ArtifactsType"j)letto_json=simple_to_jsonto_valueendmoduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleResolvedArtifact=structtypenonrect={type_:ArtifactsType.toption[@ocaml.doc"Specifies the type of artifact."];location:String_.toption[@ocaml.doc"The location of the artifact."];identifier:String_.toption[@ocaml.doc"The identifier of the artifact."]}letmake?type_=fun?location->fun?identifier->fun()->{type_;location;identifier}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:ArtifactsType.to_value));("location",(Option.mapx.location~f:String_.to_value));("identifier",(Option.mapx.identifier~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"identifier")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inlettype_=(Option.map~f:ArtifactsType.of_xml)(Xml.childxml_arg0"type")inmake?identifier?location?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_mapjson__"identifier"String_.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninlettype_=field_mapjson__"type"ArtifactsType.of_jsoninmake?identifier?location?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a resolved build artifact. A resolved artifact is an artifact that is built and deployed to the destination, such as Amazon S3."]moduleImageVersions=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ImageVersions"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhaseContext=structtypenonrect={statusCode:String_.toption[@ocaml.doc"The status code for the context of the build phase."];message:String_.toption[@ocaml.doc"An explanation of the build phase's context. This might include a command ID and an exit code."]}letmake?statusCode=fun?message->fun()->{statusCode;message}letto_valuex=structure_to_value[("statusCode",(Option.mapx.statusCode~f:String_.to_value));("message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inletstatusCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusCode")inmake?message?statusCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"String_.of_jsoninletstatusCode=field_mapjson__"statusCode"String_.of_jsoninmake?message?statusCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Additional information about a build phase that has an error. You can use this information for troubleshooting."]moduleWebhookFilterType=structtypenonrect=|EVENT|BASE_REF|HEAD_REF|ACTOR_ACCOUNT_ID|FILE_PATH|COMMIT_MESSAGE|WORKFLOW_NAME|TAG_NAME|RELEASE_NAME|REPOSITORY_NAME|ORGANIZATION_NAME|Non_static_idofstringletmakei=iletto_string=function|EVENT->"EVENT"|BASE_REF->"BASE_REF"|HEAD_REF->"HEAD_REF"|ACTOR_ACCOUNT_ID->"ACTOR_ACCOUNT_ID"|FILE_PATH->"FILE_PATH"|COMMIT_MESSAGE->"COMMIT_MESSAGE"|WORKFLOW_NAME->"WORKFLOW_NAME"|TAG_NAME->"TAG_NAME"|RELEASE_NAME->"RELEASE_NAME"|REPOSITORY_NAME->"REPOSITORY_NAME"|ORGANIZATION_NAME->"ORGANIZATION_NAME"|Non_static_ids->sletof_string=function|"EVENT"->EVENT|"BASE_REF"->BASE_REF|"HEAD_REF"->HEAD_REF|"ACTOR_ACCOUNT_ID"->ACTOR_ACCOUNT_ID|"FILE_PATH"->FILE_PATH|"COMMIT_MESSAGE"->COMMIT_MESSAGE|"WORKFLOW_NAME"->WORKFLOW_NAME|"TAG_NAME"->TAG_NAME|"RELEASE_NAME"->RELEASE_NAME|"REPOSITORY_NAME"->REPOSITORY_NAME|"ORGANIZATION_NAME"->ORGANIZATION_NAME|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 WebhookFilterType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WebhookFilterType"j)letto_json=simple_to_jsonto_valueendmoduleWrapperBoolean=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_valueendmoduleResolvedSecondaryArtifacts=structtypenonrect=ResolvedArtifact.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolvedArtifact.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:ResolvedArtifact.of_xml)letof_jsonj=list_of_json~kind:"ResolvedSecondaryArtifacts"~of_json:ResolvedArtifact.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatusType=structtypenonrect=|SUCCEEDED|FAILED|FAULT|TIMED_OUT|IN_PROGRESS|STOPPED|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|FAULT->"FAULT"|TIMED_OUT->"TIMED_OUT"|IN_PROGRESS->"IN_PROGRESS"|STOPPED->"STOPPED"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"FAULT"->FAULT|"TIMED_OUT"->TIMED_OUT|"IN_PROGRESS"->IN_PROGRESS|"STOPPED"->STOPPED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StatusType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StatusType"j)letto_json=simple_to_jsonto_valueendmoduleTimestamp=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_valueendmoduleEnvironmentImage=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the Docker image."];description:String_.toption[@ocaml.doc"The description of the Docker image."];versions:ImageVersions.toption[@ocaml.doc"A list of environment image versions."]}letmake?name=fun?description->fun?versions->fun()->{name;description;versions}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:String_.to_value));("description",(Option.mapx.description~f:String_.to_value));("versions",(Option.mapx.versions~f:ImageVersions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversions=(Option.map~f:ImageVersions.of_xml)(Xml.childxml_arg0"versions")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inmake?versions?description?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversions=field_mapjson__"versions"ImageVersions.of_jsoninletdescription=field_mapjson__"description"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninmake?versions?description?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a Docker image that is managed by CodeBuild."]moduleNonEmptyString=structtypenonrect=stringletcontext_="NonEmptyString"letmakei=letopenResultinok_or_failwith(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:"NonEmptyString"jletto_json=simple_to_jsonto_valueendmoduleEnvironmentVariableType=structtypenonrect=|PLAINTEXT|PARAMETER_STORE|SECRETS_MANAGER|Non_static_idofstringletmakei=iletto_string=function|PLAINTEXT->"PLAINTEXT"|PARAMETER_STORE->"PARAMETER_STORE"|SECRETS_MANAGER->"SECRETS_MANAGER"|Non_static_ids->sletof_string=function|"PLAINTEXT"->PLAINTEXT|"PARAMETER_STORE"->PARAMETER_STORE|"SECRETS_MANAGER"->SECRETS_MANAGER|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 EnvironmentVariableType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnvironmentVariableType"j)letto_json=simple_to_jsonto_valueendmoduleSourceAuthType=structtypenonrect=|OAUTH|CODECONNECTIONS|SECRETS_MANAGER|Non_static_idofstringletmakei=iletto_string=function|OAUTH->"OAUTH"|CODECONNECTIONS->"CODECONNECTIONS"|SECRETS_MANAGER->"SECRETS_MANAGER"|Non_static_ids->sletof_string=function|"OAUTH"->OAUTH|"CODECONNECTIONS"->CODECONNECTIONS|"SECRETS_MANAGER"->SECRETS_MANAGER|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 SourceAuthType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SourceAuthType"j)letto_json=simple_to_jsonto_valueendmoduleLogsConfigStatusType=structtypenonrect=|ENABLED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration LogsConfigStatusType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LogsConfigStatusType"j)letto_json=simple_to_jsonto_valueendmoduleBucketOwnerAccess=structtypenonrect=|NONE|READ_ONLY|FULL|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|READ_ONLY->"READ_ONLY"|FULL->"FULL"|Non_static_ids->sletof_string=function|"NONE"->NONE|"READ_ONLY"->READ_ONLY|"FULL"->FULL|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 BucketOwnerAccess"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BucketOwnerAccess"j)letto_json=simple_to_jsonto_valueendmodulePhaseContexts=structtypenonrect=PhaseContext.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhaseContext.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:PhaseContext.of_xml)letof_jsonj=list_of_json~kind:"PhaseContexts"~of_json:PhaseContext.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleWrapperLong=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_valueendmoduleWebhookFilter=structtypenonrect={type_:WebhookFilterType.t[@ocaml.doc"The type of webhook filter. There are 11 webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, REPOSITORY_NAME, ORGANIZATION_NAME, and WORKFLOW_NAME. EVENT A webhook event triggers a build when the provided pattern matches one of nine event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, PULL_REQUEST_MERGED, RELEASED, PRERELEASED, and WORKFLOW_JOB_QUEUED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events. Types PULL_REQUEST_REOPENED and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise only. Types RELEASED and PRERELEASED work with GitHub only. ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern. HEAD_REF A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. BASE_REF A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name. Works with pull request events only. FILE_PATH A webhook triggers a build when the path of a changed file matches the regular expression pattern. Works with push and pull request events only. COMMIT_MESSAGE A webhook triggers a build when the head commit message matches the regular expression pattern. Works with push and pull request events only. TAG_NAME A webhook triggers a build when the tag name of the release matches the regular expression pattern. Works with RELEASED and PRERELEASED events only. RELEASE_NAME A webhook triggers a build when the release name matches the regular expression pattern. Works with RELEASED and PRERELEASED events only. REPOSITORY_NAME A webhook triggers a build when the repository name matches the regular expression pattern. Works with GitHub global or organization webhooks only. ORGANIZATION_NAME A webhook triggers a build when the organization name matches the regular expression pattern. Works with GitHub global webhooks only. WORKFLOW_NAME A webhook triggers a build when the workflow name matches the regular expression pattern. Works with WORKFLOW_JOB_QUEUED events only. For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name."];pattern:String_.t[@ocaml.doc"For a WebHookFilter that uses EVENT type, a comma-separated string that specifies one or more events. For example, the webhook filter PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull request created, and pull request updated events to trigger a build. For a WebHookFilter that uses any of the other filter types, a regular expression pattern. For example, a WebHookFilter that uses HEAD_REF for its type and the pattern ^refs/heads/ triggers a build when the head reference is a branch with a reference name refs/heads/branch-name."];excludeMatchedPattern:WrapperBoolean.toption[@ocaml.doc"Used to indicate that the pattern determines which webhook events do not trigger a build. If true, then a webhook event that does not match the pattern triggers a build. If false, then a webhook event that matches the pattern triggers a build."]}letcontext_="WebhookFilter"letmake?excludeMatchedPattern=fun~type_->fun~pattern->fun()->{excludeMatchedPattern;type_;pattern}letto_valuex=structure_to_value[("type",(Some(WebhookFilterType.to_valuex.type_)));("pattern",(Some(String_.to_valuex.pattern)));("excludeMatchedPattern",(Option.mapx.excludeMatchedPattern~f:WrapperBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexcludeMatchedPattern=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"excludeMatchedPattern")inletpattern=String_.of_xml(Xml.child_exn~context:context_xml_arg0"pattern")inlettype_=WebhookFilterType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?excludeMatchedPattern~pattern~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexcludeMatchedPattern=field_mapjson__"excludeMatchedPattern"WrapperBoolean.of_jsoninletpattern=field_map_exnjson__"pattern"String_.of_jsoninlettype_=field_map_exnjson__"type"WebhookFilterType.of_jsoninmake?excludeMatchedPattern~pattern~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter used to determine which webhooks trigger a build."]modulePullRequestBuildApproverRole=structtypenonrect=|GITHUB_READ|GITHUB_TRIAGE|GITHUB_WRITE|GITHUB_MAINTAIN|GITHUB_ADMIN|GITLAB_GUEST|GITLAB_PLANNER|GITLAB_REPORTER|GITLAB_DEVELOPER|GITLAB_MAINTAINER|GITLAB_OWNER|BITBUCKET_READ|BITBUCKET_WRITE|BITBUCKET_ADMIN|Non_static_idofstringletmakei=iletto_string=function|GITHUB_READ->"GITHUB_READ"|GITHUB_TRIAGE->"GITHUB_TRIAGE"|GITHUB_WRITE->"GITHUB_WRITE"|GITHUB_MAINTAIN->"GITHUB_MAINTAIN"|GITHUB_ADMIN->"GITHUB_ADMIN"|GITLAB_GUEST->"GITLAB_GUEST"|GITLAB_PLANNER->"GITLAB_PLANNER"|GITLAB_REPORTER->"GITLAB_REPORTER"|GITLAB_DEVELOPER->"GITLAB_DEVELOPER"|GITLAB_MAINTAINER->"GITLAB_MAINTAINER"|GITLAB_OWNER->"GITLAB_OWNER"|BITBUCKET_READ->"BITBUCKET_READ"|BITBUCKET_WRITE->"BITBUCKET_WRITE"|BITBUCKET_ADMIN->"BITBUCKET_ADMIN"|Non_static_ids->sletof_string=function|"GITHUB_READ"->GITHUB_READ|"GITHUB_TRIAGE"->GITHUB_TRIAGE|"GITHUB_WRITE"->GITHUB_WRITE|"GITHUB_MAINTAIN"->GITHUB_MAINTAIN|"GITHUB_ADMIN"->GITHUB_ADMIN|"GITLAB_GUEST"->GITLAB_GUEST|"GITLAB_PLANNER"->GITLAB_PLANNER|"GITLAB_REPORTER"->GITLAB_REPORTER|"GITLAB_DEVELOPER"->GITLAB_DEVELOPER|"GITLAB_MAINTAINER"->GITLAB_MAINTAINER|"GITLAB_OWNER"->GITLAB_OWNER|"BITBUCKET_READ"->BITBUCKET_READ|"BITBUCKET_WRITE"->BITBUCKET_WRITE|"BITBUCKET_ADMIN"->BITBUCKET_ADMIN|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 PullRequestBuildApproverRole"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PullRequestBuildApproverRole"j)letto_json=simple_to_jsonto_valueendmoduleFleetProxyRuleEffectType=structtypenonrect=|ALLOW|DENY|Non_static_idofstringletmakei=iletto_string=function|ALLOW->"ALLOW"|DENY->"DENY"|Non_static_ids->sletof_string=function|"ALLOW"->ALLOW|"DENY"->DENY|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 FleetProxyRuleEffectType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetProxyRuleEffectType"j)letto_json=simple_to_jsonto_valueendmoduleFleetProxyRuleEntities=structtypenonrect=String_.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"FleetProxyRuleEntities"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleetProxyRuleType=structtypenonrect=|DOMAIN|IP|Non_static_idofstringletmakei=iletto_string=function|DOMAIN->"DOMAIN"|IP->"IP"|Non_static_ids->sletof_string=function|"DOMAIN"->DOMAIN|"IP"->IP|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 FleetProxyRuleType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetProxyRuleType"j)letto_json=simple_to_jsonto_valueendmoduleFleetScalingMetricType=structtypenonrect=|FLEET_UTILIZATION_RATE|Non_static_idofstringletmakei=iletto_string=function|FLEET_UTILIZATION_RATE->"FLEET_UTILIZATION_RATE"|Non_static_ids->sletof_string=function|"FLEET_UTILIZATION_RATE"->FLEET_UTILIZATION_RATE|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 FleetScalingMetricType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetScalingMetricType"j)letto_json=simple_to_jsonto_valueendmoduleWrapperDouble=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleBuildSummary=structtypenonrect={arn:String_.toption[@ocaml.doc"The batch build ARN."];requestedOn:Timestamp.toption[@ocaml.doc"When the build was started, expressed in Unix time format."];buildStatus:StatusType.toption[@ocaml.doc"The status of the build group. FAILED The build group failed. FAULT The build group faulted. IN_PROGRESS The build group is still in progress. STOPPED The build group stopped. SUCCEEDED The build group succeeded. TIMED_OUT The build group timed out."];primaryArtifact:ResolvedArtifact.toption[@ocaml.doc"A ResolvedArtifact object that represents the primary build artifacts for the build group."];secondaryArtifacts:ResolvedSecondaryArtifacts.toption[@ocaml.doc"An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group."]}letmake?arn=fun?requestedOn->fun?buildStatus->fun?primaryArtifact->fun?secondaryArtifacts->fun()->{arn;requestedOn;buildStatus;primaryArtifact;secondaryArtifacts}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:String_.to_value));("requestedOn",(Option.mapx.requestedOn~f:Timestamp.to_value));("buildStatus",(Option.mapx.buildStatus~f:StatusType.to_value));("primaryArtifact",(Option.mapx.primaryArtifact~f:ResolvedArtifact.to_value));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:ResolvedSecondaryArtifacts.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondaryArtifacts=(Option.map~f:ResolvedSecondaryArtifacts.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletprimaryArtifact=(Option.map~f:ResolvedArtifact.of_xml)(Xml.childxml_arg0"primaryArtifact")inletbuildStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"buildStatus")inletrequestedOn=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"requestedOn")inletarn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"arn")inmake?secondaryArtifacts?primaryArtifact?buildStatus?requestedOn?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondaryArtifacts=field_mapjson__"secondaryArtifacts"ResolvedSecondaryArtifacts.of_jsoninletprimaryArtifact=field_mapjson__"primaryArtifact"ResolvedArtifact.of_jsoninletbuildStatus=field_mapjson__"buildStatus"StatusType.of_jsoninletrequestedOn=field_mapjson__"requestedOn"Timestamp.of_jsoninletarn=field_mapjson__"arn"String_.of_jsoninmake?secondaryArtifacts?primaryArtifact?buildStatus?requestedOn?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains summary information about a batch build group."]moduleEnvironmentImages=structtypenonrect=EnvironmentImage.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnvironmentImage.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:EnvironmentImage.of_xml)letof_jsonj=list_of_json~kind:"EnvironmentImages"~of_json:EnvironmentImage.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLanguageType=structtypenonrect=|JAVA|PYTHON|NODE_JS|RUBY|GOLANG|DOCKER|ANDROID|DOTNET|BASE|PHP|Non_static_idofstringletmakei=iletto_string=function|JAVA->"JAVA"|PYTHON->"PYTHON"|NODE_JS->"NODE_JS"|RUBY->"RUBY"|GOLANG->"GOLANG"|DOCKER->"DOCKER"|ANDROID->"ANDROID"|DOTNET->"DOTNET"|BASE->"BASE"|PHP->"PHP"|Non_static_ids->sletof_string=function|"JAVA"->JAVA|"PYTHON"->PYTHON|"NODE_JS"->NODE_JS|"RUBY"->RUBY|"GOLANG"->GOLANG|"DOCKER"->DOCKER|"ANDROID"->ANDROID|"DOTNET"->DOTNET|"BASE"->BASE|"PHP"->PHP|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 LanguageType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LanguageType"j)letto_json=simple_to_jsonto_valueendmoduleMachineType=structtypenonrect=|GENERAL|NVME|Non_static_idofstringletmakei=iletto_string=function|GENERAL->"GENERAL"|NVME->"NVME"|Non_static_ids->sletof_string=function|"GENERAL"->GENERAL|"NVME"->NVME|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 MachineType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MachineType"j)letto_json=simple_to_jsonto_valueendmoduleComputeType=structtypenonrect=|BUILD_GENERAL1_SMALL|BUILD_GENERAL1_MEDIUM|BUILD_GENERAL1_LARGE|BUILD_GENERAL1_XLARGE|BUILD_GENERAL1_2XLARGE|BUILD_LAMBDA_1GB|BUILD_LAMBDA_2GB|BUILD_LAMBDA_4GB|BUILD_LAMBDA_8GB|BUILD_LAMBDA_10GB|ATTRIBUTE_BASED_COMPUTE|CUSTOM_INSTANCE_TYPE|Non_static_idofstringletmakei=iletto_string=function|BUILD_GENERAL1_SMALL->"BUILD_GENERAL1_SMALL"|BUILD_GENERAL1_MEDIUM->"BUILD_GENERAL1_MEDIUM"|BUILD_GENERAL1_LARGE->"BUILD_GENERAL1_LARGE"|BUILD_GENERAL1_XLARGE->"BUILD_GENERAL1_XLARGE"|BUILD_GENERAL1_2XLARGE->"BUILD_GENERAL1_2XLARGE"|BUILD_LAMBDA_1GB->"BUILD_LAMBDA_1GB"|BUILD_LAMBDA_2GB->"BUILD_LAMBDA_2GB"|BUILD_LAMBDA_4GB->"BUILD_LAMBDA_4GB"|BUILD_LAMBDA_8GB->"BUILD_LAMBDA_8GB"|BUILD_LAMBDA_10GB->"BUILD_LAMBDA_10GB"|ATTRIBUTE_BASED_COMPUTE->"ATTRIBUTE_BASED_COMPUTE"|CUSTOM_INSTANCE_TYPE->"CUSTOM_INSTANCE_TYPE"|Non_static_ids->sletof_string=function|"BUILD_GENERAL1_SMALL"->BUILD_GENERAL1_SMALL|"BUILD_GENERAL1_MEDIUM"->BUILD_GENERAL1_MEDIUM|"BUILD_GENERAL1_LARGE"->BUILD_GENERAL1_LARGE|"BUILD_GENERAL1_XLARGE"->BUILD_GENERAL1_XLARGE|"BUILD_GENERAL1_2XLARGE"->BUILD_GENERAL1_2XLARGE|"BUILD_LAMBDA_1GB"->BUILD_LAMBDA_1GB|"BUILD_LAMBDA_2GB"->BUILD_LAMBDA_2GB|"BUILD_LAMBDA_4GB"->BUILD_LAMBDA_4GB|"BUILD_LAMBDA_8GB"->BUILD_LAMBDA_8GB|"BUILD_LAMBDA_10GB"->BUILD_LAMBDA_10GB|"ATTRIBUTE_BASED_COMPUTE"->ATTRIBUTE_BASED_COMPUTE|"CUSTOM_INSTANCE_TYPE"->CUSTOM_INSTANCE_TYPE|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 ComputeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ComputeType"j)letto_json=simple_to_jsonto_valueendmoduleDockerServerStatus=structtypenonrect={status:String_.toption[@ocaml.doc"The status of the docker server."];message:String_.toption[@ocaml.doc"A message associated with the status of a docker server."]}letmake?status=fun?message->fun()->{status;message}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:String_.to_value));("message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inmake?message?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"String_.of_jsoninletstatus=field_mapjson__"status"String_.of_jsoninmake?message?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the status of the docker server."]moduleSecurityGroupIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:5);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroupIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnvironmentVariable=structtypenonrect={name:NonEmptyString.t[@ocaml.doc"The name or key of the environment variable."];value:String_.t[@ocaml.doc"The value of the environment variable. We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially Amazon Web Services secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER."];type_:EnvironmentVariableType.toption[@ocaml.doc"The type of environment variable. Valid values include: PARAMETER_STORE: An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the CodeBuild User Guide. PLAINTEXT: An environment variable in plain text format. This is the default value. SECRETS_MANAGER: An environment variable stored in Secrets Manager. For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the CodeBuild User Guide."]}letcontext_="EnvironmentVariable"letmake?type_=fun~name->fun~value->fun()->{type_;name;value}letto_valuex=structure_to_value[("name",(Some(NonEmptyString.to_valuex.name)));("value",(Some(String_.to_valuex.value)));("type",(Option.mapx.type_~f:EnvironmentVariableType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:EnvironmentVariableType.of_xml)(Xml.childxml_arg0"type")inletvalue=String_.of_xml(Xml.child_exn~context:context_xml_arg0"value")inletname=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?type_~value~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"type"EnvironmentVariableType.of_jsoninletvalue=field_map_exnjson__"value"String_.of_jsoninletname=field_map_exnjson__"name"NonEmptyString.of_jsoninmake?type_~value~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an environment variable for a build project or a build."]moduleCredentialProviderType=structtypenonrect=|SECRETS_MANAGER|Non_static_idofstringletmakei=iletto_string=function|SECRETS_MANAGER->"SECRETS_MANAGER"|Non_static_ids->sletof_string=function|"SECRETS_MANAGER"->SECRETS_MANAGER|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 CredentialProviderType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CredentialProviderType"j)letto_json=simple_to_jsonto_valueendmoduleFileSystemType=structtypenonrect=|EFS|Non_static_idofstringletmakei=iletto_string=function|EFS->"EFS"|Non_static_ids->sletof_string=function|"EFS"->EFS|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 FileSystemType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FileSystemType"j)letto_json=simple_to_jsonto_valueendmoduleBuildStatusConfig=structtypenonrect={context:String_.toption[@ocaml.doc"Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider. Bitbucket This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide."];targetUrl:String_.toption[@ocaml.doc"Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider. Bitbucket This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide."]}letmake?context=fun?targetUrl->fun()->{context;targetUrl}letto_valuex=structure_to_value[("context",(Option.mapx.context~f:String_.to_value));("targetUrl",(Option.mapx.targetUrl~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"targetUrl")inletcontext=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"context")inmake?targetUrl?context()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetUrl=field_mapjson__"targetUrl"String_.of_jsoninletcontext=field_mapjson__"context"String_.of_jsoninmake?targetUrl?context()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information that defines how the CodeBuild build project reports the build status to the source provider."]moduleGitCloneDepth=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for GitCloneDepth"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleGitSubmodulesConfig=structtypenonrect={fetchSubmodules:WrapperBoolean.t[@ocaml.doc"Set to true to fetch Git submodules for your CodeBuild build project."]}letcontext_="GitSubmodulesConfig"letmake~fetchSubmodules=fun()->{fetchSubmodules}letto_valuex=structure_to_value[("fetchSubmodules",(Some(WrapperBoolean.to_valuex.fetchSubmodules)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfetchSubmodules=WrapperBoolean.of_xml(Xml.child_exn~context:context_xml_arg0"fetchSubmodules")inmake~fetchSubmodules()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfetchSubmodules=field_map_exnjson__"fetchSubmodules"WrapperBoolean.of_jsoninmake~fetchSubmodules()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the Git submodules configuration for an CodeBuild build project."]moduleSourceAuth=structtypenonrect={type_:SourceAuthType.t[@ocaml.doc"The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER."];resource:String_.toption[@ocaml.doc"The resource value that applies to the specified authorization type."]}letcontext_="SourceAuth"letmake?resource=fun~type_->fun()->{resource;type_}letto_valuex=structure_to_value[("type",(Some(SourceAuthType.to_valuex.type_)));("resource",(Option.mapx.resource~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resource")inlettype_=SourceAuthType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?resource~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresource=field_mapjson__"resource"String_.of_jsoninlettype_=field_map_exnjson__"type"SourceAuthType.of_jsoninmake?resource~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the authorization settings for CodeBuild to access the source code to be built."]moduleSourceType=structtypenonrect=|CODECOMMIT|CODEPIPELINE|GITHUB|GITLAB|GITLAB_SELF_MANAGED|S3|BITBUCKET|GITHUB_ENTERPRISE|NO_SOURCE|Non_static_idofstringletmakei=iletto_string=function|CODECOMMIT->"CODECOMMIT"|CODEPIPELINE->"CODEPIPELINE"|GITHUB->"GITHUB"|GITLAB->"GITLAB"|GITLAB_SELF_MANAGED->"GITLAB_SELF_MANAGED"|S3->"S3"|BITBUCKET->"BITBUCKET"|GITHUB_ENTERPRISE->"GITHUB_ENTERPRISE"|NO_SOURCE->"NO_SOURCE"|Non_static_ids->sletof_string=function|"CODECOMMIT"->CODECOMMIT|"CODEPIPELINE"->CODEPIPELINE|"GITHUB"->GITHUB|"GITLAB"->GITLAB|"GITLAB_SELF_MANAGED"->GITLAB_SELF_MANAGED|"S3"->S3|"BITBUCKET"->BITBUCKET|"GITHUB_ENTERPRISE"->GITHUB_ENTERPRISE|"NO_SOURCE"->NO_SOURCE|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 SourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SourceType"j)letto_json=simple_to_jsonto_valueendmoduleCloudWatchLogsConfig=structtypenonrect={status:LogsConfigStatusType.t[@ocaml.doc"The current status of the logs in CloudWatch Logs for a build project. Valid values are: ENABLED: CloudWatch Logs are enabled for this build project. DISABLED: CloudWatch Logs are not enabled for this build project."];groupName:String_.toption[@ocaml.doc"The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams."];streamName:String_.toption[@ocaml.doc"The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams."]}letcontext_="CloudWatchLogsConfig"letmake?groupName=fun?streamName->fun~status->fun()->{groupName;streamName;status}letto_valuex=structure_to_value[("status",(Some(LogsConfigStatusType.to_valuex.status)));("groupName",(Option.mapx.groupName~f:String_.to_value));("streamName",(Option.mapx.streamName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"streamName")inletgroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"groupName")inletstatus=LogsConfigStatusType.of_xml(Xml.child_exn~context:context_xml_arg0"status")inmake?streamName?groupName~status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamName=field_mapjson__"streamName"String_.of_jsoninletgroupName=field_mapjson__"groupName"String_.of_jsoninletstatus=field_map_exnjson__"status"LogsConfigStatusType.of_jsoninmake?streamName?groupName~status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about CloudWatch Logs for a build project."]moduleS3LogsConfig=structtypenonrect={status:LogsConfigStatusType.t[@ocaml.doc"The current status of the S3 build logs. Valid values are: ENABLED: S3 build logs are enabled for this build project. DISABLED: S3 build logs are not enabled for this build project."];location:String_.toption[@ocaml.doc"The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket, and your path prefix is build-log, then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log."];encryptionDisabled:WrapperBoolean.toption[@ocaml.doc"Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted."];bucketOwnerAccess:BucketOwnerAccess.toption}letcontext_="S3LogsConfig"letmake?location=fun?encryptionDisabled->fun?bucketOwnerAccess->fun~status->fun()->{location;encryptionDisabled;bucketOwnerAccess;status}letto_valuex=structure_to_value[("status",(Some(LogsConfigStatusType.to_valuex.status)));("location",(Option.mapx.location~f:String_.to_value));("encryptionDisabled",(Option.mapx.encryptionDisabled~f:WrapperBoolean.to_value));("bucketOwnerAccess",(Option.mapx.bucketOwnerAccess~f:BucketOwnerAccess.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbucketOwnerAccess=(Option.map~f:BucketOwnerAccess.of_xml)(Xml.childxml_arg0"bucketOwnerAccess")inletencryptionDisabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"encryptionDisabled")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inletstatus=LogsConfigStatusType.of_xml(Xml.child_exn~context:context_xml_arg0"status")inmake?bucketOwnerAccess?encryptionDisabled?location~status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbucketOwnerAccess=field_mapjson__"bucketOwnerAccess"BucketOwnerAccess.of_jsoninletencryptionDisabled=field_mapjson__"encryptionDisabled"WrapperBoolean.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninletstatus=field_map_exnjson__"status"LogsConfigStatusType.of_jsoninmake?bucketOwnerAccess?encryptionDisabled?location~status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about S3 logs for a build project."]moduleSandboxSessionPhase=structtypenonrect={phaseType:String_.toption[@ocaml.doc"The name of the sandbox phase."];phaseStatus:StatusType.toption[@ocaml.doc"The current status of the sandbox phase. Valid values include: FAILED The sandbox phase failed. FAULT The sandbox phase faulted. IN_PROGRESS The sandbox phase is still in progress. STOPPED The sandbox phase stopped. SUCCEEDED The sandbox phase succeeded. TIMED_OUT The sandbox phase timed out."];startTime:Timestamp.toption[@ocaml.doc"When the sandbox phase started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the sandbox phase ended, expressed in Unix time format."];durationInSeconds:WrapperLong.toption[@ocaml.doc"How long, in seconds, between the starting and ending times of the sandbox's phase."];contexts:PhaseContexts.toption[@ocaml.doc"An array of PhaseContext objects."]}letmake?phaseType=fun?phaseStatus->fun?startTime->fun?endTime->fun?durationInSeconds->fun?contexts->fun()->{phaseType;phaseStatus;startTime;endTime;durationInSeconds;contexts}letto_valuex=structure_to_value[("phaseType",(Option.mapx.phaseType~f:String_.to_value));("phaseStatus",(Option.mapx.phaseStatus~f:StatusType.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("durationInSeconds",(Option.mapx.durationInSeconds~f:WrapperLong.to_value));("contexts",(Option.mapx.contexts~f:PhaseContexts.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontexts=(Option.map~f:PhaseContexts.of_xml)(Xml.childxml_arg0"contexts")inletdurationInSeconds=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"durationInSeconds")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletphaseStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"phaseStatus")inletphaseType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"phaseType")inmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontexts=field_mapjson__"contexts"PhaseContexts.of_jsoninletdurationInSeconds=field_mapjson__"durationInSeconds"WrapperLong.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletphaseStatus=field_mapjson__"phaseStatus"StatusType.of_jsoninletphaseType=field_mapjson__"phaseType"String_.of_jsoninmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the sandbox phase."]moduleReportPackagingType=structtypenonrect=|ZIP|NONE|Non_static_idofstringletmakei=iletto_string=function|ZIP->"ZIP"|NONE->"NONE"|Non_static_ids->sletof_string=function|"ZIP"->ZIP|"NONE"->NONE|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 ReportPackagingType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportPackagingType"j)letto_json=simple_to_jsonto_valueendmoduleWrapperInt=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 WrapperInt"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleKeyInput=structtypenonrect=stringletcontext_="KeyInput"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:127)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KeyInput"jletto_json=simple_to_jsonto_valueendmoduleValueInput=structtypenonrect=stringletcontext_="ValueInput"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ValueInput"jletto_json=simple_to_jsonto_valueendmoduleArtifactNamespace=structtypenonrect=|NONE|BUILD_ID|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|BUILD_ID->"BUILD_ID"|Non_static_ids->sletof_string=function|"NONE"->NONE|"BUILD_ID"->BUILD_ID|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 ArtifactNamespace"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ArtifactNamespace"j)letto_json=simple_to_jsonto_valueendmoduleArtifactPackaging=structtypenonrect=|NONE|ZIP|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|ZIP->"ZIP"|Non_static_ids->sletof_string=function|"NONE"->NONE|"ZIP"->ZIP|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 ArtifactPackaging"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ArtifactPackaging"j)letto_json=simple_to_jsonto_valueendmoduleComputeTypesAllowed=structtypenonrect=NonEmptyString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"ComputeTypesAllowed"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleetsAllowed=structtypenonrect=NonEmptyString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"FleetsAllowed"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCacheMode=structtypenonrect=|LOCAL_DOCKER_LAYER_CACHE|LOCAL_SOURCE_CACHE|LOCAL_CUSTOM_CACHE|Non_static_idofstringletmakei=iletto_string=function|LOCAL_DOCKER_LAYER_CACHE->"LOCAL_DOCKER_LAYER_CACHE"|LOCAL_SOURCE_CACHE->"LOCAL_SOURCE_CACHE"|LOCAL_CUSTOM_CACHE->"LOCAL_CUSTOM_CACHE"|Non_static_ids->sletof_string=function|"LOCAL_DOCKER_LAYER_CACHE"->LOCAL_DOCKER_LAYER_CACHE|"LOCAL_SOURCE_CACHE"->LOCAL_SOURCE_CACHE|"LOCAL_CUSTOM_CACHE"->LOCAL_CUSTOM_CACHE|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 CacheMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CacheMode"j)letto_json=simple_to_jsonto_valueendmoduleFilterGroup=structtypenonrect=WebhookFilter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:WebhookFilter.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:WebhookFilter.of_xml)letof_jsonj=list_of_json~kind:"FilterGroup"~of_json:WebhookFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePullRequestBuildApproverRoles=structtypenonrect=PullRequestBuildApproverRole.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PullRequestBuildApproverRole.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:PullRequestBuildApproverRole.of_xml)letof_jsonj=list_of_json~kind:"PullRequestBuildApproverRoles"~of_json:PullRequestBuildApproverRole.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePullRequestBuildCommentApproval=structtypenonrect=|DISABLED|ALL_PULL_REQUESTS|FORK_PULL_REQUESTS|Non_static_idofstringletmakei=iletto_string=function|DISABLED->"DISABLED"|ALL_PULL_REQUESTS->"ALL_PULL_REQUESTS"|FORK_PULL_REQUESTS->"FORK_PULL_REQUESTS"|Non_static_ids->sletof_string=function|"DISABLED"->DISABLED|"ALL_PULL_REQUESTS"->ALL_PULL_REQUESTS|"FORK_PULL_REQUESTS"->FORK_PULL_REQUESTS|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 PullRequestBuildCommentApproval"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PullRequestBuildCommentApproval"j)letto_json=simple_to_jsonto_valueendmoduleWebhookScopeType=structtypenonrect=|GITHUB_ORGANIZATION|GITHUB_GLOBAL|GITLAB_GROUP|Non_static_idofstringletmakei=iletto_string=function|GITHUB_ORGANIZATION->"GITHUB_ORGANIZATION"|GITHUB_GLOBAL->"GITHUB_GLOBAL"|GITLAB_GROUP->"GITLAB_GROUP"|Non_static_ids->sletof_string=function|"GITHUB_ORGANIZATION"->GITHUB_ORGANIZATION|"GITHUB_GLOBAL"->GITHUB_GLOBAL|"GITLAB_GROUP"->GITLAB_GROUP|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 WebhookScopeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WebhookScopeType"j)letto_json=simple_to_jsonto_valueendmoduleFleetProxyRule=structtypenonrect={type_:FleetProxyRuleType.t[@ocaml.doc"The type of proxy rule."];effect_:FleetProxyRuleEffectType.t[@ocaml.doc"The behavior of the proxy rule."];entities:FleetProxyRuleEntities.t[@ocaml.doc"The destination of the proxy rule."]}letcontext_="FleetProxyRule"letmake~type_=fun~effect_->fun~entities->fun()->{type_;effect_;entities}letto_valuex=structure_to_value[("type",(Some(FleetProxyRuleType.to_valuex.type_)));("effect",(Some(FleetProxyRuleEffectType.to_valuex.effect_)));("entities",(Some(FleetProxyRuleEntities.to_valuex.entities)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letentities=FleetProxyRuleEntities.of_xml(Xml.child_exn~context:context_xml_arg0"entities")inleteffect_=FleetProxyRuleEffectType.of_xml(Xml.child_exn~context:context_xml_arg0"effect")inlettype_=FleetProxyRuleType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake~entities~effect_~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letentities=field_map_exnjson__"entities"FleetProxyRuleEntities.of_jsoninleteffect_=field_map_exnjson__"effect"FleetProxyRuleEffectType.of_jsoninlettype_=field_map_exnjson__"type"FleetProxyRuleType.of_jsoninmake~entities~effect_~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the proxy rule for your reserved capacity instances."]moduleTargetTrackingScalingConfiguration=structtypenonrect={metricType:FleetScalingMetricType.toption[@ocaml.doc"The metric type to determine auto-scaling."];targetValue:WrapperDouble.toption[@ocaml.doc"The value of metricType when to start scaling."]}letmake?metricType=fun?targetValue->fun()->{metricType;targetValue}letto_valuex=structure_to_value[("metricType",(Option.mapx.metricType~f:FleetScalingMetricType.to_value));("targetValue",(Option.mapx.targetValue~f:WrapperDouble.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetValue=(Option.map~f:WrapperDouble.of_xml)(Xml.childxml_arg0"targetValue")inletmetricType=(Option.map~f:FleetScalingMetricType.of_xml)(Xml.childxml_arg0"metricType")inmake?targetValue?metricType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetValue=field_mapjson__"targetValue"WrapperDouble.of_jsoninletmetricType=field_mapjson__"metricType"FleetScalingMetricType.of_jsoninmake?targetValue?metricType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines when a new instance is auto-scaled into the compute fleet."]moduleBuildPhaseType=structtypenonrect=|SUBMITTED|QUEUED|PROVISIONING|DOWNLOAD_SOURCE|INSTALL|PRE_BUILD|BUILD|POST_BUILD|UPLOAD_ARTIFACTS|FINALIZING|COMPLETED|Non_static_idofstringletmakei=iletto_string=function|SUBMITTED->"SUBMITTED"|QUEUED->"QUEUED"|PROVISIONING->"PROVISIONING"|DOWNLOAD_SOURCE->"DOWNLOAD_SOURCE"|INSTALL->"INSTALL"|PRE_BUILD->"PRE_BUILD"|BUILD->"BUILD"|POST_BUILD->"POST_BUILD"|UPLOAD_ARTIFACTS->"UPLOAD_ARTIFACTS"|FINALIZING->"FINALIZING"|COMPLETED->"COMPLETED"|Non_static_ids->sletof_string=function|"SUBMITTED"->SUBMITTED|"QUEUED"->QUEUED|"PROVISIONING"->PROVISIONING|"DOWNLOAD_SOURCE"->DOWNLOAD_SOURCE|"INSTALL"->INSTALL|"PRE_BUILD"->PRE_BUILD|"BUILD"->BUILD|"POST_BUILD"->POST_BUILD|"UPLOAD_ARTIFACTS"->UPLOAD_ARTIFACTS|"FINALIZING"->FINALIZING|"COMPLETED"->COMPLETED|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 BuildPhaseType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BuildPhaseType"j)letto_json=simple_to_jsonto_valueendmoduleBuildBatchPhaseType=structtypenonrect=|SUBMITTED|DOWNLOAD_BATCHSPEC|IN_PROGRESS|COMBINE_ARTIFACTS|SUCCEEDED|FAILED|STOPPED|Non_static_idofstringletmakei=iletto_string=function|SUBMITTED->"SUBMITTED"|DOWNLOAD_BATCHSPEC->"DOWNLOAD_BATCHSPEC"|IN_PROGRESS->"IN_PROGRESS"|COMBINE_ARTIFACTS->"COMBINE_ARTIFACTS"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|STOPPED->"STOPPED"|Non_static_ids->sletof_string=function|"SUBMITTED"->SUBMITTED|"DOWNLOAD_BATCHSPEC"->DOWNLOAD_BATCHSPEC|"IN_PROGRESS"->IN_PROGRESS|"COMBINE_ARTIFACTS"->COMBINE_ARTIFACTS|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"STOPPED"->STOPPED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration BuildBatchPhaseType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BuildBatchPhaseType"j)letto_json=simple_to_jsonto_valueendmoduleBoolean=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_valueendmoduleBuildSummaries=structtypenonrect=BuildSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildSummary.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:BuildSummary.of_xml)letof_jsonj=list_of_json~kind:"BuildSummaries"~of_json:BuildSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIdentifiers=structtypenonrect=NonEmptyString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"Identifiers"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnvironmentLanguage=structtypenonrect={language:LanguageType.toption[@ocaml.doc"The programming language for the Docker images."];images:EnvironmentImages.toption[@ocaml.doc"The list of Docker images that are related by the specified programming language."]}letmake?language=fun?images->fun()->{language;images}letto_valuex=structure_to_value[("language",(Option.mapx.language~f:LanguageType.to_value));("images",(Option.mapx.images~f:EnvironmentImages.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimages=(Option.map~f:EnvironmentImages.of_xml)(Xml.childxml_arg0"images")inletlanguage=(Option.map~f:LanguageType.of_xml)(Xml.childxml_arg0"language")inmake?images?language()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimages=field_mapjson__"images"EnvironmentImages.of_jsoninletlanguage=field_mapjson__"language"LanguageType.of_jsoninmake?images?language()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of Docker images that are related by programming language and are managed by CodeBuild."]moduleComputeConfiguration=structtypenonrect={vCpu:WrapperLong.toption[@ocaml.doc"The number of vCPUs of the instance type included in your fleet."];memory:WrapperLong.toption[@ocaml.doc"The amount of memory of the instance type included in your fleet."];disk:WrapperLong.toption[@ocaml.doc"The amount of disk space of the instance type included in your fleet."];machineType:MachineType.toption[@ocaml.doc"The machine type of the instance type included in your fleet."];instanceType:NonEmptyString.toption[@ocaml.doc"The EC2 instance type to be launched in your fleet."]}letmake?vCpu=fun?memory->fun?disk->fun?machineType->fun?instanceType->fun()->{vCpu;memory;disk;machineType;instanceType}letto_valuex=structure_to_value[("vCpu",(Option.mapx.vCpu~f:WrapperLong.to_value));("memory",(Option.mapx.memory~f:WrapperLong.to_value));("disk",(Option.mapx.disk~f:WrapperLong.to_value));("machineType",(Option.mapx.machineType~f:MachineType.to_value));("instanceType",(Option.mapx.instanceType~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceType=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"instanceType")inletmachineType=(Option.map~f:MachineType.of_xml)(Xml.childxml_arg0"machineType")inletdisk=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"disk")inletmemory=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"memory")inletvCpu=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"vCpu")inmake?instanceType?machineType?disk?memory?vCpu()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceType=field_mapjson__"instanceType"NonEmptyString.of_jsoninletmachineType=field_mapjson__"machineType"MachineType.of_jsoninletdisk=field_mapjson__"disk"WrapperLong.of_jsoninletmemory=field_mapjson__"memory"WrapperLong.of_jsoninletvCpu=field_mapjson__"vCpu"WrapperLong.of_jsoninmake?instanceType?machineType?disk?memory?vCpu()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains compute attributes. These attributes only need be specified when your project's or fleet's computeType is set to ATTRIBUTE_BASED_COMPUTE or CUSTOM_INSTANCE_TYPE."]moduleDockerServer=structtypenonrect={computeType:ComputeType.t[@ocaml.doc"Information about the compute resources the docker server uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server. BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server. BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server."];securityGroupIds:SecurityGroupIds.toption[@ocaml.doc"A list of one or more security groups IDs. Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876."];status:DockerServerStatus.toption[@ocaml.doc"A DockerServerStatus object to use for this docker server."]}letcontext_="DockerServer"letmake?securityGroupIds=fun?status->fun~computeType->fun()->{securityGroupIds;status;computeType}letto_valuex=structure_to_value[("computeType",(Some(ComputeType.to_valuex.computeType)));("securityGroupIds",(Option.mapx.securityGroupIds~f:SecurityGroupIds.to_value));("status",(Option.mapx.status~f:DockerServerStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DockerServerStatus.of_xml)(Xml.childxml_arg0"status")inletsecurityGroupIds=(Option.map~f:SecurityGroupIds.of_xml)(Xml.childxml_arg0"securityGroupIds")inletcomputeType=ComputeType.of_xml(Xml.child_exn~context:context_xml_arg0"computeType")inmake?status?securityGroupIds~computeType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DockerServerStatus.of_jsoninletsecurityGroupIds=field_mapjson__"securityGroupIds"SecurityGroupIds.of_jsoninletcomputeType=field_map_exnjson__"computeType"ComputeType.of_jsoninmake?status?securityGroupIds~computeType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains docker server information."]moduleEnvironmentType=structtypenonrect=|WINDOWS_CONTAINER|LINUX_CONTAINER|LINUX_GPU_CONTAINER|ARM_CONTAINER|WINDOWS_SERVER_2019_CONTAINER|WINDOWS_SERVER_2022_CONTAINER|LINUX_LAMBDA_CONTAINER|ARM_LAMBDA_CONTAINER|LINUX_EC2|ARM_EC2|WINDOWS_EC2|MAC_ARM|Non_static_idofstringletmakei=iletto_string=function|WINDOWS_CONTAINER->"WINDOWS_CONTAINER"|LINUX_CONTAINER->"LINUX_CONTAINER"|LINUX_GPU_CONTAINER->"LINUX_GPU_CONTAINER"|ARM_CONTAINER->"ARM_CONTAINER"|WINDOWS_SERVER_2019_CONTAINER->"WINDOWS_SERVER_2019_CONTAINER"|WINDOWS_SERVER_2022_CONTAINER->"WINDOWS_SERVER_2022_CONTAINER"|LINUX_LAMBDA_CONTAINER->"LINUX_LAMBDA_CONTAINER"|ARM_LAMBDA_CONTAINER->"ARM_LAMBDA_CONTAINER"|LINUX_EC2->"LINUX_EC2"|ARM_EC2->"ARM_EC2"|WINDOWS_EC2->"WINDOWS_EC2"|MAC_ARM->"MAC_ARM"|Non_static_ids->sletof_string=function|"WINDOWS_CONTAINER"->WINDOWS_CONTAINER|"LINUX_CONTAINER"->LINUX_CONTAINER|"LINUX_GPU_CONTAINER"->LINUX_GPU_CONTAINER|"ARM_CONTAINER"->ARM_CONTAINER|"WINDOWS_SERVER_2019_CONTAINER"->WINDOWS_SERVER_2019_CONTAINER|"WINDOWS_SERVER_2022_CONTAINER"->WINDOWS_SERVER_2022_CONTAINER|"LINUX_LAMBDA_CONTAINER"->LINUX_LAMBDA_CONTAINER|"ARM_LAMBDA_CONTAINER"->ARM_LAMBDA_CONTAINER|"LINUX_EC2"->LINUX_EC2|"ARM_EC2"->ARM_EC2|"WINDOWS_EC2"->WINDOWS_EC2|"MAC_ARM"->MAC_ARM|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 EnvironmentType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnvironmentType"j)letto_json=simple_to_jsonto_valueendmoduleEnvironmentVariables=structtypenonrect=EnvironmentVariable.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnvironmentVariable.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:EnvironmentVariable.of_xml)letof_jsonj=list_of_json~kind:"EnvironmentVariables"~of_json:EnvironmentVariable.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImagePullCredentialsType=structtypenonrect=|CODEBUILD|SERVICE_ROLE|Non_static_idofstringletmakei=iletto_string=function|CODEBUILD->"CODEBUILD"|SERVICE_ROLE->"SERVICE_ROLE"|Non_static_ids->sletof_string=function|"CODEBUILD"->CODEBUILD|"SERVICE_ROLE"->SERVICE_ROLE|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 ImagePullCredentialsType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImagePullCredentialsType"j)letto_json=simple_to_jsonto_valueendmoduleProjectFleet=structtypenonrect={fleetArn:String_.toption[@ocaml.doc"Specifies the compute fleet ARN for the build project."]}letmake?fleetArn=fun()->{fleetArn}letto_valuex=structure_to_value[("fleetArn",(Option.mapx.fleetArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleetArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"fleetArn")inmake?fleetArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleetArn=field_mapjson__"fleetArn"String_.of_jsoninmake?fleetArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the compute fleet of the build project. For more information, see Working with reserved capacity in CodeBuild."]moduleRegistryCredential=structtypenonrect={credential:NonEmptyString.t[@ocaml.doc"The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager. The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region."];credentialProvider:CredentialProviderType.t[@ocaml.doc"The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager."]}letcontext_="RegistryCredential"letmake~credential=fun~credentialProvider->fun()->{credential;credentialProvider}letto_valuex=structure_to_value[("credential",(Some(NonEmptyString.to_valuex.credential)));("credentialProvider",(Some(CredentialProviderType.to_valuex.credentialProvider)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcredentialProvider=CredentialProviderType.of_xml(Xml.child_exn~context:context_xml_arg0"credentialProvider")inletcredential=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"credential")inmake~credentialProvider~credential()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcredentialProvider=field_map_exnjson__"credentialProvider"CredentialProviderType.of_jsoninletcredential=field_map_exnjson__"credential"NonEmptyString.of_jsoninmake~credentialProvider~credential()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about credentials that provide access to a private Docker registry. When this is set: imagePullCredentialsType must be set to SERVICE_ROLE. images cannot be curated or an Amazon ECR image. For more information, see Private Registry with Secrets Manager Sample for CodeBuild."]moduleProjectFileSystemLocation=structtypenonrect={type_:FileSystemType.toption[@ocaml.doc"The type of the file system. The one supported type is EFS."];location:String_.toption[@ocaml.doc"A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path. You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount directory is my-efs-mount-directory, then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory. The directory path in the format efs-dns-name:/directory-path is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system."];mountPoint:String_.toption[@ocaml.doc"The location in the container where you mount the file system."];identifier:String_.toption[@ocaml.doc"The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_. For example, if you specify my_efs for identifier, a new environment variable is create named CODEBUILD_MY_EFS. The identifier is used to mount your file system."];mountOptions:String_.toption[@ocaml.doc"The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2. For more information, see Recommended NFS Mount Options."]}letmake?type_=fun?location->fun?mountPoint->fun?identifier->fun?mountOptions->fun()->{type_;location;mountPoint;identifier;mountOptions}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:FileSystemType.to_value));("location",(Option.mapx.location~f:String_.to_value));("mountPoint",(Option.mapx.mountPoint~f:String_.to_value));("identifier",(Option.mapx.identifier~f:String_.to_value));("mountOptions",(Option.mapx.mountOptions~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmountOptions=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"mountOptions")inletidentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"identifier")inletmountPoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"mountPoint")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inlettype_=(Option.map~f:FileSystemType.of_xml)(Xml.childxml_arg0"type")inmake?mountOptions?identifier?mountPoint?location?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmountOptions=field_mapjson__"mountOptions"String_.of_jsoninletidentifier=field_mapjson__"identifier"String_.of_jsoninletmountPoint=field_mapjson__"mountPoint"String_.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninlettype_=field_mapjson__"type"FileSystemType.of_jsoninmake?mountOptions?identifier?mountPoint?location?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System?"]moduleProjectSourceVersion=structtypenonrect={sourceIdentifier:String_.t[@ocaml.doc"An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length."];sourceVersion:String_.t[@ocaml.doc"The source version for the corresponding source identifier. If specified, must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For GitLab: the commit ID, branch, or Git tag to use. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."]}letcontext_="ProjectSourceVersion"letmake~sourceIdentifier=fun~sourceVersion->fun()->{sourceIdentifier;sourceVersion}letto_valuex=structure_to_value[("sourceIdentifier",(Some(String_.to_valuex.sourceIdentifier)));("sourceVersion",(Some(String_.to_valuex.sourceVersion)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceVersion=String_.of_xml(Xml.child_exn~context:context_xml_arg0"sourceVersion")inletsourceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"sourceIdentifier")inmake~sourceVersion~sourceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceVersion=field_map_exnjson__"sourceVersion"String_.of_jsoninletsourceIdentifier=field_map_exnjson__"sourceIdentifier"String_.of_jsoninmake~sourceVersion~sourceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A source identifier and its corresponding version."]moduleProjectSource=structtypenonrect={type_:SourceType.t[@ocaml.doc"The type of repository that contains the source code to be built. Valid values include: BITBUCKET: The source code is in a Bitbucket repository. CODECOMMIT: The source code is in an CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in CodePipeline. GITHUB: The source code is in a GitHub repository. GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository. GITLAB: The source code is in a GitLab repository. GITLAB_SELF_MANAGED: The source code is in a self-managed GitLab repository. NO_SOURCE: The project does not have input source code. S3: The source code is in an Amazon S3 bucket."];location:String_.toption[@ocaml.doc"Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>). For source code in an Amazon S3 input bucket, one of the following. The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip). The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/). For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your GitHub account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access, choose Request access next to each repository you want to allow CodeBuild to have access to, and then choose Authorize application. (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your GitLab account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize. Then on the CodeConnections Create GitLab connection page, choose Connect to GitLab. (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object. For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access. (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location."];gitCloneDepth:GitCloneDepth.toption[@ocaml.doc"Information about the Git clone depth for the build project."];gitSubmodulesConfig:GitSubmodulesConfig.toption[@ocaml.doc"Information about the Git submodules configuration for the build project."];buildspec:String_.toption[@ocaml.doc"The buildspec file declaration to use for the builds in this build project. If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location."];auth:SourceAuth.toption[@ocaml.doc"Information about the authorization settings for CodeBuild to access the source code to be built."];reportBuildStatus:WrapperBoolean.toption[@ocaml.doc"Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider. If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect."];buildStatusConfig:BuildStatusConfig.toption[@ocaml.doc"Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET."];insecureSsl:WrapperBoolean.toption[@ocaml.doc"Enable this flag to ignore SSL warnings while connecting to the project source code."];sourceIdentifier:String_.toption[@ocaml.doc"An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length."]}letcontext_="ProjectSource"letmake?location=fun?gitCloneDepth->fun?gitSubmodulesConfig->fun?buildspec->fun?auth->fun?reportBuildStatus->fun?buildStatusConfig->fun?insecureSsl->fun?sourceIdentifier->fun~type_->fun()->{location;gitCloneDepth;gitSubmodulesConfig;buildspec;auth;reportBuildStatus;buildStatusConfig;insecureSsl;sourceIdentifier;type_}letto_valuex=structure_to_value[("type",(Some(SourceType.to_valuex.type_)));("location",(Option.mapx.location~f:String_.to_value));("gitCloneDepth",(Option.mapx.gitCloneDepth~f:GitCloneDepth.to_value));("gitSubmodulesConfig",(Option.mapx.gitSubmodulesConfig~f:GitSubmodulesConfig.to_value));("buildspec",(Option.mapx.buildspec~f:String_.to_value));("auth",(Option.mapx.auth~f:SourceAuth.to_value));("reportBuildStatus",(Option.mapx.reportBuildStatus~f:WrapperBoolean.to_value));("buildStatusConfig",(Option.mapx.buildStatusConfig~f:BuildStatusConfig.to_value));("insecureSsl",(Option.mapx.insecureSsl~f:WrapperBoolean.to_value));("sourceIdentifier",(Option.mapx.sourceIdentifier~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceIdentifier")inletinsecureSsl=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"insecureSsl")inletbuildStatusConfig=(Option.map~f:BuildStatusConfig.of_xml)(Xml.childxml_arg0"buildStatusConfig")inletreportBuildStatus=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"reportBuildStatus")inletauth=(Option.map~f:SourceAuth.of_xml)(Xml.childxml_arg0"auth")inletbuildspec=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"buildspec")inletgitSubmodulesConfig=(Option.map~f:GitSubmodulesConfig.of_xml)(Xml.childxml_arg0"gitSubmodulesConfig")inletgitCloneDepth=(Option.map~f:GitCloneDepth.of_xml)(Xml.childxml_arg0"gitCloneDepth")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inlettype_=SourceType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?sourceIdentifier?insecureSsl?buildStatusConfig?reportBuildStatus?auth?buildspec?gitSubmodulesConfig?gitCloneDepth?location~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceIdentifier=field_mapjson__"sourceIdentifier"String_.of_jsoninletinsecureSsl=field_mapjson__"insecureSsl"WrapperBoolean.of_jsoninletbuildStatusConfig=field_mapjson__"buildStatusConfig"BuildStatusConfig.of_jsoninletreportBuildStatus=field_mapjson__"reportBuildStatus"WrapperBoolean.of_jsoninletauth=field_mapjson__"auth"SourceAuth.of_jsoninletbuildspec=field_mapjson__"buildspec"String_.of_jsoninletgitSubmodulesConfig=field_mapjson__"gitSubmodulesConfig"GitSubmodulesConfig.of_jsoninletgitCloneDepth=field_mapjson__"gitCloneDepth"GitCloneDepth.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninlettype_=field_map_exnjson__"type"SourceType.of_jsoninmake?sourceIdentifier?insecureSsl?buildStatusConfig?reportBuildStatus?auth?buildspec?gitSubmodulesConfig?gitCloneDepth?location~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the build input source code for the build project."]moduleLogsLocation=structtypenonrect={groupName:String_.toption[@ocaml.doc"The name of the CloudWatch Logs group for the build logs."];streamName:String_.toption[@ocaml.doc"The name of the CloudWatch Logs stream for the build logs."];deepLink:String_.toption[@ocaml.doc"The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink will not be valid until it is created."];s3DeepLink:String_.toption[@ocaml.doc"The URL to a build log in an S3 bucket."];cloudWatchLogsArn:String_.toption[@ocaml.doc"The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:$\\{Partition\\}:logs:$\\{Region\\}:$\\{Account\\}:log-group:$\\{LogGroupName\\}:log-stream:$\\{LogStreamName\\}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs."];s3LogsArn:String_.toption[@ocaml.doc"The ARN of S3 logs for a build project. Its format is arn:$\\{Partition\\}:s3:::$\\{BucketName\\}/$\\{ObjectName\\}. For more information, see Resources Defined by Amazon S3."];cloudWatchLogs:CloudWatchLogsConfig.toption[@ocaml.doc"Information about CloudWatch Logs for a build project."];s3Logs:S3LogsConfig.toption[@ocaml.doc"Information about S3 logs for a build project."]}letmake?groupName=fun?streamName->fun?deepLink->fun?s3DeepLink->fun?cloudWatchLogsArn->fun?s3LogsArn->fun?cloudWatchLogs->fun?s3Logs->fun()->{groupName;streamName;deepLink;s3DeepLink;cloudWatchLogsArn;s3LogsArn;cloudWatchLogs;s3Logs}letto_valuex=structure_to_value[("groupName",(Option.mapx.groupName~f:String_.to_value));("streamName",(Option.mapx.streamName~f:String_.to_value));("deepLink",(Option.mapx.deepLink~f:String_.to_value));("s3DeepLink",(Option.mapx.s3DeepLink~f:String_.to_value));("cloudWatchLogsArn",(Option.mapx.cloudWatchLogsArn~f:String_.to_value));("s3LogsArn",(Option.mapx.s3LogsArn~f:String_.to_value));("cloudWatchLogs",(Option.mapx.cloudWatchLogs~f:CloudWatchLogsConfig.to_value));("s3Logs",(Option.mapx.s3Logs~f:S3LogsConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Logs=(Option.map~f:S3LogsConfig.of_xml)(Xml.childxml_arg0"s3Logs")inletcloudWatchLogs=(Option.map~f:CloudWatchLogsConfig.of_xml)(Xml.childxml_arg0"cloudWatchLogs")inlets3LogsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"s3LogsArn")inletcloudWatchLogsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"cloudWatchLogsArn")inlets3DeepLink=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"s3DeepLink")inletdeepLink=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"deepLink")inletstreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"streamName")inletgroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"groupName")inmake?s3Logs?cloudWatchLogs?s3LogsArn?cloudWatchLogsArn?s3DeepLink?deepLink?streamName?groupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Logs=field_mapjson__"s3Logs"S3LogsConfig.of_jsoninletcloudWatchLogs=field_mapjson__"cloudWatchLogs"CloudWatchLogsConfig.of_jsoninlets3LogsArn=field_mapjson__"s3LogsArn"String_.of_jsoninletcloudWatchLogsArn=field_mapjson__"cloudWatchLogsArn"String_.of_jsoninlets3DeepLink=field_mapjson__"s3DeepLink"String_.of_jsoninletdeepLink=field_mapjson__"deepLink"String_.of_jsoninletstreamName=field_mapjson__"streamName"String_.of_jsoninletgroupName=field_mapjson__"groupName"String_.of_jsoninmake?s3Logs?cloudWatchLogs?s3LogsArn?cloudWatchLogsArn?s3DeepLink?deepLink?streamName?groupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about build logs in CloudWatch Logs."]moduleNetworkInterface=structtypenonrect={subnetId:NonEmptyString.toption[@ocaml.doc"The ID of the subnet."];networkInterfaceId:NonEmptyString.toption[@ocaml.doc"The ID of the network interface."]}letmake?subnetId=fun?networkInterfaceId->fun()->{subnetId;networkInterfaceId}letto_valuex=structure_to_value[("subnetId",(Option.mapx.subnetId~f:NonEmptyString.to_value));("networkInterfaceId",(Option.mapx.networkInterfaceId~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkInterfaceId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"networkInterfaceId")inletsubnetId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"subnetId")inmake?networkInterfaceId?subnetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkInterfaceId=field_mapjson__"networkInterfaceId"NonEmptyString.of_jsoninletsubnetId=field_mapjson__"subnetId"NonEmptyString.of_jsoninmake?networkInterfaceId?subnetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a network interface."]moduleSandboxSessionPhases=structtypenonrect=SandboxSessionPhase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SandboxSessionPhase.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:SandboxSessionPhase.of_xml)letof_jsonj=list_of_json~kind:"SandboxSessionPhases"~of_json:SandboxSessionPhase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubnets=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:16);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"Subnets"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNonNegativeInt=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for NonNegativeInt"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePercentage=structtypenonrect=floatletmakei=letopenResultinok_or_failwith((check_float_mini~min:100.)>>=(fun()->check_float_mini~min:0.));iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleReportExportConfigType=structtypenonrect=|S3|NO_EXPORT|Non_static_idofstringletmakei=iletto_string=function|S3->"S3"|NO_EXPORT->"NO_EXPORT"|Non_static_ids->sletof_string=function|"S3"->S3|"NO_EXPORT"->NO_EXPORT|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 ReportExportConfigType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportExportConfigType"j)letto_json=simple_to_jsonto_valueendmoduleS3ReportExportConfig=structtypenonrect={bucket:NonEmptyString.toption[@ocaml.doc"The name of the S3 bucket where the raw data of a report are exported."];bucketOwner:String_.toption[@ocaml.doc"The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build."];path:String_.toption[@ocaml.doc"The path to the exported report's raw data results."];packaging:ReportPackagingType.toption[@ocaml.doc"The type of build output artifact to create. Valid values include: NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified. ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket."];encryptionKey:NonEmptyString.toption[@ocaml.doc"The encryption key for the report's encrypted raw data."];encryptionDisabled:WrapperBoolean.toption[@ocaml.doc"A boolean value that specifies if the results of a report are encrypted."]}letmake?bucket=fun?bucketOwner->fun?path->fun?packaging->fun?encryptionKey->fun?encryptionDisabled->fun()->{bucket;bucketOwner;path;packaging;encryptionKey;encryptionDisabled}letto_valuex=structure_to_value[("bucket",(Option.mapx.bucket~f:NonEmptyString.to_value));("bucketOwner",(Option.mapx.bucketOwner~f:String_.to_value));("path",(Option.mapx.path~f:String_.to_value));("packaging",(Option.mapx.packaging~f:ReportPackagingType.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("encryptionDisabled",(Option.mapx.encryptionDisabled~f:WrapperBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionDisabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"encryptionDisabled")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletpackaging=(Option.map~f:ReportPackagingType.of_xml)(Xml.childxml_arg0"packaging")inletpath=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"path")inletbucketOwner=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"bucketOwner")inletbucket=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"bucket")inmake?encryptionDisabled?encryptionKey?packaging?path?bucketOwner?bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionDisabled=field_mapjson__"encryptionDisabled"WrapperBoolean.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletpackaging=field_mapjson__"packaging"ReportPackagingType.of_jsoninletpath=field_mapjson__"path"String_.of_jsoninletbucketOwner=field_mapjson__"bucketOwner"String_.of_jsoninletbucket=field_mapjson__"bucket"NonEmptyString.of_jsoninmake?encryptionDisabled?encryptionKey?packaging?path?bucketOwner?bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the S3 bucket where the raw data of a report are exported."]moduleReportStatusCounts=structtypenonrect=(String_.t*WrapperInt.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((String_.of_stringchopped),(WrapperInt.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(String_.to_valuex)|>(funx->(WrapperInt.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:String_.of_string~of_json:WrapperInt.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTag=structtypenonrect={key:KeyInput.toption[@ocaml.doc"The tag's key."];value:ValueInput.toption[@ocaml.doc"The tag's value."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Option.mapx.key~f:KeyInput.to_value));("value",(Option.mapx.value~f:ValueInput.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:ValueInput.of_xml)(Xml.childxml_arg0"value")inletkey=(Option.map~f:KeyInput.of_xml)(Xml.childxml_arg0"key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"ValueInput.of_jsoninletkey=field_mapjson__"key"KeyInput.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A tag, consisting of a key and a value. This tag is available for use by Amazon Web Services services that support tags in CodeBuild."]moduleProjectArtifacts=structtypenonrect={type_:ArtifactsType.t[@ocaml.doc"The type of build output artifact. Valid values include: CODEPIPELINE: The build project has build output generated through CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts. NO_ARTIFACTS: The build project does not produce any build output. S3: The build project stores build output in Amazon S3."];location:String_.toption[@ocaml.doc"Information about the build output artifact location: If type is set to CODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the name of the output bucket."];path:String_.toption[@ocaml.doc"Along with namespaceType and name, the pattern that CodeBuild uses to name and store the output artifact: If type is set to CODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the path to the output artifact. If path is not specified, path is not used. For example, if path is set to MyArtifacts, namespaceType is set to NONE, and name is set to MyArtifact.zip, the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip."];namespaceType:ArtifactNamespace.toption[@ocaml.doc"Along with path and name, the pattern that CodeBuild uses to determine the name and location to store the output artifact: If type is set to CODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, valid values include: BUILD_ID: Include the build ID in the location of the build output artifact. NONE: Do not include the build ID. This is the default if namespaceType is not specified. For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip."];name:String_.toption[@ocaml.doc"Along with path and namespaceType, the pattern that CodeBuild uses to name and store the output artifact: If type is set to CODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the name of the output artifact object. If you set the name to be a forward slash (\"/\"), the artifact is stored in the root of the output bucket. For example: If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, then the output artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip. If path is empty, namespaceType is set to NONE, and name is set to \"/\", the output artifact is stored in the root of the output bucket. If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to \"/\", the output artifact is stored in MyArtifacts/<build-ID>."];packaging:ArtifactPackaging.toption[@ocaml.doc"The type of build output artifact to create: If type is set to CODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, valid values include: NONE: CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified. ZIP: CodeBuild creates in the output bucket a ZIP file that contains the build output."];overrideArtifactName:WrapperBoolean.toption[@ocaml.doc"If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique."];encryptionDisabled:WrapperBoolean.toption[@ocaml.doc"Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown."];artifactIdentifier:String_.toption[@ocaml.doc"An identifier for this artifact definition."];bucketOwnerAccess:BucketOwnerAccess.toption}letcontext_="ProjectArtifacts"letmake?location=fun?path->fun?namespaceType->fun?name->fun?packaging->fun?overrideArtifactName->fun?encryptionDisabled->fun?artifactIdentifier->fun?bucketOwnerAccess->fun~type_->fun()->{location;path;namespaceType;name;packaging;overrideArtifactName;encryptionDisabled;artifactIdentifier;bucketOwnerAccess;type_}letto_valuex=structure_to_value[("type",(Some(ArtifactsType.to_valuex.type_)));("location",(Option.mapx.location~f:String_.to_value));("path",(Option.mapx.path~f:String_.to_value));("namespaceType",(Option.mapx.namespaceType~f:ArtifactNamespace.to_value));("name",(Option.mapx.name~f:String_.to_value));("packaging",(Option.mapx.packaging~f:ArtifactPackaging.to_value));("overrideArtifactName",(Option.mapx.overrideArtifactName~f:WrapperBoolean.to_value));("encryptionDisabled",(Option.mapx.encryptionDisabled~f:WrapperBoolean.to_value));("artifactIdentifier",(Option.mapx.artifactIdentifier~f:String_.to_value));("bucketOwnerAccess",(Option.mapx.bucketOwnerAccess~f:BucketOwnerAccess.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbucketOwnerAccess=(Option.map~f:BucketOwnerAccess.of_xml)(Xml.childxml_arg0"bucketOwnerAccess")inletartifactIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"artifactIdentifier")inletencryptionDisabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"encryptionDisabled")inletoverrideArtifactName=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"overrideArtifactName")inletpackaging=(Option.map~f:ArtifactPackaging.of_xml)(Xml.childxml_arg0"packaging")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletnamespaceType=(Option.map~f:ArtifactNamespace.of_xml)(Xml.childxml_arg0"namespaceType")inletpath=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"path")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inlettype_=ArtifactsType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?bucketOwnerAccess?artifactIdentifier?encryptionDisabled?overrideArtifactName?packaging?name?namespaceType?path?location~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbucketOwnerAccess=field_mapjson__"bucketOwnerAccess"BucketOwnerAccess.of_jsoninletartifactIdentifier=field_mapjson__"artifactIdentifier"String_.of_jsoninletencryptionDisabled=field_mapjson__"encryptionDisabled"WrapperBoolean.of_jsoninletoverrideArtifactName=field_mapjson__"overrideArtifactName"WrapperBoolean.of_jsoninletpackaging=field_mapjson__"packaging"ArtifactPackaging.of_jsoninletname=field_mapjson__"name"String_.of_jsoninletnamespaceType=field_mapjson__"namespaceType"ArtifactNamespace.of_jsoninletpath=field_mapjson__"path"String_.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninlettype_=field_map_exnjson__"type"ArtifactsType.of_jsoninmake?bucketOwnerAccess?artifactIdentifier?encryptionDisabled?overrideArtifactName?packaging?name?namespaceType?path?location~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the build output artifacts for the build project."]moduleBatchReportModeType=structtypenonrect=|REPORT_INDIVIDUAL_BUILDS|REPORT_AGGREGATED_BATCH|Non_static_idofstringletmakei=iletto_string=function|REPORT_INDIVIDUAL_BUILDS->"REPORT_INDIVIDUAL_BUILDS"|REPORT_AGGREGATED_BATCH->"REPORT_AGGREGATED_BATCH"|Non_static_ids->sletof_string=function|"REPORT_INDIVIDUAL_BUILDS"->REPORT_INDIVIDUAL_BUILDS|"REPORT_AGGREGATED_BATCH"->REPORT_AGGREGATED_BATCH|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 BatchReportModeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BatchReportModeType"j)letto_json=simple_to_jsonto_valueendmoduleBatchRestrictions=structtypenonrect={maximumBuildsAllowed:WrapperInt.toption[@ocaml.doc"Specifies the maximum number of builds allowed."];computeTypesAllowed:ComputeTypesAllowed.toption[@ocaml.doc"An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values."];fleetsAllowed:FleetsAllowed.toption[@ocaml.doc"An array of strings that specify the fleets that are allowed for the batch build. See Run builds on reserved capacity fleets in the CodeBuild User Guide for more information."]}letmake?maximumBuildsAllowed=fun?computeTypesAllowed->fun?fleetsAllowed->fun()->{maximumBuildsAllowed;computeTypesAllowed;fleetsAllowed}letto_valuex=structure_to_value[("maximumBuildsAllowed",(Option.mapx.maximumBuildsAllowed~f:WrapperInt.to_value));("computeTypesAllowed",(Option.mapx.computeTypesAllowed~f:ComputeTypesAllowed.to_value));("fleetsAllowed",(Option.mapx.fleetsAllowed~f:FleetsAllowed.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleetsAllowed=(Option.map~f:FleetsAllowed.of_xml)(Xml.childxml_arg0"fleetsAllowed")inletcomputeTypesAllowed=(Option.map~f:ComputeTypesAllowed.of_xml)(Xml.childxml_arg0"computeTypesAllowed")inletmaximumBuildsAllowed=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"maximumBuildsAllowed")inmake?fleetsAllowed?computeTypesAllowed?maximumBuildsAllowed()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleetsAllowed=field_mapjson__"fleetsAllowed"FleetsAllowed.of_jsoninletcomputeTypesAllowed=field_mapjson__"computeTypesAllowed"ComputeTypesAllowed.of_jsoninletmaximumBuildsAllowed=field_mapjson__"maximumBuildsAllowed"WrapperInt.of_jsoninmake?fleetsAllowed?computeTypesAllowed?maximumBuildsAllowed()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies restrictions for the batch build."]moduleCacheType=structtypenonrect=|NO_CACHE|S3|LOCAL|Non_static_idofstringletmakei=iletto_string=function|NO_CACHE->"NO_CACHE"|S3->"S3"|LOCAL->"LOCAL"|Non_static_ids->sletof_string=function|"NO_CACHE"->NO_CACHE|"S3"->S3|"LOCAL"->LOCAL|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 CacheType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CacheType"j)letto_json=simple_to_jsonto_valueendmoduleProjectCacheModes=structtypenonrect=CacheMode.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CacheMode.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:CacheMode.of_xml)letof_jsonj=list_of_json~kind:"ProjectCacheModes"~of_json:CacheMode.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilterGroups=structtypenonrect=FilterGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FilterGroup.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:FilterGroup.of_xml)letof_jsonj=list_of_json~kind:"FilterGroups"~of_json:FilterGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePullRequestBuildPolicy=structtypenonrect={requiresCommentApproval:PullRequestBuildCommentApproval.t[@ocaml.doc"Specifies when comment-based approval is required before triggering a build on pull requests. This setting determines whether builds run automatically or require explicit approval through comments. DISABLED: Builds trigger automatically without requiring comment approval ALL_PULL_REQUESTS: All pull requests require comment approval before builds execute (unless contributor is one of the approver roles) FORK_PULL_REQUESTS: Only pull requests from forked repositories require comment approval (unless contributor is one of the approver roles)"];approverRoles:PullRequestBuildApproverRoles.toption[@ocaml.doc"List of repository roles that have approval privileges for pull request builds when comment approval is required. Only users with these roles can provide valid comment approvals. If a pull request contributor is one of these roles, their pull request builds will trigger automatically. This field is only applicable when requiresCommentApproval is not DISABLED."]}letcontext_="PullRequestBuildPolicy"letmake?approverRoles=fun~requiresCommentApproval->fun()->{approverRoles;requiresCommentApproval}letto_valuex=structure_to_value[("requiresCommentApproval",(Some(PullRequestBuildCommentApproval.to_valuex.requiresCommentApproval)));("approverRoles",(Option.mapx.approverRoles~f:PullRequestBuildApproverRoles.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapproverRoles=(Option.map~f:PullRequestBuildApproverRoles.of_xml)(Xml.childxml_arg0"approverRoles")inletrequiresCommentApproval=PullRequestBuildCommentApproval.of_xml(Xml.child_exn~context:context_xml_arg0"requiresCommentApproval")inmake?approverRoles~requiresCommentApproval()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapproverRoles=field_mapjson__"approverRoles"PullRequestBuildApproverRoles.of_jsoninletrequiresCommentApproval=field_map_exnjson__"requiresCommentApproval"PullRequestBuildCommentApproval.of_jsoninmake?approverRoles~requiresCommentApproval()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows."]moduleScopeConfiguration=structtypenonrect={name:String_.t[@ocaml.doc"The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook."];domain:String_.toption[@ocaml.doc"The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED."];scope:WebhookScopeType.t[@ocaml.doc"The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION."]}letcontext_="ScopeConfiguration"letmake?domain=fun~name->fun~scope->fun()->{domain;name;scope}letto_valuex=structure_to_value[("name",(Some(String_.to_valuex.name)));("domain",(Option.mapx.domain~f:String_.to_value));("scope",(Some(WebhookScopeType.to_valuex.scope)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscope=WebhookScopeType.of_xml(Xml.child_exn~context:context_xml_arg0"scope")inletdomain=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"domain")inletname=String_.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake~scope?domain~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscope=field_map_exnjson__"scope"WebhookScopeType.of_jsoninletdomain=field_mapjson__"domain"String_.of_jsoninletname=field_map_exnjson__"name"String_.of_jsoninmake~scope?domain~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains configuration information about the scope for a webhook."]moduleWebhookBuildType=structtypenonrect=|BUILD|BUILD_BATCH|RUNNER_BUILDKITE_BUILD|Non_static_idofstringletmakei=iletto_string=function|BUILD->"BUILD"|BUILD_BATCH->"BUILD_BATCH"|RUNNER_BUILDKITE_BUILD->"RUNNER_BUILDKITE_BUILD"|Non_static_ids->sletof_string=function|"BUILD"->BUILD|"BUILD_BATCH"->BUILD_BATCH|"RUNNER_BUILDKITE_BUILD"->RUNNER_BUILDKITE_BUILD|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 WebhookBuildType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WebhookBuildType"j)letto_json=simple_to_jsonto_valueendmoduleWebhookStatus=structtypenonrect=|CREATING|CREATE_FAILED|ACTIVE|DELETING|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|CREATE_FAILED->"CREATE_FAILED"|ACTIVE->"ACTIVE"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"CREATE_FAILED"->CREATE_FAILED|"ACTIVE"->ACTIVE|"DELETING"->DELETING|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration WebhookStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WebhookStatus"j)letto_json=simple_to_jsonto_valueendmoduleFleetContextCode=structtypenonrect=|CREATE_FAILED|UPDATE_FAILED|ACTION_REQUIRED|PENDING_DELETION|INSUFFICIENT_CAPACITY|Non_static_idofstringletmakei=iletto_string=function|CREATE_FAILED->"CREATE_FAILED"|UPDATE_FAILED->"UPDATE_FAILED"|ACTION_REQUIRED->"ACTION_REQUIRED"|PENDING_DELETION->"PENDING_DELETION"|INSUFFICIENT_CAPACITY->"INSUFFICIENT_CAPACITY"|Non_static_ids->sletof_string=function|"CREATE_FAILED"->CREATE_FAILED|"UPDATE_FAILED"->UPDATE_FAILED|"ACTION_REQUIRED"->ACTION_REQUIRED|"PENDING_DELETION"->PENDING_DELETION|"INSUFFICIENT_CAPACITY"->INSUFFICIENT_CAPACITY|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 FleetContextCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetContextCode"j)letto_json=simple_to_jsonto_valueendmoduleFleetStatusCode=structtypenonrect=|CREATING|UPDATING|ROTATING|PENDING_DELETION|DELETING|CREATE_FAILED|UPDATE_ROLLBACK_FAILED|ACTIVE|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|UPDATING->"UPDATING"|ROTATING->"ROTATING"|PENDING_DELETION->"PENDING_DELETION"|DELETING->"DELETING"|CREATE_FAILED->"CREATE_FAILED"|UPDATE_ROLLBACK_FAILED->"UPDATE_ROLLBACK_FAILED"|ACTIVE->"ACTIVE"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"UPDATING"->UPDATING|"ROTATING"->ROTATING|"PENDING_DELETION"->PENDING_DELETION|"DELETING"->DELETING|"CREATE_FAILED"->CREATE_FAILED|"UPDATE_ROLLBACK_FAILED"->UPDATE_ROLLBACK_FAILED|"ACTIVE"->ACTIVE|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 FleetStatusCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetStatusCode"j)letto_json=simple_to_jsonto_valueendmoduleFleetProxyRuleBehavior=structtypenonrect=|ALLOW_ALL|DENY_ALL|Non_static_idofstringletmakei=iletto_string=function|ALLOW_ALL->"ALLOW_ALL"|DENY_ALL->"DENY_ALL"|Non_static_ids->sletof_string=function|"ALLOW_ALL"->ALLOW_ALL|"DENY_ALL"->DENY_ALL|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration FleetProxyRuleBehavior"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetProxyRuleBehavior"j)letto_json=simple_to_jsonto_valueendmoduleFleetProxyRules=structtypenonrect=FleetProxyRule.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:100);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FleetProxyRule.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:FleetProxyRule.of_xml)letof_jsonj=list_of_json~kind:"FleetProxyRules"~of_json:FleetProxyRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleetCapacity=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 FleetCapacity"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFleetScalingType=structtypenonrect=|TARGET_TRACKING_SCALING|Non_static_idofstringletmakei=iletto_string=function|TARGET_TRACKING_SCALING->"TARGET_TRACKING_SCALING"|Non_static_ids->sletof_string=function|"TARGET_TRACKING_SCALING"->TARGET_TRACKING_SCALING|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 FleetScalingType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetScalingType"j)letto_json=simple_to_jsonto_valueendmoduleTargetTrackingScalingConfigurations=structtypenonrect=TargetTrackingScalingConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TargetTrackingScalingConfiguration.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:TargetTrackingScalingConfiguration.of_xml)letof_jsonj=list_of_json~kind:"TargetTrackingScalingConfigurations"~of_json:TargetTrackingScalingConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildArtifacts=structtypenonrect={location:String_.toption[@ocaml.doc"Information about the location of the build artifacts."];sha256sum:String_.toption[@ocaml.doc"The SHA-256 hash of the build artifact. You can use this hash along with a checksum tool to confirm file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP."];md5sum:String_.toption[@ocaml.doc"The MD5 hash of the build artifact. You can use this hash along with a checksum tool to confirm file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP."];overrideArtifactName:WrapperBoolean.toption[@ocaml.doc"If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique."];encryptionDisabled:WrapperBoolean.toption[@ocaml.doc"Information that tells you if encryption for build artifacts is disabled."];artifactIdentifier:String_.toption[@ocaml.doc"An identifier for this artifact definition."];bucketOwnerAccess:BucketOwnerAccess.toption}letmake?location=fun?sha256sum->fun?md5sum->fun?overrideArtifactName->fun?encryptionDisabled->fun?artifactIdentifier->fun?bucketOwnerAccess->fun()->{location;sha256sum;md5sum;overrideArtifactName;encryptionDisabled;artifactIdentifier;bucketOwnerAccess}letto_valuex=structure_to_value[("location",(Option.mapx.location~f:String_.to_value));("sha256sum",(Option.mapx.sha256sum~f:String_.to_value));("md5sum",(Option.mapx.md5sum~f:String_.to_value));("overrideArtifactName",(Option.mapx.overrideArtifactName~f:WrapperBoolean.to_value));("encryptionDisabled",(Option.mapx.encryptionDisabled~f:WrapperBoolean.to_value));("artifactIdentifier",(Option.mapx.artifactIdentifier~f:String_.to_value));("bucketOwnerAccess",(Option.mapx.bucketOwnerAccess~f:BucketOwnerAccess.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbucketOwnerAccess=(Option.map~f:BucketOwnerAccess.of_xml)(Xml.childxml_arg0"bucketOwnerAccess")inletartifactIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"artifactIdentifier")inletencryptionDisabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"encryptionDisabled")inletoverrideArtifactName=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"overrideArtifactName")inletmd5sum=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"md5sum")inletsha256sum=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sha256sum")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inmake?bucketOwnerAccess?artifactIdentifier?encryptionDisabled?overrideArtifactName?md5sum?sha256sum?location()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbucketOwnerAccess=field_mapjson__"bucketOwnerAccess"BucketOwnerAccess.of_jsoninletartifactIdentifier=field_mapjson__"artifactIdentifier"String_.of_jsoninletencryptionDisabled=field_mapjson__"encryptionDisabled"WrapperBoolean.of_jsoninletoverrideArtifactName=field_mapjson__"overrideArtifactName"WrapperBoolean.of_jsoninletmd5sum=field_mapjson__"md5sum"String_.of_jsoninletsha256sum=field_mapjson__"sha256sum"String_.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninmake?bucketOwnerAccess?artifactIdentifier?encryptionDisabled?overrideArtifactName?md5sum?sha256sum?location()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about build output artifacts."]moduleBuildPhase=structtypenonrect={phaseType:BuildPhaseType.toption[@ocaml.doc"The name of the build phase. Valid values include: BUILD Core build activities typically occur in this build phase. COMPLETED The build has been completed. DOWNLOAD_SOURCE Source code is being downloaded in this build phase. FINALIZING The build process is completing in this build phase. INSTALL Installation activities typically occur in this build phase. POST_BUILD Post-build activities typically occur in this build phase. PRE_BUILD Pre-build activities typically occur in this build phase. PROVISIONING The build environment is being set up. QUEUED The build has been submitted and is queued behind other submitted builds. SUBMITTED The build has been submitted. UPLOAD_ARTIFACTS Build output artifacts are being uploaded to the output location."];phaseStatus:StatusType.toption[@ocaml.doc"The current status of the build phase. Valid values include: FAILED The build phase failed. FAULT The build phase faulted. IN_PROGRESS The build phase is still in progress. STOPPED The build phase stopped. SUCCEEDED The build phase succeeded. TIMED_OUT The build phase timed out."];startTime:Timestamp.toption[@ocaml.doc"When the build phase started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the build phase ended, expressed in Unix time format."];durationInSeconds:WrapperLong.toption[@ocaml.doc"How long, in seconds, between the starting and ending times of the build's phase."];contexts:PhaseContexts.toption[@ocaml.doc"Additional information about a build phase, especially to help troubleshoot a failed build."]}letmake?phaseType=fun?phaseStatus->fun?startTime->fun?endTime->fun?durationInSeconds->fun?contexts->fun()->{phaseType;phaseStatus;startTime;endTime;durationInSeconds;contexts}letto_valuex=structure_to_value[("phaseType",(Option.mapx.phaseType~f:BuildPhaseType.to_value));("phaseStatus",(Option.mapx.phaseStatus~f:StatusType.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("durationInSeconds",(Option.mapx.durationInSeconds~f:WrapperLong.to_value));("contexts",(Option.mapx.contexts~f:PhaseContexts.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontexts=(Option.map~f:PhaseContexts.of_xml)(Xml.childxml_arg0"contexts")inletdurationInSeconds=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"durationInSeconds")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletphaseStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"phaseStatus")inletphaseType=(Option.map~f:BuildPhaseType.of_xml)(Xml.childxml_arg0"phaseType")inmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontexts=field_mapjson__"contexts"PhaseContexts.of_jsoninletdurationInSeconds=field_mapjson__"durationInSeconds"WrapperLong.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletphaseStatus=field_mapjson__"phaseStatus"StatusType.of_jsoninletphaseType=field_mapjson__"phaseType"BuildPhaseType.of_jsoninmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a stage for a build."]moduleExportedEnvironmentVariable=structtypenonrect={name:NonEmptyString.toption[@ocaml.doc"The name of the exported environment variable."];value:String_.toption[@ocaml.doc"The value assigned to the exported environment variable."]}letmake?name=fun?value->fun()->{name;value}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:NonEmptyString.to_value));("value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"value")inletname=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"name")inmake?value?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"String_.of_jsoninletname=field_mapjson__"name"NonEmptyString.of_jsoninmake?value?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an exported environment variable. Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide. During a build, the value of a variable is available starting with the install phase. It can be updated between the start of the install phase and the end of the post_build phase. After the post_build phase ends, the value of exported variables cannot change."]moduleBuildBatchPhase=structtypenonrect={phaseType:BuildBatchPhaseType.toption[@ocaml.doc"The name of the batch build phase. Valid values include: COMBINE_ARTIFACTS Build output artifacts are being combined and uploaded to the output location. DOWNLOAD_BATCHSPEC The batch build specification is being downloaded. FAILED One or more of the builds failed. IN_PROGRESS The batch build is in progress. STOPPED The batch build was stopped. SUBMITTED The btach build has been submitted. SUCCEEDED The batch build succeeded."];phaseStatus:StatusType.toption[@ocaml.doc"The current status of the batch build phase. Valid values include: FAILED The build phase failed. FAULT The build phase faulted. IN_PROGRESS The build phase is still in progress. STOPPED The build phase stopped. SUCCEEDED The build phase succeeded. TIMED_OUT The build phase timed out."];startTime:Timestamp.toption[@ocaml.doc"When the batch build phase started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the batch build phase ended, expressed in Unix time format."];durationInSeconds:WrapperLong.toption[@ocaml.doc"How long, in seconds, between the starting and ending times of the batch build's phase."];contexts:PhaseContexts.toption[@ocaml.doc"Additional information about the batch build phase. Especially to help troubleshoot a failed batch build."]}letmake?phaseType=fun?phaseStatus->fun?startTime->fun?endTime->fun?durationInSeconds->fun?contexts->fun()->{phaseType;phaseStatus;startTime;endTime;durationInSeconds;contexts}letto_valuex=structure_to_value[("phaseType",(Option.mapx.phaseType~f:BuildBatchPhaseType.to_value));("phaseStatus",(Option.mapx.phaseStatus~f:StatusType.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("durationInSeconds",(Option.mapx.durationInSeconds~f:WrapperLong.to_value));("contexts",(Option.mapx.contexts~f:PhaseContexts.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontexts=(Option.map~f:PhaseContexts.of_xml)(Xml.childxml_arg0"contexts")inletdurationInSeconds=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"durationInSeconds")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletphaseStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"phaseStatus")inletphaseType=(Option.map~f:BuildBatchPhaseType.of_xml)(Xml.childxml_arg0"phaseType")inmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontexts=field_mapjson__"contexts"PhaseContexts.of_jsoninletdurationInSeconds=field_mapjson__"durationInSeconds"WrapperLong.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletphaseStatus=field_mapjson__"phaseStatus"StatusType.of_jsoninletphaseType=field_mapjson__"phaseType"BuildBatchPhaseType.of_jsoninmake?contexts?durationInSeconds?endTime?startTime?phaseStatus?phaseType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a stage for a batch build."]moduleBuildGroup=structtypenonrect={identifier:String_.toption[@ocaml.doc"Contains the identifier of the build group."];dependsOn:Identifiers.toption[@ocaml.doc"An array of strings that contain the identifiers of the build groups that this build group depends on."];ignoreFailure:Boolean.toption[@ocaml.doc"Specifies if failures in this build group can be ignored."];currentBuildSummary:BuildSummary.toption[@ocaml.doc"A BuildSummary object that contains a summary of the current build group."];priorBuildSummaryList:BuildSummaries.toption[@ocaml.doc"An array of BuildSummary objects that contain summaries of previous build groups."]}letmake?identifier=fun?dependsOn->fun?ignoreFailure->fun?currentBuildSummary->fun?priorBuildSummaryList->fun()->{identifier;dependsOn;ignoreFailure;currentBuildSummary;priorBuildSummaryList}letto_valuex=structure_to_value[("identifier",(Option.mapx.identifier~f:String_.to_value));("dependsOn",(Option.mapx.dependsOn~f:Identifiers.to_value));("ignoreFailure",(Option.mapx.ignoreFailure~f:Boolean.to_value));("currentBuildSummary",(Option.mapx.currentBuildSummary~f:BuildSummary.to_value));("priorBuildSummaryList",(Option.mapx.priorBuildSummaryList~f:BuildSummaries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriorBuildSummaryList=(Option.map~f:BuildSummaries.of_xml)(Xml.childxml_arg0"priorBuildSummaryList")inletcurrentBuildSummary=(Option.map~f:BuildSummary.of_xml)(Xml.childxml_arg0"currentBuildSummary")inletignoreFailure=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ignoreFailure")inletdependsOn=(Option.map~f:Identifiers.of_xml)(Xml.childxml_arg0"dependsOn")inletidentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"identifier")inmake?priorBuildSummaryList?currentBuildSummary?ignoreFailure?dependsOn?identifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriorBuildSummaryList=field_mapjson__"priorBuildSummaryList"BuildSummaries.of_jsoninletcurrentBuildSummary=field_mapjson__"currentBuildSummary"BuildSummary.of_jsoninletignoreFailure=field_mapjson__"ignoreFailure"Boolean.of_jsoninletdependsOn=field_mapjson__"dependsOn"Identifiers.of_jsoninletidentifier=field_mapjson__"identifier"String_.of_jsoninmake?priorBuildSummaryList?currentBuildSummary?ignoreFailure?dependsOn?identifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups."]moduleAuthType=structtypenonrect=|OAUTH|BASIC_AUTH|PERSONAL_ACCESS_TOKEN|CODECONNECTIONS|SECRETS_MANAGER|Non_static_idofstringletmakei=iletto_string=function|OAUTH->"OAUTH"|BASIC_AUTH->"BASIC_AUTH"|PERSONAL_ACCESS_TOKEN->"PERSONAL_ACCESS_TOKEN"|CODECONNECTIONS->"CODECONNECTIONS"|SECRETS_MANAGER->"SECRETS_MANAGER"|Non_static_ids->sletof_string=function|"OAUTH"->OAUTH|"BASIC_AUTH"->BASIC_AUTH|"PERSONAL_ACCESS_TOKEN"->PERSONAL_ACCESS_TOKEN|"CODECONNECTIONS"->CODECONNECTIONS|"SECRETS_MANAGER"->SECRETS_MANAGER|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration AuthType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuthType"j)letto_json=simple_to_jsonto_valueendmoduleServerType=structtypenonrect=|GITHUB|BITBUCKET|GITHUB_ENTERPRISE|GITLAB|GITLAB_SELF_MANAGED|Non_static_idofstringletmakei=iletto_string=function|GITHUB->"GITHUB"|BITBUCKET->"BITBUCKET"|GITHUB_ENTERPRISE->"GITHUB_ENTERPRISE"|GITLAB->"GITLAB"|GITLAB_SELF_MANAGED->"GITLAB_SELF_MANAGED"|Non_static_ids->sletof_string=function|"GITHUB"->GITHUB|"BITBUCKET"->BITBUCKET|"GITHUB_ENTERPRISE"->GITHUB_ENTERPRISE|"GITLAB"->GITLAB|"GITLAB_SELF_MANAGED"->GITLAB_SELF_MANAGED|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 ServerType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServerType"j)letto_json=simple_to_jsonto_valueendmoduleEnvironmentLanguages=structtypenonrect=EnvironmentLanguage.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnvironmentLanguage.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:EnvironmentLanguage.of_xml)letof_jsonj=list_of_json~kind:"EnvironmentLanguages"~of_json:EnvironmentLanguage.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePlatformType=structtypenonrect=|DEBIAN|AMAZON_LINUX|UBUNTU|WINDOWS_SERVER|Non_static_idofstringletmakei=iletto_string=function|DEBIAN->"DEBIAN"|AMAZON_LINUX->"AMAZON_LINUX"|UBUNTU->"UBUNTU"|WINDOWS_SERVER->"WINDOWS_SERVER"|Non_static_ids->sletof_string=function|"DEBIAN"->DEBIAN|"AMAZON_LINUX"->AMAZON_LINUX|"UBUNTU"->UBUNTU|"WINDOWS_SERVER"->WINDOWS_SERVER|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 PlatformType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PlatformType"j)letto_json=simple_to_jsonto_valueendmoduleCommandType=structtypenonrect=|SHELL|Non_static_idofstringletmakei=iletto_string=function|SHELL->"SHELL"|Non_static_ids->sletof_string=function|"SHELL"->SHELL|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 CommandType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CommandType"j)letto_json=simple_to_jsonto_valueendmoduleSensitiveNonEmptyString=structtypenonrect=stringletcontext_="SensitiveNonEmptyString"letmakei=letopenResultinok_or_failwith(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:"SensitiveNonEmptyString"jletto_json=simple_to_jsonto_valueendmoduleLogsConfig=structtypenonrect={cloudWatchLogs:CloudWatchLogsConfig.toption[@ocaml.doc"Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default."];s3Logs:S3LogsConfig.toption[@ocaml.doc"Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default."]}letmake?cloudWatchLogs=fun?s3Logs->fun()->{cloudWatchLogs;s3Logs}letto_valuex=structure_to_value[("cloudWatchLogs",(Option.mapx.cloudWatchLogs~f:CloudWatchLogsConfig.to_value));("s3Logs",(Option.mapx.s3Logs~f:S3LogsConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Logs=(Option.map~f:S3LogsConfig.of_xml)(Xml.childxml_arg0"s3Logs")inletcloudWatchLogs=(Option.map~f:CloudWatchLogsConfig.of_xml)(Xml.childxml_arg0"cloudWatchLogs")inmake?s3Logs?cloudWatchLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Logs=field_mapjson__"s3Logs"S3LogsConfig.of_jsoninletcloudWatchLogs=field_mapjson__"cloudWatchLogs"CloudWatchLogsConfig.of_jsoninmake?s3Logs?cloudWatchLogs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both."]moduleProjectEnvironment=structtypenonrect={type_:EnvironmentType.t[@ocaml.doc"The type of build environment to use for related builds. If you're using compute fleets during project creation, type will be ignored. For more information, see Build environment compute types in the CodeBuild user guide."];image:NonEmptyString.t[@ocaml.doc"The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: For an image tag: <registry>/<repository>:<tag>. For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0. For an image digest: <registry>/<repository>\\@<digest>. For example, to specify an image with the digest \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use <registry>/<repository>\\@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf. For more information, see Docker images provided by CodeBuild in the CodeBuild user guide."];computeType:ComputeType.t[@ocaml.doc"Information about the compute resources the build project uses. Available values include: ATTRIBUTE_BASED_COMPUTE: Specify the amount of vCPUs, memory, disk space, and the type of machine. If you use ATTRIBUTE_BASED_COMPUTE, you must define your attributes by using computeConfiguration. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the CodeBuild User Guide. BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see On-demand environment types in the CodeBuild User Guide."];computeConfiguration:ComputeConfiguration.toption[@ocaml.doc"The compute configuration of the build project. This is only required if computeType is set to ATTRIBUTE_BASED_COMPUTE."];fleet:ProjectFleet.toption[@ocaml.doc"A ProjectFleet object to use for this build project."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"A set of environment variables to make available to builds for this build project."];privilegedMode:WrapperBoolean.toption[@ocaml.doc"Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false. You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file: If the operating system's base image is Ubuntu Linux: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\" If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\""];certificate:String_.toption[@ocaml.doc"The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the CodeBuild User Guide."];registryCredential:RegistryCredential.toption[@ocaml.doc"The credentials for access to a private registry."];imagePullCredentialsType:ImagePullCredentialsType.toption[@ocaml.doc"The type of credentials CodeBuild uses to pull images in your build. There are two valid values: CODEBUILD specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal. SERVICE_ROLE specifies that CodeBuild uses your build project's service role. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials."];dockerServer:DockerServer.toption[@ocaml.doc"A DockerServer object to use for this build project."]}letcontext_="ProjectEnvironment"letmake?computeConfiguration=fun?fleet->fun?environmentVariables->fun?privilegedMode->fun?certificate->fun?registryCredential->fun?imagePullCredentialsType->fun?dockerServer->fun~type_->fun~image->fun~computeType->fun()->{computeConfiguration;fleet;environmentVariables;privilegedMode;certificate;registryCredential;imagePullCredentialsType;dockerServer;type_;image;computeType}letto_valuex=structure_to_value[("type",(Some(EnvironmentType.to_valuex.type_)));("image",(Some(NonEmptyString.to_valuex.image)));("computeType",(Some(ComputeType.to_valuex.computeType)));("computeConfiguration",(Option.mapx.computeConfiguration~f:ComputeConfiguration.to_value));("fleet",(Option.mapx.fleet~f:ProjectFleet.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value));("privilegedMode",(Option.mapx.privilegedMode~f:WrapperBoolean.to_value));("certificate",(Option.mapx.certificate~f:String_.to_value));("registryCredential",(Option.mapx.registryCredential~f:RegistryCredential.to_value));("imagePullCredentialsType",(Option.mapx.imagePullCredentialsType~f:ImagePullCredentialsType.to_value));("dockerServer",(Option.mapx.dockerServer~f:DockerServer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdockerServer=(Option.map~f:DockerServer.of_xml)(Xml.childxml_arg0"dockerServer")inletimagePullCredentialsType=(Option.map~f:ImagePullCredentialsType.of_xml)(Xml.childxml_arg0"imagePullCredentialsType")inletregistryCredential=(Option.map~f:RegistryCredential.of_xml)(Xml.childxml_arg0"registryCredential")inletcertificate=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"certificate")inletprivilegedMode=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"privilegedMode")inletenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletfleet=(Option.map~f:ProjectFleet.of_xml)(Xml.childxml_arg0"fleet")inletcomputeConfiguration=(Option.map~f:ComputeConfiguration.of_xml)(Xml.childxml_arg0"computeConfiguration")inletcomputeType=ComputeType.of_xml(Xml.child_exn~context:context_xml_arg0"computeType")inletimage=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"image")inlettype_=EnvironmentType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?dockerServer?imagePullCredentialsType?registryCredential?certificate?privilegedMode?environmentVariables?fleet?computeConfiguration~computeType~image~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdockerServer=field_mapjson__"dockerServer"DockerServer.of_jsoninletimagePullCredentialsType=field_mapjson__"imagePullCredentialsType"ImagePullCredentialsType.of_jsoninletregistryCredential=field_mapjson__"registryCredential"RegistryCredential.of_jsoninletcertificate=field_mapjson__"certificate"String_.of_jsoninletprivilegedMode=field_mapjson__"privilegedMode"WrapperBoolean.of_jsoninletenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletfleet=field_mapjson__"fleet"ProjectFleet.of_jsoninletcomputeConfiguration=field_mapjson__"computeConfiguration"ComputeConfiguration.of_jsoninletcomputeType=field_map_exnjson__"computeType"ComputeType.of_jsoninletimage=field_map_exnjson__"image"NonEmptyString.of_jsoninlettype_=field_map_exnjson__"type"EnvironmentType.of_jsoninmake?dockerServer?imagePullCredentialsType?registryCredential?certificate?privilegedMode?environmentVariables?fleet?computeConfiguration~computeType~image~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the build environment of the build project."]moduleProjectFileSystemLocations=structtypenonrect=ProjectFileSystemLocation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProjectFileSystemLocation.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:ProjectFileSystemLocation.of_xml)letof_jsonj=list_of_json~kind:"ProjectFileSystemLocations"~of_json:ProjectFileSystemLocation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjectSecondarySourceVersions=structtypenonrect=ProjectSourceVersion.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:12)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProjectSourceVersion.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:ProjectSourceVersion.of_xml)letof_jsonj=list_of_json~kind:"ProjectSecondarySourceVersions"~of_json:ProjectSourceVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjectSources=structtypenonrect=ProjectSource.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:12)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProjectSource.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:ProjectSource.of_xml)letof_jsonj=list_of_json~kind:"ProjectSources"~of_json:ProjectSource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSandboxSession=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The ID of the sandbox session."];status:String_.toption[@ocaml.doc"The status of the sandbox session."];startTime:Timestamp.toption[@ocaml.doc"When the sandbox session started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the sandbox session ended, expressed in Unix time format."];currentPhase:String_.toption[@ocaml.doc"The current phase for the sandbox."];phases:SandboxSessionPhases.toption[@ocaml.doc"An array of SandboxSessionPhase objects."];resolvedSourceVersion:NonEmptyString.toption[@ocaml.doc"An identifier for the version of this sandbox's source code."];logs:LogsLocation.toption;networkInterface:NetworkInterface.toption}letmake?id=fun?status->fun?startTime->fun?endTime->fun?currentPhase->fun?phases->fun?resolvedSourceVersion->fun?logs->fun?networkInterface->fun()->{id;status;startTime;endTime;currentPhase;phases;resolvedSourceVersion;logs;networkInterface}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("status",(Option.mapx.status~f:String_.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("currentPhase",(Option.mapx.currentPhase~f:String_.to_value));("phases",(Option.mapx.phases~f:SandboxSessionPhases.to_value));("resolvedSourceVersion",(Option.mapx.resolvedSourceVersion~f:NonEmptyString.to_value));("logs",(Option.mapx.logs~f:LogsLocation.to_value));("networkInterface",(Option.mapx.networkInterface~f:NetworkInterface.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkInterface=(Option.map~f:NetworkInterface.of_xml)(Xml.childxml_arg0"networkInterface")inletlogs=(Option.map~f:LogsLocation.of_xml)(Xml.childxml_arg0"logs")inletresolvedSourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resolvedSourceVersion")inletphases=(Option.map~f:SandboxSessionPhases.of_xml)(Xml.childxml_arg0"phases")inletcurrentPhase=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"currentPhase")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?networkInterface?logs?resolvedSourceVersion?phases?currentPhase?endTime?startTime?status?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkInterface=field_mapjson__"networkInterface"NetworkInterface.of_jsoninletlogs=field_mapjson__"logs"LogsLocation.of_jsoninletresolvedSourceVersion=field_mapjson__"resolvedSourceVersion"NonEmptyString.of_jsoninletphases=field_mapjson__"phases"SandboxSessionPhases.of_jsoninletcurrentPhase=field_mapjson__"currentPhase"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletstatus=field_mapjson__"status"String_.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?networkInterface?logs?resolvedSourceVersion?phases?currentPhase?endTime?startTime?status?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the sandbox session."]moduleVpcConfig=structtypenonrect={vpcId:NonEmptyString.toption[@ocaml.doc"The ID of the Amazon VPC."];subnets:Subnets.toption[@ocaml.doc"A list of one or more subnet IDs in your Amazon VPC."];securityGroupIds:SecurityGroupIds.toption[@ocaml.doc"A list of one or more security groups IDs in your Amazon VPC."]}letmake?vpcId=fun?subnets->fun?securityGroupIds->fun()->{vpcId;subnets;securityGroupIds}letto_valuex=structure_to_value[("vpcId",(Option.mapx.vpcId~f:NonEmptyString.to_value));("subnets",(Option.mapx.subnets~f:Subnets.to_value));("securityGroupIds",(Option.mapx.securityGroupIds~f:SecurityGroupIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroupIds=(Option.map~f:SecurityGroupIds.of_xml)(Xml.childxml_arg0"securityGroupIds")inletsubnets=(Option.map~f:Subnets.of_xml)(Xml.childxml_arg0"subnets")inletvpcId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"vpcId")inmake?securityGroupIds?subnets?vpcId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroupIds=field_mapjson__"securityGroupIds"SecurityGroupIds.of_jsoninletsubnets=field_mapjson__"subnets"Subnets.of_jsoninletvpcId=field_mapjson__"vpcId"NonEmptyString.of_jsoninmake?securityGroupIds?subnets?vpcId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the VPC configuration that CodeBuild accesses."]moduleCodeCoverageReportSummary=structtypenonrect={lineCoveragePercentage:Percentage.toption[@ocaml.doc"The percentage of lines that are covered by your tests."];linesCovered:NonNegativeInt.toption[@ocaml.doc"The number of lines that are covered by your tests."];linesMissed:NonNegativeInt.toption[@ocaml.doc"The number of lines that are not covered by your tests."];branchCoveragePercentage:Percentage.toption[@ocaml.doc"The percentage of branches that are covered by your tests."];branchesCovered:NonNegativeInt.toption[@ocaml.doc"The number of conditional branches that are covered by your tests."];branchesMissed:NonNegativeInt.toption[@ocaml.doc"The number of conditional branches that are not covered by your tests."]}letmake?lineCoveragePercentage=fun?linesCovered->fun?linesMissed->fun?branchCoveragePercentage->fun?branchesCovered->fun?branchesMissed->fun()->{lineCoveragePercentage;linesCovered;linesMissed;branchCoveragePercentage;branchesCovered;branchesMissed}letto_valuex=structure_to_value[("lineCoveragePercentage",(Option.mapx.lineCoveragePercentage~f:Percentage.to_value));("linesCovered",(Option.mapx.linesCovered~f:NonNegativeInt.to_value));("linesMissed",(Option.mapx.linesMissed~f:NonNegativeInt.to_value));("branchCoveragePercentage",(Option.mapx.branchCoveragePercentage~f:Percentage.to_value));("branchesCovered",(Option.mapx.branchesCovered~f:NonNegativeInt.to_value));("branchesMissed",(Option.mapx.branchesMissed~f:NonNegativeInt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbranchesMissed=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"branchesMissed")inletbranchesCovered=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"branchesCovered")inletbranchCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"branchCoveragePercentage")inletlinesMissed=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"linesMissed")inletlinesCovered=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"linesCovered")inletlineCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"lineCoveragePercentage")inmake?branchesMissed?branchesCovered?branchCoveragePercentage?linesMissed?linesCovered?lineCoveragePercentage()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbranchesMissed=field_mapjson__"branchesMissed"NonNegativeInt.of_jsoninletbranchesCovered=field_mapjson__"branchesCovered"NonNegativeInt.of_jsoninletbranchCoveragePercentage=field_mapjson__"branchCoveragePercentage"Percentage.of_jsoninletlinesMissed=field_mapjson__"linesMissed"NonNegativeInt.of_jsoninletlinesCovered=field_mapjson__"linesCovered"NonNegativeInt.of_jsoninletlineCoveragePercentage=field_mapjson__"lineCoveragePercentage"Percentage.of_jsoninmake?branchesMissed?branchesCovered?branchCoveragePercentage?linesMissed?linesCovered?lineCoveragePercentage()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a summary of a code coverage report. Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc. Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement."]moduleReportExportConfig=structtypenonrect={exportConfigType:ReportExportConfigType.toption[@ocaml.doc"The export configuration type. Valid values are: S3: The report results are exported to an S3 bucket. NO_EXPORT: The report results are not exported."];s3Destination:S3ReportExportConfig.toption[@ocaml.doc"A S3ReportExportConfig object that contains information about the S3 bucket where the run of a report is exported."]}letmake?exportConfigType=fun?s3Destination->fun()->{exportConfigType;s3Destination}letto_valuex=structure_to_value[("exportConfigType",(Option.mapx.exportConfigType~f:ReportExportConfigType.to_value));("s3Destination",(Option.mapx.s3Destination~f:S3ReportExportConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Destination=(Option.map~f:S3ReportExportConfig.of_xml)(Xml.childxml_arg0"s3Destination")inletexportConfigType=(Option.map~f:ReportExportConfigType.of_xml)(Xml.childxml_arg0"exportConfigType")inmake?s3Destination?exportConfigType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Destination=field_mapjson__"s3Destination"S3ReportExportConfig.of_jsoninletexportConfigType=field_mapjson__"exportConfigType"ReportExportConfigType.of_jsoninmake?s3Destination?exportConfigType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the location where the run of a report is exported."]moduleReportStatusType=structtypenonrect=|GENERATING|SUCCEEDED|FAILED|INCOMPLETE|DELETING|Non_static_idofstringletmakei=iletto_string=function|GENERATING->"GENERATING"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|INCOMPLETE->"INCOMPLETE"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"GENERATING"->GENERATING|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"INCOMPLETE"->INCOMPLETE|"DELETING"->DELETING|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ReportStatusType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportStatusType"j)letto_json=simple_to_jsonto_valueendmoduleReportType=structtypenonrect=|TEST|CODE_COVERAGE|Non_static_idofstringletmakei=iletto_string=function|TEST->"TEST"|CODE_COVERAGE->"CODE_COVERAGE"|Non_static_ids->sletof_string=function|"TEST"->TEST|"CODE_COVERAGE"->CODE_COVERAGE|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 ReportType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportType"j)letto_json=simple_to_jsonto_valueendmoduleTestReportSummary=structtypenonrect={total:WrapperInt.toption[@ocaml.doc"The number of test cases in this TestReportSummary. The total includes truncated test cases."];statusCounts:ReportStatusCounts.toption[@ocaml.doc"A map that contains the number of each type of status returned by the test results in this TestReportSummary."];durationInNanoSeconds:WrapperLong.toption[@ocaml.doc"The number of nanoseconds it took to run all of the test cases in this report."]}letmake?total=fun?statusCounts->fun?durationInNanoSeconds->fun()->{total;statusCounts;durationInNanoSeconds}letto_valuex=structure_to_value[("total",(Option.mapx.total~f:WrapperInt.to_value));("statusCounts",(Option.mapx.statusCounts~f:ReportStatusCounts.to_value));("durationInNanoSeconds",(Option.mapx.durationInNanoSeconds~f:WrapperLong.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdurationInNanoSeconds=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"durationInNanoSeconds")inletstatusCounts=(Option.map~f:ReportStatusCounts.of_xml)(Xml.childxml_arg0"statusCounts")inlettotal=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"total")inmake?durationInNanoSeconds?statusCounts?total()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdurationInNanoSeconds=field_mapjson__"durationInNanoSeconds"WrapperLong.of_jsoninletstatusCounts=field_mapjson__"statusCounts"ReportStatusCounts.of_jsoninlettotal=field_mapjson__"total"WrapperInt.of_jsoninmake?durationInNanoSeconds?statusCounts?total()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a test report."]moduleReportGroupName=structtypenonrect=stringletcontext_="ReportGroupName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:2));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ReportGroupName"jletto_json=simple_to_jsonto_valueendmoduleReportGroupStatusType=structtypenonrect=|ACTIVE|DELETING|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DELETING"->DELETING|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ReportGroupStatusType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportGroupStatusType"j)letto_json=simple_to_jsonto_valueendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildTimeOut=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:2160)>>=(fun()->check_int_mini~min:5));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for BuildTimeOut"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProjectArtifactsList=structtypenonrect=ProjectArtifacts.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:12)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProjectArtifacts.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:ProjectArtifacts.of_xml)letof_jsonj=list_of_json~kind:"ProjectArtifactsList"~of_json:ProjectArtifacts.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjectBadge=structtypenonrect={badgeEnabled:Boolean.toption[@ocaml.doc"Set this to true to generate a publicly accessible URL for your project's build badge."];badgeRequestUrl:String_.toption[@ocaml.doc"The publicly-accessible URL through which you can access the build badge for your project."]}letmake?badgeEnabled=fun?badgeRequestUrl->fun()->{badgeEnabled;badgeRequestUrl}letto_valuex=structure_to_value[("badgeEnabled",(Option.mapx.badgeEnabled~f:Boolean.to_value));("badgeRequestUrl",(Option.mapx.badgeRequestUrl~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbadgeRequestUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"badgeRequestUrl")inletbadgeEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"badgeEnabled")inmake?badgeRequestUrl?badgeEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbadgeRequestUrl=field_mapjson__"badgeRequestUrl"String_.of_jsoninletbadgeEnabled=field_mapjson__"badgeEnabled"Boolean.of_jsoninmake?badgeRequestUrl?badgeEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the build badge for the build project."]moduleProjectBuildBatchConfig=structtypenonrect={serviceRole:NonEmptyString.toption[@ocaml.doc"Specifies the service role ARN for the batch build project."];combineArtifacts:WrapperBoolean.toption[@ocaml.doc"Specifies if the build artifacts for the batch build should be combined into a single artifact location."];restrictions:BatchRestrictions.toption[@ocaml.doc"A BatchRestrictions object that specifies the restrictions for the batch build."];timeoutInMins:WrapperInt.toption[@ocaml.doc"Specifies the maximum amount of time, in minutes, that the batch build must be completed in."];batchReportMode:BatchReportModeType.toption[@ocaml.doc"Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider. REPORT_AGGREGATED_BATCH (Default) Aggregate all of the build statuses into a single status report. REPORT_INDIVIDUAL_BUILDS Send a separate status report for each individual build."]}letmake?serviceRole=fun?combineArtifacts->fun?restrictions->fun?timeoutInMins->fun?batchReportMode->fun()->{serviceRole;combineArtifacts;restrictions;timeoutInMins;batchReportMode}letto_valuex=structure_to_value[("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("combineArtifacts",(Option.mapx.combineArtifacts~f:WrapperBoolean.to_value));("restrictions",(Option.mapx.restrictions~f:BatchRestrictions.to_value));("timeoutInMins",(Option.mapx.timeoutInMins~f:WrapperInt.to_value));("batchReportMode",(Option.mapx.batchReportMode~f:BatchReportModeType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbatchReportMode=(Option.map~f:BatchReportModeType.of_xml)(Xml.childxml_arg0"batchReportMode")inlettimeoutInMins=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"timeoutInMins")inletrestrictions=(Option.map~f:BatchRestrictions.of_xml)(Xml.childxml_arg0"restrictions")inletcombineArtifacts=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"combineArtifacts")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inmake?batchReportMode?timeoutInMins?restrictions?combineArtifacts?serviceRole()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbatchReportMode=field_mapjson__"batchReportMode"BatchReportModeType.of_jsoninlettimeoutInMins=field_mapjson__"timeoutInMins"WrapperInt.of_jsoninletrestrictions=field_mapjson__"restrictions"BatchRestrictions.of_jsoninletcombineArtifacts=field_mapjson__"combineArtifacts"WrapperBoolean.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninmake?batchReportMode?timeoutInMins?restrictions?combineArtifacts?serviceRole()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains configuration information about a batch build project."]moduleProjectCache=structtypenonrect={type_:CacheType.t[@ocaml.doc"The type of cache used by the build project. Valid values include: NO_CACHE: The build project does not use any cache. S3: The build project reads and writes from and to S3. LOCAL: The build project stores a cache locally on a build host that is only available to that build host."];location:String_.toption[@ocaml.doc"Information about the cache location: NO_CACHE or LOCAL: This value is ignored. S3: This is the S3 bucket name/prefix."];modes:ProjectCacheModes.toption[@ocaml.doc"An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for LOCAL cache types. Possible values are: LOCAL_SOURCE_CACHE Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored. LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network. You can use a Docker layer cache in the Linux environment only. The privileged flag must be set so that your project has the required Docker permissions. You should consider the security implications before you use a Docker layer cache. LOCAL_CUSTOM_CACHE Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache: Only directories can be specified for caching. You cannot specify individual files. Symlinks are used to reference cached directories. Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file."];cacheNamespace:String_.toption[@ocaml.doc"Defines the scope of the cache. You can use this namespace to share a cache across multiple projects. For more information, see Cache sharing between projects in the CodeBuild User Guide."]}letcontext_="ProjectCache"letmake?location=fun?modes->fun?cacheNamespace->fun~type_->fun()->{location;modes;cacheNamespace;type_}letto_valuex=structure_to_value[("type",(Some(CacheType.to_valuex.type_)));("location",(Option.mapx.location~f:String_.to_value));("modes",(Option.mapx.modes~f:ProjectCacheModes.to_value));("cacheNamespace",(Option.mapx.cacheNamespace~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcacheNamespace=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"cacheNamespace")inletmodes=(Option.map~f:ProjectCacheModes.of_xml)(Xml.childxml_arg0"modes")inletlocation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"location")inlettype_=CacheType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?cacheNamespace?modes?location~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcacheNamespace=field_mapjson__"cacheNamespace"String_.of_jsoninletmodes=field_mapjson__"modes"ProjectCacheModes.of_jsoninletlocation=field_mapjson__"location"String_.of_jsoninlettype_=field_map_exnjson__"type"CacheType.of_jsoninmake?cacheNamespace?modes?location~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the cache for the build project."]moduleProjectDescription=structtypenonrect=stringletcontext_="ProjectDescription"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProjectDescription"jletto_json=simple_to_jsonto_valueendmoduleProjectName=structtypenonrect=stringletcontext_="ProjectName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:150)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9][A-Za-z0-9\\-_]{1,149}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProjectName"jletto_json=simple_to_jsonto_valueendmoduleProjectVisibilityType=structtypenonrect=|PUBLIC_READ|PRIVATE|Non_static_idofstringletmakei=iletto_string=function|PUBLIC_READ->"PUBLIC_READ"|PRIVATE->"PRIVATE"|Non_static_ids->sletof_string=function|"PUBLIC_READ"->PUBLIC_READ|"PRIVATE"->PRIVATE|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 ProjectVisibilityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProjectVisibilityType"j)letto_json=simple_to_jsonto_valueendmoduleTimeOut=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:480)>>=(fun()->check_int_mini~min:5));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TimeOut"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleWebhook=structtypenonrect={url:NonEmptyString.toption[@ocaml.doc"The URL to the webhook."];payloadUrl:NonEmptyString.toption[@ocaml.doc"The CodeBuild endpoint where webhook events are sent."];secret:NonEmptyString.toption[@ocaml.doc"The secret token of the associated repository. A Bitbucket webhook does not support secret."];branchFilter:String_.toption[@ocaml.doc"A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter."];filterGroups:FilterGroups.toption[@ocaml.doc"An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type. For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass."];buildType:WebhookBuildType.toption[@ocaml.doc"Specifies the type of build this webhook will trigger. RUNNER_BUILDKITE_BUILD is only available for NO_SOURCE source type projects configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see Tutorial: Configure a CodeBuild-hosted Buildkite runner in the CodeBuild user guide."];manualCreation:WrapperBoolean.toption[@ocaml.doc"If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns payloadUrl and secret values for the webhook. The payloadUrl and secret values in the output can be used to manually create a webhook within GitHub. manualCreation is only available for GitHub webhooks."];lastModifiedSecret:Timestamp.toption[@ocaml.doc"A timestamp that indicates the last time a repository's secret token was modified."];scopeConfiguration:ScopeConfiguration.toption[@ocaml.doc"The scope configuration for global or organization webhooks. Global or organization webhooks are only available for GitHub and Github Enterprise webhooks."];status:WebhookStatus.toption[@ocaml.doc"The status of the webhook. Valid values include: CREATING: The webhook is being created. CREATE_FAILED: The webhook has failed to create. ACTIVE: The webhook has succeeded and is active. DELETING: The webhook is being deleted."];statusMessage:String_.toption[@ocaml.doc"A message associated with the status of a webhook."];pullRequestBuildPolicy:PullRequestBuildPolicy.toption}letmake?url=fun?payloadUrl->fun?secret->fun?branchFilter->fun?filterGroups->fun?buildType->fun?manualCreation->fun?lastModifiedSecret->fun?scopeConfiguration->fun?status->fun?statusMessage->fun?pullRequestBuildPolicy->fun()->{url;payloadUrl;secret;branchFilter;filterGroups;buildType;manualCreation;lastModifiedSecret;scopeConfiguration;status;statusMessage;pullRequestBuildPolicy}letto_valuex=structure_to_value[("url",(Option.mapx.url~f:NonEmptyString.to_value));("payloadUrl",(Option.mapx.payloadUrl~f:NonEmptyString.to_value));("secret",(Option.mapx.secret~f:NonEmptyString.to_value));("branchFilter",(Option.mapx.branchFilter~f:String_.to_value));("filterGroups",(Option.mapx.filterGroups~f:FilterGroups.to_value));("buildType",(Option.mapx.buildType~f:WebhookBuildType.to_value));("manualCreation",(Option.mapx.manualCreation~f:WrapperBoolean.to_value));("lastModifiedSecret",(Option.mapx.lastModifiedSecret~f:Timestamp.to_value));("scopeConfiguration",(Option.mapx.scopeConfiguration~f:ScopeConfiguration.to_value));("status",(Option.mapx.status~f:WebhookStatus.to_value));("statusMessage",(Option.mapx.statusMessage~f:String_.to_value));("pullRequestBuildPolicy",(Option.mapx.pullRequestBuildPolicy~f:PullRequestBuildPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestBuildPolicy=(Option.map~f:PullRequestBuildPolicy.of_xml)(Xml.childxml_arg0"pullRequestBuildPolicy")inletstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusMessage")inletstatus=(Option.map~f:WebhookStatus.of_xml)(Xml.childxml_arg0"status")inletscopeConfiguration=(Option.map~f:ScopeConfiguration.of_xml)(Xml.childxml_arg0"scopeConfiguration")inletlastModifiedSecret=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastModifiedSecret")inletmanualCreation=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"manualCreation")inletbuildType=(Option.map~f:WebhookBuildType.of_xml)(Xml.childxml_arg0"buildType")inletfilterGroups=(Option.map~f:FilterGroups.of_xml)(Xml.childxml_arg0"filterGroups")inletbranchFilter=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"branchFilter")inletsecret=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"secret")inletpayloadUrl=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"payloadUrl")inleturl=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"url")inmake?pullRequestBuildPolicy?statusMessage?status?scopeConfiguration?lastModifiedSecret?manualCreation?buildType?filterGroups?branchFilter?secret?payloadUrl?url()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestBuildPolicy=field_mapjson__"pullRequestBuildPolicy"PullRequestBuildPolicy.of_jsoninletstatusMessage=field_mapjson__"statusMessage"String_.of_jsoninletstatus=field_mapjson__"status"WebhookStatus.of_jsoninletscopeConfiguration=field_mapjson__"scopeConfiguration"ScopeConfiguration.of_jsoninletlastModifiedSecret=field_mapjson__"lastModifiedSecret"Timestamp.of_jsoninletmanualCreation=field_mapjson__"manualCreation"WrapperBoolean.of_jsoninletbuildType=field_mapjson__"buildType"WebhookBuildType.of_jsoninletfilterGroups=field_mapjson__"filterGroups"FilterGroups.of_jsoninletbranchFilter=field_mapjson__"branchFilter"String_.of_jsoninletsecret=field_mapjson__"secret"NonEmptyString.of_jsoninletpayloadUrl=field_mapjson__"payloadUrl"NonEmptyString.of_jsoninleturl=field_mapjson__"url"NonEmptyString.of_jsoninmake?pullRequestBuildPolicy?statusMessage?status?scopeConfiguration?lastModifiedSecret?manualCreation?buildType?filterGroups?branchFilter?secret?payloadUrl?url()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a webhook that connects repository events to a build project in CodeBuild."]moduleFleetName=structtypenonrect=stringletcontext_="FleetName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9][A-Za-z0-9\\-_]{1,127}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FleetName"jletto_json=simple_to_jsonto_valueendmoduleFleetOverflowBehavior=structtypenonrect=|QUEUE|ON_DEMAND|Non_static_idofstringletmakei=iletto_string=function|QUEUE->"QUEUE"|ON_DEMAND->"ON_DEMAND"|Non_static_ids->sletof_string=function|"QUEUE"->QUEUE|"ON_DEMAND"->ON_DEMAND|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 FleetOverflowBehavior"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetOverflowBehavior"j)letto_json=simple_to_jsonto_valueendmoduleFleetStatus=structtypenonrect={statusCode:FleetStatusCode.toption[@ocaml.doc"The status code of the compute fleet. Valid values include: CREATING: The compute fleet is being created. UPDATING: The compute fleet is being updated. ROTATING: The compute fleet is being rotated. PENDING_DELETION: The compute fleet is pending deletion. DELETING: The compute fleet is being deleted. CREATE_FAILED: The compute fleet has failed to create. UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. ACTIVE: The compute fleet has succeeded and is active."];context:FleetContextCode.toption[@ocaml.doc"Additional information about a compute fleet. Valid values include: CREATE_FAILED: The compute fleet has failed to create. UPDATE_FAILED: The compute fleet has failed to update."];message:String_.toption[@ocaml.doc"A message associated with the status of a compute fleet."]}letmake?statusCode=fun?context->fun?message->fun()->{statusCode;context;message}letto_valuex=structure_to_value[("statusCode",(Option.mapx.statusCode~f:FleetStatusCode.to_value));("context",(Option.mapx.context~f:FleetContextCode.to_value));("message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inletcontext=(Option.map~f:FleetContextCode.of_xml)(Xml.childxml_arg0"context")inletstatusCode=(Option.map~f:FleetStatusCode.of_xml)(Xml.childxml_arg0"statusCode")inmake?message?context?statusCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"String_.of_jsoninletcontext=field_mapjson__"context"FleetContextCode.of_jsoninletstatusCode=field_mapjson__"statusCode"FleetStatusCode.of_jsoninmake?message?context?statusCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status of the compute fleet."]moduleProxyConfiguration=structtypenonrect={defaultBehavior:FleetProxyRuleBehavior.toption[@ocaml.doc"The default behavior of outgoing traffic."];orderedProxyRules:FleetProxyRules.toption[@ocaml.doc"An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to."]}letmake?defaultBehavior=fun?orderedProxyRules->fun()->{defaultBehavior;orderedProxyRules}letto_valuex=structure_to_value[("defaultBehavior",(Option.mapx.defaultBehavior~f:FleetProxyRuleBehavior.to_value));("orderedProxyRules",(Option.mapx.orderedProxyRules~f:FleetProxyRules.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorderedProxyRules=(Option.map~f:FleetProxyRules.of_xml)(Xml.childxml_arg0"orderedProxyRules")inletdefaultBehavior=(Option.map~f:FleetProxyRuleBehavior.of_xml)(Xml.childxml_arg0"defaultBehavior")inmake?orderedProxyRules?defaultBehavior()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorderedProxyRules=field_mapjson__"orderedProxyRules"FleetProxyRules.of_jsoninletdefaultBehavior=field_mapjson__"defaultBehavior"FleetProxyRuleBehavior.of_jsoninmake?orderedProxyRules?defaultBehavior()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the proxy configurations that apply network access control to your reserved capacity instances."]moduleScalingConfigurationOutput=structtypenonrect={scalingType:FleetScalingType.toption[@ocaml.doc"The scaling type for a compute fleet."];targetTrackingScalingConfigs:TargetTrackingScalingConfigurations.toption[@ocaml.doc"A list of TargetTrackingScalingConfiguration objects."];maxCapacity:FleetCapacity.toption[@ocaml.doc"The maximum number of instances in the \239\172\130eet when auto-scaling."];desiredCapacity:FleetCapacity.toption[@ocaml.doc"The desired number of instances in the \239\172\130eet when auto-scaling."]}letmake?scalingType=fun?targetTrackingScalingConfigs->fun?maxCapacity->fun?desiredCapacity->fun()->{scalingType;targetTrackingScalingConfigs;maxCapacity;desiredCapacity}letto_valuex=structure_to_value[("scalingType",(Option.mapx.scalingType~f:FleetScalingType.to_value));("targetTrackingScalingConfigs",(Option.mapx.targetTrackingScalingConfigs~f:TargetTrackingScalingConfigurations.to_value));("maxCapacity",(Option.mapx.maxCapacity~f:FleetCapacity.to_value));("desiredCapacity",(Option.mapx.desiredCapacity~f:FleetCapacity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdesiredCapacity=(Option.map~f:FleetCapacity.of_xml)(Xml.childxml_arg0"desiredCapacity")inletmaxCapacity=(Option.map~f:FleetCapacity.of_xml)(Xml.childxml_arg0"maxCapacity")inlettargetTrackingScalingConfigs=(Option.map~f:TargetTrackingScalingConfigurations.of_xml)(Xml.childxml_arg0"targetTrackingScalingConfigs")inletscalingType=(Option.map~f:FleetScalingType.of_xml)(Xml.childxml_arg0"scalingType")inmake?desiredCapacity?maxCapacity?targetTrackingScalingConfigs?scalingType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdesiredCapacity=field_mapjson__"desiredCapacity"FleetCapacity.of_jsoninletmaxCapacity=field_mapjson__"maxCapacity"FleetCapacity.of_jsoninlettargetTrackingScalingConfigs=field_mapjson__"targetTrackingScalingConfigs"TargetTrackingScalingConfigurations.of_jsoninletscalingType=field_mapjson__"scalingType"FleetScalingType.of_jsoninmake?desiredCapacity?maxCapacity?targetTrackingScalingConfigs?scalingType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The scaling configuration output of a compute fleet."]moduleAutoRetryConfig=structtypenonrect={autoRetryLimit:WrapperInt.toption[@ocaml.doc"The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times."];autoRetryNumber:WrapperInt.toption[@ocaml.doc"The number of times that the build has been retried. The initial build will have an auto-retry number of 0."];nextAutoRetry:String_.toption[@ocaml.doc"The build ARN of the auto-retried build triggered by the current build. The next auto-retry will be null for builds that don't trigger an auto-retry."];previousAutoRetry:String_.toption[@ocaml.doc"The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will be null for the initial build."]}letmake?autoRetryLimit=fun?autoRetryNumber->fun?nextAutoRetry->fun?previousAutoRetry->fun()->{autoRetryLimit;autoRetryNumber;nextAutoRetry;previousAutoRetry}letto_valuex=structure_to_value[("autoRetryLimit",(Option.mapx.autoRetryLimit~f:WrapperInt.to_value));("autoRetryNumber",(Option.mapx.autoRetryNumber~f:WrapperInt.to_value));("nextAutoRetry",(Option.mapx.nextAutoRetry~f:String_.to_value));("previousAutoRetry",(Option.mapx.previousAutoRetry~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpreviousAutoRetry=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"previousAutoRetry")inletnextAutoRetry=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextAutoRetry")inletautoRetryNumber=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryNumber")inletautoRetryLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryLimit")inmake?previousAutoRetry?nextAutoRetry?autoRetryNumber?autoRetryLimit()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpreviousAutoRetry=field_mapjson__"previousAutoRetry"String_.of_jsoninletnextAutoRetry=field_mapjson__"nextAutoRetry"String_.of_jsoninletautoRetryNumber=field_mapjson__"autoRetryNumber"WrapperInt.of_jsoninletautoRetryLimit=field_mapjson__"autoRetryLimit"WrapperInt.of_jsoninmake?previousAutoRetry?nextAutoRetry?autoRetryNumber?autoRetryLimit()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the auto-retry configuration for the build."]moduleBuildArtifactsList=structtypenonrect=BuildArtifacts.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:12)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildArtifacts.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:BuildArtifacts.of_xml)letof_jsonj=list_of_json~kind:"BuildArtifactsList"~of_json:BuildArtifacts.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildPhases=structtypenonrect=BuildPhase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildPhase.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:BuildPhase.of_xml)letof_jsonj=list_of_json~kind:"BuildPhases"~of_json:BuildPhase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildReportArns=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"BuildReportArns"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDebugSession=structtypenonrect={sessionEnabled:WrapperBoolean.toption[@ocaml.doc"Specifies if session debugging is enabled for this build."];sessionTarget:NonEmptyString.toption[@ocaml.doc"Contains the identifier of the Session Manager session used for the build. To work with the paused build, you open this session to examine, control, and resume the build."]}letmake?sessionEnabled=fun?sessionTarget->fun()->{sessionEnabled;sessionTarget}letto_valuex=structure_to_value[("sessionEnabled",(Option.mapx.sessionEnabled~f:WrapperBoolean.to_value));("sessionTarget",(Option.mapx.sessionTarget~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsessionTarget=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sessionTarget")inletsessionEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"sessionEnabled")inmake?sessionTarget?sessionEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsessionTarget=field_mapjson__"sessionTarget"NonEmptyString.of_jsoninletsessionEnabled=field_mapjson__"sessionEnabled"WrapperBoolean.of_jsoninmake?sessionTarget?sessionEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the debug session for a build. For more information, see Viewing a running build in Session Manager."]moduleExportedEnvironmentVariables=structtypenonrect=ExportedEnvironmentVariable.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ExportedEnvironmentVariable.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:ExportedEnvironmentVariable.of_xml)letof_jsonj=list_of_json~kind:"ExportedEnvironmentVariables"~of_json:ExportedEnvironmentVariable.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildBatchPhases=structtypenonrect=BuildBatchPhase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildBatchPhase.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:BuildBatchPhase.of_xml)letof_jsonj=list_of_json~kind:"BuildBatchPhases"~of_json:BuildBatchPhase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildGroups=structtypenonrect=BuildGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildGroup.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:BuildGroup.of_xml)letof_jsonj=list_of_json~kind:"BuildGroups"~of_json:BuildGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSourceCredentialsInfo=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the token."];serverType:ServerType.toption[@ocaml.doc"The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET."];authType:AuthType.toption[@ocaml.doc"The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER."];resource:String_.toption[@ocaml.doc"The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER."]}letmake?arn=fun?serverType->fun?authType->fun?resource->fun()->{arn;serverType;authType;resource}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("serverType",(Option.mapx.serverType~f:ServerType.to_value));("authType",(Option.mapx.authType~f:AuthType.to_value));("resource",(Option.mapx.resource~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resource")inletauthType=(Option.map~f:AuthType.of_xml)(Xml.childxml_arg0"authType")inletserverType=(Option.map~f:ServerType.of_xml)(Xml.childxml_arg0"serverType")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?resource?authType?serverType?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresource=field_mapjson__"resource"String_.of_jsoninletauthType=field_mapjson__"authType"AuthType.of_jsoninletserverType=field_mapjson__"serverType"ServerType.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?resource?authType?serverType?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository."]moduleEnvironmentPlatform=structtypenonrect={platform:PlatformType.toption[@ocaml.doc"The platform's name."];languages:EnvironmentLanguages.toption[@ocaml.doc"The list of programming languages that are available for the specified platform."]}letmake?platform=fun?languages->fun()->{platform;languages}letto_valuex=structure_to_value[("platform",(Option.mapx.platform~f:PlatformType.to_value));("languages",(Option.mapx.languages~f:EnvironmentLanguages.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlanguages=(Option.map~f:EnvironmentLanguages.of_xml)(Xml.childxml_arg0"languages")inletplatform=(Option.map~f:PlatformType.of_xml)(Xml.childxml_arg0"platform")inmake?languages?platform()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlanguages=field_mapjson__"languages"EnvironmentLanguages.of_jsoninletplatform=field_mapjson__"platform"PlatformType.of_jsoninmake?languages?platform()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of Docker images that are related by platform and are managed by CodeBuild."]moduleCommandExecution=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The ID of the command execution."];sandboxId:NonEmptyString.toption[@ocaml.doc"A sandboxId."];submitTime:Timestamp.toption[@ocaml.doc"When the command execution process was initially submitted, expressed in Unix time format."];startTime:Timestamp.toption[@ocaml.doc"When the command execution process started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the command execution process ended, expressed in Unix time format."];status:NonEmptyString.toption[@ocaml.doc"The status of the command execution."];command:SensitiveNonEmptyString.toption[@ocaml.doc"The command that needs to be executed."];type_:CommandType.toption[@ocaml.doc"The command type."];exitCode:NonEmptyString.toption[@ocaml.doc"The exit code to return upon completion."];standardOutputContent:SensitiveNonEmptyString.toption[@ocaml.doc"The text written by the command to stdout."];standardErrContent:SensitiveNonEmptyString.toption[@ocaml.doc"The text written by the command to stderr."];logs:LogsLocation.toption;sandboxArn:NonEmptyString.toption[@ocaml.doc"A sandboxArn."]}letmake?id=fun?sandboxId->fun?submitTime->fun?startTime->fun?endTime->fun?status->fun?command->fun?type_->fun?exitCode->fun?standardOutputContent->fun?standardErrContent->fun?logs->fun?sandboxArn->fun()->{id;sandboxId;submitTime;startTime;endTime;status;command;type_;exitCode;standardOutputContent;standardErrContent;logs;sandboxArn}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("sandboxId",(Option.mapx.sandboxId~f:NonEmptyString.to_value));("submitTime",(Option.mapx.submitTime~f:Timestamp.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("status",(Option.mapx.status~f:NonEmptyString.to_value));("command",(Option.mapx.command~f:SensitiveNonEmptyString.to_value));("type",(Option.mapx.type_~f:CommandType.to_value));("exitCode",(Option.mapx.exitCode~f:NonEmptyString.to_value));("standardOutputContent",(Option.mapx.standardOutputContent~f:SensitiveNonEmptyString.to_value));("standardErrContent",(Option.mapx.standardErrContent~f:SensitiveNonEmptyString.to_value));("logs",(Option.mapx.logs~f:LogsLocation.to_value));("sandboxArn",(Option.mapx.sandboxArn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsandboxArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sandboxArn")inletlogs=(Option.map~f:LogsLocation.of_xml)(Xml.childxml_arg0"logs")inletstandardErrContent=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"standardErrContent")inletstandardOutputContent=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"standardOutputContent")inletexitCode=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"exitCode")inlettype_=(Option.map~f:CommandType.of_xml)(Xml.childxml_arg0"type")inletcommand=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"command")inletstatus=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"status")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletsubmitTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"submitTime")inletsandboxId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sandboxId")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?sandboxArn?logs?standardErrContent?standardOutputContent?exitCode?type_?command?status?endTime?startTime?submitTime?sandboxId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsandboxArn=field_mapjson__"sandboxArn"NonEmptyString.of_jsoninletlogs=field_mapjson__"logs"LogsLocation.of_jsoninletstandardErrContent=field_mapjson__"standardErrContent"SensitiveNonEmptyString.of_jsoninletstandardOutputContent=field_mapjson__"standardOutputContent"SensitiveNonEmptyString.of_jsoninletexitCode=field_mapjson__"exitCode"NonEmptyString.of_jsoninlettype_=field_mapjson__"type"CommandType.of_jsoninletcommand=field_mapjson__"command"SensitiveNonEmptyString.of_jsoninletstatus=field_mapjson__"status"NonEmptyString.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletsubmitTime=field_mapjson__"submitTime"Timestamp.of_jsoninletsandboxId=field_mapjson__"sandboxId"NonEmptyString.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?sandboxArn?logs?standardErrContent?standardOutputContent?exitCode?type_?command?status?endTime?startTime?submitTime?sandboxId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains command execution information."]moduleReportWithRawData=structtypenonrect={reportArn:NonEmptyString.toption[@ocaml.doc"The ARN of the report."];data:String_.toption[@ocaml.doc"The value of the requested data field from the report."]}letmake?reportArn=fun?data->fun()->{reportArn;data}letto_valuex=structure_to_value[("reportArn",(Option.mapx.reportArn~f:NonEmptyString.to_value));("data",(Option.mapx.data~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdata=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"data")inletreportArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"reportArn")inmake?data?reportArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdata=field_mapjson__"data"String_.of_jsoninletreportArn=field_mapjson__"reportArn"NonEmptyString.of_jsoninmake?data?reportArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the unmodified data for the report. For more information, see ."]moduleTestCase=structtypenonrect={reportArn:NonEmptyString.toption[@ocaml.doc"The ARN of the report to which the test case belongs."];testRawDataPath:String_.toption[@ocaml.doc"The path to the raw data file that contains the test result."];prefix:String_.toption[@ocaml.doc"A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests."];name:String_.toption[@ocaml.doc"The name of the test case."];status:String_.toption[@ocaml.doc"The status returned by the test case after it was run. Valid statuses are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN."];durationInNanoSeconds:WrapperLong.toption[@ocaml.doc"The number of nanoseconds it took to run this test case."];message:String_.toption[@ocaml.doc"A message associated with a test case. For example, an error message or stack trace."];expired:Timestamp.toption[@ocaml.doc"The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild."];testSuiteName:String_.toption[@ocaml.doc"The name of the test suite that the test case is a part of."]}letmake?reportArn=fun?testRawDataPath->fun?prefix->fun?name->fun?status->fun?durationInNanoSeconds->fun?message->fun?expired->fun?testSuiteName->fun()->{reportArn;testRawDataPath;prefix;name;status;durationInNanoSeconds;message;expired;testSuiteName}letto_valuex=structure_to_value[("reportArn",(Option.mapx.reportArn~f:NonEmptyString.to_value));("testRawDataPath",(Option.mapx.testRawDataPath~f:String_.to_value));("prefix",(Option.mapx.prefix~f:String_.to_value));("name",(Option.mapx.name~f:String_.to_value));("status",(Option.mapx.status~f:String_.to_value));("durationInNanoSeconds",(Option.mapx.durationInNanoSeconds~f:WrapperLong.to_value));("message",(Option.mapx.message~f:String_.to_value));("expired",(Option.mapx.expired~f:Timestamp.to_value));("testSuiteName",(Option.mapx.testSuiteName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestSuiteName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"testSuiteName")inletexpired=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"expired")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inletdurationInNanoSeconds=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"durationInNanoSeconds")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletprefix=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"prefix")inlettestRawDataPath=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"testRawDataPath")inletreportArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"reportArn")inmake?testSuiteName?expired?message?durationInNanoSeconds?status?name?prefix?testRawDataPath?reportArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestSuiteName=field_mapjson__"testSuiteName"String_.of_jsoninletexpired=field_mapjson__"expired"Timestamp.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninletdurationInNanoSeconds=field_mapjson__"durationInNanoSeconds"WrapperLong.of_jsoninletstatus=field_mapjson__"status"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninletprefix=field_mapjson__"prefix"String_.of_jsoninlettestRawDataPath=field_mapjson__"testRawDataPath"String_.of_jsoninletreportArn=field_mapjson__"reportArn"NonEmptyString.of_jsoninmake?testSuiteName?expired?message?durationInNanoSeconds?status?name?prefix?testRawDataPath?reportArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test."]moduleCodeCoverage=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The identifier of the code coverage report."];reportARN:NonEmptyString.toption[@ocaml.doc"The ARN of the report."];filePath:NonEmptyString.toption[@ocaml.doc"The path of the test report file."];lineCoveragePercentage:Percentage.toption[@ocaml.doc"The percentage of lines that are covered by your tests."];linesCovered:NonNegativeInt.toption[@ocaml.doc"The number of lines that are covered by your tests."];linesMissed:NonNegativeInt.toption[@ocaml.doc"The number of lines that are not covered by your tests."];branchCoveragePercentage:Percentage.toption[@ocaml.doc"The percentage of branches that are covered by your tests."];branchesCovered:NonNegativeInt.toption[@ocaml.doc"The number of conditional branches that are covered by your tests."];branchesMissed:NonNegativeInt.toption[@ocaml.doc"The number of conditional branches that are not covered by your tests."];expired:Timestamp.toption[@ocaml.doc"The date and time that the tests were run."]}letmake?id=fun?reportARN->fun?filePath->fun?lineCoveragePercentage->fun?linesCovered->fun?linesMissed->fun?branchCoveragePercentage->fun?branchesCovered->fun?branchesMissed->fun?expired->fun()->{id;reportARN;filePath;lineCoveragePercentage;linesCovered;linesMissed;branchCoveragePercentage;branchesCovered;branchesMissed;expired}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("reportARN",(Option.mapx.reportARN~f:NonEmptyString.to_value));("filePath",(Option.mapx.filePath~f:NonEmptyString.to_value));("lineCoveragePercentage",(Option.mapx.lineCoveragePercentage~f:Percentage.to_value));("linesCovered",(Option.mapx.linesCovered~f:NonNegativeInt.to_value));("linesMissed",(Option.mapx.linesMissed~f:NonNegativeInt.to_value));("branchCoveragePercentage",(Option.mapx.branchCoveragePercentage~f:Percentage.to_value));("branchesCovered",(Option.mapx.branchesCovered~f:NonNegativeInt.to_value));("branchesMissed",(Option.mapx.branchesMissed~f:NonNegativeInt.to_value));("expired",(Option.mapx.expired~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpired=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"expired")inletbranchesMissed=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"branchesMissed")inletbranchesCovered=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"branchesCovered")inletbranchCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"branchCoveragePercentage")inletlinesMissed=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"linesMissed")inletlinesCovered=(Option.map~f:NonNegativeInt.of_xml)(Xml.childxml_arg0"linesCovered")inletlineCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"lineCoveragePercentage")inletfilePath=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"filePath")inletreportARN=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"reportARN")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?expired?branchesMissed?branchesCovered?branchCoveragePercentage?linesMissed?linesCovered?lineCoveragePercentage?filePath?reportARN?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpired=field_mapjson__"expired"Timestamp.of_jsoninletbranchesMissed=field_mapjson__"branchesMissed"NonNegativeInt.of_jsoninletbranchesCovered=field_mapjson__"branchesCovered"NonNegativeInt.of_jsoninletbranchCoveragePercentage=field_mapjson__"branchCoveragePercentage"Percentage.of_jsoninletlinesMissed=field_mapjson__"linesMissed"NonNegativeInt.of_jsoninletlinesCovered=field_mapjson__"linesCovered"NonNegativeInt.of_jsoninletlineCoveragePercentage=field_mapjson__"lineCoveragePercentage"Percentage.of_jsoninletfilePath=field_mapjson__"filePath"NonEmptyString.of_jsoninletreportARN=field_mapjson__"reportARN"NonEmptyString.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?expired?branchesMissed?branchesCovered?branchCoveragePercentage?linesMissed?linesCovered?lineCoveragePercentage?filePath?reportARN?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains code coverage report information. Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc. Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement."]moduleBuildNotDeleted=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The ID of the build that could not be successfully deleted."];statusCode:String_.toption[@ocaml.doc"Additional information about the build that could not be successfully deleted."]}letmake?id=fun?statusCode->fun()->{id;statusCode}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("statusCode",(Option.mapx.statusCode~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusCode")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?statusCode?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusCode=field_mapjson__"statusCode"String_.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?statusCode?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a build that could not be successfully deleted."]moduleSandbox=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The ID of the sandbox."];arn:NonEmptyString.toption[@ocaml.doc"The ARN of the sandbox."];projectName:NonEmptyString.toption[@ocaml.doc"The CodeBuild project name."];requestTime:Timestamp.toption[@ocaml.doc"When the sandbox process was initially requested, expressed in Unix time format."];startTime:Timestamp.toption[@ocaml.doc"When the sandbox process started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the sandbox process ended, expressed in Unix time format."];status:String_.toption[@ocaml.doc"The status of the sandbox."];source:ProjectSource.toption;sourceVersion:NonEmptyString.toption[@ocaml.doc"Any version identifier for the version of the sandbox to be built."];secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects."];environment:ProjectEnvironment.toption;fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];timeoutInMinutes:WrapperInt.toption[@ocaml.doc"How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this sandbox if it does not get marked as completed."];queuedTimeoutInMinutes:WrapperInt.toption[@ocaml.doc"The number of minutes a sandbox is allowed to be queued before it times out."];vpcConfig:VpcConfig.toption;logConfig:LogsConfig.toption;encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the sandbox output artifacts."];serviceRole:NonEmptyString.toption[@ocaml.doc"The name of a service role used for this sandbox."];currentSession:SandboxSession.toption[@ocaml.doc"The current session for the sandbox."]}letmake?id=fun?arn->fun?projectName->fun?requestTime->fun?startTime->fun?endTime->fun?status->fun?source->fun?sourceVersion->fun?secondarySources->fun?secondarySourceVersions->fun?environment->fun?fileSystemLocations->fun?timeoutInMinutes->fun?queuedTimeoutInMinutes->fun?vpcConfig->fun?logConfig->fun?encryptionKey->fun?serviceRole->fun?currentSession->fun()->{id;arn;projectName;requestTime;startTime;endTime;status;source;sourceVersion;secondarySources;secondarySourceVersions;environment;fileSystemLocations;timeoutInMinutes;queuedTimeoutInMinutes;vpcConfig;logConfig;encryptionKey;serviceRole;currentSession}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("projectName",(Option.mapx.projectName~f:NonEmptyString.to_value));("requestTime",(Option.mapx.requestTime~f:Timestamp.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("status",(Option.mapx.status~f:String_.to_value));("source",(Option.mapx.source~f:ProjectSource.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:NonEmptyString.to_value));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("environment",(Option.mapx.environment~f:ProjectEnvironment.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("timeoutInMinutes",(Option.mapx.timeoutInMinutes~f:WrapperInt.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:WrapperInt.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("logConfig",(Option.mapx.logConfig~f:LogsConfig.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("currentSession",(Option.mapx.currentSession~f:SandboxSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcurrentSession=(Option.map~f:SandboxSession.of_xml)(Xml.childxml_arg0"currentSession")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletlogConfig=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logConfig")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletqueuedTimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inlettimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"timeoutInMinutes")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletenvironment=(Option.map~f:ProjectEnvironment.of_xml)(Xml.childxml_arg0"environment")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sourceVersion")inletsource=(Option.map~f:ProjectSource.of_xml)(Xml.childxml_arg0"source")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletrequestTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"requestTime")inletprojectName=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectName")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?currentSession?serviceRole?encryptionKey?logConfig?vpcConfig?queuedTimeoutInMinutes?timeoutInMinutes?fileSystemLocations?environment?secondarySourceVersions?secondarySources?sourceVersion?source?status?endTime?startTime?requestTime?projectName?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcurrentSession=field_mapjson__"currentSession"SandboxSession.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletlogConfig=field_mapjson__"logConfig"LogsConfig.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"WrapperInt.of_jsoninlettimeoutInMinutes=field_mapjson__"timeoutInMinutes"WrapperInt.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletenvironment=field_mapjson__"environment"ProjectEnvironment.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"NonEmptyString.of_jsoninletsource=field_mapjson__"source"ProjectSource.of_jsoninletstatus=field_mapjson__"status"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletrequestTime=field_mapjson__"requestTime"Timestamp.of_jsoninletprojectName=field_mapjson__"projectName"NonEmptyString.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?currentSession?serviceRole?encryptionKey?logConfig?vpcConfig?queuedTimeoutInMinutes?timeoutInMinutes?fileSystemLocations?environment?secondarySourceVersions?secondarySources?sourceVersion?source?status?endTime?startTime?requestTime?projectName?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains sandbox information."]moduleReport=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The ARN of the report run."];type_:ReportType.toption[@ocaml.doc"The type of the report that was run. CODE_COVERAGE A code coverage report. TEST A test report."];name:String_.toption[@ocaml.doc"The name of the report that was run."];reportGroupArn:NonEmptyString.toption[@ocaml.doc"The ARN of the report group associated with this report."];executionId:String_.toption[@ocaml.doc"The ARN of the build run that generated this report."];status:ReportStatusType.toption[@ocaml.doc"The status of this report."];created:Timestamp.toption[@ocaml.doc"The date and time this report run occurred."];expired:Timestamp.toption[@ocaml.doc"The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild."];exportConfig:ReportExportConfig.toption[@ocaml.doc"Information about where the raw data used to generate this report was exported."];truncated:WrapperBoolean.toption[@ocaml.doc"A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached."];testSummary:TestReportSummary.toption[@ocaml.doc"A TestReportSummary object that contains information about this test report."];codeCoverageSummary:CodeCoverageReportSummary.toption[@ocaml.doc"A CodeCoverageReportSummary object that contains a code coverage summary for this report."]}letmake?arn=fun?type_->fun?name->fun?reportGroupArn->fun?executionId->fun?status->fun?created->fun?expired->fun?exportConfig->fun?truncated->fun?testSummary->fun?codeCoverageSummary->fun()->{arn;type_;name;reportGroupArn;executionId;status;created;expired;exportConfig;truncated;testSummary;codeCoverageSummary}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("type",(Option.mapx.type_~f:ReportType.to_value));("name",(Option.mapx.name~f:String_.to_value));("reportGroupArn",(Option.mapx.reportGroupArn~f:NonEmptyString.to_value));("executionId",(Option.mapx.executionId~f:String_.to_value));("status",(Option.mapx.status~f:ReportStatusType.to_value));("created",(Option.mapx.created~f:Timestamp.to_value));("expired",(Option.mapx.expired~f:Timestamp.to_value));("exportConfig",(Option.mapx.exportConfig~f:ReportExportConfig.to_value));("truncated",(Option.mapx.truncated~f:WrapperBoolean.to_value));("testSummary",(Option.mapx.testSummary~f:TestReportSummary.to_value));("codeCoverageSummary",(Option.mapx.codeCoverageSummary~f:CodeCoverageReportSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcodeCoverageSummary=(Option.map~f:CodeCoverageReportSummary.of_xml)(Xml.childxml_arg0"codeCoverageSummary")inlettestSummary=(Option.map~f:TestReportSummary.of_xml)(Xml.childxml_arg0"testSummary")inlettruncated=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"truncated")inletexportConfig=(Option.map~f:ReportExportConfig.of_xml)(Xml.childxml_arg0"exportConfig")inletexpired=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"expired")inletcreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"created")inletstatus=(Option.map~f:ReportStatusType.of_xml)(Xml.childxml_arg0"status")inletexecutionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"executionId")inletreportGroupArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"reportGroupArn")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inlettype_=(Option.map~f:ReportType.of_xml)(Xml.childxml_arg0"type")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?codeCoverageSummary?testSummary?truncated?exportConfig?expired?created?status?executionId?reportGroupArn?name?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcodeCoverageSummary=field_mapjson__"codeCoverageSummary"CodeCoverageReportSummary.of_jsoninlettestSummary=field_mapjson__"testSummary"TestReportSummary.of_jsoninlettruncated=field_mapjson__"truncated"WrapperBoolean.of_jsoninletexportConfig=field_mapjson__"exportConfig"ReportExportConfig.of_jsoninletexpired=field_mapjson__"expired"Timestamp.of_jsoninletcreated=field_mapjson__"created"Timestamp.of_jsoninletstatus=field_mapjson__"status"ReportStatusType.of_jsoninletexecutionId=field_mapjson__"executionId"String_.of_jsoninletreportGroupArn=field_mapjson__"reportGroupArn"NonEmptyString.of_jsoninletname=field_mapjson__"name"String_.of_jsoninlettype_=field_mapjson__"type"ReportType.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?codeCoverageSummary?testSummary?truncated?exportConfig?expired?created?status?executionId?reportGroupArn?name?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests."]moduleReportGroup=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The ARN of the ReportGroup."];name:ReportGroupName.toption[@ocaml.doc"The name of the ReportGroup."];type_:ReportType.toption[@ocaml.doc"The type of the ReportGroup. This can be one of the following values: CODE_COVERAGE The report group contains code coverage reports. TEST The report group contains test reports."];exportConfig:ReportExportConfig.toption[@ocaml.doc"Information about the destination where the raw data of this ReportGroup is exported."];created:Timestamp.toption[@ocaml.doc"The date and time this ReportGroup was created."];lastModified:Timestamp.toption[@ocaml.doc"The date and time this ReportGroup was last modified."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this report group. These tags are available for use by Amazon Web Services services that support CodeBuild report group tags."];status:ReportGroupStatusType.toption[@ocaml.doc"The status of the report group. This property is read-only. This can be one of the following values: ACTIVE The report group is active. DELETING The report group is in the process of being deleted."]}letmake?arn=fun?name->fun?type_->fun?exportConfig->fun?created->fun?lastModified->fun?tags->fun?status->fun()->{arn;name;type_;exportConfig;created;lastModified;tags;status}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("name",(Option.mapx.name~f:ReportGroupName.to_value));("type",(Option.mapx.type_~f:ReportType.to_value));("exportConfig",(Option.mapx.exportConfig~f:ReportExportConfig.to_value));("created",(Option.mapx.created~f:Timestamp.to_value));("lastModified",(Option.mapx.lastModified~f:Timestamp.to_value));("tags",(Option.mapx.tags~f:TagList.to_value));("status",(Option.mapx.status~f:ReportGroupStatusType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:ReportGroupStatusType.of_xml)(Xml.childxml_arg0"status")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletlastModified=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastModified")inletcreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"created")inletexportConfig=(Option.map~f:ReportExportConfig.of_xml)(Xml.childxml_arg0"exportConfig")inlettype_=(Option.map~f:ReportType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:ReportGroupName.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?status?tags?lastModified?created?exportConfig?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"ReportGroupStatusType.of_jsoninlettags=field_mapjson__"tags"TagList.of_jsoninletlastModified=field_mapjson__"lastModified"Timestamp.of_jsoninletcreated=field_mapjson__"created"Timestamp.of_jsoninletexportConfig=field_mapjson__"exportConfig"ReportExportConfig.of_jsoninlettype_=field_mapjson__"type"ReportType.of_jsoninletname=field_mapjson__"name"ReportGroupName.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?status?tags?lastModified?created?exportConfig?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files."]moduleProject=structtypenonrect={name:ProjectName.toption[@ocaml.doc"The name of the build project."];arn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the build project."];description:ProjectDescription.toption[@ocaml.doc"A description that makes the build project easy to identify."];source:ProjectSource.toption[@ocaml.doc"Information about the build input source code for this build project."];secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];sourceVersion:String_.toption[@ocaml.doc"A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For GitLab: the commit ID, branch, or Git tag to use. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level). For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level)."];artifacts:ProjectArtifacts.toption[@ocaml.doc"Information about the build output artifacts for the build project."];secondaryArtifacts:ProjectArtifactsList.toption[@ocaml.doc"An array of ProjectArtifacts objects."];cache:ProjectCache.toption[@ocaml.doc"Information about the cache for the build project."];environment:ProjectEnvironment.toption[@ocaml.doc"Information about the build environment for this build project."];serviceRole:NonEmptyString.toption[@ocaml.doc"The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account."];timeoutInMinutes:BuildTimeOut.toption[@ocaml.doc"How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes."];queuedTimeoutInMinutes:TimeOut.toption[@ocaml.doc"The number of minutes a build is allowed to be queued before it times out."];encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>). If you don't specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3)."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this build project. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."];created:Timestamp.toption[@ocaml.doc"When the build project was created, expressed in Unix time format."];lastModified:Timestamp.toption[@ocaml.doc"When the build project's settings were last modified, expressed in Unix time format."];webhook:Webhook.toption[@ocaml.doc"Information about a webhook that connects repository events to a build project in CodeBuild."];vpcConfig:VpcConfig.toption[@ocaml.doc"Information about the VPC configuration that CodeBuild accesses."];badge:ProjectBadge.toption[@ocaml.doc"Information about the build badge for the build project."];logsConfig:LogsConfig.toption[@ocaml.doc"Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both."];fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];buildBatchConfig:ProjectBuildBatchConfig.toption[@ocaml.doc"A ProjectBuildBatchConfig object that defines the batch build options for the project."];concurrentBuildLimit:WrapperInt.toption[@ocaml.doc"The maximum number of concurrent builds that are allowed for this project. New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run."];projectVisibility:ProjectVisibilityType.toption;publicProjectAlias:NonEmptyString.toption[@ocaml.doc"Contains the project identifier used with the public build APIs."];resourceAccessRole:NonEmptyString.toption[@ocaml.doc"The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds."];autoRetryLimit:WrapperInt.toption[@ocaml.doc"The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times."]}letmake?name=fun?arn->fun?description->fun?source->fun?secondarySources->fun?sourceVersion->fun?secondarySourceVersions->fun?artifacts->fun?secondaryArtifacts->fun?cache->fun?environment->fun?serviceRole->fun?timeoutInMinutes->fun?queuedTimeoutInMinutes->fun?encryptionKey->fun?tags->fun?created->fun?lastModified->fun?webhook->fun?vpcConfig->fun?badge->fun?logsConfig->fun?fileSystemLocations->fun?buildBatchConfig->fun?concurrentBuildLimit->fun?projectVisibility->fun?publicProjectAlias->fun?resourceAccessRole->fun?autoRetryLimit->fun()->{name;arn;description;source;secondarySources;sourceVersion;secondarySourceVersions;artifacts;secondaryArtifacts;cache;environment;serviceRole;timeoutInMinutes;queuedTimeoutInMinutes;encryptionKey;tags;created;lastModified;webhook;vpcConfig;badge;logsConfig;fileSystemLocations;buildBatchConfig;concurrentBuildLimit;projectVisibility;publicProjectAlias;resourceAccessRole;autoRetryLimit}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:ProjectName.to_value));("arn",(Option.mapx.arn~f:String_.to_value));("description",(Option.mapx.description~f:ProjectDescription.to_value));("source",(Option.mapx.source~f:ProjectSource.to_value));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:String_.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("artifacts",(Option.mapx.artifacts~f:ProjectArtifacts.to_value));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:ProjectArtifactsList.to_value));("cache",(Option.mapx.cache~f:ProjectCache.to_value));("environment",(Option.mapx.environment~f:ProjectEnvironment.to_value));("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("timeoutInMinutes",(Option.mapx.timeoutInMinutes~f:BuildTimeOut.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:TimeOut.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value));("created",(Option.mapx.created~f:Timestamp.to_value));("lastModified",(Option.mapx.lastModified~f:Timestamp.to_value));("webhook",(Option.mapx.webhook~f:Webhook.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("badge",(Option.mapx.badge~f:ProjectBadge.to_value));("logsConfig",(Option.mapx.logsConfig~f:LogsConfig.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("buildBatchConfig",(Option.mapx.buildBatchConfig~f:ProjectBuildBatchConfig.to_value));("concurrentBuildLimit",(Option.mapx.concurrentBuildLimit~f:WrapperInt.to_value));("projectVisibility",(Option.mapx.projectVisibility~f:ProjectVisibilityType.to_value));("publicProjectAlias",(Option.mapx.publicProjectAlias~f:NonEmptyString.to_value));("resourceAccessRole",(Option.mapx.resourceAccessRole~f:NonEmptyString.to_value));("autoRetryLimit",(Option.mapx.autoRetryLimit~f:WrapperInt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoRetryLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryLimit")inletresourceAccessRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resourceAccessRole")inletpublicProjectAlias=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"publicProjectAlias")inletprojectVisibility=(Option.map~f:ProjectVisibilityType.of_xml)(Xml.childxml_arg0"projectVisibility")inletconcurrentBuildLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"concurrentBuildLimit")inletbuildBatchConfig=(Option.map~f:ProjectBuildBatchConfig.of_xml)(Xml.childxml_arg0"buildBatchConfig")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletlogsConfig=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logsConfig")inletbadge=(Option.map~f:ProjectBadge.of_xml)(Xml.childxml_arg0"badge")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletwebhook=(Option.map~f:Webhook.of_xml)(Xml.childxml_arg0"webhook")inletlastModified=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastModified")inletcreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"created")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletqueuedTimeoutInMinutes=(Option.map~f:TimeOut.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inlettimeoutInMinutes=(Option.map~f:BuildTimeOut.of_xml)(Xml.childxml_arg0"timeoutInMinutes")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inletenvironment=(Option.map~f:ProjectEnvironment.of_xml)(Xml.childxml_arg0"environment")inletcache=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cache")inletsecondaryArtifacts=(Option.map~f:ProjectArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletartifacts=(Option.map~f:ProjectArtifacts.of_xml)(Xml.childxml_arg0"artifacts")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsourceVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceVersion")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsource=(Option.map~f:ProjectSource.of_xml)(Xml.childxml_arg0"source")inletdescription=(Option.map~f:ProjectDescription.of_xml)(Xml.childxml_arg0"description")inletarn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"arn")inletname=(Option.map~f:ProjectName.of_xml)(Xml.childxml_arg0"name")inmake?autoRetryLimit?resourceAccessRole?publicProjectAlias?projectVisibility?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badge?vpcConfig?webhook?lastModified?created?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?sourceVersion?secondarySources?source?description?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoRetryLimit=field_mapjson__"autoRetryLimit"WrapperInt.of_jsoninletresourceAccessRole=field_mapjson__"resourceAccessRole"NonEmptyString.of_jsoninletpublicProjectAlias=field_mapjson__"publicProjectAlias"NonEmptyString.of_jsoninletprojectVisibility=field_mapjson__"projectVisibility"ProjectVisibilityType.of_jsoninletconcurrentBuildLimit=field_mapjson__"concurrentBuildLimit"WrapperInt.of_jsoninletbuildBatchConfig=field_mapjson__"buildBatchConfig"ProjectBuildBatchConfig.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletlogsConfig=field_mapjson__"logsConfig"LogsConfig.of_jsoninletbadge=field_mapjson__"badge"ProjectBadge.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletwebhook=field_mapjson__"webhook"Webhook.of_jsoninletlastModified=field_mapjson__"lastModified"Timestamp.of_jsoninletcreated=field_mapjson__"created"Timestamp.of_jsoninlettags=field_mapjson__"tags"TagList.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"TimeOut.of_jsoninlettimeoutInMinutes=field_mapjson__"timeoutInMinutes"BuildTimeOut.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninletenvironment=field_mapjson__"environment"ProjectEnvironment.of_jsoninletcache=field_mapjson__"cache"ProjectCache.of_jsoninletsecondaryArtifacts=field_mapjson__"secondaryArtifacts"ProjectArtifactsList.of_jsoninletartifacts=field_mapjson__"artifacts"ProjectArtifacts.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"String_.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsource=field_mapjson__"source"ProjectSource.of_jsoninletdescription=field_mapjson__"description"ProjectDescription.of_jsoninletarn=field_mapjson__"arn"String_.of_jsoninletname=field_mapjson__"name"ProjectName.of_jsoninmake?autoRetryLimit?resourceAccessRole?publicProjectAlias?projectVisibility?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badge?vpcConfig?webhook?lastModified?created?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?sourceVersion?secondarySources?source?description?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a build project."]moduleFleet=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The ARN of the compute fleet."];name:FleetName.toption[@ocaml.doc"The name of the compute fleet."];id:NonEmptyString.toption[@ocaml.doc"The ID of the compute fleet."];created:Timestamp.toption[@ocaml.doc"The time at which the compute fleet was created."];lastModified:Timestamp.toption[@ocaml.doc"The time at which the compute fleet was last modified."];status:FleetStatus.toption[@ocaml.doc"The status of the compute fleet."];baseCapacity:FleetCapacity.toption[@ocaml.doc"The initial number of machines allocated to the compute \239\172\130eet, which de\239\172\129nes the number of builds that can run in parallel."];environmentType:EnvironmentType.toption[@ocaml.doc"The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (S\195\163o Paulo). The environment type ARM_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type MAC_ARM is available for Medium fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), and EU (Frankfurt) The environment type MAC_ARM is available for Large fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and Asia Pacific (Sydney). The environment type WINDOWS_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (S\195\163o Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide."];computeType:ComputeType.toption[@ocaml.doc"Information about the compute resources the compute fleet uses. Available values include: ATTRIBUTE_BASED_COMPUTE: Specify the amount of vCPUs, memory, disk space, and the type of machine. If you use ATTRIBUTE_BASED_COMPUTE, you must define your attributes by using computeConfiguration. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the CodeBuild User Guide. CUSTOM_INSTANCE_TYPE: Specify the instance type for your compute fleet. For a list of supported instance types, see Supported instance families in the CodeBuild User Guide. BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see On-demand environment types in the CodeBuild User Guide."];computeConfiguration:ComputeConfiguration.toption[@ocaml.doc"The compute configuration of the compute fleet. This is only required if computeType is set to ATTRIBUTE_BASED_COMPUTE or CUSTOM_INSTANCE_TYPE."];scalingConfiguration:ScalingConfigurationOutput.toption[@ocaml.doc"The scaling configuration of the compute fleet."];overflowBehavior:FleetOverflowBehavior.toption[@ocaml.doc"The compute fleet overflow behavior. For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance to become available. For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface."];vpcConfig:VpcConfig.toption;proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The proxy configuration of the compute fleet."];imageId:NonEmptyString.toption[@ocaml.doc"The Amazon Machine Image (AMI) of the compute fleet."];fleetServiceRole:NonEmptyString.toption[@ocaml.doc"The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."]}letmake?arn=fun?name->fun?id->fun?created->fun?lastModified->fun?status->fun?baseCapacity->fun?environmentType->fun?computeType->fun?computeConfiguration->fun?scalingConfiguration->fun?overflowBehavior->fun?vpcConfig->fun?proxyConfiguration->fun?imageId->fun?fleetServiceRole->fun?tags->fun()->{arn;name;id;created;lastModified;status;baseCapacity;environmentType;computeType;computeConfiguration;scalingConfiguration;overflowBehavior;vpcConfig;proxyConfiguration;imageId;fleetServiceRole;tags}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("name",(Option.mapx.name~f:FleetName.to_value));("id",(Option.mapx.id~f:NonEmptyString.to_value));("created",(Option.mapx.created~f:Timestamp.to_value));("lastModified",(Option.mapx.lastModified~f:Timestamp.to_value));("status",(Option.mapx.status~f:FleetStatus.to_value));("baseCapacity",(Option.mapx.baseCapacity~f:FleetCapacity.to_value));("environmentType",(Option.mapx.environmentType~f:EnvironmentType.to_value));("computeType",(Option.mapx.computeType~f:ComputeType.to_value));("computeConfiguration",(Option.mapx.computeConfiguration~f:ComputeConfiguration.to_value));("scalingConfiguration",(Option.mapx.scalingConfiguration~f:ScalingConfigurationOutput.to_value));("overflowBehavior",(Option.mapx.overflowBehavior~f:FleetOverflowBehavior.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("proxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("imageId",(Option.mapx.imageId~f:NonEmptyString.to_value));("fleetServiceRole",(Option.mapx.fleetServiceRole~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletfleetServiceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"fleetServiceRole")inletimageId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"imageId")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"proxyConfiguration")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletoverflowBehavior=(Option.map~f:FleetOverflowBehavior.of_xml)(Xml.childxml_arg0"overflowBehavior")inletscalingConfiguration=(Option.map~f:ScalingConfigurationOutput.of_xml)(Xml.childxml_arg0"scalingConfiguration")inletcomputeConfiguration=(Option.map~f:ComputeConfiguration.of_xml)(Xml.childxml_arg0"computeConfiguration")inletcomputeType=(Option.map~f:ComputeType.of_xml)(Xml.childxml_arg0"computeType")inletenvironmentType=(Option.map~f:EnvironmentType.of_xml)(Xml.childxml_arg0"environmentType")inletbaseCapacity=(Option.map~f:FleetCapacity.of_xml)(Xml.childxml_arg0"baseCapacity")inletstatus=(Option.map~f:FleetStatus.of_xml)(Xml.childxml_arg0"status")inletlastModified=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastModified")inletcreated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"created")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inletname=(Option.map~f:FleetName.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration?computeType?environmentType?baseCapacity?status?lastModified?created?id?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletfleetServiceRole=field_mapjson__"fleetServiceRole"NonEmptyString.of_jsoninletimageId=field_mapjson__"imageId"NonEmptyString.of_jsoninletproxyConfiguration=field_mapjson__"proxyConfiguration"ProxyConfiguration.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletoverflowBehavior=field_mapjson__"overflowBehavior"FleetOverflowBehavior.of_jsoninletscalingConfiguration=field_mapjson__"scalingConfiguration"ScalingConfigurationOutput.of_jsoninletcomputeConfiguration=field_mapjson__"computeConfiguration"ComputeConfiguration.of_jsoninletcomputeType=field_mapjson__"computeType"ComputeType.of_jsoninletenvironmentType=field_mapjson__"environmentType"EnvironmentType.of_jsoninletbaseCapacity=field_mapjson__"baseCapacity"FleetCapacity.of_jsoninletstatus=field_mapjson__"status"FleetStatus.of_jsoninletlastModified=field_mapjson__"lastModified"Timestamp.of_jsoninletcreated=field_mapjson__"created"Timestamp.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninletname=field_mapjson__"name"FleetName.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration?computeType?environmentType?baseCapacity?status?lastModified?created?id?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of dedicated instances for your build environment."]moduleBuild=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The unique ID for the build."];arn:NonEmptyString.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the build."];buildNumber:WrapperLong.toption[@ocaml.doc"The number of the build. For each project, the buildNumber of its first build is 1. The buildNumber of each subsequent build is incremented by 1. If a build is deleted, the buildNumber of other builds does not change."];startTime:Timestamp.toption[@ocaml.doc"When the build process started, expressed in Unix time format."];endTime:Timestamp.toption[@ocaml.doc"When the build process ended, expressed in Unix time format."];currentPhase:String_.toption[@ocaml.doc"The current build phase."];buildStatus:StatusType.toption[@ocaml.doc"The current status of the build. Valid values include: FAILED: The build failed. FAULT: The build faulted. IN_PROGRESS: The build is still in progress. STOPPED: The build stopped. SUCCEEDED: The build succeeded. TIMED_OUT: The build timed out."];sourceVersion:NonEmptyString.toption[@ocaml.doc"Any version identifier for the version of the source code to be built. If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];resolvedSourceVersion:NonEmptyString.toption[@ocaml.doc"An identifier for the version of this build's source code. For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. For CodePipeline, the source revision provided by CodePipeline. For Amazon S3, this does not apply."];projectName:NonEmptyString.toption[@ocaml.doc"The name of the CodeBuild project."];phases:BuildPhases.toption[@ocaml.doc"Information about all previous build phases that are complete and information about any current build phase that is not yet complete."];source:ProjectSource.toption[@ocaml.doc"Information about the source code to be built."];secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use."];artifacts:BuildArtifacts.toption[@ocaml.doc"Information about the output artifacts for the build."];secondaryArtifacts:BuildArtifactsList.toption[@ocaml.doc"An array of ProjectArtifacts objects."];cache:ProjectCache.toption[@ocaml.doc"Information about the cache for the build."];environment:ProjectEnvironment.toption[@ocaml.doc"Information about the build environment for this build."];serviceRole:NonEmptyString.toption[@ocaml.doc"The name of a service role used for this build."];logs:LogsLocation.toption[@ocaml.doc"Information about the build's logs in CloudWatch Logs."];timeoutInMinutes:WrapperInt.toption[@ocaml.doc"How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this build if it does not get marked as completed."];queuedTimeoutInMinutes:WrapperInt.toption[@ocaml.doc"The number of minutes a build is allowed to be queued before it times out."];buildComplete:Boolean.toption[@ocaml.doc"Whether the build is complete. True if complete; otherwise, false."];initiator:String_.toption[@ocaml.doc"The entity that started the build. Valid values include: If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline). If a user started the build, the user's name (for example, MyUserName). If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin."];vpcConfig:VpcConfig.toption[@ocaml.doc"If your CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID."];networkInterface:NetworkInterface.toption[@ocaml.doc"Describes a network interface."];encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];exportedEnvironmentVariables:ExportedEnvironmentVariables.toption[@ocaml.doc"A list of exported environment variables for this build. Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide."];reportArns:BuildReportArns.toption[@ocaml.doc"An array of the ARNs associated with this build's reports."];fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];debugSession:DebugSession.toption[@ocaml.doc"Contains information about the debug session for this build."];buildBatchArn:String_.toption[@ocaml.doc"The ARN of the batch build that this build is a member of, if applicable."];autoRetryConfig:AutoRetryConfig.toption[@ocaml.doc"Information about the auto-retry configuration for the build."]}letmake?id=fun?arn->fun?buildNumber->fun?startTime->fun?endTime->fun?currentPhase->fun?buildStatus->fun?sourceVersion->fun?resolvedSourceVersion->fun?projectName->fun?phases->fun?source->fun?secondarySources->fun?secondarySourceVersions->fun?artifacts->fun?secondaryArtifacts->fun?cache->fun?environment->fun?serviceRole->fun?logs->fun?timeoutInMinutes->fun?queuedTimeoutInMinutes->fun?buildComplete->fun?initiator->fun?vpcConfig->fun?networkInterface->fun?encryptionKey->fun?exportedEnvironmentVariables->fun?reportArns->fun?fileSystemLocations->fun?debugSession->fun?buildBatchArn->fun?autoRetryConfig->fun()->{id;arn;buildNumber;startTime;endTime;currentPhase;buildStatus;sourceVersion;resolvedSourceVersion;projectName;phases;source;secondarySources;secondarySourceVersions;artifacts;secondaryArtifacts;cache;environment;serviceRole;logs;timeoutInMinutes;queuedTimeoutInMinutes;buildComplete;initiator;vpcConfig;networkInterface;encryptionKey;exportedEnvironmentVariables;reportArns;fileSystemLocations;debugSession;buildBatchArn;autoRetryConfig}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("buildNumber",(Option.mapx.buildNumber~f:WrapperLong.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("currentPhase",(Option.mapx.currentPhase~f:String_.to_value));("buildStatus",(Option.mapx.buildStatus~f:StatusType.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:NonEmptyString.to_value));("resolvedSourceVersion",(Option.mapx.resolvedSourceVersion~f:NonEmptyString.to_value));("projectName",(Option.mapx.projectName~f:NonEmptyString.to_value));("phases",(Option.mapx.phases~f:BuildPhases.to_value));("source",(Option.mapx.source~f:ProjectSource.to_value));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("artifacts",(Option.mapx.artifacts~f:BuildArtifacts.to_value));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:BuildArtifactsList.to_value));("cache",(Option.mapx.cache~f:ProjectCache.to_value));("environment",(Option.mapx.environment~f:ProjectEnvironment.to_value));("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("logs",(Option.mapx.logs~f:LogsLocation.to_value));("timeoutInMinutes",(Option.mapx.timeoutInMinutes~f:WrapperInt.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:WrapperInt.to_value));("buildComplete",(Option.mapx.buildComplete~f:Boolean.to_value));("initiator",(Option.mapx.initiator~f:String_.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("networkInterface",(Option.mapx.networkInterface~f:NetworkInterface.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("exportedEnvironmentVariables",(Option.mapx.exportedEnvironmentVariables~f:ExportedEnvironmentVariables.to_value));("reportArns",(Option.mapx.reportArns~f:BuildReportArns.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("debugSession",(Option.mapx.debugSession~f:DebugSession.to_value));("buildBatchArn",(Option.mapx.buildBatchArn~f:String_.to_value));("autoRetryConfig",(Option.mapx.autoRetryConfig~f:AutoRetryConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoRetryConfig=(Option.map~f:AutoRetryConfig.of_xml)(Xml.childxml_arg0"autoRetryConfig")inletbuildBatchArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"buildBatchArn")inletdebugSession=(Option.map~f:DebugSession.of_xml)(Xml.childxml_arg0"debugSession")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletreportArns=(Option.map~f:BuildReportArns.of_xml)(Xml.childxml_arg0"reportArns")inletexportedEnvironmentVariables=(Option.map~f:ExportedEnvironmentVariables.of_xml)(Xml.childxml_arg0"exportedEnvironmentVariables")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletnetworkInterface=(Option.map~f:NetworkInterface.of_xml)(Xml.childxml_arg0"networkInterface")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletinitiator=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"initiator")inletbuildComplete=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"buildComplete")inletqueuedTimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inlettimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"timeoutInMinutes")inletlogs=(Option.map~f:LogsLocation.of_xml)(Xml.childxml_arg0"logs")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inletenvironment=(Option.map~f:ProjectEnvironment.of_xml)(Xml.childxml_arg0"environment")inletcache=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cache")inletsecondaryArtifacts=(Option.map~f:BuildArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletartifacts=(Option.map~f:BuildArtifacts.of_xml)(Xml.childxml_arg0"artifacts")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsource=(Option.map~f:ProjectSource.of_xml)(Xml.childxml_arg0"source")inletphases=(Option.map~f:BuildPhases.of_xml)(Xml.childxml_arg0"phases")inletprojectName=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectName")inletresolvedSourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resolvedSourceVersion")inletsourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sourceVersion")inletbuildStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"buildStatus")inletcurrentPhase=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"currentPhase")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletbuildNumber=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"buildNumber")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?autoRetryConfig?buildBatchArn?debugSession?fileSystemLocations?reportArns?exportedEnvironmentVariables?encryptionKey?networkInterface?vpcConfig?initiator?buildComplete?queuedTimeoutInMinutes?timeoutInMinutes?logs?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?secondarySources?source?phases?projectName?resolvedSourceVersion?sourceVersion?buildStatus?currentPhase?endTime?startTime?buildNumber?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoRetryConfig=field_mapjson__"autoRetryConfig"AutoRetryConfig.of_jsoninletbuildBatchArn=field_mapjson__"buildBatchArn"String_.of_jsoninletdebugSession=field_mapjson__"debugSession"DebugSession.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletreportArns=field_mapjson__"reportArns"BuildReportArns.of_jsoninletexportedEnvironmentVariables=field_mapjson__"exportedEnvironmentVariables"ExportedEnvironmentVariables.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletnetworkInterface=field_mapjson__"networkInterface"NetworkInterface.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletinitiator=field_mapjson__"initiator"String_.of_jsoninletbuildComplete=field_mapjson__"buildComplete"Boolean.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"WrapperInt.of_jsoninlettimeoutInMinutes=field_mapjson__"timeoutInMinutes"WrapperInt.of_jsoninletlogs=field_mapjson__"logs"LogsLocation.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninletenvironment=field_mapjson__"environment"ProjectEnvironment.of_jsoninletcache=field_mapjson__"cache"ProjectCache.of_jsoninletsecondaryArtifacts=field_mapjson__"secondaryArtifacts"BuildArtifactsList.of_jsoninletartifacts=field_mapjson__"artifacts"BuildArtifacts.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsource=field_mapjson__"source"ProjectSource.of_jsoninletphases=field_mapjson__"phases"BuildPhases.of_jsoninletprojectName=field_mapjson__"projectName"NonEmptyString.of_jsoninletresolvedSourceVersion=field_mapjson__"resolvedSourceVersion"NonEmptyString.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"NonEmptyString.of_jsoninletbuildStatus=field_mapjson__"buildStatus"StatusType.of_jsoninletcurrentPhase=field_mapjson__"currentPhase"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletbuildNumber=field_mapjson__"buildNumber"WrapperLong.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?autoRetryConfig?buildBatchArn?debugSession?fileSystemLocations?reportArns?exportedEnvironmentVariables?encryptionKey?networkInterface?vpcConfig?initiator?buildComplete?queuedTimeoutInMinutes?timeoutInMinutes?logs?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?secondarySources?source?phases?projectName?resolvedSourceVersion?sourceVersion?buildStatus?currentPhase?endTime?startTime?buildNumber?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a build."]moduleBuildBatch=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"The identifier of the batch build."];arn:NonEmptyString.toption[@ocaml.doc"The ARN of the batch build."];startTime:Timestamp.toption[@ocaml.doc"The date and time that the batch build started."];endTime:Timestamp.toption[@ocaml.doc"The date and time that the batch build ended."];currentPhase:String_.toption[@ocaml.doc"The current phase of the batch build."];buildBatchStatus:StatusType.toption[@ocaml.doc"The status of the batch build."];sourceVersion:NonEmptyString.toption[@ocaml.doc"The identifier of the version of the source code to be built."];resolvedSourceVersion:NonEmptyString.toption[@ocaml.doc"The identifier of the resolved version of this batch build's source code. For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. For CodePipeline, the source revision provided by CodePipeline. For Amazon S3, this does not apply."];projectName:NonEmptyString.toption[@ocaml.doc"The name of the batch build project."];phases:BuildBatchPhases.toption[@ocaml.doc"An array of BuildBatchPhase objects the specify the phases of the batch build."];source:ProjectSource.toption;secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects that define the sources for the batch build."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use."];artifacts:BuildArtifacts.toption[@ocaml.doc"A BuildArtifacts object the defines the build artifacts for this batch build."];secondaryArtifacts:BuildArtifactsList.toption[@ocaml.doc"An array of BuildArtifacts objects the define the build artifacts for this batch build."];cache:ProjectCache.toption;environment:ProjectEnvironment.toption;serviceRole:NonEmptyString.toption[@ocaml.doc"The name of a service role used for builds in the batch."];logConfig:LogsConfig.toption;buildTimeoutInMinutes:WrapperInt.toption[@ocaml.doc"Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in."];queuedTimeoutInMinutes:WrapperInt.toption[@ocaml.doc"Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out."];complete:Boolean.toption[@ocaml.doc"Indicates if the batch build is complete."];initiator:String_.toption[@ocaml.doc"The entity that started the batch build. Valid values include: If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline). If a user started the build, the user's name. If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin."];vpcConfig:VpcConfig.toption;encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];buildBatchNumber:WrapperLong.toption[@ocaml.doc"The number of the batch build. For each project, the buildBatchNumber of its first batch build is 1. The buildBatchNumber of each subsequent batch build is incremented by 1. If a batch build is deleted, the buildBatchNumber of other batch builds does not change."];fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for the batch build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];buildBatchConfig:ProjectBuildBatchConfig.toption;buildGroups:BuildGroups.toption[@ocaml.doc"An array of BuildGroup objects that define the build groups for the batch build."];debugSessionEnabled:WrapperBoolean.toption[@ocaml.doc"Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds."];reportArns:BuildReportArns.toption[@ocaml.doc"An array that contains the ARNs of reports created by merging reports from builds associated with this batch build."]}letmake?id=fun?arn->fun?startTime->fun?endTime->fun?currentPhase->fun?buildBatchStatus->fun?sourceVersion->fun?resolvedSourceVersion->fun?projectName->fun?phases->fun?source->fun?secondarySources->fun?secondarySourceVersions->fun?artifacts->fun?secondaryArtifacts->fun?cache->fun?environment->fun?serviceRole->fun?logConfig->fun?buildTimeoutInMinutes->fun?queuedTimeoutInMinutes->fun?complete->fun?initiator->fun?vpcConfig->fun?encryptionKey->fun?buildBatchNumber->fun?fileSystemLocations->fun?buildBatchConfig->fun?buildGroups->fun?debugSessionEnabled->fun?reportArns->fun()->{id;arn;startTime;endTime;currentPhase;buildBatchStatus;sourceVersion;resolvedSourceVersion;projectName;phases;source;secondarySources;secondarySourceVersions;artifacts;secondaryArtifacts;cache;environment;serviceRole;logConfig;buildTimeoutInMinutes;queuedTimeoutInMinutes;complete;initiator;vpcConfig;encryptionKey;buildBatchNumber;fileSystemLocations;buildBatchConfig;buildGroups;debugSessionEnabled;reportArns}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("arn",(Option.mapx.arn~f:NonEmptyString.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("currentPhase",(Option.mapx.currentPhase~f:String_.to_value));("buildBatchStatus",(Option.mapx.buildBatchStatus~f:StatusType.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:NonEmptyString.to_value));("resolvedSourceVersion",(Option.mapx.resolvedSourceVersion~f:NonEmptyString.to_value));("projectName",(Option.mapx.projectName~f:NonEmptyString.to_value));("phases",(Option.mapx.phases~f:BuildBatchPhases.to_value));("source",(Option.mapx.source~f:ProjectSource.to_value));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("artifacts",(Option.mapx.artifacts~f:BuildArtifacts.to_value));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:BuildArtifactsList.to_value));("cache",(Option.mapx.cache~f:ProjectCache.to_value));("environment",(Option.mapx.environment~f:ProjectEnvironment.to_value));("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("logConfig",(Option.mapx.logConfig~f:LogsConfig.to_value));("buildTimeoutInMinutes",(Option.mapx.buildTimeoutInMinutes~f:WrapperInt.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:WrapperInt.to_value));("complete",(Option.mapx.complete~f:Boolean.to_value));("initiator",(Option.mapx.initiator~f:String_.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("buildBatchNumber",(Option.mapx.buildBatchNumber~f:WrapperLong.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("buildBatchConfig",(Option.mapx.buildBatchConfig~f:ProjectBuildBatchConfig.to_value));("buildGroups",(Option.mapx.buildGroups~f:BuildGroups.to_value));("debugSessionEnabled",(Option.mapx.debugSessionEnabled~f:WrapperBoolean.to_value));("reportArns",(Option.mapx.reportArns~f:BuildReportArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportArns=(Option.map~f:BuildReportArns.of_xml)(Xml.childxml_arg0"reportArns")inletdebugSessionEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"debugSessionEnabled")inletbuildGroups=(Option.map~f:BuildGroups.of_xml)(Xml.childxml_arg0"buildGroups")inletbuildBatchConfig=(Option.map~f:ProjectBuildBatchConfig.of_xml)(Xml.childxml_arg0"buildBatchConfig")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletbuildBatchNumber=(Option.map~f:WrapperLong.of_xml)(Xml.childxml_arg0"buildBatchNumber")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletinitiator=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"initiator")inletcomplete=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"complete")inletqueuedTimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inletbuildTimeoutInMinutes=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"buildTimeoutInMinutes")inletlogConfig=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logConfig")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inletenvironment=(Option.map~f:ProjectEnvironment.of_xml)(Xml.childxml_arg0"environment")inletcache=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cache")inletsecondaryArtifacts=(Option.map~f:BuildArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletartifacts=(Option.map~f:BuildArtifacts.of_xml)(Xml.childxml_arg0"artifacts")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsource=(Option.map~f:ProjectSource.of_xml)(Xml.childxml_arg0"source")inletphases=(Option.map~f:BuildBatchPhases.of_xml)(Xml.childxml_arg0"phases")inletprojectName=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectName")inletresolvedSourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resolvedSourceVersion")inletsourceVersion=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sourceVersion")inletbuildBatchStatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"buildBatchStatus")inletcurrentPhase=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"currentPhase")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?reportArns?debugSessionEnabled?buildGroups?buildBatchConfig?fileSystemLocations?buildBatchNumber?encryptionKey?vpcConfig?initiator?complete?queuedTimeoutInMinutes?buildTimeoutInMinutes?logConfig?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?secondarySources?source?phases?projectName?resolvedSourceVersion?sourceVersion?buildBatchStatus?currentPhase?endTime?startTime?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportArns=field_mapjson__"reportArns"BuildReportArns.of_jsoninletdebugSessionEnabled=field_mapjson__"debugSessionEnabled"WrapperBoolean.of_jsoninletbuildGroups=field_mapjson__"buildGroups"BuildGroups.of_jsoninletbuildBatchConfig=field_mapjson__"buildBatchConfig"ProjectBuildBatchConfig.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletbuildBatchNumber=field_mapjson__"buildBatchNumber"WrapperLong.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletinitiator=field_mapjson__"initiator"String_.of_jsoninletcomplete=field_mapjson__"complete"Boolean.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"WrapperInt.of_jsoninletbuildTimeoutInMinutes=field_mapjson__"buildTimeoutInMinutes"WrapperInt.of_jsoninletlogConfig=field_mapjson__"logConfig"LogsConfig.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninletenvironment=field_mapjson__"environment"ProjectEnvironment.of_jsoninletcache=field_mapjson__"cache"ProjectCache.of_jsoninletsecondaryArtifacts=field_mapjson__"secondaryArtifacts"BuildArtifactsList.of_jsoninletartifacts=field_mapjson__"artifacts"BuildArtifacts.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsource=field_mapjson__"source"ProjectSource.of_jsoninletphases=field_mapjson__"phases"BuildBatchPhases.of_jsoninletprojectName=field_mapjson__"projectName"NonEmptyString.of_jsoninletresolvedSourceVersion=field_mapjson__"resolvedSourceVersion"NonEmptyString.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"NonEmptyString.of_jsoninletbuildBatchStatus=field_mapjson__"buildBatchStatus"StatusType.of_jsoninletcurrentPhase=field_mapjson__"currentPhase"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletarn=field_mapjson__"arn"NonEmptyString.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?reportArns?debugSessionEnabled?buildGroups?buildBatchConfig?fileSystemLocations?buildBatchNumber?encryptionKey?vpcConfig?initiator?complete?queuedTimeoutInMinutes?buildTimeoutInMinutes?logConfig?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?secondarySources?source?phases?projectName?resolvedSourceVersion?sourceVersion?buildBatchStatus?currentPhase?endTime?startTime?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a batch build."]moduleInvalidInputException=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 input value that was provided is not valid."]moduleOAuthProviderException=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"There was a problem with the underlying OAuth provider."]moduleResourceNotFoundException=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 Web Services resource cannot be found."]moduleAccountLimitExceededException=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 Amazon Web Services service limit was exceeded for the calling Amazon Web Services account."]moduleScalingConfigurationInput=structtypenonrect={scalingType:FleetScalingType.toption[@ocaml.doc"The scaling type for a compute fleet."];targetTrackingScalingConfigs:TargetTrackingScalingConfigurations.toption[@ocaml.doc"A list of TargetTrackingScalingConfiguration objects."];maxCapacity:FleetCapacity.toption[@ocaml.doc"The maximum number of instances in the \239\172\130eet when auto-scaling."]}letmake?scalingType=fun?targetTrackingScalingConfigs->fun?maxCapacity->fun()->{scalingType;targetTrackingScalingConfigs;maxCapacity}letto_valuex=structure_to_value[("scalingType",(Option.mapx.scalingType~f:FleetScalingType.to_value));("targetTrackingScalingConfigs",(Option.mapx.targetTrackingScalingConfigs~f:TargetTrackingScalingConfigurations.to_value));("maxCapacity",(Option.mapx.maxCapacity~f:FleetCapacity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxCapacity=(Option.map~f:FleetCapacity.of_xml)(Xml.childxml_arg0"maxCapacity")inlettargetTrackingScalingConfigs=(Option.map~f:TargetTrackingScalingConfigurations.of_xml)(Xml.childxml_arg0"targetTrackingScalingConfigs")inletscalingType=(Option.map~f:FleetScalingType.of_xml)(Xml.childxml_arg0"scalingType")inmake?maxCapacity?targetTrackingScalingConfigs?scalingType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxCapacity=field_mapjson__"maxCapacity"FleetCapacity.of_jsoninlettargetTrackingScalingConfigs=field_mapjson__"targetTrackingScalingConfigs"TargetTrackingScalingConfigurations.of_jsoninletscalingType=field_mapjson__"scalingType"FleetScalingType.of_jsoninmake?maxCapacity?targetTrackingScalingConfigs?scalingType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The scaling configuration input of a compute fleet."]moduleAccountSuspendedException=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 CodeBuild access has been suspended for the calling Amazon Web Services account."]moduleSensitiveString=structtypenonrect=stringletcontext_="SensitiveString"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:"SensitiveString"jletto_json=simple_to_jsonto_valueendmoduleSSMSession=structtypenonrect={sessionId:String_.toption[@ocaml.doc"The ID of the session."];tokenValue:String_.toption[@ocaml.doc"An encrypted token value containing session and caller information."];streamUrl:String_.toption[@ocaml.doc"A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and receive output from the node."]}letmake?sessionId=fun?tokenValue->fun?streamUrl->fun()->{sessionId;tokenValue;streamUrl}letto_valuex=structure_to_value[("sessionId",(Option.mapx.sessionId~f:String_.to_value));("tokenValue",(Option.mapx.tokenValue~f:String_.to_value));("streamUrl",(Option.mapx.streamUrl~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"streamUrl")inlettokenValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"tokenValue")inletsessionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sessionId")inmake?streamUrl?tokenValue?sessionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamUrl=field_mapjson__"streamUrl"String_.of_jsoninlettokenValue=field_mapjson__"tokenValue"String_.of_jsoninletsessionId=field_mapjson__"sessionId"String_.of_jsoninmake?streamUrl?tokenValue?sessionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the Session Manager session."]moduleRetryBuildBatchType=structtypenonrect=|RETRY_ALL_BUILDS|RETRY_FAILED_BUILDS|Non_static_idofstringletmakei=iletto_string=function|RETRY_ALL_BUILDS->"RETRY_ALL_BUILDS"|RETRY_FAILED_BUILDS->"RETRY_FAILED_BUILDS"|Non_static_ids->sletof_string=function|"RETRY_ALL_BUILDS"->RETRY_ALL_BUILDS|"RETRY_FAILED_BUILDS"->RETRY_FAILED_BUILDS|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 RetryBuildBatchType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RetryBuildBatchType"j)letto_json=simple_to_jsonto_valueendmoduleSourceCredentialsInfos=structtypenonrect=SourceCredentialsInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SourceCredentialsInfo.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:SourceCredentialsInfo.of_xml)letof_jsonj=list_of_json~kind:"SourceCredentialsInfos"~of_json:SourceCredentialsInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportGroupArns=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"ReportGroupArns"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePageSize=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PageSize"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleSharedResourceSortByType=structtypenonrect=|ARN|MODIFIED_TIME|Non_static_idofstringletmakei=iletto_string=function|ARN->"ARN"|MODIFIED_TIME->"MODIFIED_TIME"|Non_static_ids->sletof_string=function|"ARN"->ARN|"MODIFIED_TIME"->MODIFIED_TIME|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 SharedResourceSortByType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SharedResourceSortByType"j)letto_json=simple_to_jsonto_valueendmoduleSortOrderType=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 SortOrderType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SortOrderType"j)letto_json=simple_to_jsonto_valueendmoduleProjectArns=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"ProjectArns"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSandboxIds=structtypenonrect=NonEmptyString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"SandboxIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportArns=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"ReportArns"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportFilter=structtypenonrect={status:ReportStatusType.toption[@ocaml.doc"The status used to filter reports. You can filter using one status only."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:ReportStatusType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:ReportStatusType.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"ReportStatusType.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter used to return reports with the status specified by the input status parameter."]moduleReportGroupSortByType=structtypenonrect=|NAME|CREATED_TIME|LAST_MODIFIED_TIME|Non_static_idofstringletmakei=iletto_string=function|NAME->"NAME"|CREATED_TIME->"CREATED_TIME"|LAST_MODIFIED_TIME->"LAST_MODIFIED_TIME"|Non_static_ids->sletof_string=function|"NAME"->NAME|"CREATED_TIME"->CREATED_TIME|"LAST_MODIFIED_TIME"->LAST_MODIFIED_TIME|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 ReportGroupSortByType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportGroupSortByType"j)letto_json=simple_to_jsonto_valueendmoduleProjectNames=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"ProjectNames"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjectSortByType=structtypenonrect=|NAME|CREATED_TIME|LAST_MODIFIED_TIME|Non_static_idofstringletmakei=iletto_string=function|NAME->"NAME"|CREATED_TIME->"CREATED_TIME"|LAST_MODIFIED_TIME->"LAST_MODIFIED_TIME"|Non_static_ids->sletof_string=function|"NAME"->NAME|"CREATED_TIME"->CREATED_TIME|"LAST_MODIFIED_TIME"->LAST_MODIFIED_TIME|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 ProjectSortByType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProjectSortByType"j)letto_json=simple_to_jsonto_valueendmoduleFleetArns=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"FleetArns"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleetSortByType=structtypenonrect=|NAME|CREATED_TIME|LAST_MODIFIED_TIME|Non_static_idofstringletmakei=iletto_string=function|NAME->"NAME"|CREATED_TIME->"CREATED_TIME"|LAST_MODIFIED_TIME->"LAST_MODIFIED_TIME"|Non_static_ids->sletof_string=function|"NAME"->NAME|"CREATED_TIME"->CREATED_TIME|"LAST_MODIFIED_TIME"->LAST_MODIFIED_TIME|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 FleetSortByType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FleetSortByType"j)letto_json=simple_to_jsonto_valueendmoduleEnvironmentPlatforms=structtypenonrect=EnvironmentPlatform.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnvironmentPlatform.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:EnvironmentPlatform.of_xml)letof_jsonj=list_of_json~kind:"EnvironmentPlatforms"~of_json:EnvironmentPlatform.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommandExecutions=structtypenonrect=CommandExecution.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CommandExecution.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:CommandExecution.of_xml)letof_jsonj=list_of_json~kind:"CommandExecutions"~of_json:CommandExecution.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"BuildIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildBatchIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"BuildBatchIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildBatchFilter=structtypenonrect={status:StatusType.toption[@ocaml.doc"The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:StatusType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:StatusType.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"StatusType.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies filters when retrieving batch builds."]moduleResourceAlreadyExistsException=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 Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists."]moduleReportGroupTrendRawDataList=structtypenonrect=ReportWithRawData.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReportWithRawData.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:ReportWithRawData.of_xml)letof_jsonj=list_of_json~kind:"ReportGroupTrendRawDataList"~of_json:ReportWithRawData.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportGroupTrendStats=structtypenonrect={average:String_.toption[@ocaml.doc"Contains the average of all values analyzed."];max:String_.toption[@ocaml.doc"Contains the maximum value analyzed."];min:String_.toption[@ocaml.doc"Contains the minimum value analyzed."]}letmake?average=fun?max->fun?min->fun()->{average;max;min}letto_valuex=structure_to_value[("average",(Option.mapx.average~f:String_.to_value));("max",(Option.mapx.max~f:String_.to_value));("min",(Option.mapx.min~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmin=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"min")inletmax=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"max")inletaverage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"average")inmake?min?max?average()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmin=field_mapjson__"min"String_.of_jsoninletmax=field_mapjson__"max"String_.of_jsoninletaverage=field_mapjson__"average"String_.of_jsoninmake?min?max?average()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains trend statistics for a set of reports. The actual values depend on the type of trend being collected. For more information, see ."]moduleReportGroupTrendFieldType=structtypenonrect=|PASS_RATE|DURATION|TOTAL|LINE_COVERAGE|LINES_COVERED|LINES_MISSED|BRANCH_COVERAGE|BRANCHES_COVERED|BRANCHES_MISSED|Non_static_idofstringletmakei=iletto_string=function|PASS_RATE->"PASS_RATE"|DURATION->"DURATION"|TOTAL->"TOTAL"|LINE_COVERAGE->"LINE_COVERAGE"|LINES_COVERED->"LINES_COVERED"|LINES_MISSED->"LINES_MISSED"|BRANCH_COVERAGE->"BRANCH_COVERAGE"|BRANCHES_COVERED->"BRANCHES_COVERED"|BRANCHES_MISSED->"BRANCHES_MISSED"|Non_static_ids->sletof_string=function|"PASS_RATE"->PASS_RATE|"DURATION"->DURATION|"TOTAL"->TOTAL|"LINE_COVERAGE"->LINE_COVERAGE|"LINES_COVERED"->LINES_COVERED|"LINES_MISSED"->LINES_MISSED|"BRANCH_COVERAGE"->BRANCH_COVERAGE|"BRANCHES_COVERED"->BRANCHES_COVERED|"BRANCHES_MISSED"->BRANCHES_MISSED|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 ReportGroupTrendFieldType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportGroupTrendFieldType"j)letto_json=simple_to_jsonto_valueendmoduleTestCases=structtypenonrect=TestCase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TestCase.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:TestCase.of_xml)letof_jsonj=list_of_json~kind:"TestCases"~of_json:TestCase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTestCaseFilter=structtypenonrect={status:String_.toption[@ocaml.doc"The status used to filter test cases. A TestCaseFilter can have one status. Valid values are: SUCCEEDED FAILED ERROR SKIPPED UNKNOWN"];keyword:String_.toption[@ocaml.doc"A keyword that is used to filter on the name or the prefix of the test cases. Only test cases where the keyword is a substring of the name or the prefix will be returned."]}letmake?status=fun?keyword->fun()->{status;keyword}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:String_.to_value));("keyword",(Option.mapx.keyword~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkeyword=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"keyword")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inmake?keyword?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkeyword=field_mapjson__"keyword"String_.of_jsoninletstatus=field_mapjson__"status"String_.of_jsoninmake?keyword?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter used to return specific types of test cases. In order to pass the filter, the report must meet all of the filter properties."]moduleCodeCoverages=structtypenonrect=CodeCoverage.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CodeCoverage.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:CodeCoverage.of_xml)letof_jsonj=list_of_json~kind:"CodeCoverages"~of_json:CodeCoverage.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportCodeCoverageSortByType=structtypenonrect=|LINE_COVERAGE_PERCENTAGE|FILE_PATH|Non_static_idofstringletmakei=iletto_string=function|LINE_COVERAGE_PERCENTAGE->"LINE_COVERAGE_PERCENTAGE"|FILE_PATH->"FILE_PATH"|Non_static_ids->sletof_string=function|"LINE_COVERAGE_PERCENTAGE"->LINE_COVERAGE_PERCENTAGE|"FILE_PATH"->FILE_PATH|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 ReportCodeCoverageSortByType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportCodeCoverageSortByType"j)letto_json=simple_to_jsonto_valueendmoduleBuildsNotDeleted=structtypenonrect=BuildNotDeleted.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildNotDeleted.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:BuildNotDeleted.of_xml)letof_jsonj=list_of_json~kind:"BuildsNotDeleted"~of_json:BuildNotDeleted.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSandboxes=structtypenonrect=Sandbox.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Sandbox.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:Sandbox.of_xml)letof_jsonj=list_of_json~kind:"Sandboxes"~of_json:Sandbox.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReports=structtypenonrect=Report.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Report.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:Report.of_xml)letof_jsonj=list_of_json~kind:"Reports"~of_json:Report.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportGroups=structtypenonrect=ReportGroup.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReportGroup.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:ReportGroup.of_xml)letof_jsonj=list_of_json~kind:"ReportGroups"~of_json:ReportGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjects=structtypenonrect=Project.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Project.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:Project.of_xml)letof_jsonj=list_of_json~kind:"Projects"~of_json:Project.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleetNames=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"FleetNames"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFleets=structtypenonrect=Fleet.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Fleet.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:Fleet.of_xml)letof_jsonj=list_of_json~kind:"Fleets"~of_json:Fleet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCommandExecutionIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"CommandExecutionIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuilds=structtypenonrect=Build.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Build.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:Build.of_xml)letof_jsonj=list_of_json~kind:"Builds"~of_json:Build.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBuildBatches=structtypenonrect=BuildBatch.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BuildBatch.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:BuildBatch.of_xml)letof_jsonj=list_of_json~kind:"BuildBatches"~of_json:BuildBatch.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateWebhookOutput=structtypenonrect={webhook:Webhook.toption[@ocaml.doc"Information about a repository's webhook that is associated with a project in CodeBuild."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`OAuthProviderExceptionofOAuthProviderException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?webhook=fun()->{webhook}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`OAuthProviderExceptione->`Assoc[("error",(`String"OAuthProviderException"));("details",(OAuthProviderException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("webhook",(Option.mapx.webhook~f:Webhook.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwebhook=(Option.map~f:Webhook.of_xml)(Xml.childxml_arg0"webhook")inmake?webhook()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwebhook=field_mapjson__"webhook"Webhook.of_jsoninmake?webhook()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the webhook associated with an CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored."]moduleUpdateWebhookInput=structtypenonrect={projectName:ProjectName.t[@ocaml.doc"The name of the CodeBuild project."];branchFilter:String_.toption[@ocaml.doc"A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter."];rotateSecret:Boolean.toption[@ocaml.doc"A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If you use Bitbucket for your repository, rotateSecret is ignored."];filterGroups:FilterGroups.toption[@ocaml.doc"An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a build. A filter group must contain at least one EVENT WebhookFilter."];buildType:WebhookBuildType.toption[@ocaml.doc"Specifies the type of build this webhook will trigger. RUNNER_BUILDKITE_BUILD is only available for NO_SOURCE source type projects configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see Tutorial: Configure a CodeBuild-hosted Buildkite runner in the CodeBuild user guide."];pullRequestBuildPolicy:PullRequestBuildPolicy.toption[@ocaml.doc"A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows."]}letcontext_="UpdateWebhookInput"letmake?branchFilter=fun?rotateSecret->fun?filterGroups->fun?buildType->fun?pullRequestBuildPolicy->fun~projectName->fun()->{branchFilter;rotateSecret;filterGroups;buildType;pullRequestBuildPolicy;projectName}letto_valuex=structure_to_value[("projectName",(Some(ProjectName.to_valuex.projectName)));("branchFilter",(Option.mapx.branchFilter~f:String_.to_value));("rotateSecret",(Option.mapx.rotateSecret~f:Boolean.to_value));("filterGroups",(Option.mapx.filterGroups~f:FilterGroups.to_value));("buildType",(Option.mapx.buildType~f:WebhookBuildType.to_value));("pullRequestBuildPolicy",(Option.mapx.pullRequestBuildPolicy~f:PullRequestBuildPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestBuildPolicy=(Option.map~f:PullRequestBuildPolicy.of_xml)(Xml.childxml_arg0"pullRequestBuildPolicy")inletbuildType=(Option.map~f:WebhookBuildType.of_xml)(Xml.childxml_arg0"buildType")inletfilterGroups=(Option.map~f:FilterGroups.of_xml)(Xml.childxml_arg0"filterGroups")inletrotateSecret=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"rotateSecret")inletbranchFilter=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"branchFilter")inletprojectName=ProjectName.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?pullRequestBuildPolicy?buildType?filterGroups?rotateSecret?branchFilter~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestBuildPolicy=field_mapjson__"pullRequestBuildPolicy"PullRequestBuildPolicy.of_jsoninletbuildType=field_mapjson__"buildType"WebhookBuildType.of_jsoninletfilterGroups=field_mapjson__"filterGroups"FilterGroups.of_jsoninletrotateSecret=field_mapjson__"rotateSecret"Boolean.of_jsoninletbranchFilter=field_mapjson__"branchFilter"String_.of_jsoninletprojectName=field_map_exnjson__"projectName"ProjectName.of_jsoninmake?pullRequestBuildPolicy?buildType?filterGroups?rotateSecret?branchFilter~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the webhook associated with an CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored."]moduleUpdateReportGroupOutput=structtypenonrect={reportGroup:ReportGroup.toption[@ocaml.doc"Information about the updated report group."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportGroup=fun()->{reportGroup}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reportGroup",(Option.mapx.reportGroup~f:ReportGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroup=(Option.map~f:ReportGroup.of_xml)(Xml.childxml_arg0"reportGroup")inmake?reportGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroup=field_mapjson__"reportGroup"ReportGroup.of_jsoninmake?reportGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a report group."]moduleUpdateReportGroupInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The ARN of the report group to update."];exportConfig:ReportExportConfig.toption[@ocaml.doc"Used to specify an updated export type. Valid values are: S3: The report results are exported to an S3 bucket. NO_EXPORT: The report results are not exported."];tags:TagList.toption[@ocaml.doc"An updated list of tag key and value pairs associated with this report group. These tags are available for use by Amazon Web Services services that support CodeBuild report group tags."]}letcontext_="UpdateReportGroupInput"letmake?exportConfig=fun?tags->fun~arn->fun()->{exportConfig;tags;arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)));("exportConfig",(Option.mapx.exportConfig~f:ReportExportConfig.to_value));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletexportConfig=(Option.map~f:ReportExportConfig.of_xml)(Xml.childxml_arg0"exportConfig")inletarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?tags?exportConfig~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletexportConfig=field_mapjson__"exportConfig"ReportExportConfig.of_jsoninletarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake?tags?exportConfig~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a report group."]moduleUpdateProjectVisibilityOutput=structtypenonrect={projectArn:NonEmptyString.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the build project."];publicProjectAlias:NonEmptyString.toption[@ocaml.doc"Contains the project identifier used with the public build APIs."];projectVisibility:ProjectVisibilityType.toption}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projectArn=fun?publicProjectAlias->fun?projectVisibility->fun()->{projectArn;publicProjectAlias;projectVisibility}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("projectArn",(Option.mapx.projectArn~f:NonEmptyString.to_value));("publicProjectAlias",(Option.mapx.publicProjectAlias~f:NonEmptyString.to_value));("projectVisibility",(Option.mapx.projectVisibility~f:ProjectVisibilityType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectVisibility=(Option.map~f:ProjectVisibilityType.of_xml)(Xml.childxml_arg0"projectVisibility")inletpublicProjectAlias=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"publicProjectAlias")inletprojectArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectArn")inmake?projectVisibility?publicProjectAlias?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectVisibility=field_mapjson__"projectVisibility"ProjectVisibilityType.of_jsoninletpublicProjectAlias=field_mapjson__"publicProjectAlias"NonEmptyString.of_jsoninletprojectArn=field_mapjson__"projectArn"NonEmptyString.of_jsoninmake?projectVisibility?publicProjectAlias?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide. The following should be kept in mind when making your projects public: All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public. All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are: Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values. Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible. A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded."]moduleUpdateProjectVisibilityInput=structtypenonrect={projectArn:NonEmptyString.t[@ocaml.doc"The Amazon Resource Name (ARN) of the build project."];projectVisibility:ProjectVisibilityType.t;resourceAccessRole:NonEmptyString.toption[@ocaml.doc"The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds."]}letcontext_="UpdateProjectVisibilityInput"letmake?resourceAccessRole=fun~projectArn->fun~projectVisibility->fun()->{resourceAccessRole;projectArn;projectVisibility}letto_valuex=structure_to_value[("projectArn",(Some(NonEmptyString.to_valuex.projectArn)));("projectVisibility",(Some(ProjectVisibilityType.to_valuex.projectVisibility)));("resourceAccessRole",(Option.mapx.resourceAccessRole~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceAccessRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resourceAccessRole")inletprojectVisibility=ProjectVisibilityType.of_xml(Xml.child_exn~context:context_xml_arg0"projectVisibility")inletprojectArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?resourceAccessRole~projectVisibility~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceAccessRole=field_mapjson__"resourceAccessRole"NonEmptyString.of_jsoninletprojectVisibility=field_map_exnjson__"projectVisibility"ProjectVisibilityType.of_jsoninletprojectArn=field_map_exnjson__"projectArn"NonEmptyString.of_jsoninmake?resourceAccessRole~projectVisibility~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide. The following should be kept in mind when making your projects public: All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public. All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are: Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values. Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible. A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded."]moduleUpdateProjectOutput=structtypenonrect={project:Project.toption[@ocaml.doc"Information about the build project that was changed."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("project",(Option.mapx.project~f:Project.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:Project.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"Project.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the settings of a build project."]moduleUpdateProjectInput=structtypenonrect={name:NonEmptyString.t[@ocaml.doc"The name of the build project. You cannot change a build project's name."];description:ProjectDescription.toption[@ocaml.doc"A new or replacement description of the build project."];source:ProjectSource.toption[@ocaml.doc"Information to be changed about the build input source code for the build project."];secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];sourceVersion:String_.toption[@ocaml.doc"A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For GitLab: the commit ID, branch, or Git tag to use. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level). For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level)."];artifacts:ProjectArtifacts.toption[@ocaml.doc"Information to be changed about the build output artifacts for the build project."];secondaryArtifacts:ProjectArtifactsList.toption[@ocaml.doc"An array of ProjectArtifact objects."];cache:ProjectCache.toption[@ocaml.doc"Stores recently used information so that it can be quickly accessed at a later time."];environment:ProjectEnvironment.toption[@ocaml.doc"Information to be changed about the build environment for the build project."];serviceRole:NonEmptyString.toption[@ocaml.doc"The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account."];timeoutInMinutes:BuildTimeOut.toption[@ocaml.doc"The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed."];queuedTimeoutInMinutes:TimeOut.toption[@ocaml.doc"The number of minutes a build is allowed to be queued before it times out."];encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];tags:TagList.toption[@ocaml.doc"An updated list of tag key and value pairs associated with this build project. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."];vpcConfig:VpcConfig.toption[@ocaml.doc"VpcConfig enables CodeBuild to access resources in an Amazon VPC."];badgeEnabled:WrapperBoolean.toption[@ocaml.doc"Set this to true to generate a publicly accessible URL for your project's build badge."];logsConfig:LogsConfig.toption[@ocaml.doc"Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both."];fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];buildBatchConfig:ProjectBuildBatchConfig.toption;concurrentBuildLimit:WrapperInt.toption[@ocaml.doc"The maximum number of concurrent builds that are allowed for this project. New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run. To remove this limit, set this value to -1."];autoRetryLimit:WrapperInt.toption[@ocaml.doc"The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times."]}letcontext_="UpdateProjectInput"letmake?description=fun?source->fun?secondarySources->fun?sourceVersion->fun?secondarySourceVersions->fun?artifacts->fun?secondaryArtifacts->fun?cache->fun?environment->fun?serviceRole->fun?timeoutInMinutes->fun?queuedTimeoutInMinutes->fun?encryptionKey->fun?tags->fun?vpcConfig->fun?badgeEnabled->fun?logsConfig->fun?fileSystemLocations->fun?buildBatchConfig->fun?concurrentBuildLimit->fun?autoRetryLimit->fun~name->fun()->{description;source;secondarySources;sourceVersion;secondarySourceVersions;artifacts;secondaryArtifacts;cache;environment;serviceRole;timeoutInMinutes;queuedTimeoutInMinutes;encryptionKey;tags;vpcConfig;badgeEnabled;logsConfig;fileSystemLocations;buildBatchConfig;concurrentBuildLimit;autoRetryLimit;name}letto_valuex=structure_to_value[("name",(Some(NonEmptyString.to_valuex.name)));("description",(Option.mapx.description~f:ProjectDescription.to_value));("source",(Option.mapx.source~f:ProjectSource.to_value));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:String_.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("artifacts",(Option.mapx.artifacts~f:ProjectArtifacts.to_value));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:ProjectArtifactsList.to_value));("cache",(Option.mapx.cache~f:ProjectCache.to_value));("environment",(Option.mapx.environment~f:ProjectEnvironment.to_value));("serviceRole",(Option.mapx.serviceRole~f:NonEmptyString.to_value));("timeoutInMinutes",(Option.mapx.timeoutInMinutes~f:BuildTimeOut.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:TimeOut.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("badgeEnabled",(Option.mapx.badgeEnabled~f:WrapperBoolean.to_value));("logsConfig",(Option.mapx.logsConfig~f:LogsConfig.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("buildBatchConfig",(Option.mapx.buildBatchConfig~f:ProjectBuildBatchConfig.to_value));("concurrentBuildLimit",(Option.mapx.concurrentBuildLimit~f:WrapperInt.to_value));("autoRetryLimit",(Option.mapx.autoRetryLimit~f:WrapperInt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoRetryLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryLimit")inletconcurrentBuildLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"concurrentBuildLimit")inletbuildBatchConfig=(Option.map~f:ProjectBuildBatchConfig.of_xml)(Xml.childxml_arg0"buildBatchConfig")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletlogsConfig=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logsConfig")inletbadgeEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"badgeEnabled")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletqueuedTimeoutInMinutes=(Option.map~f:TimeOut.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inlettimeoutInMinutes=(Option.map~f:BuildTimeOut.of_xml)(Xml.childxml_arg0"timeoutInMinutes")inletserviceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRole")inletenvironment=(Option.map~f:ProjectEnvironment.of_xml)(Xml.childxml_arg0"environment")inletcache=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cache")inletsecondaryArtifacts=(Option.map~f:ProjectArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletartifacts=(Option.map~f:ProjectArtifacts.of_xml)(Xml.childxml_arg0"artifacts")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsourceVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceVersion")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsource=(Option.map~f:ProjectSource.of_xml)(Xml.childxml_arg0"source")inletdescription=(Option.map~f:ProjectDescription.of_xml)(Xml.childxml_arg0"description")inletname=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?autoRetryLimit?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badgeEnabled?vpcConfig?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?sourceVersion?secondarySources?source?description~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoRetryLimit=field_mapjson__"autoRetryLimit"WrapperInt.of_jsoninletconcurrentBuildLimit=field_mapjson__"concurrentBuildLimit"WrapperInt.of_jsoninletbuildBatchConfig=field_mapjson__"buildBatchConfig"ProjectBuildBatchConfig.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletlogsConfig=field_mapjson__"logsConfig"LogsConfig.of_jsoninletbadgeEnabled=field_mapjson__"badgeEnabled"WrapperBoolean.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninlettags=field_mapjson__"tags"TagList.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"TimeOut.of_jsoninlettimeoutInMinutes=field_mapjson__"timeoutInMinutes"BuildTimeOut.of_jsoninletserviceRole=field_mapjson__"serviceRole"NonEmptyString.of_jsoninletenvironment=field_mapjson__"environment"ProjectEnvironment.of_jsoninletcache=field_mapjson__"cache"ProjectCache.of_jsoninletsecondaryArtifacts=field_mapjson__"secondaryArtifacts"ProjectArtifactsList.of_jsoninletartifacts=field_mapjson__"artifacts"ProjectArtifacts.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"String_.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsource=field_mapjson__"source"ProjectSource.of_jsoninletdescription=field_mapjson__"description"ProjectDescription.of_jsoninletname=field_map_exnjson__"name"NonEmptyString.of_jsoninmake?autoRetryLimit?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badgeEnabled?vpcConfig?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes?serviceRole?environment?cache?secondaryArtifacts?artifacts?secondarySourceVersions?sourceVersion?secondarySources?source?description~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the settings of a build project."]moduleUpdateFleetOutput=structtypenonrect={fleet:Fleet.toption[@ocaml.doc"A Fleet object."]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?fleet=fun()->{fleet}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("fleet",(Option.mapx.fleet~f:Fleet.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleet=(Option.map~f:Fleet.of_xml)(Xml.childxml_arg0"fleet")inmake?fleet()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleet=field_mapjson__"fleet"Fleet.of_jsoninmake?fleet()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a compute fleet."]moduleUpdateFleetInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The ARN of the compute fleet."];baseCapacity:FleetCapacity.toption[@ocaml.doc"The initial number of machines allocated to the compute \239\172\130eet, which de\239\172\129nes the number of builds that can run in parallel."];environmentType:EnvironmentType.toption[@ocaml.doc"The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (S\195\163o Paulo). The environment type ARM_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type MAC_ARM is available for Medium fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), and EU (Frankfurt) The environment type MAC_ARM is available for Large fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and Asia Pacific (Sydney). The environment type WINDOWS_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (S\195\163o Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide."];computeType:ComputeType.toption[@ocaml.doc"Information about the compute resources the compute fleet uses. Available values include: ATTRIBUTE_BASED_COMPUTE: Specify the amount of vCPUs, memory, disk space, and the type of machine. If you use ATTRIBUTE_BASED_COMPUTE, you must define your attributes by using computeConfiguration. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the CodeBuild User Guide. CUSTOM_INSTANCE_TYPE: Specify the instance type for your compute fleet. For a list of supported instance types, see Supported instance families in the CodeBuild User Guide. BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see On-demand environment types in the CodeBuild User Guide."];computeConfiguration:ComputeConfiguration.toption[@ocaml.doc"The compute configuration of the compute fleet. This is only required if computeType is set to ATTRIBUTE_BASED_COMPUTE or CUSTOM_INSTANCE_TYPE."];scalingConfiguration:ScalingConfigurationInput.toption[@ocaml.doc"The scaling configuration of the compute fleet."];overflowBehavior:FleetOverflowBehavior.toption[@ocaml.doc"The compute fleet overflow behavior. For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance to become available. For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface."];vpcConfig:VpcConfig.toption;proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The proxy configuration of the compute fleet."];imageId:NonEmptyString.toption[@ocaml.doc"The Amazon Machine Image (AMI) of the compute fleet."];fleetServiceRole:NonEmptyString.toption[@ocaml.doc"The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."]}letcontext_="UpdateFleetInput"letmake?baseCapacity=fun?environmentType->fun?computeType->fun?computeConfiguration->fun?scalingConfiguration->fun?overflowBehavior->fun?vpcConfig->fun?proxyConfiguration->fun?imageId->fun?fleetServiceRole->fun?tags->fun~arn->fun()->{baseCapacity;environmentType;computeType;computeConfiguration;scalingConfiguration;overflowBehavior;vpcConfig;proxyConfiguration;imageId;fleetServiceRole;tags;arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)));("baseCapacity",(Option.mapx.baseCapacity~f:FleetCapacity.to_value));("environmentType",(Option.mapx.environmentType~f:EnvironmentType.to_value));("computeType",(Option.mapx.computeType~f:ComputeType.to_value));("computeConfiguration",(Option.mapx.computeConfiguration~f:ComputeConfiguration.to_value));("scalingConfiguration",(Option.mapx.scalingConfiguration~f:ScalingConfigurationInput.to_value));("overflowBehavior",(Option.mapx.overflowBehavior~f:FleetOverflowBehavior.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("proxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("imageId",(Option.mapx.imageId~f:NonEmptyString.to_value));("fleetServiceRole",(Option.mapx.fleetServiceRole~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletfleetServiceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"fleetServiceRole")inletimageId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"imageId")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"proxyConfiguration")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletoverflowBehavior=(Option.map~f:FleetOverflowBehavior.of_xml)(Xml.childxml_arg0"overflowBehavior")inletscalingConfiguration=(Option.map~f:ScalingConfigurationInput.of_xml)(Xml.childxml_arg0"scalingConfiguration")inletcomputeConfiguration=(Option.map~f:ComputeConfiguration.of_xml)(Xml.childxml_arg0"computeConfiguration")inletcomputeType=(Option.map~f:ComputeType.of_xml)(Xml.childxml_arg0"computeType")inletenvironmentType=(Option.map~f:EnvironmentType.of_xml)(Xml.childxml_arg0"environmentType")inletbaseCapacity=(Option.map~f:FleetCapacity.of_xml)(Xml.childxml_arg0"baseCapacity")inletarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration?computeType?environmentType?baseCapacity~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletfleetServiceRole=field_mapjson__"fleetServiceRole"NonEmptyString.of_jsoninletimageId=field_mapjson__"imageId"NonEmptyString.of_jsoninletproxyConfiguration=field_mapjson__"proxyConfiguration"ProxyConfiguration.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletoverflowBehavior=field_mapjson__"overflowBehavior"FleetOverflowBehavior.of_jsoninletscalingConfiguration=field_mapjson__"scalingConfiguration"ScalingConfigurationInput.of_jsoninletcomputeConfiguration=field_mapjson__"computeConfiguration"ComputeConfiguration.of_jsoninletcomputeType=field_mapjson__"computeType"ComputeType.of_jsoninletenvironmentType=field_mapjson__"environmentType"EnvironmentType.of_jsoninletbaseCapacity=field_mapjson__"baseCapacity"FleetCapacity.of_jsoninletarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration?computeType?environmentType?baseCapacity~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a compute fleet."]moduleStopSandboxOutput=structtypenonrect={sandbox:Sandbox.toption[@ocaml.doc"Information about the requested sandbox."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sandbox=fun()->{sandbox}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("sandbox",(Option.mapx.sandbox~f:Sandbox.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsandbox=(Option.map~f:Sandbox.of_xml)(Xml.childxml_arg0"sandbox")inmake?sandbox()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsandbox=field_mapjson__"sandbox"Sandbox.of_jsoninmake?sandbox()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a sandbox."]moduleStopSandboxInput=structtypenonrect={id:NonEmptyString.t[@ocaml.doc"Information about the requested sandbox ID."]}letcontext_="StopSandboxInput"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(NonEmptyString.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"NonEmptyString.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a sandbox."]moduleStopBuildOutput=structtypenonrect={build:Build.toption[@ocaml.doc"Information about the build."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?build=fun()->{build}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("build",(Option.mapx.build~f:Build.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuild=(Option.map~f:Build.of_xml)(Xml.childxml_arg0"build")inmake?build()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuild=field_mapjson__"build"Build.of_jsoninmake?build()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to stop running a build."]moduleStopBuildInput=structtypenonrect={id:NonEmptyString.t[@ocaml.doc"The ID of the build."]}letcontext_="StopBuildInput"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(NonEmptyString.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"NonEmptyString.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts to stop running a build."]moduleStopBuildBatchOutput=structtypenonrect={buildBatch:BuildBatch.toption}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?buildBatch=fun()->{buildBatch}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("buildBatch",(Option.mapx.buildBatch~f:BuildBatch.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildBatch=(Option.map~f:BuildBatch.of_xml)(Xml.childxml_arg0"buildBatch")inmake?buildBatch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildBatch=field_mapjson__"buildBatch"BuildBatch.of_jsoninmake?buildBatch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a running batch build."]moduleStopBuildBatchInput=structtypenonrect={id:NonEmptyString.t[@ocaml.doc"The identifier of the batch build to stop."]}letcontext_="StopBuildBatchInput"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(NonEmptyString.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"NonEmptyString.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a running batch build."]moduleStartSandboxOutput=structtypenonrect={sandbox:Sandbox.toption[@ocaml.doc"Information about the requested sandbox."]}typenonrecerror=[`AccountSuspendedExceptionofAccountSuspendedException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sandbox=fun()->{sandbox}leterror_of_jsonnamejson=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountSuspendedExceptione->`Assoc[("error",(`String"AccountSuspendedException"));("details",(AccountSuspendedException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("sandbox",(Option.mapx.sandbox~f:Sandbox.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsandbox=(Option.map~f:Sandbox.of_xml)(Xml.childxml_arg0"sandbox")inmake?sandbox()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsandbox=field_mapjson__"sandbox"Sandbox.of_jsoninmake?sandbox()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a sandbox."]moduleStartSandboxInput=structtypenonrect={projectName:NonEmptyString.toption[@ocaml.doc"The CodeBuild project name."];idempotencyToken:SensitiveString.toption[@ocaml.doc"A unique client token."]}letmake?projectName=fun?idempotencyToken->fun()->{projectName;idempotencyToken}letto_valuex=structure_to_value[("projectName",(Option.mapx.projectName~f:NonEmptyString.to_value));("idempotencyToken",(Option.mapx.idempotencyToken~f:SensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidempotencyToken=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"idempotencyToken")inletprojectName=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectName")inmake?idempotencyToken?projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidempotencyToken=field_mapjson__"idempotencyToken"SensitiveString.of_jsoninletprojectName=field_mapjson__"projectName"NonEmptyString.of_jsoninmake?idempotencyToken?projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a sandbox."]moduleStartSandboxConnectionOutput=structtypenonrect={ssmSession:SSMSession.toption[@ocaml.doc"Information about the Session Manager session."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ssmSession=fun()->{ssmSession}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ssmSession",(Option.mapx.ssmSession~f:SSMSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letssmSession=(Option.map~f:SSMSession.of_xml)(Xml.childxml_arg0"ssmSession")inmake?ssmSession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letssmSession=field_mapjson__"ssmSession"SSMSession.of_jsoninmake?ssmSession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a sandbox connection."]moduleStartSandboxConnectionInput=structtypenonrect={sandboxId:NonEmptyString.t[@ocaml.doc"A sandboxId or sandboxArn."]}letcontext_="StartSandboxConnectionInput"letmake~sandboxId=fun()->{sandboxId}letto_valuex=structure_to_value[("sandboxId",(Some(NonEmptyString.to_valuex.sandboxId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsandboxId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sandboxId")inmake~sandboxId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsandboxId=field_map_exnjson__"sandboxId"NonEmptyString.of_jsoninmake~sandboxId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a sandbox connection."]moduleStartCommandExecutionOutput=structtypenonrect={commandExecution:CommandExecution.toption[@ocaml.doc"Information about the requested command executions."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commandExecution=fun()->{commandExecution}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commandExecution",(Option.mapx.commandExecution~f:CommandExecution.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommandExecution=(Option.map~f:CommandExecution.of_xml)(Xml.childxml_arg0"commandExecution")inmake?commandExecution()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommandExecution=field_mapjson__"commandExecution"CommandExecution.of_jsoninmake?commandExecution()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a command execution."]moduleStartCommandExecutionInput=structtypenonrect={sandboxId:NonEmptyString.t[@ocaml.doc"A sandboxId or sandboxArn."];command:SensitiveNonEmptyString.t[@ocaml.doc"The command that needs to be executed."];type_:CommandType.toption[@ocaml.doc"The command type."]}letcontext_="StartCommandExecutionInput"letmake?type_=fun~sandboxId->fun~command->fun()->{type_;sandboxId;command}letto_valuex=structure_to_value[("sandboxId",(Some(NonEmptyString.to_valuex.sandboxId)));("command",(Some(SensitiveNonEmptyString.to_valuex.command)));("type",(Option.mapx.type_~f:CommandType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:CommandType.of_xml)(Xml.childxml_arg0"type")inletcommand=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"command")inletsandboxId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sandboxId")inmake?type_~command~sandboxId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"type"CommandType.of_jsoninletcommand=field_map_exnjson__"command"SensitiveNonEmptyString.of_jsoninletsandboxId=field_map_exnjson__"sandboxId"NonEmptyString.of_jsoninmake?type_~command~sandboxId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a command execution."]moduleStartBuildOutput=structtypenonrect={build:Build.toption[@ocaml.doc"Information about the build to be run."]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?build=fun()->{build}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("build",(Option.mapx.build~f:Build.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuild=(Option.map~f:Build.of_xml)(Xml.childxml_arg0"build")inmake?build()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuild=field_mapjson__"build"Build.of_jsoninmake?build()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output. You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered."]moduleStartBuildInput=structtypenonrect={projectName:NonEmptyString.t[@ocaml.doc"The name of the CodeBuild build project to start running a build."];secondarySourcesOverride:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];secondarySourcesVersionOverride:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects that specify one or more versions of the project's secondary sources to be used for this build only."];sourceVersion:String_.toption[@ocaml.doc"The version of the build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider: CodeCommit The commit ID, branch, or Git tag to use. GitHub The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. GitLab The commit ID, branch, or Git tag to use. Bitbucket The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. Amazon S3 The version ID of the object that represents the build input ZIP file to use. If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];artifactsOverride:ProjectArtifacts.toption[@ocaml.doc"Build output artifact settings that override, for this build only, the latest ones already defined in the build project."];secondaryArtifactsOverride:ProjectArtifactsList.toption[@ocaml.doc"An array of ProjectArtifacts objects."];environmentVariablesOverride:EnvironmentVariables.toption[@ocaml.doc"A set of environment variables that overrides, for this build only, the latest ones already defined in the build project."];sourceTypeOverride:SourceType.toption[@ocaml.doc"A source input type, for this build, that overrides the source input defined in the build project."];sourceLocationOverride:String_.toption[@ocaml.doc"A location that overrides, for this build, the source location for the one defined in the build project."];sourceAuthOverride:SourceAuth.toption[@ocaml.doc"An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket, GitHub, GitLab, or GitLab Self Managed."];gitCloneDepthOverride:GitCloneDepth.toption[@ocaml.doc"The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project."];gitSubmodulesConfigOverride:GitSubmodulesConfig.toption[@ocaml.doc"Information about the Git submodules configuration for this build of an CodeBuild build project."];buildspecOverride:String_.toption[@ocaml.doc"A buildspec file declaration that overrides the latest one defined in the build project, for this build only. The buildspec defined on the project is not changed. If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location. Since this property allows you to change the build commands that will run in the container, you should note that an IAM principal with the ability to call this API and set this parameter can override the default settings. Moreover, we encourage that you use a trustworthy buildspec location like a file in your source repository or a Amazon S3 bucket. Alternatively, you can restrict overrides to the buildspec by using a condition key: Prevent unauthorized modifications to project buildspec."];insecureSslOverride:WrapperBoolean.toption[@ocaml.doc"Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise."];reportBuildStatusOverride:WrapperBoolean.toption[@ocaml.doc"Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket, an invalidInputException is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider."];buildStatusConfigOverride:BuildStatusConfig.toption[@ocaml.doc"Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET."];environmentTypeOverride:EnvironmentType.toption[@ocaml.doc"A container type for this build that overrides the one specified in the build project."];imageOverride:NonEmptyString.toption[@ocaml.doc"The name of an image for this build that overrides the one specified in the build project."];computeTypeOverride:ComputeType.toption[@ocaml.doc"The name of a compute type for this build that overrides the one specified in the build project."];certificateOverride:String_.toption[@ocaml.doc"The name of a certificate for this build that overrides the one specified in the build project."];cacheOverride:ProjectCache.toption[@ocaml.doc"A ProjectCache object specified for this build that overrides the one defined in the build project."];serviceRoleOverride:NonEmptyString.toption[@ocaml.doc"The name of a service role for this build that overrides the one specified in the build project."];privilegedModeOverride:WrapperBoolean.toption[@ocaml.doc"Enable this flag to override privileged mode in the build project."];timeoutInMinutesOverride:BuildTimeOut.toption[@ocaml.doc"The number of build timeout minutes, from 5 to 2160 (36 hours), that overrides, for this build only, the latest setting already defined in the build project."];queuedTimeoutInMinutesOverride:TimeOut.toption[@ocaml.doc"The number of minutes a build is allowed to be queued before it times out."];encryptionKeyOverride:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) that overrides the one specified in the build project. The CMK key encrypts the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];idempotencyToken:String_.toption[@ocaml.doc"A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 5 minutes. If you repeat the StartBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error."];logsConfigOverride:LogsConfig.toption[@ocaml.doc"Log settings for this build that override the log settings defined in the build project."];registryCredentialOverride:RegistryCredential.toption[@ocaml.doc"The credentials for access to a private registry."];imagePullCredentialsTypeOverride:ImagePullCredentialsType.toption[@ocaml.doc"The type of credentials CodeBuild uses to pull images in your build. There are two valid values: CODEBUILD Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal. SERVICE_ROLE Specifies that CodeBuild uses your build project's service role. When using a cross-account or private registry image, you must use SERVICE_ROLE credentials. When using an CodeBuild curated image, you must use CODEBUILD credentials."];debugSessionEnabled:WrapperBoolean.toption[@ocaml.doc"Specifies if session debugging is enabled for this build. For more information, see Viewing a running build in Session Manager."];fleetOverride:ProjectFleet.toption[@ocaml.doc"A ProjectFleet object specified for this build that overrides the one defined in the build project."];autoRetryLimitOverride:WrapperInt.toption[@ocaml.doc"The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times."]}letcontext_="StartBuildInput"letmake?secondarySourcesOverride=fun?secondarySourcesVersionOverride->fun?sourceVersion->fun?artifactsOverride->fun?secondaryArtifactsOverride->fun?environmentVariablesOverride->fun?sourceTypeOverride->fun?sourceLocationOverride->fun?sourceAuthOverride->fun?gitCloneDepthOverride->fun?gitSubmodulesConfigOverride->fun?buildspecOverride->fun?insecureSslOverride->fun?reportBuildStatusOverride->fun?buildStatusConfigOverride->fun?environmentTypeOverride->fun?imageOverride->fun?computeTypeOverride->fun?certificateOverride->fun?cacheOverride->fun?serviceRoleOverride->fun?privilegedModeOverride->fun?timeoutInMinutesOverride->fun?queuedTimeoutInMinutesOverride->fun?encryptionKeyOverride->fun?idempotencyToken->fun?logsConfigOverride->fun?registryCredentialOverride->fun?imagePullCredentialsTypeOverride->fun?debugSessionEnabled->fun?fleetOverride->fun?autoRetryLimitOverride->fun~projectName->fun()->{secondarySourcesOverride;secondarySourcesVersionOverride;sourceVersion;artifactsOverride;secondaryArtifactsOverride;environmentVariablesOverride;sourceTypeOverride;sourceLocationOverride;sourceAuthOverride;gitCloneDepthOverride;gitSubmodulesConfigOverride;buildspecOverride;insecureSslOverride;reportBuildStatusOverride;buildStatusConfigOverride;environmentTypeOverride;imageOverride;computeTypeOverride;certificateOverride;cacheOverride;serviceRoleOverride;privilegedModeOverride;timeoutInMinutesOverride;queuedTimeoutInMinutesOverride;encryptionKeyOverride;idempotencyToken;logsConfigOverride;registryCredentialOverride;imagePullCredentialsTypeOverride;debugSessionEnabled;fleetOverride;autoRetryLimitOverride;projectName}letto_valuex=structure_to_value[("projectName",(Some(NonEmptyString.to_valuex.projectName)));("secondarySourcesOverride",(Option.mapx.secondarySourcesOverride~f:ProjectSources.to_value));("secondarySourcesVersionOverride",(Option.mapx.secondarySourcesVersionOverride~f:ProjectSecondarySourceVersions.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:String_.to_value));("artifactsOverride",(Option.mapx.artifactsOverride~f:ProjectArtifacts.to_value));("secondaryArtifactsOverride",(Option.mapx.secondaryArtifactsOverride~f:ProjectArtifactsList.to_value));("environmentVariablesOverride",(Option.mapx.environmentVariablesOverride~f:EnvironmentVariables.to_value));("sourceTypeOverride",(Option.mapx.sourceTypeOverride~f:SourceType.to_value));("sourceLocationOverride",(Option.mapx.sourceLocationOverride~f:String_.to_value));("sourceAuthOverride",(Option.mapx.sourceAuthOverride~f:SourceAuth.to_value));("gitCloneDepthOverride",(Option.mapx.gitCloneDepthOverride~f:GitCloneDepth.to_value));("gitSubmodulesConfigOverride",(Option.mapx.gitSubmodulesConfigOverride~f:GitSubmodulesConfig.to_value));("buildspecOverride",(Option.mapx.buildspecOverride~f:String_.to_value));("insecureSslOverride",(Option.mapx.insecureSslOverride~f:WrapperBoolean.to_value));("reportBuildStatusOverride",(Option.mapx.reportBuildStatusOverride~f:WrapperBoolean.to_value));("buildStatusConfigOverride",(Option.mapx.buildStatusConfigOverride~f:BuildStatusConfig.to_value));("environmentTypeOverride",(Option.mapx.environmentTypeOverride~f:EnvironmentType.to_value));("imageOverride",(Option.mapx.imageOverride~f:NonEmptyString.to_value));("computeTypeOverride",(Option.mapx.computeTypeOverride~f:ComputeType.to_value));("certificateOverride",(Option.mapx.certificateOverride~f:String_.to_value));("cacheOverride",(Option.mapx.cacheOverride~f:ProjectCache.to_value));("serviceRoleOverride",(Option.mapx.serviceRoleOverride~f:NonEmptyString.to_value));("privilegedModeOverride",(Option.mapx.privilegedModeOverride~f:WrapperBoolean.to_value));("timeoutInMinutesOverride",(Option.mapx.timeoutInMinutesOverride~f:BuildTimeOut.to_value));("queuedTimeoutInMinutesOverride",(Option.mapx.queuedTimeoutInMinutesOverride~f:TimeOut.to_value));("encryptionKeyOverride",(Option.mapx.encryptionKeyOverride~f:NonEmptyString.to_value));("idempotencyToken",(Option.mapx.idempotencyToken~f:String_.to_value));("logsConfigOverride",(Option.mapx.logsConfigOverride~f:LogsConfig.to_value));("registryCredentialOverride",(Option.mapx.registryCredentialOverride~f:RegistryCredential.to_value));("imagePullCredentialsTypeOverride",(Option.mapx.imagePullCredentialsTypeOverride~f:ImagePullCredentialsType.to_value));("debugSessionEnabled",(Option.mapx.debugSessionEnabled~f:WrapperBoolean.to_value));("fleetOverride",(Option.mapx.fleetOverride~f:ProjectFleet.to_value));("autoRetryLimitOverride",(Option.mapx.autoRetryLimitOverride~f:WrapperInt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoRetryLimitOverride=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryLimitOverride")inletfleetOverride=(Option.map~f:ProjectFleet.of_xml)(Xml.childxml_arg0"fleetOverride")inletdebugSessionEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"debugSessionEnabled")inletimagePullCredentialsTypeOverride=(Option.map~f:ImagePullCredentialsType.of_xml)(Xml.childxml_arg0"imagePullCredentialsTypeOverride")inletregistryCredentialOverride=(Option.map~f:RegistryCredential.of_xml)(Xml.childxml_arg0"registryCredentialOverride")inletlogsConfigOverride=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logsConfigOverride")inletidempotencyToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"idempotencyToken")inletencryptionKeyOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKeyOverride")inletqueuedTimeoutInMinutesOverride=(Option.map~f:TimeOut.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutesOverride")inlettimeoutInMinutesOverride=(Option.map~f:BuildTimeOut.of_xml)(Xml.childxml_arg0"timeoutInMinutesOverride")inletprivilegedModeOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"privilegedModeOverride")inletserviceRoleOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRoleOverride")inletcacheOverride=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cacheOverride")inletcertificateOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"certificateOverride")inletcomputeTypeOverride=(Option.map~f:ComputeType.of_xml)(Xml.childxml_arg0"computeTypeOverride")inletimageOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"imageOverride")inletenvironmentTypeOverride=(Option.map~f:EnvironmentType.of_xml)(Xml.childxml_arg0"environmentTypeOverride")inletbuildStatusConfigOverride=(Option.map~f:BuildStatusConfig.of_xml)(Xml.childxml_arg0"buildStatusConfigOverride")inletreportBuildStatusOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"reportBuildStatusOverride")inletinsecureSslOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"insecureSslOverride")inletbuildspecOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"buildspecOverride")inletgitSubmodulesConfigOverride=(Option.map~f:GitSubmodulesConfig.of_xml)(Xml.childxml_arg0"gitSubmodulesConfigOverride")inletgitCloneDepthOverride=(Option.map~f:GitCloneDepth.of_xml)(Xml.childxml_arg0"gitCloneDepthOverride")inletsourceAuthOverride=(Option.map~f:SourceAuth.of_xml)(Xml.childxml_arg0"sourceAuthOverride")inletsourceLocationOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceLocationOverride")inletsourceTypeOverride=(Option.map~f:SourceType.of_xml)(Xml.childxml_arg0"sourceTypeOverride")inletenvironmentVariablesOverride=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariablesOverride")inletsecondaryArtifactsOverride=(Option.map~f:ProjectArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifactsOverride")inletartifactsOverride=(Option.map~f:ProjectArtifacts.of_xml)(Xml.childxml_arg0"artifactsOverride")inletsourceVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceVersion")inletsecondarySourcesVersionOverride=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourcesVersionOverride")inletsecondarySourcesOverride=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySourcesOverride")inletprojectName=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?autoRetryLimitOverride?fleetOverride?debugSessionEnabled?imagePullCredentialsTypeOverride?registryCredentialOverride?logsConfigOverride?idempotencyToken?encryptionKeyOverride?queuedTimeoutInMinutesOverride?timeoutInMinutesOverride?privilegedModeOverride?serviceRoleOverride?cacheOverride?certificateOverride?computeTypeOverride?imageOverride?environmentTypeOverride?buildStatusConfigOverride?reportBuildStatusOverride?insecureSslOverride?buildspecOverride?gitSubmodulesConfigOverride?gitCloneDepthOverride?sourceAuthOverride?sourceLocationOverride?sourceTypeOverride?environmentVariablesOverride?secondaryArtifactsOverride?artifactsOverride?sourceVersion?secondarySourcesVersionOverride?secondarySourcesOverride~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoRetryLimitOverride=field_mapjson__"autoRetryLimitOverride"WrapperInt.of_jsoninletfleetOverride=field_mapjson__"fleetOverride"ProjectFleet.of_jsoninletdebugSessionEnabled=field_mapjson__"debugSessionEnabled"WrapperBoolean.of_jsoninletimagePullCredentialsTypeOverride=field_mapjson__"imagePullCredentialsTypeOverride"ImagePullCredentialsType.of_jsoninletregistryCredentialOverride=field_mapjson__"registryCredentialOverride"RegistryCredential.of_jsoninletlogsConfigOverride=field_mapjson__"logsConfigOverride"LogsConfig.of_jsoninletidempotencyToken=field_mapjson__"idempotencyToken"String_.of_jsoninletencryptionKeyOverride=field_mapjson__"encryptionKeyOverride"NonEmptyString.of_jsoninletqueuedTimeoutInMinutesOverride=field_mapjson__"queuedTimeoutInMinutesOverride"TimeOut.of_jsoninlettimeoutInMinutesOverride=field_mapjson__"timeoutInMinutesOverride"BuildTimeOut.of_jsoninletprivilegedModeOverride=field_mapjson__"privilegedModeOverride"WrapperBoolean.of_jsoninletserviceRoleOverride=field_mapjson__"serviceRoleOverride"NonEmptyString.of_jsoninletcacheOverride=field_mapjson__"cacheOverride"ProjectCache.of_jsoninletcertificateOverride=field_mapjson__"certificateOverride"String_.of_jsoninletcomputeTypeOverride=field_mapjson__"computeTypeOverride"ComputeType.of_jsoninletimageOverride=field_mapjson__"imageOverride"NonEmptyString.of_jsoninletenvironmentTypeOverride=field_mapjson__"environmentTypeOverride"EnvironmentType.of_jsoninletbuildStatusConfigOverride=field_mapjson__"buildStatusConfigOverride"BuildStatusConfig.of_jsoninletreportBuildStatusOverride=field_mapjson__"reportBuildStatusOverride"WrapperBoolean.of_jsoninletinsecureSslOverride=field_mapjson__"insecureSslOverride"WrapperBoolean.of_jsoninletbuildspecOverride=field_mapjson__"buildspecOverride"String_.of_jsoninletgitSubmodulesConfigOverride=field_mapjson__"gitSubmodulesConfigOverride"GitSubmodulesConfig.of_jsoninletgitCloneDepthOverride=field_mapjson__"gitCloneDepthOverride"GitCloneDepth.of_jsoninletsourceAuthOverride=field_mapjson__"sourceAuthOverride"SourceAuth.of_jsoninletsourceLocationOverride=field_mapjson__"sourceLocationOverride"String_.of_jsoninletsourceTypeOverride=field_mapjson__"sourceTypeOverride"SourceType.of_jsoninletenvironmentVariablesOverride=field_mapjson__"environmentVariablesOverride"EnvironmentVariables.of_jsoninletsecondaryArtifactsOverride=field_mapjson__"secondaryArtifactsOverride"ProjectArtifactsList.of_jsoninletartifactsOverride=field_mapjson__"artifactsOverride"ProjectArtifacts.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"String_.of_jsoninletsecondarySourcesVersionOverride=field_mapjson__"secondarySourcesVersionOverride"ProjectSecondarySourceVersions.of_jsoninletsecondarySourcesOverride=field_mapjson__"secondarySourcesOverride"ProjectSources.of_jsoninletprojectName=field_map_exnjson__"projectName"NonEmptyString.of_jsoninmake?autoRetryLimitOverride?fleetOverride?debugSessionEnabled?imagePullCredentialsTypeOverride?registryCredentialOverride?logsConfigOverride?idempotencyToken?encryptionKeyOverride?queuedTimeoutInMinutesOverride?timeoutInMinutesOverride?privilegedModeOverride?serviceRoleOverride?cacheOverride?certificateOverride?computeTypeOverride?imageOverride?environmentTypeOverride?buildStatusConfigOverride?reportBuildStatusOverride?insecureSslOverride?buildspecOverride?gitSubmodulesConfigOverride?gitCloneDepthOverride?sourceAuthOverride?sourceLocationOverride?sourceTypeOverride?environmentVariablesOverride?secondaryArtifactsOverride?artifactsOverride?sourceVersion?secondarySourcesVersionOverride?secondarySourcesOverride~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output. You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered."]moduleStartBuildBatchOutput=structtypenonrect={buildBatch:BuildBatch.toption[@ocaml.doc"A BuildBatch object that contains information about the batch build."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?buildBatch=fun()->{buildBatch}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("buildBatch",(Option.mapx.buildBatch~f:BuildBatch.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildBatch=(Option.map~f:BuildBatch.of_xml)(Xml.childxml_arg0"buildBatch")inmake?buildBatch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildBatch=field_mapjson__"buildBatch"BuildBatch.of_jsoninmake?buildBatch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a batch build for a project."]moduleStartBuildBatchInput=structtypenonrect={projectName:NonEmptyString.t[@ocaml.doc"The name of the project."];secondarySourcesOverride:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects that override the secondary sources defined in the batch build project."];secondarySourcesVersionOverride:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects that override the secondary source versions in the batch build project."];sourceVersion:String_.toption[@ocaml.doc"The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider: CodeCommit The commit ID, branch, or Git tag to use. GitHub The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. Bitbucket The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. Amazon S3 The version ID of the object that represents the build input ZIP file to use. If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];artifactsOverride:ProjectArtifacts.toption[@ocaml.doc"An array of ProjectArtifacts objects that contains information about the build output artifact overrides for the build project."];secondaryArtifactsOverride:ProjectArtifactsList.toption[@ocaml.doc"An array of ProjectArtifacts objects that override the secondary artifacts defined in the batch build project."];environmentVariablesOverride:EnvironmentVariables.toption[@ocaml.doc"An array of EnvironmentVariable objects that override, or add to, the environment variables defined in the batch build project."];sourceTypeOverride:SourceType.toption[@ocaml.doc"The source input type that overrides the source input defined in the batch build project."];sourceLocationOverride:String_.toption[@ocaml.doc"A location that overrides, for this batch build, the source location defined in the batch build project."];sourceAuthOverride:SourceAuth.toption[@ocaml.doc"A SourceAuth object that overrides the one defined in the batch build project. This override applies only if the build project's source is BitBucket or GitHub."];gitCloneDepthOverride:GitCloneDepth.toption[@ocaml.doc"The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any previous depth of history defined in the batch build project."];gitSubmodulesConfigOverride:GitSubmodulesConfig.toption[@ocaml.doc"A GitSubmodulesConfig object that overrides the Git submodules configuration for this batch build."];buildspecOverride:String_.toption[@ocaml.doc"A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project. If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location."];insecureSslOverride:WrapperBoolean.toption[@ocaml.doc"Enable this flag to override the insecure SSL setting that is specified in the batch build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise."];reportBuildBatchStatusOverride:WrapperBoolean.toption[@ocaml.doc"Set to true to report to your source provider the status of a batch build's start and completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown. The status of a build triggered by a webhook is always reported to your source provider."];environmentTypeOverride:EnvironmentType.toption[@ocaml.doc"A container type for this batch build that overrides the one specified in the batch build project."];imageOverride:NonEmptyString.toption[@ocaml.doc"The name of an image for this batch build that overrides the one specified in the batch build project."];computeTypeOverride:ComputeType.toption[@ocaml.doc"The name of a compute type for this batch build that overrides the one specified in the batch build project."];certificateOverride:String_.toption[@ocaml.doc"The name of a certificate for this batch build that overrides the one specified in the batch build project."];cacheOverride:ProjectCache.toption[@ocaml.doc"A ProjectCache object that specifies cache overrides."];serviceRoleOverride:NonEmptyString.toption[@ocaml.doc"The name of a service role for this batch build that overrides the one specified in the batch build project."];privilegedModeOverride:WrapperBoolean.toption[@ocaml.doc"Enable this flag to override privileged mode in the batch build project."];buildTimeoutInMinutesOverride:BuildTimeOut.toption[@ocaml.doc"Overrides the build timeout specified in the batch build project."];queuedTimeoutInMinutesOverride:TimeOut.toption[@ocaml.doc"The number of minutes a batch build is allowed to be queued before it times out."];encryptionKeyOverride:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project. The CMK key encrypts the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];idempotencyToken:String_.toption[@ocaml.doc"A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuildBatch request. The token is included in the StartBuildBatch request and is valid for five minutes. If you repeat the StartBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error."];logsConfigOverride:LogsConfig.toption[@ocaml.doc"A LogsConfig object that override the log settings defined in the batch build project."];registryCredentialOverride:RegistryCredential.toption[@ocaml.doc"A RegistryCredential object that overrides credentials for access to a private registry."];imagePullCredentialsTypeOverride:ImagePullCredentialsType.toption[@ocaml.doc"The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values: CODEBUILD Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal. SERVICE_ROLE Specifies that CodeBuild uses your build project's service role. When using a cross-account or private registry image, you must use SERVICE_ROLE credentials. When using an CodeBuild curated image, you must use CODEBUILD credentials."];buildBatchConfigOverride:ProjectBuildBatchConfig.toption[@ocaml.doc"A BuildBatchConfigOverride object that contains batch build configuration overrides."];debugSessionEnabled:WrapperBoolean.toption[@ocaml.doc"Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds."]}letcontext_="StartBuildBatchInput"letmake?secondarySourcesOverride=fun?secondarySourcesVersionOverride->fun?sourceVersion->fun?artifactsOverride->fun?secondaryArtifactsOverride->fun?environmentVariablesOverride->fun?sourceTypeOverride->fun?sourceLocationOverride->fun?sourceAuthOverride->fun?gitCloneDepthOverride->fun?gitSubmodulesConfigOverride->fun?buildspecOverride->fun?insecureSslOverride->fun?reportBuildBatchStatusOverride->fun?environmentTypeOverride->fun?imageOverride->fun?computeTypeOverride->fun?certificateOverride->fun?cacheOverride->fun?serviceRoleOverride->fun?privilegedModeOverride->fun?buildTimeoutInMinutesOverride->fun?queuedTimeoutInMinutesOverride->fun?encryptionKeyOverride->fun?idempotencyToken->fun?logsConfigOverride->fun?registryCredentialOverride->fun?imagePullCredentialsTypeOverride->fun?buildBatchConfigOverride->fun?debugSessionEnabled->fun~projectName->fun()->{secondarySourcesOverride;secondarySourcesVersionOverride;sourceVersion;artifactsOverride;secondaryArtifactsOverride;environmentVariablesOverride;sourceTypeOverride;sourceLocationOverride;sourceAuthOverride;gitCloneDepthOverride;gitSubmodulesConfigOverride;buildspecOverride;insecureSslOverride;reportBuildBatchStatusOverride;environmentTypeOverride;imageOverride;computeTypeOverride;certificateOverride;cacheOverride;serviceRoleOverride;privilegedModeOverride;buildTimeoutInMinutesOverride;queuedTimeoutInMinutesOverride;encryptionKeyOverride;idempotencyToken;logsConfigOverride;registryCredentialOverride;imagePullCredentialsTypeOverride;buildBatchConfigOverride;debugSessionEnabled;projectName}letto_valuex=structure_to_value[("projectName",(Some(NonEmptyString.to_valuex.projectName)));("secondarySourcesOverride",(Option.mapx.secondarySourcesOverride~f:ProjectSources.to_value));("secondarySourcesVersionOverride",(Option.mapx.secondarySourcesVersionOverride~f:ProjectSecondarySourceVersions.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:String_.to_value));("artifactsOverride",(Option.mapx.artifactsOverride~f:ProjectArtifacts.to_value));("secondaryArtifactsOverride",(Option.mapx.secondaryArtifactsOverride~f:ProjectArtifactsList.to_value));("environmentVariablesOverride",(Option.mapx.environmentVariablesOverride~f:EnvironmentVariables.to_value));("sourceTypeOverride",(Option.mapx.sourceTypeOverride~f:SourceType.to_value));("sourceLocationOverride",(Option.mapx.sourceLocationOverride~f:String_.to_value));("sourceAuthOverride",(Option.mapx.sourceAuthOverride~f:SourceAuth.to_value));("gitCloneDepthOverride",(Option.mapx.gitCloneDepthOverride~f:GitCloneDepth.to_value));("gitSubmodulesConfigOverride",(Option.mapx.gitSubmodulesConfigOverride~f:GitSubmodulesConfig.to_value));("buildspecOverride",(Option.mapx.buildspecOverride~f:String_.to_value));("insecureSslOverride",(Option.mapx.insecureSslOverride~f:WrapperBoolean.to_value));("reportBuildBatchStatusOverride",(Option.mapx.reportBuildBatchStatusOverride~f:WrapperBoolean.to_value));("environmentTypeOverride",(Option.mapx.environmentTypeOverride~f:EnvironmentType.to_value));("imageOverride",(Option.mapx.imageOverride~f:NonEmptyString.to_value));("computeTypeOverride",(Option.mapx.computeTypeOverride~f:ComputeType.to_value));("certificateOverride",(Option.mapx.certificateOverride~f:String_.to_value));("cacheOverride",(Option.mapx.cacheOverride~f:ProjectCache.to_value));("serviceRoleOverride",(Option.mapx.serviceRoleOverride~f:NonEmptyString.to_value));("privilegedModeOverride",(Option.mapx.privilegedModeOverride~f:WrapperBoolean.to_value));("buildTimeoutInMinutesOverride",(Option.mapx.buildTimeoutInMinutesOverride~f:BuildTimeOut.to_value));("queuedTimeoutInMinutesOverride",(Option.mapx.queuedTimeoutInMinutesOverride~f:TimeOut.to_value));("encryptionKeyOverride",(Option.mapx.encryptionKeyOverride~f:NonEmptyString.to_value));("idempotencyToken",(Option.mapx.idempotencyToken~f:String_.to_value));("logsConfigOverride",(Option.mapx.logsConfigOverride~f:LogsConfig.to_value));("registryCredentialOverride",(Option.mapx.registryCredentialOverride~f:RegistryCredential.to_value));("imagePullCredentialsTypeOverride",(Option.mapx.imagePullCredentialsTypeOverride~f:ImagePullCredentialsType.to_value));("buildBatchConfigOverride",(Option.mapx.buildBatchConfigOverride~f:ProjectBuildBatchConfig.to_value));("debugSessionEnabled",(Option.mapx.debugSessionEnabled~f:WrapperBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdebugSessionEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"debugSessionEnabled")inletbuildBatchConfigOverride=(Option.map~f:ProjectBuildBatchConfig.of_xml)(Xml.childxml_arg0"buildBatchConfigOverride")inletimagePullCredentialsTypeOverride=(Option.map~f:ImagePullCredentialsType.of_xml)(Xml.childxml_arg0"imagePullCredentialsTypeOverride")inletregistryCredentialOverride=(Option.map~f:RegistryCredential.of_xml)(Xml.childxml_arg0"registryCredentialOverride")inletlogsConfigOverride=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logsConfigOverride")inletidempotencyToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"idempotencyToken")inletencryptionKeyOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKeyOverride")inletqueuedTimeoutInMinutesOverride=(Option.map~f:TimeOut.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutesOverride")inletbuildTimeoutInMinutesOverride=(Option.map~f:BuildTimeOut.of_xml)(Xml.childxml_arg0"buildTimeoutInMinutesOverride")inletprivilegedModeOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"privilegedModeOverride")inletserviceRoleOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"serviceRoleOverride")inletcacheOverride=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cacheOverride")inletcertificateOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"certificateOverride")inletcomputeTypeOverride=(Option.map~f:ComputeType.of_xml)(Xml.childxml_arg0"computeTypeOverride")inletimageOverride=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"imageOverride")inletenvironmentTypeOverride=(Option.map~f:EnvironmentType.of_xml)(Xml.childxml_arg0"environmentTypeOverride")inletreportBuildBatchStatusOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"reportBuildBatchStatusOverride")inletinsecureSslOverride=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"insecureSslOverride")inletbuildspecOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"buildspecOverride")inletgitSubmodulesConfigOverride=(Option.map~f:GitSubmodulesConfig.of_xml)(Xml.childxml_arg0"gitSubmodulesConfigOverride")inletgitCloneDepthOverride=(Option.map~f:GitCloneDepth.of_xml)(Xml.childxml_arg0"gitCloneDepthOverride")inletsourceAuthOverride=(Option.map~f:SourceAuth.of_xml)(Xml.childxml_arg0"sourceAuthOverride")inletsourceLocationOverride=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceLocationOverride")inletsourceTypeOverride=(Option.map~f:SourceType.of_xml)(Xml.childxml_arg0"sourceTypeOverride")inletenvironmentVariablesOverride=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariablesOverride")inletsecondaryArtifactsOverride=(Option.map~f:ProjectArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifactsOverride")inletartifactsOverride=(Option.map~f:ProjectArtifacts.of_xml)(Xml.childxml_arg0"artifactsOverride")inletsourceVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceVersion")inletsecondarySourcesVersionOverride=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourcesVersionOverride")inletsecondarySourcesOverride=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySourcesOverride")inletprojectName=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?debugSessionEnabled?buildBatchConfigOverride?imagePullCredentialsTypeOverride?registryCredentialOverride?logsConfigOverride?idempotencyToken?encryptionKeyOverride?queuedTimeoutInMinutesOverride?buildTimeoutInMinutesOverride?privilegedModeOverride?serviceRoleOverride?cacheOverride?certificateOverride?computeTypeOverride?imageOverride?environmentTypeOverride?reportBuildBatchStatusOverride?insecureSslOverride?buildspecOverride?gitSubmodulesConfigOverride?gitCloneDepthOverride?sourceAuthOverride?sourceLocationOverride?sourceTypeOverride?environmentVariablesOverride?secondaryArtifactsOverride?artifactsOverride?sourceVersion?secondarySourcesVersionOverride?secondarySourcesOverride~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdebugSessionEnabled=field_mapjson__"debugSessionEnabled"WrapperBoolean.of_jsoninletbuildBatchConfigOverride=field_mapjson__"buildBatchConfigOverride"ProjectBuildBatchConfig.of_jsoninletimagePullCredentialsTypeOverride=field_mapjson__"imagePullCredentialsTypeOverride"ImagePullCredentialsType.of_jsoninletregistryCredentialOverride=field_mapjson__"registryCredentialOverride"RegistryCredential.of_jsoninletlogsConfigOverride=field_mapjson__"logsConfigOverride"LogsConfig.of_jsoninletidempotencyToken=field_mapjson__"idempotencyToken"String_.of_jsoninletencryptionKeyOverride=field_mapjson__"encryptionKeyOverride"NonEmptyString.of_jsoninletqueuedTimeoutInMinutesOverride=field_mapjson__"queuedTimeoutInMinutesOverride"TimeOut.of_jsoninletbuildTimeoutInMinutesOverride=field_mapjson__"buildTimeoutInMinutesOverride"BuildTimeOut.of_jsoninletprivilegedModeOverride=field_mapjson__"privilegedModeOverride"WrapperBoolean.of_jsoninletserviceRoleOverride=field_mapjson__"serviceRoleOverride"NonEmptyString.of_jsoninletcacheOverride=field_mapjson__"cacheOverride"ProjectCache.of_jsoninletcertificateOverride=field_mapjson__"certificateOverride"String_.of_jsoninletcomputeTypeOverride=field_mapjson__"computeTypeOverride"ComputeType.of_jsoninletimageOverride=field_mapjson__"imageOverride"NonEmptyString.of_jsoninletenvironmentTypeOverride=field_mapjson__"environmentTypeOverride"EnvironmentType.of_jsoninletreportBuildBatchStatusOverride=field_mapjson__"reportBuildBatchStatusOverride"WrapperBoolean.of_jsoninletinsecureSslOverride=field_mapjson__"insecureSslOverride"WrapperBoolean.of_jsoninletbuildspecOverride=field_mapjson__"buildspecOverride"String_.of_jsoninletgitSubmodulesConfigOverride=field_mapjson__"gitSubmodulesConfigOverride"GitSubmodulesConfig.of_jsoninletgitCloneDepthOverride=field_mapjson__"gitCloneDepthOverride"GitCloneDepth.of_jsoninletsourceAuthOverride=field_mapjson__"sourceAuthOverride"SourceAuth.of_jsoninletsourceLocationOverride=field_mapjson__"sourceLocationOverride"String_.of_jsoninletsourceTypeOverride=field_mapjson__"sourceTypeOverride"SourceType.of_jsoninletenvironmentVariablesOverride=field_mapjson__"environmentVariablesOverride"EnvironmentVariables.of_jsoninletsecondaryArtifactsOverride=field_mapjson__"secondaryArtifactsOverride"ProjectArtifactsList.of_jsoninletartifactsOverride=field_mapjson__"artifactsOverride"ProjectArtifacts.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"String_.of_jsoninletsecondarySourcesVersionOverride=field_mapjson__"secondarySourcesVersionOverride"ProjectSecondarySourceVersions.of_jsoninletsecondarySourcesOverride=field_mapjson__"secondarySourcesOverride"ProjectSources.of_jsoninletprojectName=field_map_exnjson__"projectName"NonEmptyString.of_jsoninmake?debugSessionEnabled?buildBatchConfigOverride?imagePullCredentialsTypeOverride?registryCredentialOverride?logsConfigOverride?idempotencyToken?encryptionKeyOverride?queuedTimeoutInMinutesOverride?buildTimeoutInMinutesOverride?privilegedModeOverride?serviceRoleOverride?cacheOverride?certificateOverride?computeTypeOverride?imageOverride?environmentTypeOverride?reportBuildBatchStatusOverride?insecureSslOverride?buildspecOverride?gitSubmodulesConfigOverride?gitCloneDepthOverride?sourceAuthOverride?sourceLocationOverride?sourceTypeOverride?environmentVariablesOverride?secondaryArtifactsOverride?artifactsOverride?sourceVersion?secondarySourcesVersionOverride?secondarySourcesOverride~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a batch build for a project."]moduleRetryBuildOutput=structtypenonrect={build:Build.toption}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?build=fun()->{build}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("build",(Option.mapx.build~f:Build.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuild=(Option.map~f:Build.of_xml)(Xml.childxml_arg0"build")inmake?build()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuild=field_mapjson__"build"Build.of_jsoninmake?build()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restarts a build."]moduleRetryBuildInput=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"Specifies the identifier of the build to restart."];idempotencyToken:String_.toption[@ocaml.doc"A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuild request. The token is included in the RetryBuild request and is valid for five minutes. If you repeat the RetryBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error."]}letmake?id=fun?idempotencyToken->fun()->{id;idempotencyToken}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("idempotencyToken",(Option.mapx.idempotencyToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidempotencyToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"idempotencyToken")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?idempotencyToken?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidempotencyToken=field_mapjson__"idempotencyToken"String_.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?idempotencyToken?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restarts a build."]moduleRetryBuildBatchOutput=structtypenonrect={buildBatch:BuildBatch.toption}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?buildBatch=fun()->{buildBatch}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("buildBatch",(Option.mapx.buildBatch~f:BuildBatch.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildBatch=(Option.map~f:BuildBatch.of_xml)(Xml.childxml_arg0"buildBatch")inmake?buildBatch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildBatch=field_mapjson__"buildBatch"BuildBatch.of_jsoninmake?buildBatch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restarts a failed batch build. Only batch builds that have failed can be retried."]moduleRetryBuildBatchInput=structtypenonrect={id:NonEmptyString.toption[@ocaml.doc"Specifies the identifier of the batch build to restart."];idempotencyToken:String_.toption[@ocaml.doc"A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch request. The token is included in the RetryBuildBatch request and is valid for five minutes. If you repeat the RetryBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error."];retryType:RetryBuildBatchType.toption[@ocaml.doc"Specifies the type of retry to perform."]}letmake?id=fun?idempotencyToken->fun?retryType->fun()->{id;idempotencyToken;retryType}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:NonEmptyString.to_value));("idempotencyToken",(Option.mapx.idempotencyToken~f:String_.to_value));("retryType",(Option.mapx.retryType~f:RetryBuildBatchType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretryType=(Option.map~f:RetryBuildBatchType.of_xml)(Xml.childxml_arg0"retryType")inletidempotencyToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"idempotencyToken")inletid=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"id")inmake?retryType?idempotencyToken?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretryType=field_mapjson__"retryType"RetryBuildBatchType.of_jsoninletidempotencyToken=field_mapjson__"idempotencyToken"String_.of_jsoninletid=field_mapjson__"id"NonEmptyString.of_jsoninmake?retryType?idempotencyToken?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restarts a failed batch build. Only batch builds that have failed can be retried."]modulePutResourcePolicyOutput=structtypenonrect={resourceArn:NonEmptyString.toption[@ocaml.doc"The ARN of the Project or ReportGroup resource that is associated with a resource policy."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceArn=fun()->{resourceArn}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("resourceArn",(Option.mapx.resourceArn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"resourceArn")inmake?resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_mapjson__"resourceArn"NonEmptyString.of_jsoninmake?resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stores a resource policy for the ARN of a Project or ReportGroup object."]modulePutResourcePolicyInput=structtypenonrect={policy:NonEmptyString.t[@ocaml.doc"A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide."];resourceArn:NonEmptyString.t[@ocaml.doc"The ARN of the Project or ReportGroup resource you want to associate with a resource policy."]}letcontext_="PutResourcePolicyInput"letmake~policy=fun~resourceArn->fun()->{policy;resourceArn}letto_valuex=structure_to_value[("policy",(Some(NonEmptyString.to_valuex.policy)));("resourceArn",(Some(NonEmptyString.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inletpolicy=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"policy")inmake~resourceArn~policy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"resourceArn"NonEmptyString.of_jsoninletpolicy=field_map_exnjson__"policy"NonEmptyString.of_jsoninmake~resourceArn~policy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stores a resource policy for the ARN of a Project or ReportGroup object."]moduleListSourceCredentialsOutput=structtypenonrect={sourceCredentialsInfos:SourceCredentialsInfos.toption[@ocaml.doc"A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object includes the authentication type, token ARN, and type of source provider for one set of credentials."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sourceCredentialsInfos=fun()->{sourceCredentialsInfos}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("sourceCredentialsInfos",(Option.mapx.sourceCredentialsInfos~f:SourceCredentialsInfos.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceCredentialsInfos=(Option.map~f:SourceCredentialsInfos.of_xml)(Xml.childxml_arg0"sourceCredentialsInfos")inmake?sourceCredentialsInfos()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceCredentialsInfos=field_mapjson__"sourceCredentialsInfos"SourceCredentialsInfos.of_jsoninmake?sourceCredentialsInfos()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of SourceCredentialsInfo objects."]moduleListSourceCredentialsInput=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"Returns a list of SourceCredentialsInfo objects."]moduleListSharedReportGroupsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];reportGroups:ReportGroupArns.toption[@ocaml.doc"The list of ARNs for the report groups shared with the current Amazon Web Services account or user."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?reportGroups->fun()->{nextToken;reportGroups}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("reportGroups",(Option.mapx.reportGroups~f:ReportGroupArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroups=(Option.map~f:ReportGroupArns.of_xml)(Xml.childxml_arg0"reportGroups")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?reportGroups?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroups=field_mapjson__"reportGroups"ReportGroupArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?reportGroups?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of report groups that are shared with other Amazon Web Services accounts or users."]moduleListSharedReportGroupsInput=structtypenonrect={sortOrder:SortOrderType.toption[@ocaml.doc"The order in which to list shared report groups. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order."];sortBy:SharedResourceSortByType.toption[@ocaml.doc"The criterion to be used to list report groups shared with the current Amazon Web Services account or user. Valid values include: ARN: List based on the ARN. MODIFIED_TIME: List based on when information about the shared report group was last changed."];nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated shared report groups per response. Use nextToken to iterate pages in the list of returned ReportGroup objects. The default value is 100."]}letmake?sortOrder=fun?sortBy->fun?nextToken->fun?maxResults->fun()->{sortOrder;sortBy;nextToken;maxResults}letto_valuex=structure_to_value[("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("sortBy",(Option.mapx.sortBy~f:SharedResourceSortByType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortBy=(Option.map~f:SharedResourceSortByType.of_xml)(Xml.childxml_arg0"sortBy")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inmake?maxResults?nextToken?sortBy?sortOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortBy=field_mapjson__"sortBy"SharedResourceSortByType.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninmake?maxResults?nextToken?sortBy?sortOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of report groups that are shared with other Amazon Web Services accounts or users."]moduleListSharedProjectsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];projects:ProjectArns.toption[@ocaml.doc"The list of ARNs for the build projects shared with the current Amazon Web Services account or user."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?projects->fun()->{nextToken;projects}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("projects",(Option.mapx.projects~f:ProjectArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojects=(Option.map~f:ProjectArns.of_xml)(Xml.childxml_arg0"projects")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?projects?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojects=field_mapjson__"projects"ProjectArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?projects?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of projects that are shared with other Amazon Web Services accounts or users."]moduleListSharedProjectsInput=structtypenonrect={sortBy:SharedResourceSortByType.toption[@ocaml.doc"The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include: ARN: List based on the ARN. MODIFIED_TIME: List based on when information about the shared project was last changed."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which to list shared build projects. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated shared build projects returned per response. Use nextToken to iterate pages in the list of returned Project objects. The default value is 100."];nextToken:NonEmptyString.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."]}letmake?sortBy=fun?sortOrder->fun?maxResults->fun?nextToken->fun()->{sortBy;sortOrder;maxResults;nextToken}letto_valuex=structure_to_value[("sortBy",(Option.mapx.sortBy~f:SharedResourceSortByType.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("nextToken",(Option.mapx.nextToken~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletsortBy=(Option.map~f:SharedResourceSortByType.of_xml)(Xml.childxml_arg0"sortBy")inmake?nextToken?maxResults?sortOrder?sortBy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NonEmptyString.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletsortBy=field_mapjson__"sortBy"SharedResourceSortByType.of_jsoninmake?nextToken?maxResults?sortOrder?sortBy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of projects that are shared with other Amazon Web Services accounts or users."]moduleListSandboxesOutput=structtypenonrect={ids:SandboxIds.toption[@ocaml.doc"Information about the requested sandbox IDs."];nextToken:String_.toption[@ocaml.doc"Information about the next token to get paginated results."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:SandboxIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:SandboxIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"SandboxIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of sandboxes."]moduleListSandboxesInput=structtypenonrect={maxResults:PageSize.toption[@ocaml.doc"The maximum number of sandbox records to be retrieved."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which sandbox records should be retrieved."];nextToken:String_.toption[@ocaml.doc"The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes."]}letmake?maxResults=fun?sortOrder->fun?nextToken->fun()->{maxResults;sortOrder;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inmake?nextToken?sortOrder?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninmake?nextToken?sortOrder?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of sandboxes."]moduleListSandboxesForProjectOutput=structtypenonrect={ids:SandboxIds.toption[@ocaml.doc"Information about the requested sandbox IDs."];nextToken:String_.toption[@ocaml.doc"Information about the next token to get paginated results."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:SandboxIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:SandboxIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"SandboxIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of sandboxes for a given project."]moduleListSandboxesForProjectInput=structtypenonrect={projectName:NonEmptyString.t[@ocaml.doc"The CodeBuild project name."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of sandbox records to be retrieved."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which sandbox records should be retrieved."];nextToken:SensitiveString.toption[@ocaml.doc"The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes."]}letcontext_="ListSandboxesForProjectInput"letmake?maxResults=fun?sortOrder->fun?nextToken->fun~projectName->fun()->{maxResults;sortOrder;nextToken;projectName}letto_valuex=structure_to_value[("projectName",(Some(NonEmptyString.to_valuex.projectName)));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:SensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletprojectName=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?nextToken?sortOrder?maxResults~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"SensitiveString.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletprojectName=field_map_exnjson__"projectName"NonEmptyString.of_jsoninmake?nextToken?sortOrder?maxResults~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of sandboxes for a given project."]moduleListReportsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];reports:ReportArns.toption[@ocaml.doc"The list of returned ARNs for the reports in the current Amazon Web Services account."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?reports->fun()->{nextToken;reports}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("reports",(Option.mapx.reports~f:ReportArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreports=(Option.map~f:ReportArns.of_xml)(Xml.childxml_arg0"reports")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?reports?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreports=field_mapjson__"reports"ReportArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?reports?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of ARNs for the reports in the current Amazon Web Services account."]moduleListReportsInput=structtypenonrect={sortOrder:SortOrderType.toption[@ocaml.doc"Specifies the sort order for the list of returned reports. Valid values are: ASCENDING: return reports in chronological order based on their creation date. DESCENDING: return reports in the reverse chronological order based on their creation date."];nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated reports returned per response. Use nextToken to iterate pages in the list of returned Report objects. The default value is 100."];filter:ReportFilter.toption[@ocaml.doc"A ReportFilter object used to filter the returned reports."]}letmake?sortOrder=fun?nextToken->fun?maxResults->fun?filter->fun()->{sortOrder;nextToken;maxResults;filter}letto_valuex=structure_to_value[("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("filter",(Option.mapx.filter~f:ReportFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilter=(Option.map~f:ReportFilter.of_xml)(Xml.childxml_arg0"filter")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inmake?filter?maxResults?nextToken?sortOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilter=field_mapjson__"filter"ReportFilter.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninmake?filter?maxResults?nextToken?sortOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of ARNs for the reports in the current Amazon Web Services account."]moduleListReportsForReportGroupOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];reports:ReportArns.toption[@ocaml.doc"The list of report ARNs."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?reports->fun()->{nextToken;reports}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("reports",(Option.mapx.reports~f:ReportArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreports=(Option.map~f:ReportArns.of_xml)(Xml.childxml_arg0"reports")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?reports?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreports=field_mapjson__"reports"ReportArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?reports?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of ARNs for the reports that belong to a ReportGroup."]moduleListReportsForReportGroupInput=structtypenonrect={reportGroupArn:String_.t[@ocaml.doc"The ARN of the report group for which you want to return report ARNs."];nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];sortOrder:SortOrderType.toption[@ocaml.doc"Use to specify whether the results are returned in ascending or descending order."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated reports in this report group returned per response. Use nextToken to iterate pages in the list of returned Report objects. The default value is 100."];filter:ReportFilter.toption[@ocaml.doc"A ReportFilter object used to filter the returned reports."]}letcontext_="ListReportsForReportGroupInput"letmake?nextToken=fun?sortOrder->fun?maxResults->fun?filter->fun~reportGroupArn->fun()->{nextToken;sortOrder;maxResults;filter;reportGroupArn}letto_valuex=structure_to_value[("reportGroupArn",(Some(String_.to_valuex.reportGroupArn)));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("filter",(Option.mapx.filter~f:ReportFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilter=(Option.map~f:ReportFilter.of_xml)(Xml.childxml_arg0"filter")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletreportGroupArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"reportGroupArn")inmake?filter?maxResults?sortOrder?nextToken~reportGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilter=field_mapjson__"filter"ReportFilter.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletreportGroupArn=field_map_exnjson__"reportGroupArn"String_.of_jsoninmake?filter?maxResults?sortOrder?nextToken~reportGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of ARNs for the reports that belong to a ReportGroup."]moduleListReportGroupsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];reportGroups:ReportGroupArns.toption[@ocaml.doc"The list of ARNs for the report groups in the current Amazon Web Services account."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?reportGroups->fun()->{nextToken;reportGroups}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("reportGroups",(Option.mapx.reportGroups~f:ReportGroupArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroups=(Option.map~f:ReportGroupArns.of_xml)(Xml.childxml_arg0"reportGroups")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?reportGroups?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroups=field_mapjson__"reportGroups"ReportGroupArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?reportGroups?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list ARNs for the report groups in the current Amazon Web Services account."]moduleListReportGroupsInput=structtypenonrect={sortOrder:SortOrderType.toption[@ocaml.doc"Used to specify the order to sort the list of returned report groups. Valid values are ASCENDING and DESCENDING."];sortBy:ReportGroupSortByType.toption[@ocaml.doc"The criterion to be used to list build report groups. Valid values include: CREATED_TIME: List based on when each report group was created. LAST_MODIFIED_TIME: List based on when each report group was last changed. NAME: List based on each report group's name."];nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated report groups returned per response. Use nextToken to iterate pages in the list of returned ReportGroup objects. The default value is 100."]}letmake?sortOrder=fun?sortBy->fun?nextToken->fun?maxResults->fun()->{sortOrder;sortBy;nextToken;maxResults}letto_valuex=structure_to_value[("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("sortBy",(Option.mapx.sortBy~f:ReportGroupSortByType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortBy=(Option.map~f:ReportGroupSortByType.of_xml)(Xml.childxml_arg0"sortBy")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inmake?maxResults?nextToken?sortBy?sortOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortBy=field_mapjson__"sortBy"ReportGroupSortByType.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninmake?maxResults?nextToken?sortBy?sortOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list ARNs for the report groups in the current Amazon Web Services account."]moduleListProjectsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call."];projects:ProjectNames.toption[@ocaml.doc"The list of build project names, with each build project name representing a single build project."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?projects->fun()->{nextToken;projects}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("projects",(Option.mapx.projects~f:ProjectNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojects=(Option.map~f:ProjectNames.of_xml)(Xml.childxml_arg0"projects")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?projects?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojects=field_mapjson__"projects"ProjectNames.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?projects?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build project names, with each build project name representing a single build project."]moduleListProjectsInput=structtypenonrect={sortBy:ProjectSortByType.toption[@ocaml.doc"The criterion to be used to list build project names. Valid values include: CREATED_TIME: List based on when each build project was created. LAST_MODIFIED_TIME: List based on when information about each build project was last changed. NAME: List based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which to list build projects. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order. Use sortBy to specify the criterion to be used to list build project names."];nextToken:NonEmptyString.toption[@ocaml.doc"During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."]}letmake?sortBy=fun?sortOrder->fun?nextToken->fun()->{sortBy;sortOrder;nextToken}letto_valuex=structure_to_value[("sortBy",(Option.mapx.sortBy~f:ProjectSortByType.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletsortBy=(Option.map~f:ProjectSortByType.of_xml)(Xml.childxml_arg0"sortBy")inmake?nextToken?sortOrder?sortBy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NonEmptyString.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletsortBy=field_mapjson__"sortBy"ProjectSortByType.of_jsoninmake?nextToken?sortOrder?sortBy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build project names, with each build project name representing a single build project."]moduleListFleetsOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call."];fleets:FleetArns.toption[@ocaml.doc"The list of compute fleet names."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?fleets->fun()->{nextToken;fleets}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("fleets",(Option.mapx.fleets~f:FleetArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleets=(Option.map~f:FleetArns.of_xml)(Xml.childxml_arg0"fleets")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?fleets?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleets=field_mapjson__"fleets"FleetArns.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?fleets?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of compute fleet names with each compute fleet name representing a single compute fleet."]moduleListFleetsInput=structtypenonrect={nextToken:SensitiveString.toption[@ocaml.doc"During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated compute fleets returned per response. Use nextToken to iterate pages in the list of returned compute fleets."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which to list compute fleets. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order. Use sortBy to specify the criterion to be used to list compute fleet names."];sortBy:FleetSortByType.toption[@ocaml.doc"The criterion to be used to list compute fleet names. Valid values include: CREATED_TIME: List based on when each compute fleet was created. LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. NAME: List based on each compute fleet's name. Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria."]}letmake?nextToken=fun?maxResults->fun?sortOrder->fun?sortBy->fun()->{nextToken;maxResults;sortOrder;sortBy}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:SensitiveString.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("sortBy",(Option.mapx.sortBy~f:FleetSortByType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsortBy=(Option.map~f:FleetSortByType.of_xml)(Xml.childxml_arg0"sortBy")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"nextToken")inmake?sortBy?sortOrder?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsortBy=field_mapjson__"sortBy"FleetSortByType.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"SensitiveString.of_jsoninmake?sortBy?sortOrder?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of compute fleet names with each compute fleet name representing a single compute fleet."]moduleListCuratedEnvironmentImagesOutput=structtypenonrect={platforms:EnvironmentPlatforms.toption[@ocaml.doc"Information about supported platforms for Docker images that are managed by CodeBuild."]}typenonrecerror=[`Unknown_operation_errorof(string*stringoption)]letmake?platforms=fun()->{platforms}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("platforms",(Option.mapx.platforms~f:EnvironmentPlatforms.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letplatforms=(Option.map~f:EnvironmentPlatforms.of_xml)(Xml.childxml_arg0"platforms")inmake?platforms()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letplatforms=field_mapjson__"platforms"EnvironmentPlatforms.of_jsoninmake?platforms()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about Docker images that are managed by CodeBuild."]moduleListCuratedEnvironmentImagesInput=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"Gets information about Docker images that are managed by CodeBuild."]moduleListCommandExecutionsForSandboxOutput=structtypenonrect={commandExecutions:CommandExecutions.toption[@ocaml.doc"Information about the requested command executions."];nextToken:String_.toption[@ocaml.doc"Information about the next token to get paginated results."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commandExecutions=fun?nextToken->fun()->{commandExecutions;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commandExecutions",(Option.mapx.commandExecutions~f:CommandExecutions.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletcommandExecutions=(Option.map~f:CommandExecutions.of_xml)(Xml.childxml_arg0"commandExecutions")inmake?nextToken?commandExecutions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletcommandExecutions=field_mapjson__"commandExecutions"CommandExecutions.of_jsoninmake?nextToken?commandExecutions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of command executions for a sandbox."]moduleListCommandExecutionsForSandboxInput=structtypenonrect={sandboxId:NonEmptyString.t[@ocaml.doc"A sandboxId or sandboxArn."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of sandbox records to be retrieved."];sortOrder:SortOrderType.toption[@ocaml.doc"The order in which sandbox records should be retrieved."];nextToken:SensitiveString.toption[@ocaml.doc"The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes."]}letcontext_="ListCommandExecutionsForSandboxInput"letmake?maxResults=fun?sortOrder->fun?nextToken->fun~sandboxId->fun()->{maxResults;sortOrder;nextToken;sandboxId}letto_valuex=structure_to_value[("sandboxId",(Some(NonEmptyString.to_valuex.sandboxId)));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:SensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletsandboxId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sandboxId")inmake?nextToken?sortOrder?maxResults~sandboxId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"SensitiveString.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletsandboxId=field_map_exnjson__"sandboxId"NonEmptyString.of_jsoninmake?nextToken?sortOrder?maxResults~sandboxId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of command executions for a sandbox."]moduleListBuildsOutput=structtypenonrect={ids:BuildIds.toption[@ocaml.doc"A list of build IDs, with each build ID representing a single build."];nextToken:String_.toption[@ocaml.doc"If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:BuildIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:BuildIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"BuildIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build IDs, with each build ID representing a single build."]moduleListBuildsInput=structtypenonrect={sortOrder:SortOrderType.toption[@ocaml.doc"The order to list build IDs. Valid values include: ASCENDING: List the build IDs in ascending order by build ID. DESCENDING: List the build IDs in descending order by build ID."];nextToken:String_.toption[@ocaml.doc"During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."]}letmake?sortOrder=fun?nextToken->fun()->{sortOrder;nextToken}letto_valuex=structure_to_value[("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inmake?nextToken?sortOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninmake?nextToken?sortOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build IDs, with each build ID representing a single build."]moduleListBuildsForProjectOutput=structtypenonrect={ids:BuildIds.toption[@ocaml.doc"A list of build identifiers for the specified build project, with each build ID representing a single build."];nextToken:String_.toption[@ocaml.doc"If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:BuildIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:BuildIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"BuildIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build identifiers for the specified build project, with each build identifier representing a single build."]moduleListBuildsForProjectInput=structtypenonrect={projectName:NonEmptyString.t[@ocaml.doc"The name of the CodeBuild project."];sortOrder:SortOrderType.toption[@ocaml.doc"The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order. Valid values include: ASCENDING: List the build identifiers in ascending order, by build number. DESCENDING: List the build identifiers in descending order, by build number. If the project has more than 100 builds, setting the sort order will result in an error."];nextToken:String_.toption[@ocaml.doc"During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."]}letcontext_="ListBuildsForProjectInput"letmake?sortOrder=fun?nextToken->fun~projectName->fun()->{sortOrder;nextToken;projectName}letto_valuex=structure_to_value[("projectName",(Some(NonEmptyString.to_valuex.projectName)));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletprojectName=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?nextToken?sortOrder~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletprojectName=field_map_exnjson__"projectName"NonEmptyString.of_jsoninmake?nextToken?sortOrder~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of build identifiers for the specified build project, with each build identifier representing a single build."]moduleListBuildBatchesOutput=structtypenonrect={ids:BuildBatchIds.toption[@ocaml.doc"An array of strings that contains the batch build identifiers."];nextToken:String_.toption[@ocaml.doc"If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatches to retrieve the next set of items."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:BuildBatchIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:BuildBatchIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"BuildBatchIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the identifiers of your build batches in the current region."]moduleListBuildBatchesInput=structtypenonrect={filter:BuildBatchFilter.toption[@ocaml.doc"A BuildBatchFilter object that specifies the filters for the search."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of results to return."];sortOrder:SortOrderType.toption[@ocaml.doc"Specifies the sort order of the returned items. Valid values include: ASCENDING: List the batch build identifiers in ascending order by identifier. DESCENDING: List the batch build identifiers in descending order by identifier."];nextToken:String_.toption[@ocaml.doc"The nextToken value returned from a previous call to ListBuildBatches. This specifies the next item to return. To return the beginning of the list, exclude this parameter."]}letmake?filter=fun?maxResults->fun?sortOrder->fun?nextToken->fun()->{filter;maxResults;sortOrder;nextToken}letto_valuex=structure_to_value[("filter",(Option.mapx.filter~f:BuildBatchFilter.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletfilter=(Option.map~f:BuildBatchFilter.of_xml)(Xml.childxml_arg0"filter")inmake?nextToken?sortOrder?maxResults?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletfilter=field_mapjson__"filter"BuildBatchFilter.of_jsoninmake?nextToken?sortOrder?maxResults?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the identifiers of your build batches in the current region."]moduleListBuildBatchesForProjectOutput=structtypenonrect={ids:BuildBatchIds.toption[@ocaml.doc"An array of strings that contains the batch build identifiers."];nextToken:String_.toption[@ocaml.doc"If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatchesForProject to retrieve the next set of items."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ids=fun?nextToken->fun()->{ids;nextToken}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ids",(Option.mapx.ids~f:BuildBatchIds.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletids=(Option.map~f:BuildBatchIds.of_xml)(Xml.childxml_arg0"ids")inmake?nextToken?ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletids=field_mapjson__"ids"BuildBatchIds.of_jsoninmake?nextToken?ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the identifiers of the build batches for a specific project."]moduleListBuildBatchesForProjectInput=structtypenonrect={projectName:NonEmptyString.toption[@ocaml.doc"The name of the project."];filter:BuildBatchFilter.toption[@ocaml.doc"A BuildBatchFilter object that specifies the filters for the search."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of results to return."];sortOrder:SortOrderType.toption[@ocaml.doc"Specifies the sort order of the returned items. Valid values include: ASCENDING: List the batch build identifiers in ascending order by identifier. DESCENDING: List the batch build identifiers in descending order by identifier."];nextToken:String_.toption[@ocaml.doc"The nextToken value returned from a previous call to ListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter."]}letmake?projectName=fun?filter->fun?maxResults->fun?sortOrder->fun?nextToken->fun()->{projectName;filter;maxResults;sortOrder;nextToken}letto_valuex=structure_to_value[("projectName",(Option.mapx.projectName~f:NonEmptyString.to_value));("filter",(Option.mapx.filter~f:BuildBatchFilter.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletfilter=(Option.map~f:BuildBatchFilter.of_xml)(Xml.childxml_arg0"filter")inletprojectName=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"projectName")inmake?nextToken?sortOrder?maxResults?filter?projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletfilter=field_mapjson__"filter"BuildBatchFilter.of_jsoninletprojectName=field_mapjson__"projectName"NonEmptyString.of_jsoninmake?nextToken?sortOrder?maxResults?filter?projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the identifiers of the build batches for a specific project."]moduleInvalidateProjectCacheOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resets the cache for a project."]moduleInvalidateProjectCacheInput=structtypenonrect={projectName:NonEmptyString.t[@ocaml.doc"The name of the CodeBuild build project that the cache is reset for."]}letcontext_="InvalidateProjectCacheInput"letmake~projectName=fun()->{projectName}letto_valuex=structure_to_value[("projectName",(Some(NonEmptyString.to_valuex.projectName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectName=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectName=field_map_exnjson__"projectName"NonEmptyString.of_jsoninmake~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resets the cache for a project."]moduleImportSourceCredentialsOutput=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the token."]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun()->{arn}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository."]moduleImportSourceCredentialsInput=structtypenonrect={username:NonEmptyString.toption[@ocaml.doc"The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections."];token:SensitiveNonEmptyString.t[@ocaml.doc"For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType CODECONNECTIONS, this is the connectionArn. For the authType SECRETS_MANAGER, this is the secretArn."];serverType:ServerType.t[@ocaml.doc"The source provider used for this project."];authType:AuthType.t[@ocaml.doc"The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console."];shouldOverwrite:WrapperBoolean.toption[@ocaml.doc"Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true."]}letcontext_="ImportSourceCredentialsInput"letmake?username=fun?shouldOverwrite->fun~token->fun~serverType->fun~authType->fun()->{username;shouldOverwrite;token;serverType;authType}letto_valuex=structure_to_value[("username",(Option.mapx.username~f:NonEmptyString.to_value));("token",(Some(SensitiveNonEmptyString.to_valuex.token)));("serverType",(Some(ServerType.to_valuex.serverType)));("authType",(Some(AuthType.to_valuex.authType)));("shouldOverwrite",(Option.mapx.shouldOverwrite~f:WrapperBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letshouldOverwrite=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"shouldOverwrite")inletauthType=AuthType.of_xml(Xml.child_exn~context:context_xml_arg0"authType")inletserverType=ServerType.of_xml(Xml.child_exn~context:context_xml_arg0"serverType")inlettoken=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"token")inletusername=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"username")inmake?shouldOverwrite~authType~serverType~token?username()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letshouldOverwrite=field_mapjson__"shouldOverwrite"WrapperBoolean.of_jsoninletauthType=field_map_exnjson__"authType"AuthType.of_jsoninletserverType=field_map_exnjson__"serverType"ServerType.of_jsoninlettoken=field_map_exnjson__"token"SensitiveNonEmptyString.of_jsoninletusername=field_mapjson__"username"NonEmptyString.of_jsoninmake?shouldOverwrite~authType~serverType~token?username()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository."]moduleGetResourcePolicyOutput=structtypenonrect={policy:NonEmptyString.toption[@ocaml.doc"The resource policy for the resource identified by the input ARN parameter."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?policy=fun()->{policy}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("policy",(Option.mapx.policy~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"policy")inmake?policy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_mapjson__"policy"NonEmptyString.of_jsoninmake?policy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a resource policy that is identified by its resource ARN."]moduleGetResourcePolicyInput=structtypenonrect={resourceArn:NonEmptyString.t[@ocaml.doc"The ARN of the resource that is associated with the resource policy."]}letcontext_="GetResourcePolicyInput"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(NonEmptyString.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"resourceArn"NonEmptyString.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a resource policy that is identified by its resource ARN."]moduleGetReportGroupTrendOutput=structtypenonrect={stats:ReportGroupTrendStats.toption[@ocaml.doc"Contains the accumulated trend data."];rawData:ReportGroupTrendRawDataList.toption[@ocaml.doc"An array that contains the raw data for each report."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?stats=fun?rawData->fun()->{stats;rawData}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("stats",(Option.mapx.stats~f:ReportGroupTrendStats.to_value));("rawData",(Option.mapx.rawData~f:ReportGroupTrendRawDataList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrawData=(Option.map~f:ReportGroupTrendRawDataList.of_xml)(Xml.childxml_arg0"rawData")inletstats=(Option.map~f:ReportGroupTrendStats.of_xml)(Xml.childxml_arg0"stats")inmake?rawData?stats()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrawData=field_mapjson__"rawData"ReportGroupTrendRawDataList.of_jsoninletstats=field_mapjson__"stats"ReportGroupTrendStats.of_jsoninmake?rawData?stats()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Analyzes and accumulates test report values for the specified test reports."]moduleGetReportGroupTrendInput=structtypenonrect={reportGroupArn:NonEmptyString.t[@ocaml.doc"The ARN of the report group that contains the reports to analyze."];numOfReports:PageSize.toption[@ocaml.doc"The number of reports to analyze. This operation always retrieves the most recent reports. If this parameter is omitted, the most recent 100 reports are analyzed."];trendField:ReportGroupTrendFieldType.t[@ocaml.doc"The test report value to accumulate. This must be one of the following values: Test reports: DURATION Accumulate the test run times for the specified reports. PASS_RATE Accumulate the percentage of tests that passed for the specified test reports. TOTAL Accumulate the total number of tests for the specified test reports. Code coverage reports: BRANCH_COVERAGE Accumulate the branch coverage percentages for the specified test reports. BRANCHES_COVERED Accumulate the branches covered values for the specified test reports. BRANCHES_MISSED Accumulate the branches missed values for the specified test reports. LINE_COVERAGE Accumulate the line coverage percentages for the specified test reports. LINES_COVERED Accumulate the lines covered values for the specified test reports. LINES_MISSED Accumulate the lines not covered values for the specified test reports."]}letcontext_="GetReportGroupTrendInput"letmake?numOfReports=fun~reportGroupArn->fun~trendField->fun()->{numOfReports;reportGroupArn;trendField}letto_valuex=structure_to_value[("reportGroupArn",(Some(NonEmptyString.to_valuex.reportGroupArn)));("numOfReports",(Option.mapx.numOfReports~f:PageSize.to_value));("trendField",(Some(ReportGroupTrendFieldType.to_valuex.trendField)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettrendField=ReportGroupTrendFieldType.of_xml(Xml.child_exn~context:context_xml_arg0"trendField")inletnumOfReports=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"numOfReports")inletreportGroupArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"reportGroupArn")inmake~trendField?numOfReports~reportGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettrendField=field_map_exnjson__"trendField"ReportGroupTrendFieldType.of_jsoninletnumOfReports=field_mapjson__"numOfReports"PageSize.of_jsoninletreportGroupArn=field_map_exnjson__"reportGroupArn"NonEmptyString.of_jsoninmake~trendField?numOfReports~reportGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Analyzes and accumulates test report values for the specified test reports."]moduleDescribeTestCasesOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];testCases:TestCases.toption[@ocaml.doc"The returned list of test cases."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?testCases->fun()->{nextToken;testCases}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("testCases",(Option.mapx.testCases~f:TestCases.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestCases=(Option.map~f:TestCases.of_xml)(Xml.childxml_arg0"testCases")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?testCases?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestCases=field_mapjson__"testCases"TestCases.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?testCases?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of details about test cases for a report."]moduleDescribeTestCasesInput=structtypenonrect={reportArn:String_.t[@ocaml.doc"The ARN of the report for which test cases are returned."];nextToken:String_.toption[@ocaml.doc"During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100."];filter:TestCaseFilter.toption[@ocaml.doc"A TestCaseFilter object used to filter the returned reports."]}letcontext_="DescribeTestCasesInput"letmake?nextToken=fun?maxResults->fun?filter->fun~reportArn->fun()->{nextToken;maxResults;filter;reportArn}letto_valuex=structure_to_value[("reportArn",(Some(String_.to_valuex.reportArn)));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("filter",(Option.mapx.filter~f:TestCaseFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilter=(Option.map~f:TestCaseFilter.of_xml)(Xml.childxml_arg0"filter")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletreportArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"reportArn")inmake?filter?maxResults?nextToken~reportArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilter=field_mapjson__"filter"TestCaseFilter.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletreportArn=field_map_exnjson__"reportArn"String_.of_jsoninmake?filter?maxResults?nextToken~reportArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of details about test cases for a report."]moduleDescribeCodeCoveragesOutput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"If there are more items to return, this contains a token that is passed to a subsequent call to DescribeCodeCoverages to retrieve the next set of items."];codeCoverages:CodeCoverages.toption[@ocaml.doc"An array of CodeCoverage objects that contain the results."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?codeCoverages->fun()->{nextToken;codeCoverages}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("codeCoverages",(Option.mapx.codeCoverages~f:CodeCoverages.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcodeCoverages=(Option.map~f:CodeCoverages.of_xml)(Xml.childxml_arg0"codeCoverages")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?codeCoverages?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcodeCoverages=field_mapjson__"codeCoverages"CodeCoverages.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?codeCoverages?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves one or more code coverage reports."]moduleDescribeCodeCoveragesInput=structtypenonrect={reportArn:NonEmptyString.t[@ocaml.doc"The ARN of the report for which test cases are returned."];nextToken:String_.toption[@ocaml.doc"The nextToken value returned from a previous call to DescribeCodeCoverages. This specifies the next item to return. To return the beginning of the list, exclude this parameter."];maxResults:PageSize.toption[@ocaml.doc"The maximum number of results to return."];sortOrder:SortOrderType.toption[@ocaml.doc"Specifies if the results are sorted in ascending or descending order."];sortBy:ReportCodeCoverageSortByType.toption[@ocaml.doc"Specifies how the results are sorted. Possible values are: FILE_PATH The results are sorted by file path. LINE_COVERAGE_PERCENTAGE The results are sorted by the percentage of lines that are covered."];minLineCoveragePercentage:Percentage.toption[@ocaml.doc"The minimum line coverage percentage to report."];maxLineCoveragePercentage:Percentage.toption[@ocaml.doc"The maximum line coverage percentage to report."]}letcontext_="DescribeCodeCoveragesInput"letmake?nextToken=fun?maxResults->fun?sortOrder->fun?sortBy->fun?minLineCoveragePercentage->fun?maxLineCoveragePercentage->fun~reportArn->fun()->{nextToken;maxResults;sortOrder;sortBy;minLineCoveragePercentage;maxLineCoveragePercentage;reportArn}letto_valuex=structure_to_value[("reportArn",(Some(NonEmptyString.to_valuex.reportArn)));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:PageSize.to_value));("sortOrder",(Option.mapx.sortOrder~f:SortOrderType.to_value));("sortBy",(Option.mapx.sortBy~f:ReportCodeCoverageSortByType.to_value));("minLineCoveragePercentage",(Option.mapx.minLineCoveragePercentage~f:Percentage.to_value));("maxLineCoveragePercentage",(Option.mapx.maxLineCoveragePercentage~f:Percentage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxLineCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"maxLineCoveragePercentage")inletminLineCoveragePercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"minLineCoveragePercentage")inletsortBy=(Option.map~f:ReportCodeCoverageSortByType.of_xml)(Xml.childxml_arg0"sortBy")inletsortOrder=(Option.map~f:SortOrderType.of_xml)(Xml.childxml_arg0"sortOrder")inletmaxResults=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletreportArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"reportArn")inmake?maxLineCoveragePercentage?minLineCoveragePercentage?sortBy?sortOrder?maxResults?nextToken~reportArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxLineCoveragePercentage=field_mapjson__"maxLineCoveragePercentage"Percentage.of_jsoninletminLineCoveragePercentage=field_mapjson__"minLineCoveragePercentage"Percentage.of_jsoninletsortBy=field_mapjson__"sortBy"ReportCodeCoverageSortByType.of_jsoninletsortOrder=field_mapjson__"sortOrder"SortOrderType.of_jsoninletmaxResults=field_mapjson__"maxResults"PageSize.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletreportArn=field_map_exnjson__"reportArn"NonEmptyString.of_jsoninmake?maxLineCoveragePercentage?minLineCoveragePercentage?sortBy?sortOrder?maxResults?nextToken~reportArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves one or more code coverage reports."]moduleDeleteWebhookOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`OAuthProviderExceptionofOAuthProviderException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`OAuthProviderExceptione->`Assoc[("error",(`String"OAuthProviderException"));("details",(OAuthProviderException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository."]moduleDeleteWebhookInput=structtypenonrect={projectName:ProjectName.t[@ocaml.doc"The name of the CodeBuild project."]}letcontext_="DeleteWebhookInput"letmake~projectName=fun()->{projectName}letto_valuex=structure_to_value[("projectName",(Some(ProjectName.to_valuex.projectName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectName=ProjectName.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectName=field_map_exnjson__"projectName"ProjectName.of_jsoninmake~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository."]moduleDeleteSourceCredentialsOutput=structtypenonrect={arn:NonEmptyString.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the token."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun()->{arn}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"NonEmptyString.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials."]moduleDeleteSourceCredentialsInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The Amazon Resource Name (ARN) of the token."]}letcontext_="DeleteSourceCredentialsInput"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials."]moduleDeleteResourcePolicyOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a resource policy that is identified by its resource ARN."]moduleDeleteResourcePolicyInput=structtypenonrect={resourceArn:NonEmptyString.t[@ocaml.doc"The ARN of the resource that is associated with the resource policy."]}letcontext_="DeleteResourcePolicyInput"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(NonEmptyString.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"resourceArn"NonEmptyString.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a resource policy that is identified by its resource ARN."]moduleDeleteReportOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a report."]moduleDeleteReportInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The ARN of the report to delete."]}letcontext_="DeleteReportInput"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a report."]moduleDeleteReportGroupOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a report group. Before you delete a report group, you must delete its reports."]moduleDeleteReportGroupInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The ARN of the report group to delete."];deleteReports:Boolean.toption[@ocaml.doc"If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an exception is thrown."]}letcontext_="DeleteReportGroupInput"letmake?deleteReports=fun~arn->fun()->{deleteReports;arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)));("deleteReports",(Option.mapx.deleteReports~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeleteReports=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"deleteReports")inletarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?deleteReports~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeleteReports=field_mapjson__"deleteReports"Boolean.of_jsoninletarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake?deleteReports~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a report group. Before you delete a report group, you must delete its reports."]moduleDeleteProjectOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a build project. When you delete a project, its builds are not deleted."]moduleDeleteProjectInput=structtypenonrect={name:NonEmptyString.t[@ocaml.doc"The name of the build project."]}letcontext_="DeleteProjectInput"letmake~name=fun()->{name}letto_valuex=structure_to_value[("name",(Some(NonEmptyString.to_valuex.name)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_map_exnjson__"name"NonEmptyString.of_jsoninmake~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a build project. When you delete a project, its builds are not deleted."]moduleDeleteFleetOutput=structtypenonrect=unittypenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted."]moduleDeleteFleetInput=structtypenonrect={arn:NonEmptyString.t[@ocaml.doc"The ARN of the compute fleet."]}letcontext_="DeleteFleetInput"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(NonEmptyString.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"NonEmptyString.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted."]moduleDeleteBuildBatchOutput=structtypenonrect={statusCode:String_.toption[@ocaml.doc"The status code."];buildsDeleted:BuildIds.toption[@ocaml.doc"An array of strings that contain the identifiers of the builds that were deleted."];buildsNotDeleted:BuildsNotDeleted.toption[@ocaml.doc"An array of BuildNotDeleted objects that specify the builds that could not be deleted."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?statusCode=fun?buildsDeleted->fun?buildsNotDeleted->fun()->{statusCode;buildsDeleted;buildsNotDeleted}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("statusCode",(Option.mapx.statusCode~f:String_.to_value));("buildsDeleted",(Option.mapx.buildsDeleted~f:BuildIds.to_value));("buildsNotDeleted",(Option.mapx.buildsNotDeleted~f:BuildsNotDeleted.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildsNotDeleted=(Option.map~f:BuildsNotDeleted.of_xml)(Xml.childxml_arg0"buildsNotDeleted")inletbuildsDeleted=(Option.map~f:BuildIds.of_xml)(Xml.childxml_arg0"buildsDeleted")inletstatusCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusCode")inmake?buildsNotDeleted?buildsDeleted?statusCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildsNotDeleted=field_mapjson__"buildsNotDeleted"BuildsNotDeleted.of_jsoninletbuildsDeleted=field_mapjson__"buildsDeleted"BuildIds.of_jsoninletstatusCode=field_mapjson__"statusCode"String_.of_jsoninmake?buildsNotDeleted?buildsDeleted?statusCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a batch build."]moduleDeleteBuildBatchInput=structtypenonrect={id:NonEmptyString.t[@ocaml.doc"The identifier of the batch build to delete."]}letcontext_="DeleteBuildBatchInput"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(NonEmptyString.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"NonEmptyString.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a batch build."]moduleCreateWebhookOutput=structtypenonrect={webhook:Webhook.toption[@ocaml.doc"Information about a webhook that connects repository events to a build project in CodeBuild."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`OAuthProviderExceptionofOAuthProviderException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?webhook=fun()->{webhook}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"OAuthProviderException"->`OAuthProviderException(OAuthProviderException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`OAuthProviderExceptione->`Assoc[("error",(`String"OAuthProviderException"));("details",(OAuthProviderException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("webhook",(Option.mapx.webhook~f:Webhook.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwebhook=(Option.map~f:Webhook.of_xml)(Xml.childxml_arg0"webhook")inmake?webhook()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwebhook=field_mapjson__"webhook"Webhook.of_jsoninmake?webhook()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings."]moduleCreateWebhookInput=structtypenonrect={projectName:ProjectName.t[@ocaml.doc"The name of the CodeBuild project."];branchFilter:String_.toption[@ocaml.doc"A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter."];filterGroups:FilterGroups.toption[@ocaml.doc"An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type. For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass."];buildType:WebhookBuildType.toption[@ocaml.doc"Specifies the type of build this webhook will trigger. RUNNER_BUILDKITE_BUILD is only available for NO_SOURCE source type projects configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see Tutorial: Configure a CodeBuild-hosted Buildkite runner in the CodeBuild user guide."];manualCreation:WrapperBoolean.toption[@ocaml.doc"If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns payloadUrl and secret values for the webhook. The payloadUrl and secret values in the output can be used to manually create a webhook within GitHub. manualCreation is only available for GitHub webhooks."];scopeConfiguration:ScopeConfiguration.toption[@ocaml.doc"The scope configuration for global or organization webhooks. Global or organization webhooks are only available for GitHub and Github Enterprise webhooks."];pullRequestBuildPolicy:PullRequestBuildPolicy.toption[@ocaml.doc"A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows."]}letcontext_="CreateWebhookInput"letmake?branchFilter=fun?filterGroups->fun?buildType->fun?manualCreation->fun?scopeConfiguration->fun?pullRequestBuildPolicy->fun~projectName->fun()->{branchFilter;filterGroups;buildType;manualCreation;scopeConfiguration;pullRequestBuildPolicy;projectName}letto_valuex=structure_to_value[("projectName",(Some(ProjectName.to_valuex.projectName)));("branchFilter",(Option.mapx.branchFilter~f:String_.to_value));("filterGroups",(Option.mapx.filterGroups~f:FilterGroups.to_value));("buildType",(Option.mapx.buildType~f:WebhookBuildType.to_value));("manualCreation",(Option.mapx.manualCreation~f:WrapperBoolean.to_value));("scopeConfiguration",(Option.mapx.scopeConfiguration~f:ScopeConfiguration.to_value));("pullRequestBuildPolicy",(Option.mapx.pullRequestBuildPolicy~f:PullRequestBuildPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpullRequestBuildPolicy=(Option.map~f:PullRequestBuildPolicy.of_xml)(Xml.childxml_arg0"pullRequestBuildPolicy")inletscopeConfiguration=(Option.map~f:ScopeConfiguration.of_xml)(Xml.childxml_arg0"scopeConfiguration")inletmanualCreation=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"manualCreation")inletbuildType=(Option.map~f:WebhookBuildType.of_xml)(Xml.childxml_arg0"buildType")inletfilterGroups=(Option.map~f:FilterGroups.of_xml)(Xml.childxml_arg0"filterGroups")inletbranchFilter=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"branchFilter")inletprojectName=ProjectName.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?pullRequestBuildPolicy?scopeConfiguration?manualCreation?buildType?filterGroups?branchFilter~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpullRequestBuildPolicy=field_mapjson__"pullRequestBuildPolicy"PullRequestBuildPolicy.of_jsoninletscopeConfiguration=field_mapjson__"scopeConfiguration"ScopeConfiguration.of_jsoninletmanualCreation=field_mapjson__"manualCreation"WrapperBoolean.of_jsoninletbuildType=field_mapjson__"buildType"WebhookBuildType.of_jsoninletfilterGroups=field_mapjson__"filterGroups"FilterGroups.of_jsoninletbranchFilter=field_mapjson__"branchFilter"String_.of_jsoninletprojectName=field_map_exnjson__"projectName"ProjectName.of_jsoninmake?pullRequestBuildPolicy?scopeConfiguration?manualCreation?buildType?filterGroups?branchFilter~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings."]moduleCreateReportGroupOutput=structtypenonrect={reportGroup:ReportGroup.toption[@ocaml.doc"Information about the report group that was created."]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportGroup=fun()->{reportGroup}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reportGroup",(Option.mapx.reportGroup~f:ReportGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroup=(Option.map~f:ReportGroup.of_xml)(Xml.childxml_arg0"reportGroup")inmake?reportGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroup=field_mapjson__"reportGroup"ReportGroup.of_jsoninmake?reportGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a report group. A report group contains a collection of reports."]moduleCreateReportGroupInput=structtypenonrect={name:ReportGroupName.t[@ocaml.doc"The name of the report group."];type_:ReportType.t[@ocaml.doc"The type of report group."];exportConfig:ReportExportConfig.t[@ocaml.doc"A ReportExportConfig object that contains information about where the report group test results are exported."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this report group. These tags are available for use by Amazon Web Services services that support CodeBuild report group tags."]}letcontext_="CreateReportGroupInput"letmake?tags=fun~name->fun~type_->fun~exportConfig->fun()->{tags;name;type_;exportConfig}letto_valuex=structure_to_value[("name",(Some(ReportGroupName.to_valuex.name)));("type",(Some(ReportType.to_valuex.type_)));("exportConfig",(Some(ReportExportConfig.to_valuex.exportConfig)));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletexportConfig=ReportExportConfig.of_xml(Xml.child_exn~context:context_xml_arg0"exportConfig")inlettype_=ReportType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inletname=ReportGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?tags~exportConfig~type_~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletexportConfig=field_map_exnjson__"exportConfig"ReportExportConfig.of_jsoninlettype_=field_map_exnjson__"type"ReportType.of_jsoninletname=field_map_exnjson__"name"ReportGroupName.of_jsoninmake?tags~exportConfig~type_~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a report group. A report group contains a collection of reports."]moduleCreateProjectOutput=structtypenonrect={project:Project.toption[@ocaml.doc"Information about the build project that was created."]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("project",(Option.mapx.project~f:Project.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:Project.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"Project.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a build project."]moduleCreateProjectInput=structtypenonrect={name:ProjectName.t[@ocaml.doc"The name of the build project."];description:ProjectDescription.toption[@ocaml.doc"A description that makes the build project easy to identify."];source:ProjectSource.t[@ocaml.doc"Information about the build input source code for the build project."];secondarySources:ProjectSources.toption[@ocaml.doc"An array of ProjectSource objects."];sourceVersion:String_.toption[@ocaml.doc"A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For GitLab: the commit ID, branch, or Git tag to use. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level). For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide."];secondarySourceVersions:ProjectSecondarySourceVersions.toption[@ocaml.doc"An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take precedence over these secondarySourceVersions (at the project level)."];artifacts:ProjectArtifacts.t[@ocaml.doc"Information about the build output artifacts for the build project."];secondaryArtifacts:ProjectArtifactsList.toption[@ocaml.doc"An array of ProjectArtifacts objects."];cache:ProjectCache.toption[@ocaml.doc"Stores recently used information so that it can be quickly accessed at a later time."];environment:ProjectEnvironment.t[@ocaml.doc"Information about the build environment for the build project."];serviceRole:NonEmptyString.t[@ocaml.doc"The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account."];timeoutInMinutes:BuildTimeOut.toption[@ocaml.doc"How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes."];queuedTimeoutInMinutes:TimeOut.toption[@ocaml.doc"The number of minutes a build is allowed to be queued before it times out."];encryptionKey:NonEmptyString.toption[@ocaml.doc"The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>)."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this build project. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."];vpcConfig:VpcConfig.toption[@ocaml.doc"VpcConfig enables CodeBuild to access resources in an Amazon VPC. If you're using compute fleets during project creation, do not provide vpcConfig."];badgeEnabled:WrapperBoolean.toption[@ocaml.doc"Set this to true to generate a publicly accessible URL for your project's build badge."];logsConfig:LogsConfig.toption[@ocaml.doc"Information about logs for the build project. These can be logs in CloudWatch Logs, logs uploaded to a specified S3 bucket, or both."];fileSystemLocations:ProjectFileSystemLocations.toption[@ocaml.doc"An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."];buildBatchConfig:ProjectBuildBatchConfig.toption[@ocaml.doc"A ProjectBuildBatchConfig object that defines the batch build options for the project."];concurrentBuildLimit:WrapperInt.toption[@ocaml.doc"The maximum number of concurrent builds that are allowed for this project. New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run."];autoRetryLimit:WrapperInt.toption[@ocaml.doc"The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the RetryBuild API to automatically retry your build for up to 2 additional times."]}letcontext_="CreateProjectInput"letmake?description=fun?secondarySources->fun?sourceVersion->fun?secondarySourceVersions->fun?secondaryArtifacts->fun?cache->fun?timeoutInMinutes->fun?queuedTimeoutInMinutes->fun?encryptionKey->fun?tags->fun?vpcConfig->fun?badgeEnabled->fun?logsConfig->fun?fileSystemLocations->fun?buildBatchConfig->fun?concurrentBuildLimit->fun?autoRetryLimit->fun~name->fun~source->fun~artifacts->fun~environment->fun~serviceRole->fun()->{description;secondarySources;sourceVersion;secondarySourceVersions;secondaryArtifacts;cache;timeoutInMinutes;queuedTimeoutInMinutes;encryptionKey;tags;vpcConfig;badgeEnabled;logsConfig;fileSystemLocations;buildBatchConfig;concurrentBuildLimit;autoRetryLimit;name;source;artifacts;environment;serviceRole}letto_valuex=structure_to_value[("name",(Some(ProjectName.to_valuex.name)));("description",(Option.mapx.description~f:ProjectDescription.to_value));("source",(Some(ProjectSource.to_valuex.source)));("secondarySources",(Option.mapx.secondarySources~f:ProjectSources.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:String_.to_value));("secondarySourceVersions",(Option.mapx.secondarySourceVersions~f:ProjectSecondarySourceVersions.to_value));("artifacts",(Some(ProjectArtifacts.to_valuex.artifacts)));("secondaryArtifacts",(Option.mapx.secondaryArtifacts~f:ProjectArtifactsList.to_value));("cache",(Option.mapx.cache~f:ProjectCache.to_value));("environment",(Some(ProjectEnvironment.to_valuex.environment)));("serviceRole",(Some(NonEmptyString.to_valuex.serviceRole)));("timeoutInMinutes",(Option.mapx.timeoutInMinutes~f:BuildTimeOut.to_value));("queuedTimeoutInMinutes",(Option.mapx.queuedTimeoutInMinutes~f:TimeOut.to_value));("encryptionKey",(Option.mapx.encryptionKey~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("badgeEnabled",(Option.mapx.badgeEnabled~f:WrapperBoolean.to_value));("logsConfig",(Option.mapx.logsConfig~f:LogsConfig.to_value));("fileSystemLocations",(Option.mapx.fileSystemLocations~f:ProjectFileSystemLocations.to_value));("buildBatchConfig",(Option.mapx.buildBatchConfig~f:ProjectBuildBatchConfig.to_value));("concurrentBuildLimit",(Option.mapx.concurrentBuildLimit~f:WrapperInt.to_value));("autoRetryLimit",(Option.mapx.autoRetryLimit~f:WrapperInt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoRetryLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"autoRetryLimit")inletconcurrentBuildLimit=(Option.map~f:WrapperInt.of_xml)(Xml.childxml_arg0"concurrentBuildLimit")inletbuildBatchConfig=(Option.map~f:ProjectBuildBatchConfig.of_xml)(Xml.childxml_arg0"buildBatchConfig")inletfileSystemLocations=(Option.map~f:ProjectFileSystemLocations.of_xml)(Xml.childxml_arg0"fileSystemLocations")inletlogsConfig=(Option.map~f:LogsConfig.of_xml)(Xml.childxml_arg0"logsConfig")inletbadgeEnabled=(Option.map~f:WrapperBoolean.of_xml)(Xml.childxml_arg0"badgeEnabled")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletencryptionKey=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"encryptionKey")inletqueuedTimeoutInMinutes=(Option.map~f:TimeOut.of_xml)(Xml.childxml_arg0"queuedTimeoutInMinutes")inlettimeoutInMinutes=(Option.map~f:BuildTimeOut.of_xml)(Xml.childxml_arg0"timeoutInMinutes")inletserviceRole=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"serviceRole")inletenvironment=ProjectEnvironment.of_xml(Xml.child_exn~context:context_xml_arg0"environment")inletcache=(Option.map~f:ProjectCache.of_xml)(Xml.childxml_arg0"cache")inletsecondaryArtifacts=(Option.map~f:ProjectArtifactsList.of_xml)(Xml.childxml_arg0"secondaryArtifacts")inletartifacts=ProjectArtifacts.of_xml(Xml.child_exn~context:context_xml_arg0"artifacts")inletsecondarySourceVersions=(Option.map~f:ProjectSecondarySourceVersions.of_xml)(Xml.childxml_arg0"secondarySourceVersions")inletsourceVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"sourceVersion")inletsecondarySources=(Option.map~f:ProjectSources.of_xml)(Xml.childxml_arg0"secondarySources")inletsource=ProjectSource.of_xml(Xml.child_exn~context:context_xml_arg0"source")inletdescription=(Option.map~f:ProjectDescription.of_xml)(Xml.childxml_arg0"description")inletname=ProjectName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?autoRetryLimit?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badgeEnabled?vpcConfig?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes~serviceRole~environment?cache?secondaryArtifacts~artifacts?secondarySourceVersions?sourceVersion?secondarySources~source?description~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoRetryLimit=field_mapjson__"autoRetryLimit"WrapperInt.of_jsoninletconcurrentBuildLimit=field_mapjson__"concurrentBuildLimit"WrapperInt.of_jsoninletbuildBatchConfig=field_mapjson__"buildBatchConfig"ProjectBuildBatchConfig.of_jsoninletfileSystemLocations=field_mapjson__"fileSystemLocations"ProjectFileSystemLocations.of_jsoninletlogsConfig=field_mapjson__"logsConfig"LogsConfig.of_jsoninletbadgeEnabled=field_mapjson__"badgeEnabled"WrapperBoolean.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninlettags=field_mapjson__"tags"TagList.of_jsoninletencryptionKey=field_mapjson__"encryptionKey"NonEmptyString.of_jsoninletqueuedTimeoutInMinutes=field_mapjson__"queuedTimeoutInMinutes"TimeOut.of_jsoninlettimeoutInMinutes=field_mapjson__"timeoutInMinutes"BuildTimeOut.of_jsoninletserviceRole=field_map_exnjson__"serviceRole"NonEmptyString.of_jsoninletenvironment=field_map_exnjson__"environment"ProjectEnvironment.of_jsoninletcache=field_mapjson__"cache"ProjectCache.of_jsoninletsecondaryArtifacts=field_mapjson__"secondaryArtifacts"ProjectArtifactsList.of_jsoninletartifacts=field_map_exnjson__"artifacts"ProjectArtifacts.of_jsoninletsecondarySourceVersions=field_mapjson__"secondarySourceVersions"ProjectSecondarySourceVersions.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"String_.of_jsoninletsecondarySources=field_mapjson__"secondarySources"ProjectSources.of_jsoninletsource=field_map_exnjson__"source"ProjectSource.of_jsoninletdescription=field_mapjson__"description"ProjectDescription.of_jsoninletname=field_map_exnjson__"name"ProjectName.of_jsoninmake?autoRetryLimit?concurrentBuildLimit?buildBatchConfig?fileSystemLocations?logsConfig?badgeEnabled?vpcConfig?tags?encryptionKey?queuedTimeoutInMinutes?timeoutInMinutes~serviceRole~environment?cache?secondaryArtifacts~artifacts?secondarySourceVersions?sourceVersion?secondarySources~source?description~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a build project."]moduleCreateFleetOutput=structtypenonrect={fleet:Fleet.toption[@ocaml.doc"Information about the compute fleet"]}typenonrecerror=[`AccountLimitExceededExceptionofAccountLimitExceededException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?fleet=fun()->{fleet}leterror_of_jsonnamejson=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountLimitExceededException"->`AccountLimitExceededException(AccountLimitExceededException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountLimitExceededExceptione->`Assoc[("error",(`String"AccountLimitExceededException"));("details",(AccountLimitExceededException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("fleet",(Option.mapx.fleet~f:Fleet.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleet=(Option.map~f:Fleet.of_xml)(Xml.childxml_arg0"fleet")inmake?fleet()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleet=field_mapjson__"fleet"Fleet.of_jsoninmake?fleet()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a compute fleet."]moduleCreateFleetInput=structtypenonrect={name:FleetName.t[@ocaml.doc"The name of the compute fleet."];baseCapacity:FleetCapacity.t[@ocaml.doc"The initial number of machines allocated to the \239\172\130eet, which de\239\172\129nes the number of builds that can run in parallel."];environmentType:EnvironmentType.t[@ocaml.doc"The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (S\195\163o Paulo). The environment type ARM_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type MAC_ARM is available for Medium fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), and EU (Frankfurt) The environment type MAC_ARM is available for Large fleets only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and Asia Pacific (Sydney). The environment type WINDOWS_EC2 is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (S\195\163o Paulo), and Asia Pacific (Mumbai). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (S\195\163o Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide."];computeType:ComputeType.t[@ocaml.doc"Information about the compute resources the compute fleet uses. Available values include: ATTRIBUTE_BASED_COMPUTE: Specify the amount of vCPUs, memory, disk space, and the type of machine. If you use ATTRIBUTE_BASED_COMPUTE, you must define your attributes by using computeConfiguration. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the CodeBuild User Guide. CUSTOM_INSTANCE_TYPE: Specify the instance type for your compute fleet. For a list of supported instance types, see Supported instance families in the CodeBuild User Guide. BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GiB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see On-demand environment types in the CodeBuild User Guide."];computeConfiguration:ComputeConfiguration.toption[@ocaml.doc"The compute configuration of the compute fleet. This is only required if computeType is set to ATTRIBUTE_BASED_COMPUTE or CUSTOM_INSTANCE_TYPE."];scalingConfiguration:ScalingConfigurationInput.toption[@ocaml.doc"The scaling configuration of the compute fleet."];overflowBehavior:FleetOverflowBehavior.toption[@ocaml.doc"The compute fleet overflow behavior. For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance to become available. For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface."];vpcConfig:VpcConfig.toption;proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The proxy configuration of the compute fleet."];imageId:NonEmptyString.toption[@ocaml.doc"The Amazon Machine Image (AMI) of the compute fleet."];fleetServiceRole:NonEmptyString.toption[@ocaml.doc"The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide."];tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags."]}letcontext_="CreateFleetInput"letmake?computeConfiguration=fun?scalingConfiguration->fun?overflowBehavior->fun?vpcConfig->fun?proxyConfiguration->fun?imageId->fun?fleetServiceRole->fun?tags->fun~name->fun~baseCapacity->fun~environmentType->fun~computeType->fun()->{computeConfiguration;scalingConfiguration;overflowBehavior;vpcConfig;proxyConfiguration;imageId;fleetServiceRole;tags;name;baseCapacity;environmentType;computeType}letto_valuex=structure_to_value[("name",(Some(FleetName.to_valuex.name)));("baseCapacity",(Some(FleetCapacity.to_valuex.baseCapacity)));("environmentType",(Some(EnvironmentType.to_valuex.environmentType)));("computeType",(Some(ComputeType.to_valuex.computeType)));("computeConfiguration",(Option.mapx.computeConfiguration~f:ComputeConfiguration.to_value));("scalingConfiguration",(Option.mapx.scalingConfiguration~f:ScalingConfigurationInput.to_value));("overflowBehavior",(Option.mapx.overflowBehavior~f:FleetOverflowBehavior.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("proxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("imageId",(Option.mapx.imageId~f:NonEmptyString.to_value));("fleetServiceRole",(Option.mapx.fleetServiceRole~f:NonEmptyString.to_value));("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inletfleetServiceRole=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"fleetServiceRole")inletimageId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"imageId")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"proxyConfiguration")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletoverflowBehavior=(Option.map~f:FleetOverflowBehavior.of_xml)(Xml.childxml_arg0"overflowBehavior")inletscalingConfiguration=(Option.map~f:ScalingConfigurationInput.of_xml)(Xml.childxml_arg0"scalingConfiguration")inletcomputeConfiguration=(Option.map~f:ComputeConfiguration.of_xml)(Xml.childxml_arg0"computeConfiguration")inletcomputeType=ComputeType.of_xml(Xml.child_exn~context:context_xml_arg0"computeType")inletenvironmentType=EnvironmentType.of_xml(Xml.child_exn~context:context_xml_arg0"environmentType")inletbaseCapacity=FleetCapacity.of_xml(Xml.child_exn~context:context_xml_arg0"baseCapacity")inletname=FleetName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration~computeType~environmentType~baseCapacity~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletfleetServiceRole=field_mapjson__"fleetServiceRole"NonEmptyString.of_jsoninletimageId=field_mapjson__"imageId"NonEmptyString.of_jsoninletproxyConfiguration=field_mapjson__"proxyConfiguration"ProxyConfiguration.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletoverflowBehavior=field_mapjson__"overflowBehavior"FleetOverflowBehavior.of_jsoninletscalingConfiguration=field_mapjson__"scalingConfiguration"ScalingConfigurationInput.of_jsoninletcomputeConfiguration=field_mapjson__"computeConfiguration"ComputeConfiguration.of_jsoninletcomputeType=field_map_exnjson__"computeType"ComputeType.of_jsoninletenvironmentType=field_map_exnjson__"environmentType"EnvironmentType.of_jsoninletbaseCapacity=field_map_exnjson__"baseCapacity"FleetCapacity.of_jsoninletname=field_map_exnjson__"name"FleetName.of_jsoninmake?tags?fleetServiceRole?imageId?proxyConfiguration?vpcConfig?overflowBehavior?scalingConfiguration?computeConfiguration~computeType~environmentType~baseCapacity~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a compute fleet."]moduleBatchGetSandboxesOutput=structtypenonrect={sandboxes:Sandboxes.toption[@ocaml.doc"Information about the requested sandboxes."];sandboxesNotFound:SandboxIds.toption[@ocaml.doc"The IDs of sandboxes for which information could not be found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sandboxes=fun?sandboxesNotFound->fun()->{sandboxes;sandboxesNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("sandboxes",(Option.mapx.sandboxes~f:Sandboxes.to_value));("sandboxesNotFound",(Option.mapx.sandboxesNotFound~f:SandboxIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsandboxesNotFound=(Option.map~f:SandboxIds.of_xml)(Xml.childxml_arg0"sandboxesNotFound")inletsandboxes=(Option.map~f:Sandboxes.of_xml)(Xml.childxml_arg0"sandboxes")inmake?sandboxesNotFound?sandboxes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsandboxesNotFound=field_mapjson__"sandboxesNotFound"SandboxIds.of_jsoninletsandboxes=field_mapjson__"sandboxes"Sandboxes.of_jsoninmake?sandboxesNotFound?sandboxes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the sandbox status."]moduleBatchGetSandboxesInput=structtypenonrect={ids:SandboxIds.t[@ocaml.doc"A comma separated list of sandboxIds or sandboxArns."]}letcontext_="BatchGetSandboxesInput"letmake~ids=fun()->{ids}letto_valuex=structure_to_value[("ids",(Some(SandboxIds.to_valuex.ids)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letids=SandboxIds.of_xml(Xml.child_exn~context:context_xml_arg0"ids")inmake~ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letids=field_map_exnjson__"ids"SandboxIds.of_jsoninmake~ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the sandbox status."]moduleBatchGetReportsOutput=structtypenonrect={reports:Reports.toption[@ocaml.doc"The array of Report objects returned by BatchGetReports."];reportsNotFound:ReportArns.toption[@ocaml.doc"An array of ARNs passed to BatchGetReportGroups that are not associated with a Report."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reports=fun?reportsNotFound->fun()->{reports;reportsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reports",(Option.mapx.reports~f:Reports.to_value));("reportsNotFound",(Option.mapx.reportsNotFound~f:ReportArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportsNotFound=(Option.map~f:ReportArns.of_xml)(Xml.childxml_arg0"reportsNotFound")inletreports=(Option.map~f:Reports.of_xml)(Xml.childxml_arg0"reports")inmake?reportsNotFound?reports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportsNotFound=field_mapjson__"reportsNotFound"ReportArns.of_jsoninletreports=field_mapjson__"reports"Reports.of_jsoninmake?reportsNotFound?reports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of reports."]moduleBatchGetReportsInput=structtypenonrect={reportArns:ReportArns.t[@ocaml.doc"An array of ARNs that identify the Report objects to return."]}letcontext_="BatchGetReportsInput"letmake~reportArns=fun()->{reportArns}letto_valuex=structure_to_value[("reportArns",(Some(ReportArns.to_valuex.reportArns)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportArns=ReportArns.of_xml(Xml.child_exn~context:context_xml_arg0"reportArns")inmake~reportArns()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportArns=field_map_exnjson__"reportArns"ReportArns.of_jsoninmake~reportArns()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of reports."]moduleBatchGetReportGroupsOutput=structtypenonrect={reportGroups:ReportGroups.toption[@ocaml.doc"The array of report groups returned by BatchGetReportGroups."];reportGroupsNotFound:ReportGroupArns.toption[@ocaml.doc"An array of ARNs passed to BatchGetReportGroups that are not associated with a ReportGroup."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportGroups=fun?reportGroupsNotFound->fun()->{reportGroups;reportGroupsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reportGroups",(Option.mapx.reportGroups~f:ReportGroups.to_value));("reportGroupsNotFound",(Option.mapx.reportGroupsNotFound~f:ReportGroupArns.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroupsNotFound=(Option.map~f:ReportGroupArns.of_xml)(Xml.childxml_arg0"reportGroupsNotFound")inletreportGroups=(Option.map~f:ReportGroups.of_xml)(Xml.childxml_arg0"reportGroups")inmake?reportGroupsNotFound?reportGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroupsNotFound=field_mapjson__"reportGroupsNotFound"ReportGroupArns.of_jsoninletreportGroups=field_mapjson__"reportGroups"ReportGroups.of_jsoninmake?reportGroupsNotFound?reportGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of report groups."]moduleBatchGetReportGroupsInput=structtypenonrect={reportGroupArns:ReportGroupArns.t[@ocaml.doc"An array of report group ARNs that identify the report groups to return."]}letcontext_="BatchGetReportGroupsInput"letmake~reportGroupArns=fun()->{reportGroupArns}letto_valuex=structure_to_value[("reportGroupArns",(Some(ReportGroupArns.to_valuex.reportGroupArns)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportGroupArns=ReportGroupArns.of_xml(Xml.child_exn~context:context_xml_arg0"reportGroupArns")inmake~reportGroupArns()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportGroupArns=field_map_exnjson__"reportGroupArns"ReportGroupArns.of_jsoninmake~reportGroupArns()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of report groups."]moduleBatchGetProjectsOutput=structtypenonrect={projects:Projects.toption[@ocaml.doc"Information about the requested build projects."];projectsNotFound:ProjectNames.toption[@ocaml.doc"The names of build projects for which information could not be found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projects=fun?projectsNotFound->fun()->{projects;projectsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("projects",(Option.mapx.projects~f:Projects.to_value));("projectsNotFound",(Option.mapx.projectsNotFound~f:ProjectNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectsNotFound=(Option.map~f:ProjectNames.of_xml)(Xml.childxml_arg0"projectsNotFound")inletprojects=(Option.map~f:Projects.of_xml)(Xml.childxml_arg0"projects")inmake?projectsNotFound?projects()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectsNotFound=field_mapjson__"projectsNotFound"ProjectNames.of_jsoninletprojects=field_mapjson__"projects"Projects.of_jsoninmake?projectsNotFound?projects()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more build projects."]moduleBatchGetProjectsInput=structtypenonrect={names:ProjectNames.t[@ocaml.doc"The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services account, its ARN must be specified. You cannot specify a shared project using its name."]}letcontext_="BatchGetProjectsInput"letmake~names=fun()->{names}letto_valuex=structure_to_value[("names",(Some(ProjectNames.to_valuex.names)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnames=ProjectNames.of_xml(Xml.child_exn~context:context_xml_arg0"names")inmake~names()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnames=field_map_exnjson__"names"ProjectNames.of_jsoninmake~names()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more build projects."]moduleBatchGetFleetsOutput=structtypenonrect={fleets:Fleets.toption[@ocaml.doc"Information about the requested compute fleets."];fleetsNotFound:FleetNames.toption[@ocaml.doc"The names of compute fleets for which information could not be found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?fleets=fun?fleetsNotFound->fun()->{fleets;fleetsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("fleets",(Option.mapx.fleets~f:Fleets.to_value));("fleetsNotFound",(Option.mapx.fleetsNotFound~f:FleetNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfleetsNotFound=(Option.map~f:FleetNames.of_xml)(Xml.childxml_arg0"fleetsNotFound")inletfleets=(Option.map~f:Fleets.of_xml)(Xml.childxml_arg0"fleets")inmake?fleetsNotFound?fleets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfleetsNotFound=field_mapjson__"fleetsNotFound"FleetNames.of_jsoninletfleets=field_mapjson__"fleets"Fleets.of_jsoninmake?fleetsNotFound?fleets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more compute fleets."]moduleBatchGetFleetsInput=structtypenonrect={names:FleetNames.t[@ocaml.doc"The names or ARNs of the compute fleets."]}letcontext_="BatchGetFleetsInput"letmake~names=fun()->{names}letto_valuex=structure_to_value[("names",(Some(FleetNames.to_valuex.names)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnames=FleetNames.of_xml(Xml.child_exn~context:context_xml_arg0"names")inmake~names()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnames=field_map_exnjson__"names"FleetNames.of_jsoninmake~names()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more compute fleets."]moduleBatchGetCommandExecutionsOutput=structtypenonrect={commandExecutions:CommandExecutions.toption[@ocaml.doc"Information about the requested command executions."];commandExecutionsNotFound:CommandExecutionIds.toption[@ocaml.doc"The IDs of command executions for which information could not be found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?commandExecutions=fun?commandExecutionsNotFound->fun()->{commandExecutions;commandExecutionsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("commandExecutions",(Option.mapx.commandExecutions~f:CommandExecutions.to_value));("commandExecutionsNotFound",(Option.mapx.commandExecutionsNotFound~f:CommandExecutionIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommandExecutionsNotFound=(Option.map~f:CommandExecutionIds.of_xml)(Xml.childxml_arg0"commandExecutionsNotFound")inletcommandExecutions=(Option.map~f:CommandExecutions.of_xml)(Xml.childxml_arg0"commandExecutions")inmake?commandExecutionsNotFound?commandExecutions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommandExecutionsNotFound=field_mapjson__"commandExecutionsNotFound"CommandExecutionIds.of_jsoninletcommandExecutions=field_mapjson__"commandExecutions"CommandExecutions.of_jsoninmake?commandExecutionsNotFound?commandExecutions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the command executions."]moduleBatchGetCommandExecutionsInput=structtypenonrect={sandboxId:NonEmptyString.t[@ocaml.doc"A sandboxId or sandboxArn."];commandExecutionIds:CommandExecutionIds.t[@ocaml.doc"A comma separated list of commandExecutionIds."]}letcontext_="BatchGetCommandExecutionsInput"letmake~sandboxId=fun~commandExecutionIds->fun()->{sandboxId;commandExecutionIds}letto_valuex=structure_to_value[("sandboxId",(Some(NonEmptyString.to_valuex.sandboxId)));("commandExecutionIds",(Some(CommandExecutionIds.to_valuex.commandExecutionIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcommandExecutionIds=CommandExecutionIds.of_xml(Xml.child_exn~context:context_xml_arg0"commandExecutionIds")inletsandboxId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sandboxId")inmake~commandExecutionIds~sandboxId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcommandExecutionIds=field_map_exnjson__"commandExecutionIds"CommandExecutionIds.of_jsoninletsandboxId=field_map_exnjson__"sandboxId"NonEmptyString.of_jsoninmake~commandExecutionIds~sandboxId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the command executions."]moduleBatchGetBuildsOutput=structtypenonrect={builds:Builds.toption[@ocaml.doc"Information about the requested builds."];buildsNotFound:BuildIds.toption[@ocaml.doc"The IDs of builds for which information could not be found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?builds=fun?buildsNotFound->fun()->{builds;buildsNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("builds",(Option.mapx.builds~f:Builds.to_value));("buildsNotFound",(Option.mapx.buildsNotFound~f:BuildIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildsNotFound=(Option.map~f:BuildIds.of_xml)(Xml.childxml_arg0"buildsNotFound")inletbuilds=(Option.map~f:Builds.of_xml)(Xml.childxml_arg0"builds")inmake?buildsNotFound?builds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildsNotFound=field_mapjson__"buildsNotFound"BuildIds.of_jsoninletbuilds=field_mapjson__"builds"Builds.of_jsoninmake?buildsNotFound?builds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more builds."]moduleBatchGetBuildsInput=structtypenonrect={ids:BuildIds.t[@ocaml.doc"The IDs of the builds."]}letcontext_="BatchGetBuildsInput"letmake~ids=fun()->{ids}letto_valuex=structure_to_value[("ids",(Some(BuildIds.to_valuex.ids)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letids=BuildIds.of_xml(Xml.child_exn~context:context_xml_arg0"ids")inmake~ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letids=field_map_exnjson__"ids"BuildIds.of_jsoninmake~ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about one or more builds."]moduleBatchGetBuildBatchesOutput=structtypenonrect={buildBatches:BuildBatches.toption[@ocaml.doc"An array of BuildBatch objects that represent the retrieved batch builds."];buildBatchesNotFound:BuildBatchIds.toption[@ocaml.doc"An array that contains the identifiers of any batch builds that are not found."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?buildBatches=fun?buildBatchesNotFound->fun()->{buildBatches;buildBatchesNotFound}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("buildBatches",(Option.mapx.buildBatches~f:BuildBatches.to_value));("buildBatchesNotFound",(Option.mapx.buildBatchesNotFound~f:BuildBatchIds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildBatchesNotFound=(Option.map~f:BuildBatchIds.of_xml)(Xml.childxml_arg0"buildBatchesNotFound")inletbuildBatches=(Option.map~f:BuildBatches.of_xml)(Xml.childxml_arg0"buildBatches")inmake?buildBatchesNotFound?buildBatches()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildBatchesNotFound=field_mapjson__"buildBatchesNotFound"BuildBatchIds.of_jsoninletbuildBatches=field_mapjson__"buildBatches"BuildBatches.of_jsoninmake?buildBatchesNotFound?buildBatches()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about one or more batch builds."]moduleBatchGetBuildBatchesInput=structtypenonrect={ids:BuildBatchIds.t[@ocaml.doc"An array that contains the batch build identifiers to retrieve."]}letcontext_="BatchGetBuildBatchesInput"letmake~ids=fun()->{ids}letto_valuex=structure_to_value[("ids",(Some(BuildBatchIds.to_valuex.ids)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letids=BuildBatchIds.of_xml(Xml.child_exn~context:context_xml_arg0"ids")inmake~ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letids=field_map_exnjson__"ids"BuildBatchIds.of_jsoninmake~ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about one or more batch builds."]moduleBatchDeleteBuildsOutput=structtypenonrect={buildsDeleted:BuildIds.toption[@ocaml.doc"The IDs of the builds that were successfully deleted."];buildsNotDeleted:BuildsNotDeleted.toption[@ocaml.doc"Information about any builds that could not be successfully deleted."]}typenonrecerror=[`InvalidInputExceptionofInvalidInputException.t|`Unknown_operation_errorof(string*stringoption)]letmake?buildsDeleted=fun?buildsNotDeleted->fun()->{buildsDeleted;buildsNotDeleted}leterror_of_jsonnamejson=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("buildsDeleted",(Option.mapx.buildsDeleted~f:BuildIds.to_value));("buildsNotDeleted",(Option.mapx.buildsNotDeleted~f:BuildsNotDeleted.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbuildsNotDeleted=(Option.map~f:BuildsNotDeleted.of_xml)(Xml.childxml_arg0"buildsNotDeleted")inletbuildsDeleted=(Option.map~f:BuildIds.of_xml)(Xml.childxml_arg0"buildsDeleted")inmake?buildsNotDeleted?buildsDeleted()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbuildsNotDeleted=field_mapjson__"buildsNotDeleted"BuildsNotDeleted.of_jsoninletbuildsDeleted=field_mapjson__"buildsDeleted"BuildIds.of_jsoninmake?buildsNotDeleted?buildsDeleted()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes one or more builds."]moduleBatchDeleteBuildsInput=structtypenonrect={ids:BuildIds.t[@ocaml.doc"The IDs of the builds to delete."]}letcontext_="BatchDeleteBuildsInput"letmake~ids=fun()->{ids}letto_valuex=structure_to_value[("ids",(Some(BuildIds.to_valuex.ids)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letids=BuildIds.of_xml(Xml.child_exn~context:context_xml_arg0"ids")inmake~ids()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letids=field_map_exnjson__"ids"BuildIds.of_jsoninmake~ids()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes one or more builds."]