1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103(* 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.codestar_connectionsletapiVersion="2019-12-01"letendpointPrefix="codestar-connections"letserviceFullName="AWS CodeStar connections"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"lettargetPrefix="com.amazonaws.codestar.connections.CodeStar_connections_20191201"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[]))])moduleSyncBlockerContextKey=structtypenonrect=stringletcontext_="SyncBlockerContextKey"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:"SyncBlockerContextKey"jletto_json=simple_to_jsonto_valueendmoduleSyncBlockerContextValue=structtypenonrect=stringletcontext_="SyncBlockerContextValue"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:"SyncBlockerContextValue"jletto_json=simple_to_jsonto_valueendmoduleSecurityGroupId=structtypenonrect=stringletcontext_="SecurityGroupId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:11)>>=(fun()->(check_string_maxi~max:20)>>=(fun()->check_patterni~pattern:"sg-\\w{8}(\\w{9})?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SecurityGroupId"jletto_json=simple_to_jsonto_valueendmoduleSubnetId=structtypenonrect=stringletcontext_="SubnetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:15)>>=(fun()->(check_string_maxi~max:24)>>=(fun()->check_patterni~pattern:"subnet-\\w{8}(\\w{9})?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SubnetId"jletto_json=simple_to_jsonto_valueendmoduleSyncBlockerContext=structtypenonrect={key:SyncBlockerContextKey.toption[@ocaml.doc"The key provided for a context key-value pair for a specific sync blocker."];value:SyncBlockerContextValue.toption[@ocaml.doc"The value provided for a context key-value pair for a specific sync blocker."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:SyncBlockerContextKey.to_value));("Value",(Option.mapx.value~f:SyncBlockerContextValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:SyncBlockerContextValue.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:SyncBlockerContextKey.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"SyncBlockerContextValue.of_jsoninletkey=field_mapjson__"Key"SyncBlockerContextKey.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The context for a specific sync blocker."]moduleSecurityGroupIds=structtypenonrect=SecurityGroupId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:SecurityGroupId.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:SecurityGroupId.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroupIds"~of_json:SecurityGroupId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubnetIds=structtypenonrect=SubnetId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:SubnetId.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:SubnetId.of_xml)letof_jsonj=list_of_json~kind:"SubnetIds"~of_json:SubnetId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTlsCertificate=structtypenonrect=stringletcontext_="TlsCertificate"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:16384)>>=(fun()->check_patterni~pattern:"[\\s\\S]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TlsCertificate"jletto_json=simple_to_jsonto_valueendmoduleVpcId=structtypenonrect=stringletcontext_="VpcId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:21)>>=(fun()->check_patterni~pattern:"vpc-\\w{8}(\\w{9})?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VpcId"jletto_json=simple_to_jsonto_valueendmoduleBlockerStatus=structtypenonrect=|ACTIVE|RESOLVED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|RESOLVED->"RESOLVED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"RESOLVED"->RESOLVED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration BlockerStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlockerStatus"j)letto_json=simple_to_jsonto_valueendmoduleBlockerType=structtypenonrect=|AUTOMATED|Non_static_idofstringletmakei=iletto_string=function|AUTOMATED->"AUTOMATED"|Non_static_ids->sletof_string=function|"AUTOMATED"->AUTOMATED|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 BlockerType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlockerType"j)letto_json=simple_to_jsonto_valueendmoduleCreatedReason=structtypenonrect=stringletcontext_="CreatedReason"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:"CreatedReason"jletto_json=simple_to_jsonto_valueendmoduleId=structtypenonrect=stringletcontext_="Id"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Id"jletto_json=simple_to_jsonto_valueendmoduleResolvedReason=structtypenonrect=stringletcontext_="ResolvedReason"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:250)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResolvedReason"jletto_json=simple_to_jsonto_valueendmoduleSyncBlockerContextList=structtypenonrect=SyncBlockerContext.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SyncBlockerContext.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:SyncBlockerContext.of_xml)letof_jsonj=list_of_json~kind:"SyncBlockerContextList"~of_json:SyncBlockerContext.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTimestamp=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleEvent=structtypenonrect=stringletcontext_="Event"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:"Event"jletto_json=simple_to_jsonto_valueendmoduleExternalId=structtypenonrect=stringletcontext_="ExternalId"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:"ExternalId"jletto_json=simple_to_jsonto_valueendmoduleType=structtypenonrect=stringletcontext_="Type"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:"Type"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleBranchName=structtypenonrect=stringletcontext_="BranchName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BranchName"jletto_json=simple_to_jsonto_valueendmoduleDeploymentFilePath=structtypenonrect=stringletcontext_="DeploymentFilePath"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:"DeploymentFilePath"jletto_json=simple_to_jsonto_valueendmoduleIamRoleArn=structtypenonrect=stringletcontext_="IamRoleArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:iam::\\d{12}:role/[a-zA-Z_0-9+=,.@\\-_/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IamRoleArn"jletto_json=simple_to_jsonto_valueendmoduleOwnerId=structtypenonrect=stringletcontext_="OwnerId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OwnerId"jletto_json=simple_to_jsonto_valueendmoduleProviderType=structtypenonrect=|Bitbucket|GitHub|GitHubEnterpriseServer|GitLab|GitLabSelfManaged|Non_static_idofstringletmakei=iletto_string=function|Bitbucket->"Bitbucket"|GitHub->"GitHub"|GitHubEnterpriseServer->"GitHubEnterpriseServer"|GitLab->"GitLab"|GitLabSelfManaged->"GitLabSelfManaged"|Non_static_ids->sletof_string=function|"Bitbucket"->Bitbucket|"GitHub"->GitHub|"GitHubEnterpriseServer"->GitHubEnterpriseServer|"GitLab"->GitLab|"GitLabSelfManaged"->GitLabSelfManaged|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 ProviderType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProviderType"j)letto_json=simple_to_jsonto_valueendmodulePublishDeploymentStatus=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 PublishDeploymentStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PublishDeploymentStatus"j)letto_json=simple_to_jsonto_valueendmoduleRepositoryLinkId=structtypenonrect=stringletcontext_="RepositoryLinkId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RepositoryLinkId"jletto_json=simple_to_jsonto_valueendmoduleRepositoryName=structtypenonrect=stringletcontext_="RepositoryName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RepositoryName"jletto_json=simple_to_jsonto_valueendmoduleResourceName=structtypenonrect=stringletcontext_="ResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:100)>>=(fun()->check_patterni~pattern:"^[0-9A-Za-z]+[0-9A-Za-z_\\\\-]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceName"jletto_json=simple_to_jsonto_valueendmoduleSyncConfigurationType=structtypenonrect=|CFN_STACK_SYNC|Non_static_idofstringletmakei=iletto_string=function|CFN_STACK_SYNC->"CFN_STACK_SYNC"|Non_static_ids->sletof_string=function|"CFN_STACK_SYNC"->CFN_STACK_SYNC|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SyncConfigurationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SyncConfigurationType"j)letto_json=simple_to_jsonto_valueendmoduleTriggerResourceUpdateOn=structtypenonrect=|ANY_CHANGE|FILE_CHANGE|Non_static_idofstringletmakei=iletto_string=function|ANY_CHANGE->"ANY_CHANGE"|FILE_CHANGE->"FILE_CHANGE"|Non_static_ids->sletof_string=function|"ANY_CHANGE"->ANY_CHANGE|"FILE_CHANGE"->FILE_CHANGE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TriggerResourceUpdateOn"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TriggerResourceUpdateOn"j)letto_json=simple_to_jsonto_valueendmoduleDirectory=structtypenonrect=stringletcontext_="Directory"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:"Directory"jletto_json=simple_to_jsonto_valueendmoduleParent=structtypenonrect=stringletcontext_="Parent"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:"Parent"jletto_json=simple_to_jsonto_valueendmoduleTarget=structtypenonrect=stringletcontext_="Target"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:"Target"jletto_json=simple_to_jsonto_valueendmoduleConnectionArn=structtypenonrect=stringletcontext_="ConnectionArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionArn"jletto_json=simple_to_jsonto_valueendmoduleKmsKeyArn=structtypenonrect=stringletcontext_="KmsKeyArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:kms:[a-z\\-0-9]+:\\d{12}:key/[a-zA-Z0-9\\-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KmsKeyArn"jletto_json=simple_to_jsonto_valueendmoduleRepositoryLinkArn=structtypenonrect=stringletcontext_="RepositoryLinkArn"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^arn:aws(?:-[a-z]+)*:codestar-connections:[a-z\\-0-9]+:\\d{12}:repository-link\\/[a-zA-Z0-9\\-:/]+");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RepositoryLinkArn"jletto_json=simple_to_jsonto_valueendmoduleHostArn=structtypenonrect=stringletcontext_="HostArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:codestar-connections:.+:[0-9]{12}:host\\/.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HostArn"jletto_json=simple_to_jsonto_valueendmoduleHostName=structtypenonrect=stringletcontext_="HostName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HostName"jletto_json=simple_to_jsonto_valueendmoduleHostStatus=structtypenonrect=stringletcontext_="HostStatus"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HostStatus"jletto_json=simple_to_jsonto_valueendmoduleHostStatusMessage=structtypenonrect=stringletcontext_="HostStatusMessage"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:"HostStatusMessage"jletto_json=simple_to_jsonto_valueendmoduleUrl=structtypenonrect=stringletcontext_="Url"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Url"jletto_json=simple_to_jsonto_valueendmoduleVpcConfiguration=structtypenonrect={vpcId:VpcId.t[@ocaml.doc"The ID of the Amazon VPC connected to the infrastructure where your provider type is installed."];subnetIds:SubnetIds.t[@ocaml.doc"The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed."];securityGroupIds:SecurityGroupIds.t[@ocaml.doc"The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed."];tlsCertificate:TlsCertificate.toption[@ocaml.doc"The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed."]}letcontext_="VpcConfiguration"letmake?tlsCertificate=fun~vpcId->fun~subnetIds->fun~securityGroupIds->fun()->{tlsCertificate;vpcId;subnetIds;securityGroupIds}letto_valuex=structure_to_value[("VpcId",(Some(VpcId.to_valuex.vpcId)));("SubnetIds",(Some(SubnetIds.to_valuex.subnetIds)));("SecurityGroupIds",(Some(SecurityGroupIds.to_valuex.securityGroupIds)));("TlsCertificate",(Option.mapx.tlsCertificate~f:TlsCertificate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettlsCertificate=(Option.map~f:TlsCertificate.of_xml)(Xml.childxml_arg0"TlsCertificate")inletsecurityGroupIds=SecurityGroupIds.of_xml(Xml.child_exn~context:context_xml_arg0"SecurityGroupIds")inletsubnetIds=SubnetIds.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetIds")inletvpcId=VpcId.of_xml(Xml.child_exn~context:context_xml_arg0"VpcId")inmake?tlsCertificate~securityGroupIds~subnetIds~vpcId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettlsCertificate=field_mapjson__"TlsCertificate"TlsCertificate.of_jsoninletsecurityGroupIds=field_map_exnjson__"SecurityGroupIds"SecurityGroupIds.of_jsoninletsubnetIds=field_map_exnjson__"SubnetIds"SubnetIds.of_jsoninletvpcId=field_map_exnjson__"VpcId"VpcId.of_jsoninmake?tlsCertificate~securityGroupIds~subnetIds~vpcId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The VPC configuration provisioned for the host."]moduleAccountId=structtypenonrect=stringletcontext_="AccountId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->check_patterni~pattern:"[0-9]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleConnectionName=structtypenonrect=stringletcontext_="ConnectionName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"[\\s\\S]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionName"jletto_json=simple_to_jsonto_valueendmoduleConnectionStatus=structtypenonrect=|PENDING|AVAILABLE|ERROR|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|AVAILABLE->"AVAILABLE"|ERROR->"ERROR"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"AVAILABLE"->AVAILABLE|"ERROR"->ERROR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ConnectionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConnectionStatus"j)letto_json=simple_to_jsonto_valueendmoduleSyncBlocker=structtypenonrect={id:Id.toption[@ocaml.doc"The ID for a specific sync blocker."];type_:BlockerType.toption[@ocaml.doc"The sync blocker type."];status:BlockerStatus.toption[@ocaml.doc"The status for a specific sync blocker."];createdReason:CreatedReason.toption[@ocaml.doc"The provided reason for a specific sync blocker."];createdAt:Timestamp.toption[@ocaml.doc"The creation time for a specific sync blocker."];contexts:SyncBlockerContextList.toption[@ocaml.doc"The contexts for a specific sync blocker."];resolvedReason:ResolvedReason.toption[@ocaml.doc"The resolved reason for a specific sync blocker."];resolvedAt:Timestamp.toption[@ocaml.doc"The time that a specific sync blocker was resolved."]}letmake?id=fun?type_->fun?status->fun?createdReason->fun?createdAt->fun?contexts->fun?resolvedReason->fun?resolvedAt->fun()->{id;type_;status;createdReason;createdAt;contexts;resolvedReason;resolvedAt}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:Id.to_value));("Type",(Option.mapx.type_~f:BlockerType.to_value));("Status",(Option.mapx.status~f:BlockerStatus.to_value));("CreatedReason",(Option.mapx.createdReason~f:CreatedReason.to_value));("CreatedAt",(Option.mapx.createdAt~f:Timestamp.to_value));("Contexts",(Option.mapx.contexts~f:SyncBlockerContextList.to_value));("ResolvedReason",(Option.mapx.resolvedReason~f:ResolvedReason.to_value));("ResolvedAt",(Option.mapx.resolvedAt~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolvedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"ResolvedAt")inletresolvedReason=(Option.map~f:ResolvedReason.of_xml)(Xml.childxml_arg0"ResolvedReason")inletcontexts=(Option.map~f:SyncBlockerContextList.of_xml)(Xml.childxml_arg0"Contexts")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedAt")inletcreatedReason=(Option.map~f:CreatedReason.of_xml)(Xml.childxml_arg0"CreatedReason")inletstatus=(Option.map~f:BlockerStatus.of_xml)(Xml.childxml_arg0"Status")inlettype_=(Option.map~f:BlockerType.of_xml)(Xml.childxml_arg0"Type")inletid=(Option.map~f:Id.of_xml)(Xml.childxml_arg0"Id")inmake?resolvedAt?resolvedReason?contexts?createdAt?createdReason?status?type_?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolvedAt=field_mapjson__"ResolvedAt"Timestamp.of_jsoninletresolvedReason=field_mapjson__"ResolvedReason"ResolvedReason.of_jsoninletcontexts=field_mapjson__"Contexts"SyncBlockerContextList.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"Timestamp.of_jsoninletcreatedReason=field_mapjson__"CreatedReason"CreatedReason.of_jsoninletstatus=field_mapjson__"Status"BlockerStatus.of_jsoninlettype_=field_mapjson__"Type"BlockerType.of_jsoninletid=field_mapjson__"Id"Id.of_jsoninmake?resolvedAt?resolvedReason?contexts?createdAt?createdReason?status?type_?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a blocker for a sync event."]moduleResourceSyncEvent=structtypenonrect={event:Event.toption[@ocaml.doc"The event for a resource sync event."];externalId:ExternalId.toption[@ocaml.doc"The ID for a resource sync event."];time:Timestamp.toption[@ocaml.doc"The time that a resource sync event occurred."];type_:Type.toption[@ocaml.doc"The type of resource sync event."]}letmake?event=fun?externalId->fun?time->fun?type_->fun()->{event;externalId;time;type_}letto_valuex=structure_to_value[("Event",(Option.mapx.event~f:Event.to_value));("ExternalId",(Option.mapx.externalId~f:ExternalId.to_value));("Time",(Option.mapx.time~f:Timestamp.to_value));("Type",(Option.mapx.type_~f:Type.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:Type.of_xml)(Xml.childxml_arg0"Type")inlettime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Time")inletexternalId=(Option.map~f:ExternalId.of_xml)(Xml.childxml_arg0"ExternalId")inletevent=(Option.map~f:Event.of_xml)(Xml.childxml_arg0"Event")inmake?type_?time?externalId?event()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"Type.of_jsoninlettime=field_mapjson__"Time"Timestamp.of_jsoninletexternalId=field_mapjson__"ExternalId"ExternalId.of_jsoninletevent=field_mapjson__"Event"Event.of_jsoninmake?type_?time?externalId?event()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a resource sync event for the resource associated with a sync configuration."]moduleSHA=structtypenonrect=stringletcontext_="SHA"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SHA"jletto_json=simple_to_jsonto_valueendmoduleRepositorySyncEvent=structtypenonrect={event:Event.toption[@ocaml.doc"A description of a repository sync event."];externalId:ExternalId.toption[@ocaml.doc"The ID for a repository sync event."];time:Timestamp.toption[@ocaml.doc"The time that a repository sync event occurred."];type_:Type.toption[@ocaml.doc"The event type for a repository sync event."]}letmake?event=fun?externalId->fun?time->fun?type_->fun()->{event;externalId;time;type_}letto_valuex=structure_to_value[("Event",(Option.mapx.event~f:Event.to_value));("ExternalId",(Option.mapx.externalId~f:ExternalId.to_value));("Time",(Option.mapx.time~f:Timestamp.to_value));("Type",(Option.mapx.type_~f:Type.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:Type.of_xml)(Xml.childxml_arg0"Type")inlettime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Time")inletexternalId=(Option.map~f:ExternalId.of_xml)(Xml.childxml_arg0"ExternalId")inletevent=(Option.map~f:Event.of_xml)(Xml.childxml_arg0"Event")inmake?type_?time?externalId?event()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"Type.of_jsoninlettime=field_mapjson__"Time"Timestamp.of_jsoninletexternalId=field_mapjson__"ExternalId"ExternalId.of_jsoninletevent=field_mapjson__"Event"Event.of_jsoninmake?type_?time?externalId?event()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a repository sync event."]moduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:600);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The tag's key."];value:TagValue.t[@ocaml.doc"The tag's value."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A tag is a key-value pair that is used to manage the resource. This tag is available for use by Amazon Web Services services that support tags."]moduleSyncConfiguration=structtypenonrect={branch:BranchName.toption[@ocaml.doc"The branch associated with a specific sync configuration."];configFile:DeploymentFilePath.toption[@ocaml.doc"The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository."];ownerId:OwnerId.toption[@ocaml.doc"The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub."];providerType:ProviderType.toption[@ocaml.doc"The connection provider type associated with a specific sync configuration, such as GitHub."];repositoryLinkId:RepositoryLinkId.toption[@ocaml.doc"The ID of the repository link associated with a specific sync configuration."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository associated with a specific sync configuration."];resourceName:ResourceName.toption[@ocaml.doc"The name of the connection resource associated with a specific sync configuration."];roleArn:IamRoleArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration."];syncType:SyncConfigurationType.toption[@ocaml.doc"The type of sync for a specific sync configuration."];publishDeploymentStatus:PublishDeploymentStatus.toption[@ocaml.doc"Whether to enable or disable publishing of deployment status to source providers."];triggerResourceUpdateOn:TriggerResourceUpdateOn.toption[@ocaml.doc"When to trigger Git sync to begin the stack update."]}letmake?branch=fun?configFile->fun?ownerId->fun?providerType->fun?repositoryLinkId->fun?repositoryName->fun?resourceName->fun?roleArn->fun?syncType->fun?publishDeploymentStatus->fun?triggerResourceUpdateOn->fun()->{branch;configFile;ownerId;providerType;repositoryLinkId;repositoryName;resourceName;roleArn;syncType;publishDeploymentStatus;triggerResourceUpdateOn}letto_valuex=structure_to_value[("Branch",(Option.mapx.branch~f:BranchName.to_value));("ConfigFile",(Option.mapx.configFile~f:DeploymentFilePath.to_value));("OwnerId",(Option.mapx.ownerId~f:OwnerId.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("RepositoryLinkId",(Option.mapx.repositoryLinkId~f:RepositoryLinkId.to_value));("RepositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("ResourceName",(Option.mapx.resourceName~f:ResourceName.to_value));("RoleArn",(Option.mapx.roleArn~f:IamRoleArn.to_value));("SyncType",(Option.mapx.syncType~f:SyncConfigurationType.to_value));("PublishDeploymentStatus",(Option.mapx.publishDeploymentStatus~f:PublishDeploymentStatus.to_value));("TriggerResourceUpdateOn",(Option.mapx.triggerResourceUpdateOn~f:TriggerResourceUpdateOn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggerResourceUpdateOn=(Option.map~f:TriggerResourceUpdateOn.of_xml)(Xml.childxml_arg0"TriggerResourceUpdateOn")inletpublishDeploymentStatus=(Option.map~f:PublishDeploymentStatus.of_xml)(Xml.childxml_arg0"PublishDeploymentStatus")inletsyncType=(Option.map~f:SyncConfigurationType.of_xml)(Xml.childxml_arg0"SyncType")inletroleArn=(Option.map~f:IamRoleArn.of_xml)(Xml.childxml_arg0"RoleArn")inletresourceName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ResourceName")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"RepositoryName")inletrepositoryLinkId=(Option.map~f:RepositoryLinkId.of_xml)(Xml.childxml_arg0"RepositoryLinkId")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inletownerId=(Option.map~f:OwnerId.of_xml)(Xml.childxml_arg0"OwnerId")inletconfigFile=(Option.map~f:DeploymentFilePath.of_xml)(Xml.childxml_arg0"ConfigFile")inletbranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"Branch")inmake?triggerResourceUpdateOn?publishDeploymentStatus?syncType?roleArn?resourceName?repositoryName?repositoryLinkId?providerType?ownerId?configFile?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggerResourceUpdateOn=field_mapjson__"TriggerResourceUpdateOn"TriggerResourceUpdateOn.of_jsoninletpublishDeploymentStatus=field_mapjson__"PublishDeploymentStatus"PublishDeploymentStatus.of_jsoninletsyncType=field_mapjson__"SyncType"SyncConfigurationType.of_jsoninletroleArn=field_mapjson__"RoleArn"IamRoleArn.of_jsoninletresourceName=field_mapjson__"ResourceName"ResourceName.of_jsoninletrepositoryName=field_mapjson__"RepositoryName"RepositoryName.of_jsoninletrepositoryLinkId=field_mapjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninletownerId=field_mapjson__"OwnerId"OwnerId.of_jsoninletconfigFile=field_mapjson__"ConfigFile"DeploymentFilePath.of_jsoninletbranch=field_mapjson__"Branch"BranchName.of_jsoninmake?triggerResourceUpdateOn?publishDeploymentStatus?syncType?roleArn?resourceName?repositoryName?repositoryLinkId?providerType?ownerId?configFile?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information, such as repository, branch, provider, and resource names for a specific sync configuration."]moduleRepositorySyncDefinition=structtypenonrect={branch:BranchName.toption[@ocaml.doc"The branch specified for a repository sync definition."];directory:Directory.toption[@ocaml.doc"The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration."];parent:Parent.toption[@ocaml.doc"The parent resource specified for a repository sync definition."];target:Target.toption[@ocaml.doc"The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same."]}letmake?branch=fun?directory->fun?parent->fun?target->fun()->{branch;directory;parent;target}letto_valuex=structure_to_value[("Branch",(Option.mapx.branch~f:BranchName.to_value));("Directory",(Option.mapx.directory~f:Directory.to_value));("Parent",(Option.mapx.parent~f:Parent.to_value));("Target",(Option.mapx.target~f:Target.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettarget=(Option.map~f:Target.of_xml)(Xml.childxml_arg0"Target")inletparent=(Option.map~f:Parent.of_xml)(Xml.childxml_arg0"Parent")inletdirectory=(Option.map~f:Directory.of_xml)(Xml.childxml_arg0"Directory")inletbranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"Branch")inmake?target?parent?directory?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettarget=field_mapjson__"Target"Target.of_jsoninletparent=field_mapjson__"Parent"Parent.of_jsoninletdirectory=field_mapjson__"Directory"Directory.of_jsoninletbranch=field_mapjson__"Branch"BranchName.of_jsoninmake?target?parent?directory?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The definition for a repository with a sync configuration."]moduleRepositoryLinkInfo=structtypenonrect={connectionArn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection associated with the repository link."];encryptionKeyArn:KmsKeyArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link."];ownerId:OwnerId.toption[@ocaml.doc"The owner ID for the repository associated with the repository link, such as the owner ID in GitHub."];providerType:ProviderType.toption[@ocaml.doc"The provider type for the connection, such as GitHub, associated with the repository link."];repositoryLinkArn:RepositoryLinkArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the repository link."];repositoryLinkId:RepositoryLinkId.toption[@ocaml.doc"The ID of the repository link."];repositoryName:RepositoryName.toption[@ocaml.doc"The name of the repository associated with the repository link."]}letmake?connectionArn=fun?encryptionKeyArn->fun?ownerId->fun?providerType->fun?repositoryLinkArn->fun?repositoryLinkId->fun?repositoryName->fun()->{connectionArn;encryptionKeyArn;ownerId;providerType;repositoryLinkArn;repositoryLinkId;repositoryName}letto_valuex=structure_to_value[("ConnectionArn",(Option.mapx.connectionArn~f:ConnectionArn.to_value));("EncryptionKeyArn",(Option.mapx.encryptionKeyArn~f:KmsKeyArn.to_value));("OwnerId",(Option.mapx.ownerId~f:OwnerId.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("RepositoryLinkArn",(Option.mapx.repositoryLinkArn~f:RepositoryLinkArn.to_value));("RepositoryLinkId",(Option.mapx.repositoryLinkId~f:RepositoryLinkId.to_value));("RepositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"RepositoryName")inletrepositoryLinkId=(Option.map~f:RepositoryLinkId.of_xml)(Xml.childxml_arg0"RepositoryLinkId")inletrepositoryLinkArn=(Option.map~f:RepositoryLinkArn.of_xml)(Xml.childxml_arg0"RepositoryLinkArn")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inletownerId=(Option.map~f:OwnerId.of_xml)(Xml.childxml_arg0"OwnerId")inletencryptionKeyArn=(Option.map~f:KmsKeyArn.of_xml)(Xml.childxml_arg0"EncryptionKeyArn")inletconnectionArn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"ConnectionArn")inmake?repositoryName?repositoryLinkId?repositoryLinkArn?providerType?ownerId?encryptionKeyArn?connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryName=field_mapjson__"RepositoryName"RepositoryName.of_jsoninletrepositoryLinkId=field_mapjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletrepositoryLinkArn=field_mapjson__"RepositoryLinkArn"RepositoryLinkArn.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninletownerId=field_mapjson__"OwnerId"OwnerId.of_jsoninletencryptionKeyArn=field_mapjson__"EncryptionKeyArn"KmsKeyArn.of_jsoninletconnectionArn=field_mapjson__"ConnectionArn"ConnectionArn.of_jsoninmake?repositoryName?repositoryLinkId?repositoryLinkArn?providerType?ownerId?encryptionKeyArn?connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID."]moduleHost=structtypenonrect={name:HostName.toption[@ocaml.doc"The name of the host."];hostArn:HostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the host."];providerType:ProviderType.toption[@ocaml.doc"The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server."];providerEndpoint:Url.toption[@ocaml.doc"The endpoint of the infrastructure where your provider type is installed."];vpcConfiguration:VpcConfiguration.toption[@ocaml.doc"The VPC configuration provisioned for the host."];status:HostStatus.toption[@ocaml.doc"The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION."];statusMessage:HostStatusMessage.toption[@ocaml.doc"The status description for the host."]}letmake?name=fun?hostArn->fun?providerType->fun?providerEndpoint->fun?vpcConfiguration->fun?status->fun?statusMessage->fun()->{name;hostArn;providerType;providerEndpoint;vpcConfiguration;status;statusMessage}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:HostName.to_value));("HostArn",(Option.mapx.hostArn~f:HostArn.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("ProviderEndpoint",(Option.mapx.providerEndpoint~f:Url.to_value));("VpcConfiguration",(Option.mapx.vpcConfiguration~f:VpcConfiguration.to_value));("Status",(Option.mapx.status~f:HostStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:HostStatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:HostStatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:HostStatus.of_xml)(Xml.childxml_arg0"Status")inletvpcConfiguration=(Option.map~f:VpcConfiguration.of_xml)(Xml.childxml_arg0"VpcConfiguration")inletproviderEndpoint=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"ProviderEndpoint")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inlethostArn=(Option.map~f:HostArn.of_xml)(Xml.childxml_arg0"HostArn")inletname=(Option.map~f:HostName.of_xml)(Xml.childxml_arg0"Name")inmake?statusMessage?status?vpcConfiguration?providerEndpoint?providerType?hostArn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"HostStatusMessage.of_jsoninletstatus=field_mapjson__"Status"HostStatus.of_jsoninletvpcConfiguration=field_mapjson__"VpcConfiguration"VpcConfiguration.of_jsoninletproviderEndpoint=field_mapjson__"ProviderEndpoint"Url.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninlethostArn=field_mapjson__"HostArn"HostArn.of_jsoninletname=field_mapjson__"Name"HostName.of_jsoninmake?statusMessage?status?vpcConfiguration?providerEndpoint?providerType?hostArn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console."]moduleConnection=structtypenonrect={connectionName:ConnectionName.toption[@ocaml.doc"The name of the connection. Connection names must be unique in an Amazon Web Services account."];connectionArn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted."];providerType:ProviderType.toption[@ocaml.doc"The name of the external provider where your third-party code repository is configured."];ownerAccountId:AccountId.toption[@ocaml.doc"The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository."];connectionStatus:ConnectionStatus.toption[@ocaml.doc"The current status of the connection."];hostArn:HostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the host associated with the connection."]}letmake?connectionName=fun?connectionArn->fun?providerType->fun?ownerAccountId->fun?connectionStatus->fun?hostArn->fun()->{connectionName;connectionArn;providerType;ownerAccountId;connectionStatus;hostArn}letto_valuex=structure_to_value[("ConnectionName",(Option.mapx.connectionName~f:ConnectionName.to_value));("ConnectionArn",(Option.mapx.connectionArn~f:ConnectionArn.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("OwnerAccountId",(Option.mapx.ownerAccountId~f:AccountId.to_value));("ConnectionStatus",(Option.mapx.connectionStatus~f:ConnectionStatus.to_value));("HostArn",(Option.mapx.hostArn~f:HostArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethostArn=(Option.map~f:HostArn.of_xml)(Xml.childxml_arg0"HostArn")inletconnectionStatus=(Option.map~f:ConnectionStatus.of_xml)(Xml.childxml_arg0"ConnectionStatus")inletownerAccountId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerAccountId")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inletconnectionArn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"ConnectionArn")inletconnectionName=(Option.map~f:ConnectionName.of_xml)(Xml.childxml_arg0"ConnectionName")inmake?hostArn?connectionStatus?ownerAccountId?providerType?connectionArn?connectionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethostArn=field_mapjson__"HostArn"HostArn.of_jsoninletconnectionStatus=field_mapjson__"ConnectionStatus"ConnectionStatus.of_jsoninletownerAccountId=field_mapjson__"OwnerAccountId"AccountId.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninletconnectionArn=field_mapjson__"ConnectionArn"ConnectionArn.of_jsoninletconnectionName=field_mapjson__"ConnectionName"ConnectionName.of_jsoninmake?hostArn?connectionStatus?ownerAccountId?providerType?connectionArn?connectionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A resource that is used to connect third-party source providers with services like CodePipeline. Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console."]moduleLatestSyncBlockerList=structtypenonrect=SyncBlocker.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SyncBlocker.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:SyncBlocker.of_xml)letof_jsonj=list_of_json~kind:"LatestSyncBlockerList"~of_json:SyncBlocker.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceSyncEventList=structtypenonrect=ResourceSyncEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceSyncEvent.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:ResourceSyncEvent.of_xml)letof_jsonj=list_of_json~kind:"ResourceSyncEventList"~of_json:ResourceSyncEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceSyncStatus=structtypenonrect=|FAILED|INITIATED|IN_PROGRESS|SUCCEEDED|Non_static_idofstringletmakei=iletto_string=function|FAILED->"FAILED"|INITIATED->"INITIATED"|IN_PROGRESS->"IN_PROGRESS"|SUCCEEDED->"SUCCEEDED"|Non_static_ids->sletof_string=function|"FAILED"->FAILED|"INITIATED"->INITIATED|"IN_PROGRESS"->IN_PROGRESS|"SUCCEEDED"->SUCCEEDED|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 ResourceSyncStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceSyncStatus"j)letto_json=simple_to_jsonto_valueendmoduleRevision=structtypenonrect={branch:BranchName.toption[@ocaml.doc"The branch name for a specific revision."];directory:Directory.toption[@ocaml.doc"The directory, if any, for a specific revision."];ownerId:OwnerId.toption[@ocaml.doc"The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository."];repositoryName:RepositoryName.toption[@ocaml.doc"The repository name for a specific revision."];providerType:ProviderType.toption[@ocaml.doc"The provider type for a revision, such as GitHub."];sha:SHA.toption[@ocaml.doc"The SHA, such as the commit ID, for a specific revision."]}letmake?branch=fun?directory->fun?ownerId->fun?repositoryName->fun?providerType->fun?sha->fun()->{branch;directory;ownerId;repositoryName;providerType;sha}letto_valuex=structure_to_value[("Branch",(Option.mapx.branch~f:BranchName.to_value));("Directory",(Option.mapx.directory~f:Directory.to_value));("OwnerId",(Option.mapx.ownerId~f:OwnerId.to_value));("RepositoryName",(Option.mapx.repositoryName~f:RepositoryName.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("Sha",(Option.mapx.sha~f:SHA.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsha=(Option.map~f:SHA.of_xml)(Xml.childxml_arg0"Sha")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inletrepositoryName=(Option.map~f:RepositoryName.of_xml)(Xml.childxml_arg0"RepositoryName")inletownerId=(Option.map~f:OwnerId.of_xml)(Xml.childxml_arg0"OwnerId")inletdirectory=(Option.map~f:Directory.of_xml)(Xml.childxml_arg0"Directory")inletbranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"Branch")inmake?sha?providerType?repositoryName?ownerId?directory?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsha=field_mapjson__"Sha"SHA.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninletrepositoryName=field_mapjson__"RepositoryName"RepositoryName.of_jsoninletownerId=field_mapjson__"OwnerId"OwnerId.of_jsoninletdirectory=field_mapjson__"Directory"Directory.of_jsoninletbranch=field_mapjson__"Branch"BranchName.of_jsoninmake?sha?providerType?repositoryName?ownerId?directory?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository."]moduleRepositorySyncEventList=structtypenonrect=RepositorySyncEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositorySyncEvent.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:RepositorySyncEvent.of_xml)letof_jsonj=list_of_json~kind:"RepositorySyncEventList"~of_json:RepositorySyncEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositorySyncStatus=structtypenonrect=|FAILED|INITIATED|IN_PROGRESS|SUCCEEDED|QUEUED|Non_static_idofstringletmakei=iletto_string=function|FAILED->"FAILED"|INITIATED->"INITIATED"|IN_PROGRESS->"IN_PROGRESS"|SUCCEEDED->"SUCCEEDED"|QUEUED->"QUEUED"|Non_static_ids->sletof_string=function|"FAILED"->FAILED|"INITIATED"->INITIATED|"IN_PROGRESS"->IN_PROGRESS|"SUCCEEDED"->SUCCEEDED|"QUEUED"->QUEUED|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 RepositorySyncStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RepositorySyncStatus"j)letto_json=simple_to_jsonto_valueendmoduleAccessDeniedException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You do not have sufficient access to perform this action."]moduleConcurrentModificationException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time."]moduleInternalServerException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Received an internal server exception. Try again later."]moduleInvalidInputException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input is not valid. Verify that the action is typed correctly."]moduleResourceNotFoundException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resource not found. Verify the connection resource ARN and try again."]moduleThrottlingException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was denied due to request throttling."]moduleUpdateOutOfSyncException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The update is out of sync. Try syncing again."]moduleRetryLatestCommitFailedException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrying the latest commit failed. Try again later."]moduleSyncBlockerDoesNotExistException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to continue. The sync blocker does not exist."]moduleConditionalCheckFailedException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The conditional check failed. Try again later."]moduleConflictException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Two conflicting operations have been made on the same resource."]moduleResourceUnavailableException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resource not found. Verify the ARN for the host resource and try again."]moduleUnsupportedOperationException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation is not supported. Check the connection status and try again."]moduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLimitExceededException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Exceeded the maximum limit for connections."]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSharpNextToken=structtypenonrect=stringletcontext_="SharpNextToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SharpNextToken"jletto_json=simple_to_jsonto_valueendmoduleSyncConfigurationList=structtypenonrect=SyncConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SyncConfiguration.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:SyncConfiguration.of_xml)letof_jsonj=list_of_json~kind:"SyncConfigurationList"~of_json:SyncConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->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 MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRepositorySyncDefinitionList=structtypenonrect=RepositorySyncDefinition.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositorySyncDefinition.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:RepositorySyncDefinition.of_xml)letof_jsonj=list_of_json~kind:"RepositorySyncDefinitionList"~of_json:RepositorySyncDefinition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRepositoryLinkList=structtypenonrect=RepositoryLinkInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RepositoryLinkInfo.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:RepositoryLinkInfo.of_xml)letof_jsonj=list_of_json~kind:"RepositoryLinkList"~of_json:RepositoryLinkInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHostList=structtypenonrect=Host.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Host.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:Host.of_xml)letof_jsonj=list_of_json~kind:"HostList"~of_json:Host.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleConnectionList=structtypenonrect=Connection.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Connection.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:Connection.of_xml)letof_jsonj=list_of_json~kind:"ConnectionList"~of_json:Connection.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSyncBlockerSummary=structtypenonrect={resourceName:ResourceName.toption[@ocaml.doc"The resource name for sync blocker summary."];parentResourceName:ResourceName.toption[@ocaml.doc"The parent resource name for a sync blocker summary."];latestBlockers:LatestSyncBlockerList.toption[@ocaml.doc"The latest events for a sync blocker summary."]}letmake?resourceName=fun?parentResourceName->fun?latestBlockers->fun()->{resourceName;parentResourceName;latestBlockers}letto_valuex=structure_to_value[("ResourceName",(Option.mapx.resourceName~f:ResourceName.to_value));("ParentResourceName",(Option.mapx.parentResourceName~f:ResourceName.to_value));("LatestBlockers",(Option.mapx.latestBlockers~f:LatestSyncBlockerList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlatestBlockers=(Option.map~f:LatestSyncBlockerList.of_xml)(Xml.childxml_arg0"LatestBlockers")inletparentResourceName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ParentResourceName")inletresourceName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ResourceName")inmake?latestBlockers?parentResourceName?resourceName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlatestBlockers=field_mapjson__"LatestBlockers"LatestSyncBlockerList.of_jsoninletparentResourceName=field_mapjson__"ParentResourceName"ResourceName.of_jsoninletresourceName=field_mapjson__"ResourceName"ResourceName.of_jsoninmake?latestBlockers?parentResourceName?resourceName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary for sync blockers."]moduleResourceSyncAttempt=structtypenonrect={events:ResourceSyncEventList.toption[@ocaml.doc"The events related to a resource sync attempt."];initialRevision:Revision.toption[@ocaml.doc"The current state of the resource as defined in the resource's config-file in the linked repository."];startedAt:Timestamp.toption[@ocaml.doc"The start time for a resource sync attempt."];status:ResourceSyncStatus.toption[@ocaml.doc"The status for a resource sync attempt. The follow are valid statuses: SYNC-INITIATED - A resource sync attempt has been created and will begin soon. SYNCING - Syncing has started and work is being done to reconcile state. SYNCED - Syncing has completed successfully. SYNC_FAILED - A resource sync attempt has failed."];targetRevision:Revision.toption[@ocaml.doc"The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state."];target:Target.toption[@ocaml.doc"The name of the Amazon Web Services resource that is attempted to be synchronized."]}letmake?events=fun?initialRevision->fun?startedAt->fun?status->fun?targetRevision->fun?target->fun()->{events;initialRevision;startedAt;status;targetRevision;target}letto_valuex=structure_to_value[("Events",(Option.mapx.events~f:ResourceSyncEventList.to_value));("InitialRevision",(Option.mapx.initialRevision~f:Revision.to_value));("StartedAt",(Option.mapx.startedAt~f:Timestamp.to_value));("Status",(Option.mapx.status~f:ResourceSyncStatus.to_value));("TargetRevision",(Option.mapx.targetRevision~f:Revision.to_value));("Target",(Option.mapx.target~f:Target.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettarget=(Option.map~f:Target.of_xml)(Xml.childxml_arg0"Target")inlettargetRevision=(Option.map~f:Revision.of_xml)(Xml.childxml_arg0"TargetRevision")inletstatus=(Option.map~f:ResourceSyncStatus.of_xml)(Xml.childxml_arg0"Status")inletstartedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartedAt")inletinitialRevision=(Option.map~f:Revision.of_xml)(Xml.childxml_arg0"InitialRevision")inletevents=(Option.map~f:ResourceSyncEventList.of_xml)(Xml.childxml_arg0"Events")inmake?target?targetRevision?status?startedAt?initialRevision?events()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettarget=field_mapjson__"Target"Target.of_jsoninlettargetRevision=field_mapjson__"TargetRevision"Revision.of_jsoninletstatus=field_mapjson__"Status"ResourceSyncStatus.of_jsoninletstartedAt=field_mapjson__"StartedAt"Timestamp.of_jsoninletinitialRevision=field_mapjson__"InitialRevision"Revision.of_jsoninletevents=field_mapjson__"Events"ResourceSyncEventList.of_jsoninmake?target?targetRevision?status?startedAt?initialRevision?events()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a resource sync attempt."]moduleRepositorySyncAttempt=structtypenonrect={startedAt:Timestamp.toption[@ocaml.doc"The start time of a specific sync attempt."];status:RepositorySyncStatus.toption[@ocaml.doc"The status of a specific sync attempt. The following are valid statuses: INITIATED - A repository sync attempt has been created and will begin soon. IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch. SUCCEEDED - The repository sync attempt has completed successfully. FAILED - The repository sync attempt has failed. QUEUED - The repository sync attempt didn't execute and was queued."];events:RepositorySyncEventList.toption[@ocaml.doc"The events associated with a specific sync attempt."]}letmake?startedAt=fun?status->fun?events->fun()->{startedAt;status;events}letto_valuex=structure_to_value[("StartedAt",(Option.mapx.startedAt~f:Timestamp.to_value));("Status",(Option.mapx.status~f:RepositorySyncStatus.to_value));("Events",(Option.mapx.events~f:RepositorySyncEventList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letevents=(Option.map~f:RepositorySyncEventList.of_xml)(Xml.childxml_arg0"Events")inletstatus=(Option.map~f:RepositorySyncStatus.of_xml)(Xml.childxml_arg0"Status")inletstartedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartedAt")inmake?events?status?startedAt()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letevents=field_mapjson__"Events"RepositorySyncEventList.of_jsoninletstatus=field_mapjson__"Status"RepositorySyncStatus.of_jsoninletstartedAt=field_mapjson__"StartedAt"Timestamp.of_jsoninmake?events?status?startedAt()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a repository sync attempt for a repository with a sync configuration."]moduleSyncConfigurationStillExistsException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to continue. The sync blocker still exists."]moduleUnsupportedProviderTypeException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified provider type is not supported for connections."]moduleResourceAlreadyExistsException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to create resource. Resource already exists."]moduleUpdateSyncConfigurationOutput=structtypenonrect={syncConfiguration:SyncConfiguration.toption[@ocaml.doc"The information returned for the sync configuration to be updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UpdateOutOfSyncExceptionofUpdateOutOfSyncException.t|`Unknown_operation_errorof(string*stringoption)]letmake?syncConfiguration=fun()->{syncConfiguration}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UpdateOutOfSyncException"->`UpdateOutOfSyncException(UpdateOutOfSyncException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UpdateOutOfSyncException"->`UpdateOutOfSyncException(UpdateOutOfSyncException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UpdateOutOfSyncExceptione->`Assoc[("error",(`String"UpdateOutOfSyncException"));("details",(UpdateOutOfSyncException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SyncConfiguration",(Option.mapx.syncConfiguration~f:SyncConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncConfiguration=(Option.map~f:SyncConfiguration.of_xml)(Xml.childxml_arg0"SyncConfiguration")inmake?syncConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncConfiguration=field_mapjson__"SyncConfiguration"SyncConfiguration.of_jsoninmake?syncConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the sync configuration for your connection and a specified external Git repository."]moduleUpdateSyncConfigurationInput=structtypenonrect={branch:BranchName.toption[@ocaml.doc"The branch for the sync configuration to be updated."];configFile:DeploymentFilePath.toption[@ocaml.doc"The configuration file for the sync configuration to be updated."];repositoryLinkId:RepositoryLinkId.toption[@ocaml.doc"The ID of the repository link for the sync configuration to be updated."];resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource for the sync configuration to be updated."];roleArn:IamRoleArn.toption[@ocaml.doc"The ARN of the IAM role for the sync configuration to be updated."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type for the sync configuration to be updated."];publishDeploymentStatus:PublishDeploymentStatus.toption[@ocaml.doc"Whether to enable or disable publishing of deployment status to source providers."];triggerResourceUpdateOn:TriggerResourceUpdateOn.toption[@ocaml.doc"When to trigger Git sync to begin the stack update."]}letcontext_="UpdateSyncConfigurationInput"letmake?branch=fun?configFile->fun?repositoryLinkId->fun?roleArn->fun?publishDeploymentStatus->fun?triggerResourceUpdateOn->fun~resourceName->fun~syncType->fun()->{branch;configFile;repositoryLinkId;roleArn;publishDeploymentStatus;triggerResourceUpdateOn;resourceName;syncType}letto_valuex=structure_to_value[("Branch",(Option.mapx.branch~f:BranchName.to_value));("ConfigFile",(Option.mapx.configFile~f:DeploymentFilePath.to_value));("RepositoryLinkId",(Option.mapx.repositoryLinkId~f:RepositoryLinkId.to_value));("ResourceName",(Some(ResourceName.to_valuex.resourceName)));("RoleArn",(Option.mapx.roleArn~f:IamRoleArn.to_value));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("PublishDeploymentStatus",(Option.mapx.publishDeploymentStatus~f:PublishDeploymentStatus.to_value));("TriggerResourceUpdateOn",(Option.mapx.triggerResourceUpdateOn~f:TriggerResourceUpdateOn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggerResourceUpdateOn=(Option.map~f:TriggerResourceUpdateOn.of_xml)(Xml.childxml_arg0"TriggerResourceUpdateOn")inletpublishDeploymentStatus=(Option.map~f:PublishDeploymentStatus.of_xml)(Xml.childxml_arg0"PublishDeploymentStatus")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletroleArn=(Option.map~f:IamRoleArn.of_xml)(Xml.childxml_arg0"RoleArn")inletresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletrepositoryLinkId=(Option.map~f:RepositoryLinkId.of_xml)(Xml.childxml_arg0"RepositoryLinkId")inletconfigFile=(Option.map~f:DeploymentFilePath.of_xml)(Xml.childxml_arg0"ConfigFile")inletbranch=(Option.map~f:BranchName.of_xml)(Xml.childxml_arg0"Branch")inmake?triggerResourceUpdateOn?publishDeploymentStatus~syncType?roleArn~resourceName?repositoryLinkId?configFile?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggerResourceUpdateOn=field_mapjson__"TriggerResourceUpdateOn"TriggerResourceUpdateOn.of_jsoninletpublishDeploymentStatus=field_mapjson__"PublishDeploymentStatus"PublishDeploymentStatus.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletroleArn=field_mapjson__"RoleArn"IamRoleArn.of_jsoninletresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletrepositoryLinkId=field_mapjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletconfigFile=field_mapjson__"ConfigFile"DeploymentFilePath.of_jsoninletbranch=field_mapjson__"Branch"BranchName.of_jsoninmake?triggerResourceUpdateOn?publishDeploymentStatus~syncType?roleArn~resourceName?repositoryLinkId?configFile?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the sync configuration for your connection and a specified external Git repository."]moduleUpdateSyncBlockerOutput=structtypenonrect={resourceName:ResourceName.toption[@ocaml.doc"The resource name for the sync blocker."];parentResourceName:ResourceName.toption[@ocaml.doc"The parent resource name for the sync blocker."];syncBlocker:SyncBlocker.toption[@ocaml.doc"Information about the sync blocker to be updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`RetryLatestCommitFailedExceptionofRetryLatestCommitFailedException.t|`SyncBlockerDoesNotExistExceptionofSyncBlockerDoesNotExistException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceName=fun?parentResourceName->fun?syncBlocker->fun()->{resourceName;parentResourceName;syncBlocker}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"RetryLatestCommitFailedException"->`RetryLatestCommitFailedException(RetryLatestCommitFailedException.of_jsonjson)|"SyncBlockerDoesNotExistException"->`SyncBlockerDoesNotExistException(SyncBlockerDoesNotExistException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"RetryLatestCommitFailedException"->`RetryLatestCommitFailedException(RetryLatestCommitFailedException.of_xmlxml)|"SyncBlockerDoesNotExistException"->`SyncBlockerDoesNotExistException(SyncBlockerDoesNotExistException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`RetryLatestCommitFailedExceptione->`Assoc[("error",(`String"RetryLatestCommitFailedException"));("details",(RetryLatestCommitFailedException.to_jsone))]|`SyncBlockerDoesNotExistExceptione->`Assoc[("error",(`String"SyncBlockerDoesNotExistException"));("details",(SyncBlockerDoesNotExistException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceName",(Option.mapx.resourceName~f:ResourceName.to_value));("ParentResourceName",(Option.mapx.parentResourceName~f:ResourceName.to_value));("SyncBlocker",(Option.mapx.syncBlocker~f:SyncBlocker.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncBlocker=(Option.map~f:SyncBlocker.of_xml)(Xml.childxml_arg0"SyncBlocker")inletparentResourceName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ParentResourceName")inletresourceName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ResourceName")inmake?syncBlocker?parentResourceName?resourceName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncBlocker=field_mapjson__"SyncBlocker"SyncBlocker.of_jsoninletparentResourceName=field_mapjson__"ParentResourceName"ResourceName.of_jsoninletresourceName=field_mapjson__"ResourceName"ResourceName.of_jsoninmake?syncBlocker?parentResourceName?resourceName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue."]moduleUpdateSyncBlockerInput=structtypenonrect={id:Id.t[@ocaml.doc"The ID of the sync blocker to be updated."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type of the sync blocker to be updated."];resourceName:ResourceName.t[@ocaml.doc"The name of the resource for the sync blocker to be updated."];resolvedReason:ResolvedReason.t[@ocaml.doc"The reason for resolving the sync blocker."]}letcontext_="UpdateSyncBlockerInput"letmake~id=fun~syncType->fun~resourceName->fun~resolvedReason->fun()->{id;syncType;resourceName;resolvedReason}letto_valuex=structure_to_value[("Id",(Some(Id.to_valuex.id)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("ResourceName",(Some(ResourceName.to_valuex.resourceName)));("ResolvedReason",(Some(ResolvedReason.to_valuex.resolvedReason)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolvedReason=ResolvedReason.of_xml(Xml.child_exn~context:context_xml_arg0"ResolvedReason")inletresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletid=Id.of_xml(Xml.child_exn~context:context_xml_arg0"Id")inmake~resolvedReason~resourceName~syncType~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolvedReason=field_map_exnjson__"ResolvedReason"ResolvedReason.of_jsoninletresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletid=field_map_exnjson__"Id"Id.of_jsoninmake~resolvedReason~resourceName~syncType~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue."]moduleUpdateRepositoryLinkOutput=structtypenonrect={repositoryLinkInfo:RepositoryLinkInfo.toption[@ocaml.doc"Information about the repository link to be updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConditionalCheckFailedExceptionofConditionalCheckFailedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UpdateOutOfSyncExceptionofUpdateOutOfSyncException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryLinkInfo=fun()->{repositoryLinkInfo}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConditionalCheckFailedException"->`ConditionalCheckFailedException(ConditionalCheckFailedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UpdateOutOfSyncException"->`UpdateOutOfSyncException(UpdateOutOfSyncException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConditionalCheckFailedException"->`ConditionalCheckFailedException(ConditionalCheckFailedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UpdateOutOfSyncException"->`UpdateOutOfSyncException(UpdateOutOfSyncException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConditionalCheckFailedExceptione->`Assoc[("error",(`String"ConditionalCheckFailedException"));("details",(ConditionalCheckFailedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UpdateOutOfSyncExceptione->`Assoc[("error",(`String"UpdateOutOfSyncException"));("details",(UpdateOutOfSyncException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RepositoryLinkInfo",(Option.mapx.repositoryLinkInfo~f:RepositoryLinkInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkInfo=(Option.map~f:RepositoryLinkInfo.of_xml)(Xml.childxml_arg0"RepositoryLinkInfo")inmake?repositoryLinkInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkInfo=field_mapjson__"RepositoryLinkInfo"RepositoryLinkInfo.of_jsoninmake?repositoryLinkInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository."]moduleUpdateRepositoryLinkInput=structtypenonrect={connectionArn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link."];encryptionKeyArn:KmsKeyArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated."];repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link to be updated."]}letcontext_="UpdateRepositoryLinkInput"letmake?connectionArn=fun?encryptionKeyArn->fun~repositoryLinkId->fun()->{connectionArn;encryptionKeyArn;repositoryLinkId}letto_valuex=structure_to_value[("ConnectionArn",(Option.mapx.connectionArn~f:ConnectionArn.to_value));("EncryptionKeyArn",(Option.mapx.encryptionKeyArn~f:KmsKeyArn.to_value));("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inletencryptionKeyArn=(Option.map~f:KmsKeyArn.of_xml)(Xml.childxml_arg0"EncryptionKeyArn")inletconnectionArn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"ConnectionArn")inmake~repositoryLinkId?encryptionKeyArn?connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletencryptionKeyArn=field_mapjson__"EncryptionKeyArn"KmsKeyArn.of_jsoninletconnectionArn=field_mapjson__"ConnectionArn"ConnectionArn.of_jsoninmake~repositoryLinkId?encryptionKeyArn?connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository."]moduleUpdateHostOutput=structtypenonrect=unittypenonrecerror=[`ConflictExceptionofConflictException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a specified host with the provided configurations."]moduleUpdateHostInput=structtypenonrect={hostArn:HostArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the host to be updated."];providerEndpoint:Url.toption[@ocaml.doc"The URL or endpoint of the host to be updated."];vpcConfiguration:VpcConfiguration.toption[@ocaml.doc"The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC."]}letcontext_="UpdateHostInput"letmake?providerEndpoint=fun?vpcConfiguration->fun~hostArn->fun()->{providerEndpoint;vpcConfiguration;hostArn}letto_valuex=structure_to_value[("HostArn",(Some(HostArn.to_valuex.hostArn)));("ProviderEndpoint",(Option.mapx.providerEndpoint~f:Url.to_value));("VpcConfiguration",(Option.mapx.vpcConfiguration~f:VpcConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConfiguration=(Option.map~f:VpcConfiguration.of_xml)(Xml.childxml_arg0"VpcConfiguration")inletproviderEndpoint=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"ProviderEndpoint")inlethostArn=HostArn.of_xml(Xml.child_exn~context:context_xml_arg0"HostArn")inmake?vpcConfiguration?providerEndpoint~hostArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConfiguration=field_mapjson__"VpcConfiguration"VpcConfiguration.of_jsoninletproviderEndpoint=field_mapjson__"ProviderEndpoint"Url.of_jsoninlethostArn=field_map_exnjson__"HostArn"HostArn.of_jsoninmake?vpcConfiguration?providerEndpoint~hostArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a specified host with the provided configurations."]moduleUntagResourceOutput=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from an Amazon Web Services resource."]moduleUntagResourceInput=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to remove tags from."];tagKeys:TagKeyList.t[@ocaml.doc"The list of keys for the tags to be removed from the resource."]}letcontext_="UntagResourceInput"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)));("TagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from an Amazon Web Services resource."]moduleTagResourceOutput=structtypenonrect=unittypenonrecerror=[`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.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|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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"Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource."]moduleTagResourceInput=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to which you want to add or update tags."];tags:TagList.t[@ocaml.doc"The tags you want to modify or add to the resource."]}letcontext_="TagResourceInput"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource."]moduleListTagsForResourceOutput=structtypenonrect={tags:TagList.toption[@ocaml.doc"A list of tag key and value pairs associated with the specified resource."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the set of key-value pairs (metadata) that are used to manage the resource."]moduleListTagsForResourceInput=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any."]}letcontext_="ListTagsForResourceInput"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the set of key-value pairs (metadata) that are used to manage the resource."]moduleListSyncConfigurationsOutput=structtypenonrect={syncConfigurations:SyncConfigurationList.toption[@ocaml.doc"The list of repository sync definitions returned by the request."];nextToken:SharpNextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the next results of the operation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?syncConfigurations=fun?nextToken->fun()->{syncConfigurations;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SyncConfigurations",(Option.mapx.syncConfigurations~f:SyncConfigurationList.to_value));("NextToken",(Option.mapx.nextToken~f:SharpNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SharpNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsyncConfigurations=(Option.map~f:SyncConfigurationList.of_xml)(Xml.childxml_arg0"SyncConfigurations")inmake?nextToken?syncConfigurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"SharpNextToken.of_jsoninletsyncConfigurations=field_mapjson__"SyncConfigurations"SyncConfigurationList.of_jsoninmake?nextToken?syncConfigurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of sync configurations for a specified repository."]moduleListSyncConfigurationsInput=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."];nextToken:SharpNextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results of the operation."];repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link for the requested list of sync configurations."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type for the requested list of sync configurations."]}letcontext_="ListSyncConfigurationsInput"letmake?maxResults=fun?nextToken->fun~repositoryLinkId->fun~syncType->fun()->{maxResults;nextToken;repositoryLinkId;syncType}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:SharpNextToken.to_value));("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inletnextToken=(Option.map~f:SharpNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake~syncType~repositoryLinkId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletnextToken=field_mapjson__"NextToken"SharpNextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake~syncType~repositoryLinkId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of sync configurations for a specified repository."]moduleListRepositorySyncDefinitionsOutput=structtypenonrect={repositorySyncDefinitions:RepositorySyncDefinitionList.toption[@ocaml.doc"The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch."];nextToken:SharpNextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositorySyncDefinitions=fun?nextToken->fun()->{repositorySyncDefinitions;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RepositorySyncDefinitions",(Option.mapx.repositorySyncDefinitions~f:RepositorySyncDefinitionList.to_value));("NextToken",(Option.mapx.nextToken~f:SharpNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SharpNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletrepositorySyncDefinitions=(Option.map~f:RepositorySyncDefinitionList.of_xml)(Xml.childxml_arg0"RepositorySyncDefinitions")inmake?nextToken?repositorySyncDefinitions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"SharpNextToken.of_jsoninletrepositorySyncDefinitions=field_mapjson__"RepositorySyncDefinitions"RepositorySyncDefinitionList.of_jsoninmake?nextToken?repositorySyncDefinitions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the repository sync definitions for repository links in your account."]moduleListRepositorySyncDefinitionsInput=structtypenonrect={repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link for the sync definition for which you want to retrieve information."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type of the repository link for the the sync definition for which you want to retrieve information."]}letcontext_="ListRepositorySyncDefinitionsInput"letmake~repositoryLinkId=fun~syncType->fun()->{repositoryLinkId;syncType}letto_valuex=structure_to_value[("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inmake~syncType~repositoryLinkId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninmake~syncType~repositoryLinkId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the repository sync definitions for repository links in your account."]moduleListRepositoryLinksOutput=structtypenonrect={repositoryLinks:RepositoryLinkList.toption[@ocaml.doc"Lists the repository links called by the list repository links operation."];nextToken:SharpNextToken.toption[@ocaml.doc"An enumeration token that allows the operation to batch the results of the operation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryLinks=fun?nextToken->fun()->{repositoryLinks;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RepositoryLinks",(Option.mapx.repositoryLinks~f:RepositoryLinkList.to_value));("NextToken",(Option.mapx.nextToken~f:SharpNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SharpNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletrepositoryLinks=(Option.map~f:RepositoryLinkList.of_xml)(Xml.childxml_arg0"RepositoryLinks")inmake?nextToken?repositoryLinks()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"SharpNextToken.of_jsoninletrepositoryLinks=field_mapjson__"RepositoryLinks"RepositoryLinkList.of_jsoninmake?nextToken?repositoryLinks()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the repository links created for connections in your account."]moduleListRepositoryLinksInput=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"A non-zero, non-negative integer used to limit the number of returned results."];nextToken:SharpNextToken.toption[@ocaml.doc"An enumeration token that, when provided in a request, returns the next batch of the results."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:SharpNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:SharpNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"SharpNextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the repository links created for connections in your account."]moduleListHostsOutput=structtypenonrect={hosts:HostList.toption[@ocaml.doc"A list of hosts and the details for each host, such as status, endpoint, and provider type."];nextToken:NextToken.toption[@ocaml.doc"A token that can be used in the next ListHosts call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned."]}typenonrecerror=[`Unknown_operation_errorof(string*stringoption)]letmake?hosts=fun?nextToken->fun()->{hosts;nextToken}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[("Hosts",(Option.mapx.hosts~f:HostList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlethosts=(Option.map~f:HostList.of_xml)(Xml.childxml_arg0"Hosts")inmake?nextToken?hosts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlethosts=field_mapjson__"Hosts"HostList.of_jsoninmake?nextToken?hosts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the hosts associated with your account."]moduleListHostsInput=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value."];nextToken:NextToken.toption[@ocaml.doc"The token that was returned from the previous ListHosts call, which can be used to return the next set of hosts in the list."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the hosts associated with your account."]moduleListConnectionsOutput=structtypenonrect={connections:ConnectionList.toption[@ocaml.doc"A list of connections and the details for each connection, such as status, owner, and provider type."];nextToken:NextToken.toption[@ocaml.doc"A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connections=fun?nextToken->fun()->{connections;nextToken}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Connections",(Option.mapx.connections~f:ConnectionList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletconnections=(Option.map~f:ConnectionList.of_xml)(Xml.childxml_arg0"Connections")inmake?nextToken?connections()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletconnections=field_mapjson__"Connections"ConnectionList.of_jsoninmake?nextToken?connections()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the connections associated with your account."]moduleListConnectionsInput=structtypenonrect={providerTypeFilter:ProviderType.toption[@ocaml.doc"Filters the list of connections to those associated with a specified provider, such as Bitbucket."];hostArnFilter:HostArn.toption[@ocaml.doc"Filters the list of connections to those associated with a specified host."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value."];nextToken:NextToken.toption[@ocaml.doc"The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list."]}letmake?providerTypeFilter=fun?hostArnFilter->fun?maxResults->fun?nextToken->fun()->{providerTypeFilter;hostArnFilter;maxResults;nextToken}letto_valuex=structure_to_value[("ProviderTypeFilter",(Option.mapx.providerTypeFilter~f:ProviderType.to_value));("HostArnFilter",(Option.mapx.hostArnFilter~f:HostArn.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inlethostArnFilter=(Option.map~f:HostArn.of_xml)(Xml.childxml_arg0"HostArnFilter")inletproviderTypeFilter=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderTypeFilter")inmake?nextToken?maxResults?hostArnFilter?providerTypeFilter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninlethostArnFilter=field_mapjson__"HostArnFilter"HostArn.of_jsoninletproviderTypeFilter=field_mapjson__"ProviderTypeFilter"ProviderType.of_jsoninmake?nextToken?maxResults?hostArnFilter?providerTypeFilter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the connections associated with your account."]moduleGetSyncConfigurationOutput=structtypenonrect={syncConfiguration:SyncConfiguration.toption[@ocaml.doc"The details about the sync configuration for which you want to retrieve information."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?syncConfiguration=fun()->{syncConfiguration}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SyncConfiguration",(Option.mapx.syncConfiguration~f:SyncConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncConfiguration=(Option.map~f:SyncConfiguration.of_xml)(Xml.childxml_arg0"SyncConfiguration")inmake?syncConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncConfiguration=field_mapjson__"SyncConfiguration"SyncConfiguration.of_jsoninmake?syncConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository."]moduleGetSyncConfigurationInput=structtypenonrect={syncType:SyncConfigurationType.t[@ocaml.doc"The sync type for the sync configuration for which you want to retrieve information."];resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource for the sync configuration for which you want to retrieve information."]}letcontext_="GetSyncConfigurationInput"letmake~syncType=fun~resourceName->fun()->{syncType;resourceName}letto_valuex=structure_to_value[("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("ResourceName",(Some(ResourceName.to_valuex.resourceName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inmake~resourceName~syncType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninmake~resourceName~syncType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository."]moduleGetSyncBlockerSummaryOutput=structtypenonrect={syncBlockerSummary:SyncBlockerSummary.toption[@ocaml.doc"The list of sync blockers for a specified resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?syncBlockerSummary=fun()->{syncBlockerSummary}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SyncBlockerSummary",(Option.mapx.syncBlockerSummary~f:SyncBlockerSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncBlockerSummary=(Option.map~f:SyncBlockerSummary.of_xml)(Xml.childxml_arg0"SyncBlockerSummary")inmake?syncBlockerSummary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncBlockerSummary=field_mapjson__"SyncBlockerSummary"SyncBlockerSummary.of_jsoninmake?syncBlockerSummary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the most recent sync blockers."]moduleGetSyncBlockerSummaryInput=structtypenonrect={syncType:SyncConfigurationType.t[@ocaml.doc"The sync type for the sync blocker summary."];resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository."]}letcontext_="GetSyncBlockerSummaryInput"letmake~syncType=fun~resourceName->fun()->{syncType;resourceName}letto_valuex=structure_to_value[("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("ResourceName",(Some(ResourceName.to_valuex.resourceName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inmake~resourceName~syncType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninmake~resourceName~syncType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the most recent sync blockers."]moduleGetResourceSyncStatusOutput=structtypenonrect={desiredState:Revision.toption[@ocaml.doc"The desired state of the Amazon Web Services resource for the sync status with the Git repository."];latestSuccessfulSync:ResourceSyncAttempt.toption[@ocaml.doc"The latest successful sync for the sync status with the Git repository."];latestSync:ResourceSyncAttempt.toption[@ocaml.doc"The latest sync for the sync status with the Git repository, whether successful or not."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?desiredState=fun?latestSuccessfulSync->fun?latestSync->fun()->{desiredState;latestSuccessfulSync;latestSync}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DesiredState",(Option.mapx.desiredState~f:Revision.to_value));("LatestSuccessfulSync",(Option.mapx.latestSuccessfulSync~f:ResourceSyncAttempt.to_value));("LatestSync",(Option.mapx.latestSync~f:ResourceSyncAttempt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlatestSync=(Option.map~f:ResourceSyncAttempt.of_xml)(Xml.childxml_arg0"LatestSync")inletlatestSuccessfulSync=(Option.map~f:ResourceSyncAttempt.of_xml)(Xml.childxml_arg0"LatestSuccessfulSync")inletdesiredState=(Option.map~f:Revision.of_xml)(Xml.childxml_arg0"DesiredState")inmake?latestSync?latestSuccessfulSync?desiredState()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlatestSync=field_mapjson__"LatestSync"ResourceSyncAttempt.of_jsoninletlatestSuccessfulSync=field_mapjson__"LatestSuccessfulSync"ResourceSyncAttempt.of_jsoninletdesiredState=field_mapjson__"DesiredState"Revision.of_jsoninmake?latestSync?latestSuccessfulSync?desiredState()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of the sync with the Git repository for a specific Amazon Web Services resource."]moduleGetResourceSyncStatusInput=structtypenonrect={resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource for the sync status with the Git repository."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type for the sync status with the Git repository."]}letcontext_="GetResourceSyncStatusInput"letmake~resourceName=fun~syncType->fun()->{resourceName;syncType}letto_valuex=structure_to_value[("ResourceName",(Some(ResourceName.to_valuex.resourceName)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inmake~syncType~resourceName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninmake~syncType~resourceName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of the sync with the Git repository for a specific Amazon Web Services resource."]moduleGetRepositorySyncStatusOutput=structtypenonrect={latestSync:RepositorySyncAttempt.toption[@ocaml.doc"The status of the latest sync returned for a specified repository and branch."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?latestSync=fun()->{latestSync}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("LatestSync",(Option.mapx.latestSync~f:RepositorySyncAttempt.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlatestSync=(Option.map~f:RepositorySyncAttempt.of_xml)(Xml.childxml_arg0"LatestSync")inmake?latestSync()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlatestSync=field_mapjson__"LatestSync"RepositorySyncAttempt.of_jsoninmake?latestSync()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository."]moduleGetRepositorySyncStatusInput=structtypenonrect={branch:BranchName.t[@ocaml.doc"The branch of the repository link for the requested repository sync status."];repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The repository link ID for the requested repository sync status."];syncType:SyncConfigurationType.t[@ocaml.doc"The sync type of the requested sync status."]}letcontext_="GetRepositorySyncStatusInput"letmake~branch=fun~repositoryLinkId->fun~syncType->fun()->{branch;repositoryLinkId;syncType}letto_valuex=structure_to_value[("Branch",(Some(BranchName.to_valuex.branch)));("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inletbranch=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"Branch")inmake~syncType~repositoryLinkId~branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletbranch=field_map_exnjson__"Branch"BranchName.of_jsoninmake~syncType~repositoryLinkId~branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository."]moduleGetRepositoryLinkOutput=structtypenonrect={repositoryLinkInfo:RepositoryLinkInfo.toption[@ocaml.doc"The information returned for a specified repository link."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryLinkInfo=fun()->{repositoryLinkInfo}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RepositoryLinkInfo",(Option.mapx.repositoryLinkInfo~f:RepositoryLinkInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkInfo=(Option.map~f:RepositoryLinkInfo.of_xml)(Xml.childxml_arg0"RepositoryLinkInfo")inmake?repositoryLinkInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkInfo=field_mapjson__"RepositoryLinkInfo"RepositoryLinkInfo.of_jsoninmake?repositoryLinkInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository."]moduleGetRepositoryLinkInput=structtypenonrect={repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link to get."]}letcontext_="GetRepositoryLinkInput"letmake~repositoryLinkId=fun()->{repositoryLinkId}letto_valuex=structure_to_value[("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inmake~repositoryLinkId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninmake~repositoryLinkId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository."]moduleGetHostOutput=structtypenonrect={name:HostName.toption[@ocaml.doc"The name of the requested host."];status:HostStatus.toption[@ocaml.doc"The status of the requested host."];providerType:ProviderType.toption[@ocaml.doc"The provider type of the requested host, such as GitHub Enterprise Server."];providerEndpoint:Url.toption[@ocaml.doc"The endpoint of the infrastructure represented by the requested host."];vpcConfiguration:VpcConfiguration.toption[@ocaml.doc"The VPC configuration of the requested host."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`Unknown_operation_errorof(string*stringoption)]letmake?name=fun?status->fun?providerType->fun?providerEndpoint->fun?vpcConfiguration->fun()->{name;status;providerType;providerEndpoint;vpcConfiguration}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:HostName.to_value));("Status",(Option.mapx.status~f:HostStatus.to_value));("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("ProviderEndpoint",(Option.mapx.providerEndpoint~f:Url.to_value));("VpcConfiguration",(Option.mapx.vpcConfiguration~f:VpcConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConfiguration=(Option.map~f:VpcConfiguration.of_xml)(Xml.childxml_arg0"VpcConfiguration")inletproviderEndpoint=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"ProviderEndpoint")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inletstatus=(Option.map~f:HostStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:HostName.of_xml)(Xml.childxml_arg0"Name")inmake?vpcConfiguration?providerEndpoint?providerType?status?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConfiguration=field_mapjson__"VpcConfiguration"VpcConfiguration.of_jsoninletproviderEndpoint=field_mapjson__"ProviderEndpoint"Url.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninletstatus=field_mapjson__"Status"HostStatus.of_jsoninletname=field_mapjson__"Name"HostName.of_jsoninmake?vpcConfiguration?providerEndpoint?providerType?status?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration."]moduleGetHostInput=structtypenonrect={hostArn:HostArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the requested host."]}letcontext_="GetHostInput"letmake~hostArn=fun()->{hostArn}letto_valuex=structure_to_value[("HostArn",(Some(HostArn.to_valuex.hostArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethostArn=HostArn.of_xml(Xml.child_exn~context:context_xml_arg0"HostArn")inmake~hostArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethostArn=field_map_exnjson__"HostArn"HostArn.of_jsoninmake~hostArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration."]moduleGetConnectionOutput=structtypenonrect={connection:Connection.toption[@ocaml.doc"The connection details, such as status, owner, and provider type."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connection=fun()->{connection}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Connection",(Option.mapx.connection~f:Connection.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnection=(Option.map~f:Connection.of_xml)(Xml.childxml_arg0"Connection")inmake?connection()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnection=field_mapjson__"Connection"Connection.of_jsoninmake?connection()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the connection ARN and details such as status, owner, and provider type."]moduleGetConnectionInput=structtypenonrect={connectionArn:ConnectionArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of a connection."]}letcontext_="GetConnectionInput"letmake~connectionArn=fun()->{connectionArn}letto_valuex=structure_to_value[("ConnectionArn",(Some(ConnectionArn.to_valuex.connectionArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionArn=ConnectionArn.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionArn")inmake~connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionArn=field_map_exnjson__"ConnectionArn"ConnectionArn.of_jsoninmake~connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the connection ARN and details such as status, owner, and provider type."]moduleDeleteSyncConfigurationOutput=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.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 the sync configuration for a specified repository and connection."]moduleDeleteSyncConfigurationInput=structtypenonrect={syncType:SyncConfigurationType.t[@ocaml.doc"The type of sync configuration to be deleted."];resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource associated with the sync configuration to be deleted."]}letcontext_="DeleteSyncConfigurationInput"letmake~syncType=fun~resourceName->fun()->{syncType;resourceName}letto_valuex=structure_to_value[("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("ResourceName",(Some(ResourceName.to_valuex.resourceName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inmake~resourceName~syncType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninmake~resourceName~syncType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the sync configuration for a specified repository and connection."]moduleDeleteRepositoryLinkOutput=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`SyncConfigurationStillExistsExceptionofSyncConfigurationStillExistsException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedProviderTypeExceptionofUnsupportedProviderTypeException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"SyncConfigurationStillExistsException"->`SyncConfigurationStillExistsException(SyncConfigurationStillExistsException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedProviderTypeException"->`UnsupportedProviderTypeException(UnsupportedProviderTypeException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"SyncConfigurationStillExistsException"->`SyncConfigurationStillExistsException(SyncConfigurationStillExistsException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedProviderTypeException"->`UnsupportedProviderTypeException(UnsupportedProviderTypeException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`SyncConfigurationStillExistsExceptione->`Assoc[("error",(`String"SyncConfigurationStillExistsException"));("details",(SyncConfigurationStillExistsException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedProviderTypeExceptione->`Assoc[("error",(`String"UnsupportedProviderTypeException"));("details",(UnsupportedProviderTypeException.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 the association between your connection and a specified external Git repository."]moduleDeleteRepositoryLinkInput=structtypenonrect={repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link to be deleted."]}letcontext_="DeleteRepositoryLinkInput"letmake~repositoryLinkId=fun()->{repositoryLinkId}letto_valuex=structure_to_value[("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inmake~repositoryLinkId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninmake~repositoryLinkId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the association between your connection and a specified external Git repository."]moduleDeleteHostOutput=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.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"The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state."]moduleDeleteHostInput=structtypenonrect={hostArn:HostArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the host to be deleted."]}letcontext_="DeleteHostInput"letmake~hostArn=fun()->{hostArn}letto_valuex=structure_to_value[("HostArn",(Some(HostArn.to_valuex.hostArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethostArn=HostArn.of_xml(Xml.child_exn~context:context_xml_arg0"HostArn")inmake~hostArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethostArn=field_map_exnjson__"HostArn"HostArn.of_jsoninmake~hostArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state."]moduleDeleteConnectionOutput=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`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"The connection to be deleted."]moduleDeleteConnectionInput=structtypenonrect={connectionArn:ConnectionArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the connection to be deleted. The ARN is never reused if the connection is deleted."]}letcontext_="DeleteConnectionInput"letmake~connectionArn=fun()->{connectionArn}letto_valuex=structure_to_value[("ConnectionArn",(Some(ConnectionArn.to_valuex.connectionArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionArn=ConnectionArn.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionArn")inmake~connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionArn=field_map_exnjson__"ConnectionArn"ConnectionArn.of_jsoninmake~connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The connection to be deleted."]moduleCreateSyncConfigurationOutput=structtypenonrect={syncConfiguration:SyncConfiguration.toption[@ocaml.doc"The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?syncConfiguration=fun()->{syncConfiguration}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SyncConfiguration",(Option.mapx.syncConfiguration~f:SyncConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsyncConfiguration=(Option.map~f:SyncConfiguration.of_xml)(Xml.childxml_arg0"SyncConfiguration")inmake?syncConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsyncConfiguration=field_mapjson__"SyncConfiguration"SyncConfiguration.of_jsoninmake?syncConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type."]moduleCreateSyncConfigurationInput=structtypenonrect={branch:BranchName.t[@ocaml.doc"The branch in the repository from which changes will be synced."];configFile:DeploymentFilePath.t[@ocaml.doc"The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository."];repositoryLinkId:RepositoryLinkId.t[@ocaml.doc"The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository."];resourceName:ResourceName.t[@ocaml.doc"The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository."];roleArn:IamRoleArn.t[@ocaml.doc"The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf."];syncType:SyncConfigurationType.t[@ocaml.doc"The type of sync configuration."];publishDeploymentStatus:PublishDeploymentStatus.toption[@ocaml.doc"Whether to enable or disable publishing of deployment status to source providers."];triggerResourceUpdateOn:TriggerResourceUpdateOn.toption[@ocaml.doc"When to trigger Git sync to begin the stack update."]}letcontext_="CreateSyncConfigurationInput"letmake?publishDeploymentStatus=fun?triggerResourceUpdateOn->fun~branch->fun~configFile->fun~repositoryLinkId->fun~resourceName->fun~roleArn->fun~syncType->fun()->{publishDeploymentStatus;triggerResourceUpdateOn;branch;configFile;repositoryLinkId;resourceName;roleArn;syncType}letto_valuex=structure_to_value[("Branch",(Some(BranchName.to_valuex.branch)));("ConfigFile",(Some(DeploymentFilePath.to_valuex.configFile)));("RepositoryLinkId",(Some(RepositoryLinkId.to_valuex.repositoryLinkId)));("ResourceName",(Some(ResourceName.to_valuex.resourceName)));("RoleArn",(Some(IamRoleArn.to_valuex.roleArn)));("SyncType",(Some(SyncConfigurationType.to_valuex.syncType)));("PublishDeploymentStatus",(Option.mapx.publishDeploymentStatus~f:PublishDeploymentStatus.to_value));("TriggerResourceUpdateOn",(Option.mapx.triggerResourceUpdateOn~f:TriggerResourceUpdateOn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettriggerResourceUpdateOn=(Option.map~f:TriggerResourceUpdateOn.of_xml)(Xml.childxml_arg0"TriggerResourceUpdateOn")inletpublishDeploymentStatus=(Option.map~f:PublishDeploymentStatus.of_xml)(Xml.childxml_arg0"PublishDeploymentStatus")inletsyncType=SyncConfigurationType.of_xml(Xml.child_exn~context:context_xml_arg0"SyncType")inletroleArn=IamRoleArn.of_xml(Xml.child_exn~context:context_xml_arg0"RoleArn")inletresourceName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceName")inletrepositoryLinkId=RepositoryLinkId.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryLinkId")inletconfigFile=DeploymentFilePath.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigFile")inletbranch=BranchName.of_xml(Xml.child_exn~context:context_xml_arg0"Branch")inmake?triggerResourceUpdateOn?publishDeploymentStatus~syncType~roleArn~resourceName~repositoryLinkId~configFile~branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettriggerResourceUpdateOn=field_mapjson__"TriggerResourceUpdateOn"TriggerResourceUpdateOn.of_jsoninletpublishDeploymentStatus=field_mapjson__"PublishDeploymentStatus"PublishDeploymentStatus.of_jsoninletsyncType=field_map_exnjson__"SyncType"SyncConfigurationType.of_jsoninletroleArn=field_map_exnjson__"RoleArn"IamRoleArn.of_jsoninletresourceName=field_map_exnjson__"ResourceName"ResourceName.of_jsoninletrepositoryLinkId=field_map_exnjson__"RepositoryLinkId"RepositoryLinkId.of_jsoninletconfigFile=field_map_exnjson__"ConfigFile"DeploymentFilePath.of_jsoninletbranch=field_map_exnjson__"Branch"BranchName.of_jsoninmake?triggerResourceUpdateOn?publishDeploymentStatus~syncType~roleArn~resourceName~repositoryLinkId~configFile~branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type."]moduleCreateRepositoryLinkOutput=structtypenonrect={repositoryLinkInfo:RepositoryLinkInfo.toption[@ocaml.doc"The returned information about the created repository link."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`InternalServerExceptionofInternalServerException.t|`InvalidInputExceptionofInvalidInputException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?repositoryLinkInfo=fun()->{repositoryLinkInfo}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"InvalidInputException"->`InvalidInputException(InvalidInputException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`InvalidInputExceptione->`Assoc[("error",(`String"InvalidInputException"));("details",(InvalidInputException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RepositoryLinkInfo",(Option.mapx.repositoryLinkInfo~f:RepositoryLinkInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrepositoryLinkInfo=(Option.map~f:RepositoryLinkInfo.of_xml)(Xml.childxml_arg0"RepositoryLinkInfo")inmake?repositoryLinkInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrepositoryLinkInfo=field_mapjson__"RepositoryLinkInfo"RepositoryLinkInfo.of_jsoninmake?repositoryLinkInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository."]moduleCreateRepositoryLinkInput=structtypenonrect={connectionArn:ConnectionArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the connection to be associated with the repository link."];ownerId:OwnerId.t[@ocaml.doc"The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub."];repositoryName:RepositoryName.t[@ocaml.doc"The name of the repository to be associated with the repository link."];encryptionKeyArn:KmsKeyArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link."];tags:TagList.toption[@ocaml.doc"The tags for the repository to be associated with the repository link."]}letcontext_="CreateRepositoryLinkInput"letmake?encryptionKeyArn=fun?tags->fun~connectionArn->fun~ownerId->fun~repositoryName->fun()->{encryptionKeyArn;tags;connectionArn;ownerId;repositoryName}letto_valuex=structure_to_value[("ConnectionArn",(Some(ConnectionArn.to_valuex.connectionArn)));("OwnerId",(Some(OwnerId.to_valuex.ownerId)));("RepositoryName",(Some(RepositoryName.to_valuex.repositoryName)));("EncryptionKeyArn",(Option.mapx.encryptionKeyArn~f:KmsKeyArn.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")inletencryptionKeyArn=(Option.map~f:KmsKeyArn.of_xml)(Xml.childxml_arg0"EncryptionKeyArn")inletrepositoryName=RepositoryName.of_xml(Xml.child_exn~context:context_xml_arg0"RepositoryName")inletownerId=OwnerId.of_xml(Xml.child_exn~context:context_xml_arg0"OwnerId")inletconnectionArn=ConnectionArn.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionArn")inmake?tags?encryptionKeyArn~repositoryName~ownerId~connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletencryptionKeyArn=field_mapjson__"EncryptionKeyArn"KmsKeyArn.of_jsoninletrepositoryName=field_map_exnjson__"RepositoryName"RepositoryName.of_jsoninletownerId=field_map_exnjson__"OwnerId"OwnerId.of_jsoninletconnectionArn=field_map_exnjson__"ConnectionArn"ConnectionArn.of_jsoninmake?tags?encryptionKeyArn~repositoryName~ownerId~connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository."]moduleCreateHostOutput=structtypenonrect={hostArn:HostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the host to be created."];tags:TagList.toption[@ocaml.doc"Tags for the created host."]}typenonrecerror=[`LimitExceededExceptionofLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?hostArn=fun?tags->fun()->{hostArn;tags}leterror_of_jsonnamejson=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("HostArn",(Option.mapx.hostArn~f:HostArn.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")inlethostArn=(Option.map~f:HostArn.of_xml)(Xml.childxml_arg0"HostArn")inmake?tags?hostArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlethostArn=field_mapjson__"HostArn"HostArn.of_jsoninmake?tags?hostArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console."]moduleCreateHostInput=structtypenonrect={name:HostName.t[@ocaml.doc"The name of the host to be created."];providerType:ProviderType.t[@ocaml.doc"The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server."];providerEndpoint:Url.t[@ocaml.doc"The endpoint of the infrastructure to be represented by the host after it is created."];vpcConfiguration:VpcConfiguration.toption[@ocaml.doc"The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC."];tags:TagList.toption[@ocaml.doc"Tags for the host to be created."]}letcontext_="CreateHostInput"letmake?vpcConfiguration=fun?tags->fun~name->fun~providerType->fun~providerEndpoint->fun()->{vpcConfiguration;tags;name;providerType;providerEndpoint}letto_valuex=structure_to_value[("Name",(Some(HostName.to_valuex.name)));("ProviderType",(Some(ProviderType.to_valuex.providerType)));("ProviderEndpoint",(Some(Url.to_valuex.providerEndpoint)));("VpcConfiguration",(Option.mapx.vpcConfiguration~f:VpcConfiguration.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")inletvpcConfiguration=(Option.map~f:VpcConfiguration.of_xml)(Xml.childxml_arg0"VpcConfiguration")inletproviderEndpoint=Url.of_xml(Xml.child_exn~context:context_xml_arg0"ProviderEndpoint")inletproviderType=ProviderType.of_xml(Xml.child_exn~context:context_xml_arg0"ProviderType")inletname=HostName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?tags?vpcConfiguration~providerEndpoint~providerType~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletvpcConfiguration=field_mapjson__"VpcConfiguration"VpcConfiguration.of_jsoninletproviderEndpoint=field_map_exnjson__"ProviderEndpoint"Url.of_jsoninletproviderType=field_map_exnjson__"ProviderType"ProviderType.of_jsoninletname=field_map_exnjson__"Name"HostName.of_jsoninmake?tags?vpcConfiguration~providerEndpoint~providerType~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console."]moduleCreateConnectionOutput=structtypenonrect={connectionArn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted."];tags:TagList.toption[@ocaml.doc"Specifies the tags applied to the resource."]}typenonrecerror=[`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connectionArn=fun?tags->fun()->{connectionArn;tags}leterror_of_jsonnamejson=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ConnectionArn",(Option.mapx.connectionArn~f:ConnectionArn.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")inletconnectionArn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"ConnectionArn")inmake?tags?connectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletconnectionArn=field_mapjson__"ConnectionArn"ConnectionArn.of_jsoninmake?tags?connectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console."]moduleCreateConnectionInput=structtypenonrect={providerType:ProviderType.toption[@ocaml.doc"The name of the external provider where your third-party code repository is configured."];connectionName:ConnectionName.t[@ocaml.doc"The name of the connection to be created."];tags:TagList.toption[@ocaml.doc"The key-value pair to use when tagging the resource."];hostArn:HostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the host associated with the connection to be created."]}letcontext_="CreateConnectionInput"letmake?providerType=fun?tags->fun?hostArn->fun~connectionName->fun()->{providerType;tags;hostArn;connectionName}letto_valuex=structure_to_value[("ProviderType",(Option.mapx.providerType~f:ProviderType.to_value));("ConnectionName",(Some(ConnectionName.to_valuex.connectionName)));("Tags",(Option.mapx.tags~f:TagList.to_value));("HostArn",(Option.mapx.hostArn~f:HostArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethostArn=(Option.map~f:HostArn.of_xml)(Xml.childxml_arg0"HostArn")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletconnectionName=ConnectionName.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionName")inletproviderType=(Option.map~f:ProviderType.of_xml)(Xml.childxml_arg0"ProviderType")inmake?hostArn?tags~connectionName?providerType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethostArn=field_mapjson__"HostArn"HostArn.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletconnectionName=field_map_exnjson__"ConnectionName"ConnectionName.of_jsoninletproviderType=field_mapjson__"ProviderType"ProviderType.of_jsoninmake?hostArn?tags~connectionName?providerType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console."]