12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783(* 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.kafkaletapiVersion="2018-11-14"letendpointPrefix="kafka"letserviceFullName="Managed Streaming for Kafka"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Kafka"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[]))])moduleZz__boolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleVpcConnectivityIam=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"SASL/IAM authentication is on or off for VPC connectivity."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for IAM access control for VPC connectivity."]moduleVpcConnectivityScram=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"SASL/SCRAM authentication is on or off for VPC connectivity."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for SASL/SCRAM client authentication for VPC connectivity."]moduleVpcConnectivitySasl=structtypenonrect={scram:VpcConnectivityScram.toption[@ocaml.doc"Details for SASL/SCRAM client authentication for VPC connectivity."];iam:VpcConnectivityIam.toption[@ocaml.doc"Details for SASL/IAM client authentication for VPC connectivity."]}letmake?scram=fun?iam->fun()->{scram;iam}letto_valuex=structure_to_value[("scram",(Option.mapx.scram~f:VpcConnectivityScram.to_value));("iam",(Option.mapx.iam~f:VpcConnectivityIam.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiam=(Option.map~f:VpcConnectivityIam.of_xml)(Xml.childxml_arg0"iam")inletscram=(Option.map~f:VpcConnectivityScram.of_xml)(Xml.childxml_arg0"scram")inmake?iam?scram()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiam=field_mapjson__"Iam"VpcConnectivityIam.of_jsoninletscram=field_mapjson__"Scram"VpcConnectivityScram.of_jsoninmake?iam?scram()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for SASL client authentication for VPC connectivity."]moduleVpcConnectivityTls=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"TLS authentication is on or off for VPC connectivity."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for TLS client authentication for VPC connectivity."]moduleZz__integer=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for __integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleZz__string=structtypenonrect=stringletcontext_="__string"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__string"jletto_json=simple_to_jsonto_valueendmoduleVpcConnectivityClientAuthentication=structtypenonrect={sasl:VpcConnectivitySasl.toption[@ocaml.doc"SASL authentication type details for VPC connectivity."];tls:VpcConnectivityTls.toption[@ocaml.doc"TLS authentication type details for VPC connectivity."]}letmake?sasl=fun?tls->fun()->{sasl;tls}letto_valuex=structure_to_value[("sasl",(Option.mapx.sasl~f:VpcConnectivitySasl.to_value));("tls",(Option.mapx.tls~f:VpcConnectivityTls.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettls=(Option.map~f:VpcConnectivityTls.of_xml)(Xml.childxml_arg0"tls")inletsasl=(Option.map~f:VpcConnectivitySasl.of_xml)(Xml.childxml_arg0"sasl")inmake?tls?sasl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettls=field_mapjson__"Tls"VpcConnectivityTls.of_jsoninletsasl=field_mapjson__"Sasl"VpcConnectivitySasl.of_jsoninmake?tls?sasl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Includes all client authentication information for VPC connectivity."]moduleProvisionedThroughput=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"Provisioned throughput is enabled or not."];volumeThroughput:Zz__integer.toption[@ocaml.doc"Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second."]}letmake?enabled=fun?volumeThroughput->fun()->{enabled;volumeThroughput}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value));("volumeThroughput",(Option.mapx.volumeThroughput~f:Zz__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvolumeThroughput=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"volumeThroughput")inletenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?volumeThroughput?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvolumeThroughput=field_mapjson__"VolumeThroughput"Zz__integer.of_jsoninletenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?volumeThroughput?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes."]moduleZz__integerMin1Max16384=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:16384)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for __integerMin1Max16384"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleNetworkType=structtypenonrect=|IPV4|DUAL|Non_static_idofstringletmakei=iletto_string=function|IPV4->"IPV4"|DUAL->"DUAL"|Non_static_ids->sletof_string=function|"IPV4"->IPV4|"DUAL"->DUAL|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 NetworkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NetworkType"j)letto_json=simple_to_jsonto_valueendmodulePublicAccess=structtypenonrect={type_:Zz__string.toption[@ocaml.doc"The value DISABLED indicates that public access is turned off. SERVICE_PROVIDED_EIPS indicates that public access is turned on."]}letmake?type_=fun()->{type_}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"type")inmake?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"Zz__string.of_jsoninmake?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Public access control for brokers."]moduleVpcConnectivity=structtypenonrect={clientAuthentication:VpcConnectivityClientAuthentication.toption[@ocaml.doc"Includes all client authentication information for VPC connectivity."]}letmake?clientAuthentication=fun()->{clientAuthentication}letto_valuex=structure_to_value[("clientAuthentication",(Option.mapx.clientAuthentication~f:VpcConnectivityClientAuthentication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientAuthentication=(Option.map~f:VpcConnectivityClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inmake?clientAuthentication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientAuthentication=field_mapjson__"ClientAuthentication"VpcConnectivityClientAuthentication.of_jsoninmake?clientAuthentication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"VPC connectivity access control for brokers."]moduleEBSStorageInfo=structtypenonrect={provisionedThroughput:ProvisionedThroughput.toption[@ocaml.doc"EBS volume provisioned throughput information."];volumeSize:Zz__integerMin1Max16384.toption[@ocaml.doc"The size in GiB of the EBS volume for the data drive on each broker node."]}letmake?provisionedThroughput=fun?volumeSize->fun()->{provisionedThroughput;volumeSize}letto_valuex=structure_to_value[("provisionedThroughput",(Option.mapx.provisionedThroughput~f:ProvisionedThroughput.to_value));("volumeSize",(Option.mapx.volumeSize~f:Zz__integerMin1Max16384.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvolumeSize=(Option.map~f:Zz__integerMin1Max16384.of_xml)(Xml.childxml_arg0"volumeSize")inletprovisionedThroughput=(Option.map~f:ProvisionedThroughput.of_xml)(Xml.childxml_arg0"provisionedThroughput")inmake?volumeSize?provisionedThroughput()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvolumeSize=field_mapjson__"VolumeSize"Zz__integerMin1Max16384.of_jsoninletprovisionedThroughput=field_mapjson__"ProvisionedThroughput"ProvisionedThroughput.of_jsoninmake?volumeSize?provisionedThroughput()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the EBS storage volumes attached to Apache Kafka broker nodes."]moduleIam=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"Indicates whether IAM access control is enabled."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for IAM access control."]moduleScram=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"SASL/SCRAM authentication is enabled or not."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for SASL/SCRAM client authentication."]moduleZz__listOf__string=structtypenonrect=Zz__string.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__string.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Zz__string.of_xml)letof_jsonj=list_of_json~kind:"__listOf__string"~of_json:Zz__string.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleClientBroker=structtypenonrect=|TLS|TLS_PLAINTEXT|PLAINTEXT|Non_static_idofstringletmakei=iletto_string=function|TLS->"TLS"|TLS_PLAINTEXT->"TLS_PLAINTEXT"|PLAINTEXT->"PLAINTEXT"|Non_static_ids->sletof_string=function|"TLS"->TLS|"TLS_PLAINTEXT"->TLS_PLAINTEXT|"PLAINTEXT"->PLAINTEXT|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 ClientBroker"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ClientBroker"j)letto_json=simple_to_jsonto_valueendmoduleCloudWatchLogs=structtypenonrect={enabled:Zz__boolean.t;logGroup:Zz__string.toption}letcontext_="CloudWatchLogs"letmake?logGroup=fun~enabled->fun()->{logGroup;enabled}letto_valuex=structure_to_value[("enabled",(Some(Zz__boolean.to_valuex.enabled)));("logGroup",(Option.mapx.logGroup~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogGroup=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"logGroup")inletenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inmake?logGroup~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogGroup=field_mapjson__"LogGroup"Zz__string.of_jsoninletenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninmake?logGroup~enabled()letto_jsonv=composed_to_jsonto_valuevendmoduleFirehose=structtypenonrect={deliveryStream:Zz__string.toption;enabled:Zz__boolean.t}letcontext_="Firehose"letmake?deliveryStream=fun~enabled->fun()->{deliveryStream;enabled}letto_valuex=structure_to_value[("deliveryStream",(Option.mapx.deliveryStream~f:Zz__string.to_value));("enabled",(Some(Zz__boolean.to_valuex.enabled)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inletdeliveryStream=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"deliveryStream")inmake~enabled?deliveryStream()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninletdeliveryStream=field_mapjson__"DeliveryStream"Zz__string.of_jsoninmake~enabled?deliveryStream()letto_jsonv=composed_to_jsonto_valuevendmoduleS3=structtypenonrect={bucket:Zz__string.toption;enabled:Zz__boolean.t;prefix:Zz__string.toption}letcontext_="S3"letmake?bucket=fun?prefix->fun~enabled->fun()->{bucket;prefix;enabled}letto_valuex=structure_to_value[("bucket",(Option.mapx.bucket~f:Zz__string.to_value));("enabled",(Some(Zz__boolean.to_valuex.enabled)));("prefix",(Option.mapx.prefix~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprefix=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"prefix")inletenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inletbucket=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bucket")inmake?prefix~enabled?bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprefix=field_mapjson__"Prefix"Zz__string.of_jsoninletenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninletbucket=field_mapjson__"Bucket"Zz__string.of_jsoninmake?prefix~enabled?bucket()letto_jsonv=composed_to_jsonto_valuevendmoduleJmxExporterInfo=structtypenonrect={enabledInBroker:Zz__boolean.t[@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."]}letcontext_="JmxExporterInfo"letmake~enabledInBroker=fun()->{enabledInBroker}letto_valuex=structure_to_value[("enabledInBroker",(Some(Zz__boolean.to_valuex.enabledInBroker)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledInBroker=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabledInBroker")inmake~enabledInBroker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledInBroker=field_map_exnjson__"EnabledInBroker"Zz__boolean.of_jsoninmake~enabledInBroker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."]moduleNodeExporterInfo=structtypenonrect={enabledInBroker:Zz__boolean.t[@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]}letcontext_="NodeExporterInfo"letmake~enabledInBroker=fun()->{enabledInBroker}letto_valuex=structure_to_value[("enabledInBroker",(Some(Zz__boolean.to_valuex.enabledInBroker)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledInBroker=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabledInBroker")inmake~enabledInBroker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledInBroker=field_map_exnjson__"EnabledInBroker"Zz__boolean.of_jsoninmake~enabledInBroker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]moduleZz__double=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleJmxExporter=structtypenonrect={enabledInBroker:Zz__boolean.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."]}letmake?enabledInBroker=fun()->{enabledInBroker}letto_valuex=structure_to_value[("enabledInBroker",(Option.mapx.enabledInBroker~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledInBroker=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabledInBroker")inmake?enabledInBroker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledInBroker=field_mapjson__"EnabledInBroker"Zz__boolean.of_jsoninmake?enabledInBroker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."]moduleNodeExporter=structtypenonrect={enabledInBroker:Zz__boolean.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]}letmake?enabledInBroker=fun()->{enabledInBroker}letto_valuex=structure_to_value[("enabledInBroker",(Option.mapx.enabledInBroker~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledInBroker=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabledInBroker")inmake?enabledInBroker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledInBroker=field_mapjson__"EnabledInBroker"Zz__boolean.of_jsoninmake?enabledInBroker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]moduleAmazonMskCluster=structtypenonrect={mskClusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of an Amazon MSK cluster."]}letcontext_="AmazonMskCluster"letmake~mskClusterArn=fun()->{mskClusterArn}letto_valuex=structure_to_value[("mskClusterArn",(Some(Zz__string.to_valuex.mskClusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmskClusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"mskClusterArn")inmake~mskClusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmskClusterArn=field_map_exnjson__"MskClusterArn"Zz__string.of_jsoninmake~mskClusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of an Amazon MSK Cluster."]moduleApacheKafkaCluster=structtypenonrect={apacheKafkaClusterId:Zz__string.t[@ocaml.doc"The ID of the Apache Kafka cluster."];bootstrapBrokerString:Zz__string.t[@ocaml.doc"The bootstrap broker string of the Apache Kafka cluster."]}letcontext_="ApacheKafkaCluster"letmake~apacheKafkaClusterId=fun~bootstrapBrokerString->fun()->{apacheKafkaClusterId;bootstrapBrokerString}letto_valuex=structure_to_value[("apacheKafkaClusterId",(Some(Zz__string.to_valuex.apacheKafkaClusterId)));("bootstrapBrokerString",(Some(Zz__string.to_valuex.bootstrapBrokerString)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbootstrapBrokerString=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"bootstrapBrokerString")inletapacheKafkaClusterId=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"apacheKafkaClusterId")inmake~bootstrapBrokerString~apacheKafkaClusterId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbootstrapBrokerString=field_map_exnjson__"BootstrapBrokerString"Zz__string.of_jsoninletapacheKafkaClusterId=field_map_exnjson__"ApacheKafkaClusterId"Zz__string.of_jsoninmake~bootstrapBrokerString~apacheKafkaClusterId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of an Apache Kafka Cluster."]moduleZz__long=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleBrokerAZDistribution=structtypenonrect=|DEFAULT|Non_static_idofstringletmakei=iletto_string=function|DEFAULT->"DEFAULT"|Non_static_ids->sletof_string=function|"DEFAULT"->DEFAULT|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 BrokerAZDistribution"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BrokerAZDistribution"j)letto_json=simple_to_jsonto_valueendmoduleConnectivityInfo=structtypenonrect={publicAccess:PublicAccess.toption[@ocaml.doc"Public access control for brokers."];vpcConnectivity:VpcConnectivity.toption[@ocaml.doc"VPC connectivity access control for brokers."];networkType:NetworkType.toption[@ocaml.doc"The network type of the cluster, which is IPv4 or DUAL. The DUAL network type uses both IPv4 and IPv6 addresses for your cluster and its resources.By default, a cluster uses the IPv4 network type."]}letmake?publicAccess=fun?vpcConnectivity->fun?networkType->fun()->{publicAccess;vpcConnectivity;networkType}letto_valuex=structure_to_value[("publicAccess",(Option.mapx.publicAccess~f:PublicAccess.to_value));("vpcConnectivity",(Option.mapx.vpcConnectivity~f:VpcConnectivity.to_value));("networkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"networkType")inletvpcConnectivity=(Option.map~f:VpcConnectivity.of_xml)(Xml.childxml_arg0"vpcConnectivity")inletpublicAccess=(Option.map~f:PublicAccess.of_xml)(Xml.childxml_arg0"publicAccess")inmake?networkType?vpcConnectivity?publicAccess()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninletvpcConnectivity=field_mapjson__"VpcConnectivity"VpcConnectivity.of_jsoninletpublicAccess=field_mapjson__"PublicAccess"PublicAccess.of_jsoninmake?networkType?vpcConnectivity?publicAccess()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the broker access configuration."]moduleStorageInfo=structtypenonrect={ebsStorageInfo:EBSStorageInfo.toption[@ocaml.doc"EBS volume information."]}letmake?ebsStorageInfo=fun()->{ebsStorageInfo}letto_valuex=structure_to_value[("ebsStorageInfo",(Option.mapx.ebsStorageInfo~f:EBSStorageInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letebsStorageInfo=(Option.map~f:EBSStorageInfo.of_xml)(Xml.childxml_arg0"ebsStorageInfo")inmake?ebsStorageInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letebsStorageInfo=field_mapjson__"EbsStorageInfo"EBSStorageInfo.of_jsoninmake?ebsStorageInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about storage volumes attached to MSK broker nodes."]moduleZz__stringMin5Max32=structtypenonrect=stringletcontext_="__stringMin5Max32"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:32)>>=(fun()->check_string_mini~min:5));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin5Max32"jletto_json=simple_to_jsonto_valueendmoduleSasl=structtypenonrect={scram:Scram.toption[@ocaml.doc"Details for SASL/SCRAM client authentication."];iam:Iam.toption[@ocaml.doc"Indicates whether IAM access control is enabled."]}letmake?scram=fun?iam->fun()->{scram;iam}letto_valuex=structure_to_value[("scram",(Option.mapx.scram~f:Scram.to_value));("iam",(Option.mapx.iam~f:Iam.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiam=(Option.map~f:Iam.of_xml)(Xml.childxml_arg0"iam")inletscram=(Option.map~f:Scram.of_xml)(Xml.childxml_arg0"scram")inmake?iam?scram()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiam=field_mapjson__"Iam"Iam.of_jsoninletscram=field_mapjson__"Scram"Scram.of_jsoninmake?iam?scram()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for client authentication using SASL."]moduleTls=structtypenonrect={certificateAuthorityArnList:Zz__listOf__string.toption[@ocaml.doc"List of ACM Certificate Authority ARNs."];enabled:Zz__boolean.toption[@ocaml.doc"Specifies whether you want to turn on or turn off TLS authentication."]}letmake?certificateAuthorityArnList=fun?enabled->fun()->{certificateAuthorityArnList;enabled}letto_valuex=structure_to_value[("certificateAuthorityArnList",(Option.mapx.certificateAuthorityArnList~f:Zz__listOf__string.to_value));("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inletcertificateAuthorityArnList=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"certificateAuthorityArnList")inmake?enabled?certificateAuthorityArnList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninletcertificateAuthorityArnList=field_mapjson__"CertificateAuthorityArnList"Zz__listOf__string.of_jsoninmake?enabled?certificateAuthorityArnList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for client authentication using TLS."]moduleUnauthenticated=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster."]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevendmoduleEncryptionAtRest=structtypenonrect={dataVolumeKMSKeyId:Zz__string.t[@ocaml.doc"The ARN of the AWS KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it."]}letcontext_="EncryptionAtRest"letmake~dataVolumeKMSKeyId=fun()->{dataVolumeKMSKeyId}letto_valuex=structure_to_value[("dataVolumeKMSKeyId",(Some(Zz__string.to_valuex.dataVolumeKMSKeyId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdataVolumeKMSKeyId=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"dataVolumeKMSKeyId")inmake~dataVolumeKMSKeyId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdataVolumeKMSKeyId=field_map_exnjson__"DataVolumeKMSKeyId"Zz__string.of_jsoninmake~dataVolumeKMSKeyId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The data-volume encryption details."]moduleEncryptionInTransit=structtypenonrect={clientBroker:ClientBroker.toption[@ocaml.doc"Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values. TLS means that client-broker communication is enabled with TLS only. TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. PLAINTEXT means that client-broker communication is enabled in plaintext only. The default value is TLS_PLAINTEXT."];inCluster:Zz__boolean.toption[@ocaml.doc"When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext. The default value is true."]}letmake?clientBroker=fun?inCluster->fun()->{clientBroker;inCluster}letto_valuex=structure_to_value[("clientBroker",(Option.mapx.clientBroker~f:ClientBroker.to_value));("inCluster",(Option.mapx.inCluster~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinCluster=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"inCluster")inletclientBroker=(Option.map~f:ClientBroker.of_xml)(Xml.childxml_arg0"clientBroker")inmake?inCluster?clientBroker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinCluster=field_mapjson__"InCluster"Zz__boolean.of_jsoninletclientBroker=field_mapjson__"ClientBroker"ClientBroker.of_jsoninmake?inCluster?clientBroker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The settings for encrypting data in transit."]moduleBrokerLogs=structtypenonrect={cloudWatchLogs:CloudWatchLogs.toption;firehose:Firehose.toption;s3:S3.toption}letmake?cloudWatchLogs=fun?firehose->fun?s3->fun()->{cloudWatchLogs;firehose;s3}letto_valuex=structure_to_value[("cloudWatchLogs",(Option.mapx.cloudWatchLogs~f:CloudWatchLogs.to_value));("firehose",(Option.mapx.firehose~f:Firehose.to_value));("s3",(Option.mapx.s3~f:S3.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3=(Option.map~f:S3.of_xml)(Xml.childxml_arg0"s3")inletfirehose=(Option.map~f:Firehose.of_xml)(Xml.childxml_arg0"firehose")inletcloudWatchLogs=(Option.map~f:CloudWatchLogs.of_xml)(Xml.childxml_arg0"cloudWatchLogs")inmake?s3?firehose?cloudWatchLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3=field_mapjson__"S3"S3.of_jsoninletfirehose=field_mapjson__"Firehose"Firehose.of_jsoninletcloudWatchLogs=field_mapjson__"CloudWatchLogs"CloudWatchLogs.of_jsoninmake?s3?firehose?cloudWatchLogs()letto_jsonv=composed_to_jsonto_valuevendmodulePrometheusInfo=structtypenonrect={jmxExporter:JmxExporterInfo.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."];nodeExporter:NodeExporterInfo.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]}letmake?jmxExporter=fun?nodeExporter->fun()->{jmxExporter;nodeExporter}letto_valuex=structure_to_value[("jmxExporter",(Option.mapx.jmxExporter~f:JmxExporterInfo.to_value));("nodeExporter",(Option.mapx.nodeExporter~f:NodeExporterInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnodeExporter=(Option.map~f:NodeExporterInfo.of_xml)(Xml.childxml_arg0"nodeExporter")inletjmxExporter=(Option.map~f:JmxExporterInfo.of_xml)(Xml.childxml_arg0"jmxExporter")inmake?nodeExporter?jmxExporter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnodeExporter=field_mapjson__"NodeExporter"NodeExporterInfo.of_jsoninletjmxExporter=field_mapjson__"JmxExporter"JmxExporterInfo.of_jsoninmake?nodeExporter?jmxExporter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Prometheus settings."]moduleRebalancingStatus=structtypenonrect=|PAUSED|ACTIVE|Non_static_idofstringletmakei=iletto_string=function|PAUSED->"PAUSED"|ACTIVE->"ACTIVE"|Non_static_ids->sletof_string=function|"PAUSED"->PAUSED|"ACTIVE"->ACTIVE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RebalancingStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RebalancingStatus"j)letto_json=simple_to_jsonto_valueendmoduleServerlessSasl=structtypenonrect={iam:Iam.toption[@ocaml.doc"Indicates whether IAM access control is enabled."]}letmake?iam=fun()->{iam}letto_valuex=structure_to_value[("iam",(Option.mapx.iam~f:Iam.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiam=(Option.map~f:Iam.of_xml)(Xml.childxml_arg0"iam")inmake?iam()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiam=field_mapjson__"Iam"Iam.of_jsoninmake?iam()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for client authentication using SASL."]moduleVpcConfig=structtypenonrect={subnetIds:Zz__listOf__string.t[@ocaml.doc"The IDs of the subnets associated with the cluster."];securityGroupIds:Zz__listOf__string.toption[@ocaml.doc"The IDs of the security groups associated with the cluster."]}letcontext_="VpcConfig"letmake?securityGroupIds=fun~subnetIds->fun()->{securityGroupIds;subnetIds}letto_valuex=structure_to_value[("subnetIds",(Some(Zz__listOf__string.to_valuex.subnetIds)));("securityGroupIds",(Option.mapx.securityGroupIds~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroupIds=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"securityGroupIds")inletsubnetIds=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"subnetIds")inmake?securityGroupIds~subnetIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroupIds=field_mapjson__"SecurityGroupIds"Zz__listOf__string.of_jsoninletsubnetIds=field_map_exnjson__"SubnetIds"Zz__listOf__string.of_jsoninmake?securityGroupIds~subnetIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration of the Amazon VPCs for the cluster."]moduleZz__listOf__double=structtypenonrect=Zz__double.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__double.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:Zz__double.of_xml)letof_jsonj=list_of_json~kind:"__listOf__double"~of_json:Zz__double.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePrometheus=structtypenonrect={jmxExporter:JmxExporter.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the JMX Exporter."];nodeExporter:NodeExporter.toption[@ocaml.doc"Indicates whether you want to turn on or turn off the Node Exporter."]}letmake?jmxExporter=fun?nodeExporter->fun()->{jmxExporter;nodeExporter}letto_valuex=structure_to_value[("jmxExporter",(Option.mapx.jmxExporter~f:JmxExporter.to_value));("nodeExporter",(Option.mapx.nodeExporter~f:NodeExporter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnodeExporter=(Option.map~f:NodeExporter.of_xml)(Xml.childxml_arg0"nodeExporter")inletjmxExporter=(Option.map~f:JmxExporter.of_xml)(Xml.childxml_arg0"jmxExporter")inmake?nodeExporter?jmxExporter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnodeExporter=field_mapjson__"NodeExporter"NodeExporter.of_jsoninletjmxExporter=field_mapjson__"JmxExporter"JmxExporter.of_jsoninmake?nodeExporter?jmxExporter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Prometheus settings."]moduleBrokerEBSVolumeInfo=structtypenonrect={kafkaBrokerNodeId:Zz__string.t[@ocaml.doc"The ID of the broker to update."];provisionedThroughput:ProvisionedThroughput.toption[@ocaml.doc"EBS volume provisioned throughput information."];volumeSizeGB:Zz__integer.toption[@ocaml.doc"Size of the EBS volume to update."]}letcontext_="BrokerEBSVolumeInfo"letmake?provisionedThroughput=fun?volumeSizeGB->fun~kafkaBrokerNodeId->fun()->{provisionedThroughput;volumeSizeGB;kafkaBrokerNodeId}letto_valuex=structure_to_value[("kafkaBrokerNodeId",(Some(Zz__string.to_valuex.kafkaBrokerNodeId)));("provisionedThroughput",(Option.mapx.provisionedThroughput~f:ProvisionedThroughput.to_value));("volumeSizeGB",(Option.mapx.volumeSizeGB~f:Zz__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvolumeSizeGB=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"volumeSizeGB")inletprovisionedThroughput=(Option.map~f:ProvisionedThroughput.of_xml)(Xml.childxml_arg0"provisionedThroughput")inletkafkaBrokerNodeId=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"kafkaBrokerNodeId")inmake?volumeSizeGB?provisionedThroughput~kafkaBrokerNodeId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvolumeSizeGB=field_mapjson__"VolumeSizeGB"Zz__integer.of_jsoninletprovisionedThroughput=field_mapjson__"ProvisionedThroughput"ProvisionedThroughput.of_jsoninletkafkaBrokerNodeId=field_map_exnjson__"KafkaBrokerNodeId"Zz__string.of_jsoninmake?volumeSizeGB?provisionedThroughput~kafkaBrokerNodeId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the EBS volume upgrade information. The broker identifier must be set to the keyword ALL. This means the changes apply to all the brokers in the cluster."]moduleUserIdentityType=structtypenonrect=|AWSACCOUNT|AWSSERVICE|Non_static_idofstringletmakei=iletto_string=function|AWSACCOUNT->"AWSACCOUNT"|AWSSERVICE->"AWSSERVICE"|Non_static_ids->sletof_string=function|"AWSACCOUNT"->AWSACCOUNT|"AWSSERVICE"->AWSSERVICE|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 UserIdentityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UserIdentityType"j)letto_json=simple_to_jsonto_valueendmoduleClusterOperationStepInfo=structtypenonrect={stepStatus:Zz__string.toption[@ocaml.doc"The steps current status."]}letmake?stepStatus=fun()->{stepStatus}letto_valuex=structure_to_value[("stepStatus",(Option.mapx.stepStatus~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstepStatus=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"stepStatus")inmake?stepStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstepStatus=field_mapjson__"StepStatus"Zz__string.of_jsoninmake?stepStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"State information about the operation step."]moduleKafkaClusterSaslScramMechanism=structtypenonrect=|SHA256|SHA512|Non_static_idofstringletmakei=iletto_string=function|SHA256->"SHA256"|SHA512->"SHA512"|Non_static_ids->sletof_string=function|"SHA256"->SHA256|"SHA512"->SHA512|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 KafkaClusterSaslScramMechanism"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"KafkaClusterSaslScramMechanism"j)letto_json=simple_to_jsonto_valueendmoduleZz__stringMax256=structtypenonrect=stringletcontext_="__stringMax256"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:256);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMax256"jletto_json=simple_to_jsonto_valueendmoduleReplicationStartingPositionType=structtypenonrect=|LATEST|EARLIEST|Non_static_idofstringletmakei=iletto_string=function|LATEST->"LATEST"|EARLIEST->"EARLIEST"|Non_static_ids->sletof_string=function|"LATEST"->LATEST|"EARLIEST"->EARLIEST|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 ReplicationStartingPositionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicationStartingPositionType"j)letto_json=simple_to_jsonto_valueendmoduleReplicationTopicNameConfigurationType=structtypenonrect=|PREFIXED_WITH_SOURCE_CLUSTER_ALIAS|IDENTICAL|Non_static_idofstringletmakei=iletto_string=function|PREFIXED_WITH_SOURCE_CLUSTER_ALIAS->"PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"|IDENTICAL->"IDENTICAL"|Non_static_ids->sletof_string=function|"PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"->PREFIXED_WITH_SOURCE_CLUSTER_ALIAS|"IDENTICAL"->IDENTICAL|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 ReplicationTopicNameConfigurationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicationTopicNameConfigurationType"j)letto_json=simple_to_jsonto_valueendmoduleZz__stringMax249=structtypenonrect=stringletcontext_="__stringMax249"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:249);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMax249"jletto_json=simple_to_jsonto_valueendmoduleKafkaClusterSummary=structtypenonrect={amazonMskCluster:AmazonMskCluster.toption[@ocaml.doc"Details of an Amazon MSK Cluster."];apacheKafkaCluster:ApacheKafkaCluster.toption[@ocaml.doc"Details of an Apache Kafka Cluster."];kafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the Kafka cluster. Used to prefix names of replicated topics."]}letmake?amazonMskCluster=fun?apacheKafkaCluster->fun?kafkaClusterAlias->fun()->{amazonMskCluster;apacheKafkaCluster;kafkaClusterAlias}letto_valuex=structure_to_value[("amazonMskCluster",(Option.mapx.amazonMskCluster~f:AmazonMskCluster.to_value));("apacheKafkaCluster",(Option.mapx.apacheKafkaCluster~f:ApacheKafkaCluster.to_value));("kafkaClusterAlias",(Option.mapx.kafkaClusterAlias~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"kafkaClusterAlias")inletapacheKafkaCluster=(Option.map~f:ApacheKafkaCluster.of_xml)(Xml.childxml_arg0"apacheKafkaCluster")inletamazonMskCluster=(Option.map~f:AmazonMskCluster.of_xml)(Xml.childxml_arg0"amazonMskCluster")inmake?kafkaClusterAlias?apacheKafkaCluster?amazonMskCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkafkaClusterAlias=field_mapjson__"KafkaClusterAlias"Zz__string.of_jsoninletapacheKafkaCluster=field_mapjson__"ApacheKafkaCluster"ApacheKafkaCluster.of_jsoninletamazonMskCluster=field_mapjson__"AmazonMskCluster"AmazonMskCluster.of_jsoninmake?kafkaClusterAlias?apacheKafkaCluster?amazonMskCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summarized information about Kafka Cluster used as source / target for replication."]moduleReplicationInfoSummary=structtypenonrect={sourceKafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the source Kafka cluster."];targetKafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the target Kafka cluster."]}letmake?sourceKafkaClusterAlias=fun?targetKafkaClusterAlias->fun()->{sourceKafkaClusterAlias;targetKafkaClusterAlias}letto_valuex=structure_to_value[("sourceKafkaClusterAlias",(Option.mapx.sourceKafkaClusterAlias~f:Zz__string.to_value));("targetKafkaClusterAlias",(Option.mapx.targetKafkaClusterAlias~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetKafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterAlias")inletsourceKafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterAlias")inmake?targetKafkaClusterAlias?sourceKafkaClusterAlias()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetKafkaClusterAlias=field_mapjson__"TargetKafkaClusterAlias"Zz__string.of_jsoninletsourceKafkaClusterAlias=field_mapjson__"SourceKafkaClusterAlias"Zz__string.of_jsoninmake?targetKafkaClusterAlias?sourceKafkaClusterAlias()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summarized information of replication between clusters."]moduleBrokerSoftwareInfo=structtypenonrect={configurationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration used for the cluster. This field isn't visible in this preview release."];configurationRevision:Zz__long.toption[@ocaml.doc"The revision of the configuration to use. This field isn't visible in this preview release."];kafkaVersion:Zz__string.toption[@ocaml.doc"The version of Apache Kafka."]}letmake?configurationArn=fun?configurationRevision->fun?kafkaVersion->fun()->{configurationArn;configurationRevision;kafkaVersion}letto_valuex=structure_to_value[("configurationArn",(Option.mapx.configurationArn~f:Zz__string.to_value));("configurationRevision",(Option.mapx.configurationRevision~f:Zz__long.to_value));("kafkaVersion",(Option.mapx.kafkaVersion~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkafkaVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"kafkaVersion")inletconfigurationRevision=(Option.map~f:Zz__long.of_xml)(Xml.childxml_arg0"configurationRevision")inletconfigurationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"configurationArn")inmake?kafkaVersion?configurationRevision?configurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkafkaVersion=field_mapjson__"KafkaVersion"Zz__string.of_jsoninletconfigurationRevision=field_mapjson__"ConfigurationRevision"Zz__long.of_jsoninletconfigurationArn=field_mapjson__"ConfigurationArn"Zz__string.of_jsoninmake?kafkaVersion?configurationRevision?configurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the current software installed on the cluster."]moduleZz__timestampIso8601=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_valueendmoduleBrokerNodeGroupInfo=structtypenonrect={brokerAZDistribution:BrokerAZDistribution.toption[@ocaml.doc"The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed. Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster."];clientSubnets:Zz__listOf__string.t[@ocaml.doc"The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3."];instanceType:Zz__stringMin5Max32.t[@ocaml.doc"The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge."];securityGroups:Zz__listOf__string.toption[@ocaml.doc"The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC."];storageInfo:StorageInfo.toption[@ocaml.doc"Contains information about storage volumes attached to MSK broker nodes."];connectivityInfo:ConnectivityInfo.toption[@ocaml.doc"Information about the broker access configuration."];zoneIds:Zz__listOf__string.toption[@ocaml.doc"The list of zoneIds for the cluster in the virtual private cloud (VPC)."]}letcontext_="BrokerNodeGroupInfo"letmake?brokerAZDistribution=fun?securityGroups->fun?storageInfo->fun?connectivityInfo->fun?zoneIds->fun~clientSubnets->fun~instanceType->fun()->{brokerAZDistribution;securityGroups;storageInfo;connectivityInfo;zoneIds;clientSubnets;instanceType}letto_valuex=structure_to_value[("brokerAZDistribution",(Option.mapx.brokerAZDistribution~f:BrokerAZDistribution.to_value));("clientSubnets",(Some(Zz__listOf__string.to_valuex.clientSubnets)));("instanceType",(Some(Zz__stringMin5Max32.to_valuex.instanceType)));("securityGroups",(Option.mapx.securityGroups~f:Zz__listOf__string.to_value));("storageInfo",(Option.mapx.storageInfo~f:StorageInfo.to_value));("connectivityInfo",(Option.mapx.connectivityInfo~f:ConnectivityInfo.to_value));("zoneIds",(Option.mapx.zoneIds~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letzoneIds=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"zoneIds")inletconnectivityInfo=(Option.map~f:ConnectivityInfo.of_xml)(Xml.childxml_arg0"connectivityInfo")inletstorageInfo=(Option.map~f:StorageInfo.of_xml)(Xml.childxml_arg0"storageInfo")inletsecurityGroups=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"securityGroups")inletinstanceType=Zz__stringMin5Max32.of_xml(Xml.child_exn~context:context_xml_arg0"instanceType")inletclientSubnets=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"clientSubnets")inletbrokerAZDistribution=(Option.map~f:BrokerAZDistribution.of_xml)(Xml.childxml_arg0"brokerAZDistribution")inmake?zoneIds?connectivityInfo?storageInfo?securityGroups~instanceType~clientSubnets?brokerAZDistribution()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letzoneIds=field_mapjson__"ZoneIds"Zz__listOf__string.of_jsoninletconnectivityInfo=field_mapjson__"ConnectivityInfo"ConnectivityInfo.of_jsoninletstorageInfo=field_mapjson__"StorageInfo"StorageInfo.of_jsoninletsecurityGroups=field_mapjson__"SecurityGroups"Zz__listOf__string.of_jsoninletinstanceType=field_map_exnjson__"InstanceType"Zz__stringMin5Max32.of_jsoninletclientSubnets=field_map_exnjson__"ClientSubnets"Zz__listOf__string.of_jsoninletbrokerAZDistribution=field_mapjson__"BrokerAZDistribution"BrokerAZDistribution.of_jsoninmake?zoneIds?connectivityInfo?storageInfo?securityGroups~instanceType~clientSubnets?brokerAZDistribution()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the setup to be used for Apache Kafka broker nodes in the cluster."]moduleClientAuthentication=structtypenonrect={sasl:Sasl.toption[@ocaml.doc"Details for ClientAuthentication using SASL."];tls:Tls.toption[@ocaml.doc"Details for ClientAuthentication using TLS."];unauthenticated:Unauthenticated.toption[@ocaml.doc"Contains information about unauthenticated traffic to the cluster."]}letmake?sasl=fun?tls->fun?unauthenticated->fun()->{sasl;tls;unauthenticated}letto_valuex=structure_to_value[("sasl",(Option.mapx.sasl~f:Sasl.to_value));("tls",(Option.mapx.tls~f:Tls.to_value));("unauthenticated",(Option.mapx.unauthenticated~f:Unauthenticated.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunauthenticated=(Option.map~f:Unauthenticated.of_xml)(Xml.childxml_arg0"unauthenticated")inlettls=(Option.map~f:Tls.of_xml)(Xml.childxml_arg0"tls")inletsasl=(Option.map~f:Sasl.of_xml)(Xml.childxml_arg0"sasl")inmake?unauthenticated?tls?sasl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunauthenticated=field_mapjson__"Unauthenticated"Unauthenticated.of_jsoninlettls=field_mapjson__"Tls"Tls.of_jsoninletsasl=field_mapjson__"Sasl"Sasl.of_jsoninmake?unauthenticated?tls?sasl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Includes all client authentication information."]moduleCustomerActionStatus=structtypenonrect=|CRITICAL_ACTION_REQUIRED|ACTION_RECOMMENDED|NONE|Non_static_idofstringletmakei=iletto_string=function|CRITICAL_ACTION_REQUIRED->"CRITICAL_ACTION_REQUIRED"|ACTION_RECOMMENDED->"ACTION_RECOMMENDED"|NONE->"NONE"|Non_static_ids->sletof_string=function|"CRITICAL_ACTION_REQUIRED"->CRITICAL_ACTION_REQUIRED|"ACTION_RECOMMENDED"->ACTION_RECOMMENDED|"NONE"->NONE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration CustomerActionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CustomerActionStatus"j)letto_json=simple_to_jsonto_valueendmoduleEncryptionInfo=structtypenonrect={encryptionAtRest:EncryptionAtRest.toption[@ocaml.doc"The data-volume encryption details."];encryptionInTransit:EncryptionInTransit.toption[@ocaml.doc"The details for encryption in transit."]}letmake?encryptionAtRest=fun?encryptionInTransit->fun()->{encryptionAtRest;encryptionInTransit}letto_valuex=structure_to_value[("encryptionAtRest",(Option.mapx.encryptionAtRest~f:EncryptionAtRest.to_value));("encryptionInTransit",(Option.mapx.encryptionInTransit~f:EncryptionInTransit.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionInTransit=(Option.map~f:EncryptionInTransit.of_xml)(Xml.childxml_arg0"encryptionInTransit")inletencryptionAtRest=(Option.map~f:EncryptionAtRest.of_xml)(Xml.childxml_arg0"encryptionAtRest")inmake?encryptionInTransit?encryptionAtRest()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionInTransit=field_mapjson__"EncryptionInTransit"EncryptionInTransit.of_jsoninletencryptionAtRest=field_mapjson__"EncryptionAtRest"EncryptionAtRest.of_jsoninmake?encryptionInTransit?encryptionAtRest()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Includes encryption-related information, such as the AWS KMS key used for encrypting data at rest and whether you want MSK to encrypt your data in transit."]moduleEnhancedMonitoring=structtypenonrect=|DEFAULT|PER_BROKER|PER_TOPIC_PER_BROKER|PER_TOPIC_PER_PARTITION|Non_static_idofstringletmakei=iletto_string=function|DEFAULT->"DEFAULT"|PER_BROKER->"PER_BROKER"|PER_TOPIC_PER_BROKER->"PER_TOPIC_PER_BROKER"|PER_TOPIC_PER_PARTITION->"PER_TOPIC_PER_PARTITION"|Non_static_ids->sletof_string=function|"DEFAULT"->DEFAULT|"PER_BROKER"->PER_BROKER|"PER_TOPIC_PER_BROKER"->PER_TOPIC_PER_BROKER|"PER_TOPIC_PER_PARTITION"->PER_TOPIC_PER_PARTITION|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 EnhancedMonitoring"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnhancedMonitoring"j)letto_json=simple_to_jsonto_valueendmoduleLoggingInfo=structtypenonrect={brokerLogs:BrokerLogs.t}letcontext_="LoggingInfo"letmake~brokerLogs=fun()->{brokerLogs}letto_valuex=structure_to_value[("brokerLogs",(Some(BrokerLogs.to_valuex.brokerLogs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbrokerLogs=BrokerLogs.of_xml(Xml.child_exn~context:context_xml_arg0"brokerLogs")inmake~brokerLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbrokerLogs=field_map_exnjson__"BrokerLogs"BrokerLogs.of_jsoninmake~brokerLogs()letto_jsonv=composed_to_jsonto_valuevendmoduleOpenMonitoringInfo=structtypenonrect={prometheus:PrometheusInfo.t[@ocaml.doc"Prometheus settings."]}letcontext_="OpenMonitoringInfo"letmake~prometheus=fun()->{prometheus}letto_valuex=structure_to_value[("prometheus",(Some(PrometheusInfo.to_valuex.prometheus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprometheus=PrometheusInfo.of_xml(Xml.child_exn~context:context_xml_arg0"prometheus")inmake~prometheus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprometheus=field_map_exnjson__"Prometheus"PrometheusInfo.of_jsoninmake~prometheus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"JMX and Node monitoring for the MSK cluster."]moduleRebalancing=structtypenonrect={status:RebalancingStatus.toption[@ocaml.doc"Intelligent rebalancing status. The default intelligent rebalancing status is ACTIVE for all new Express-based clusters."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:RebalancingStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:RebalancingStatus.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"RebalancingStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies whether or not intelligent rebalancing is turned on for a newly created MSK Provisioned cluster with Express brokers. Intelligent rebalancing performs automatic partition balancing operations when you scale your clusters up or down. By default, intelligent rebalancing is ACTIVE for all new Express-based clusters."]moduleStorageMode=structtypenonrect=|LOCAL|TIERED|Non_static_idofstringletmakei=iletto_string=function|LOCAL->"LOCAL"|TIERED->"TIERED"|Non_static_ids->sletof_string=function|"LOCAL"->LOCAL|"TIERED"->TIERED|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 StorageMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StorageMode"j)letto_json=simple_to_jsonto_valueendmoduleZz__integerMin1Max15=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:15)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for __integerMin1Max15"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleServerlessClientAuthentication=structtypenonrect={sasl:ServerlessSasl.toption[@ocaml.doc"Details for ClientAuthentication using SASL."]}letmake?sasl=fun()->{sasl}letto_valuex=structure_to_value[("sasl",(Option.mapx.sasl~f:ServerlessSasl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsasl=(Option.map~f:ServerlessSasl.of_xml)(Xml.childxml_arg0"sasl")inmake?sasl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsasl=field_mapjson__"Sasl"ServerlessSasl.of_jsoninmake?sasl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Includes all client authentication information."]moduleServerlessConnectivityInfo=structtypenonrect={networkType:NetworkType.toption[@ocaml.doc"The network type of the cluster, which is IPv4 or DUAL. The DUAL network type uses both IPv4 and IPv6 addresses for your cluster and its resources.By default, a cluster uses the IPv4 network type."]}letmake?networkType=fun()->{networkType}letto_valuex=structure_to_value[("networkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"networkType")inmake?networkType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninmake?networkType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the cluster's connectivity information, such as its network type, which is IPv4 or DUAL."]moduleZz__listOfVpcConfig=structtypenonrect=VpcConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VpcConfig.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:VpcConfig.of_xml)letof_jsonj=list_of_json~kind:"__listOfVpcConfig"~of_json:VpcConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBrokerCountUpdateInfo=structtypenonrect={createdBrokerIds:Zz__listOf__double.toption[@ocaml.doc"Kafka Broker IDs of brokers being created."];deletedBrokerIds:Zz__listOf__double.toption[@ocaml.doc"Kafka Broker IDs of brokers being deleted."]}letmake?createdBrokerIds=fun?deletedBrokerIds->fun()->{createdBrokerIds;deletedBrokerIds}letto_valuex=structure_to_value[("createdBrokerIds",(Option.mapx.createdBrokerIds~f:Zz__listOf__double.to_value));("deletedBrokerIds",(Option.mapx.deletedBrokerIds~f:Zz__listOf__double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeletedBrokerIds=(Option.map~f:Zz__listOf__double.of_xml)(Xml.childxml_arg0"deletedBrokerIds")inletcreatedBrokerIds=(Option.map~f:Zz__listOf__double.of_xml)(Xml.childxml_arg0"createdBrokerIds")inmake?deletedBrokerIds?createdBrokerIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeletedBrokerIds=field_mapjson__"DeletedBrokerIds"Zz__listOf__double.of_jsoninletcreatedBrokerIds=field_mapjson__"CreatedBrokerIds"Zz__listOf__double.of_jsoninmake?deletedBrokerIds?createdBrokerIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information regarding UpdateBrokerCount."]moduleConfigurationInfo=structtypenonrect={arn:Zz__string.t[@ocaml.doc"ARN of the configuration to use."];revision:Zz__long.t[@ocaml.doc"The revision of the configuration to use."]}letcontext_="ConfigurationInfo"letmake~arn=fun~revision->fun()->{arn;revision}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)));("revision",(Some(Zz__long.to_valuex.revision)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevision=Zz__long.of_xml(Xml.child_exn~context:context_xml_arg0"revision")inletarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~revision~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevision=field_map_exnjson__"Revision"Zz__long.of_jsoninletarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~revision~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the configuration to use for the brokers."]moduleOpenMonitoring=structtypenonrect={prometheus:Prometheus.toption[@ocaml.doc"Prometheus settings."]}letmake?prometheus=fun()->{prometheus}letto_valuex=structure_to_value[("prometheus",(Option.mapx.prometheus~f:Prometheus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprometheus=(Option.map~f:Prometheus.of_xml)(Xml.childxml_arg0"prometheus")inmake?prometheus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprometheus=field_mapjson__"Prometheus"Prometheus.of_jsoninmake?prometheus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"JMX and Node monitoring for the MSK cluster."]moduleZookeeperAccess=structtypenonrect={enabled:Zz__boolean.toption[@ocaml.doc"Zookeeper Access was on or off for the cluster"]}letmake?enabled=fun()->{enabled}letto_valuex=structure_to_value[("enabled",(Option.mapx.enabled~f:Zz__boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"enabled")inmake?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_mapjson__"Enabled"Zz__boolean.of_jsoninmake?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Access control settings for zookeeper"]moduleZz__listOfBrokerEBSVolumeInfo=structtypenonrect=BrokerEBSVolumeInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BrokerEBSVolumeInfo.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:BrokerEBSVolumeInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfBrokerEBSVolumeInfo"~of_json:BrokerEBSVolumeInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUserIdentity=structtypenonrect={type_:UserIdentityType.toption[@ocaml.doc"The identity type of the requester that calls the API operation."];principalId:Zz__string.toption[@ocaml.doc"A unique identifier for the requester that calls the API operation."]}letmake?type_=fun?principalId->fun()->{type_;principalId}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:UserIdentityType.to_value));("principalId",(Option.mapx.principalId~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprincipalId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"principalId")inlettype_=(Option.map~f:UserIdentityType.of_xml)(Xml.childxml_arg0"type")inmake?principalId?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprincipalId=field_mapjson__"PrincipalId"Zz__string.of_jsoninlettype_=field_mapjson__"Type"UserIdentityType.of_jsoninmake?principalId?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Description of the requester that calls the API operation."]moduleClusterOperationStep=structtypenonrect={stepInfo:ClusterOperationStepInfo.toption[@ocaml.doc"Information about the step and its status."];stepName:Zz__string.toption[@ocaml.doc"The name of the step."]}letmake?stepInfo=fun?stepName->fun()->{stepInfo;stepName}letto_valuex=structure_to_value[("stepInfo",(Option.mapx.stepInfo~f:ClusterOperationStepInfo.to_value));("stepName",(Option.mapx.stepName~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstepName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"stepName")inletstepInfo=(Option.map~f:ClusterOperationStepInfo.of_xml)(Xml.childxml_arg0"stepInfo")inmake?stepName?stepInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstepName=field_mapjson__"StepName"Zz__string.of_jsoninletstepInfo=field_mapjson__"StepInfo"ClusterOperationStepInfo.of_jsoninmake?stepName?stepInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Step taken during a cluster operation."]moduleKafkaClusterSaslScramAuthentication=structtypenonrect={mechanism:KafkaClusterSaslScramMechanism.t[@ocaml.doc"The SASL/SCRAM authentication mechanism."];secretArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Secrets Manager secret."]}letcontext_="KafkaClusterSaslScramAuthentication"letmake~mechanism=fun~secretArn->fun()->{mechanism;secretArn}letto_valuex=structure_to_value[("mechanism",(Some(KafkaClusterSaslScramMechanism.to_valuex.mechanism)));("secretArn",(Some(Zz__string.to_valuex.secretArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"secretArn")inletmechanism=KafkaClusterSaslScramMechanism.of_xml(Xml.child_exn~context:context_xml_arg0"mechanism")inmake~secretArn~mechanism()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretArn=field_map_exnjson__"SecretArn"Zz__string.of_jsoninletmechanism=field_map_exnjson__"Mechanism"KafkaClusterSaslScramMechanism.of_jsoninmake~secretArn~mechanism()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for SASL/SCRAM client authentication."]moduleKafkaClusterEncryptionInTransitType=structtypenonrect=|TLS|Non_static_idofstringletmakei=iletto_string=function|TLS->"TLS"|Non_static_ids->sletof_string=function|"TLS"->TLS|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 KafkaClusterEncryptionInTransitType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"KafkaClusterEncryptionInTransitType"j)letto_json=simple_to_jsonto_valueendmoduleConsumerGroupOffsetSyncMode=structtypenonrect=|LEGACY|ENHANCED|Non_static_idofstringletmakei=iletto_string=function|LEGACY->"LEGACY"|ENHANCED->"ENHANCED"|Non_static_ids->sletof_string=function|"LEGACY"->LEGACY|"ENHANCED"->ENHANCED|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 ConsumerGroupOffsetSyncMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConsumerGroupOffsetSyncMode"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOf__stringMax256=structtypenonrect=Zz__stringMax256.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__stringMax256.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:Zz__stringMax256.of_xml)letof_jsonj=list_of_json~kind:"__listOf__stringMax256"~of_json:Zz__stringMax256.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplicationStartingPosition=structtypenonrect={type_:ReplicationStartingPositionType.toption[@ocaml.doc"The type of replication starting position."]}letmake?type_=fun()->{type_}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:ReplicationStartingPositionType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:ReplicationStartingPositionType.of_xml)(Xml.childxml_arg0"type")inmake?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"ReplicationStartingPositionType.of_jsoninmake?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for specifying the position in the topics to start replicating from."]moduleReplicationTopicNameConfiguration=structtypenonrect={type_:ReplicationTopicNameConfigurationType.toption[@ocaml.doc"The type of replicated topic name."]}letmake?type_=fun()->{type_}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:ReplicationTopicNameConfigurationType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:ReplicationTopicNameConfigurationType.of_xml)(Xml.childxml_arg0"type")inmake?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"ReplicationTopicNameConfigurationType.of_jsoninmake?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias."]moduleZz__listOf__stringMax249=structtypenonrect=Zz__stringMax249.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__stringMax249.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:Zz__stringMax249.of_xml)letof_jsonj=list_of_json~kind:"__listOf__stringMax249"~of_json:Zz__stringMax249.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplicatorCloudWatchLogs=structtypenonrect={enabled:Zz__boolean.t[@ocaml.doc"Whether log delivery to CloudWatch Logs is enabled."];logGroup:Zz__string.toption[@ocaml.doc"The CloudWatch log group that is the destination for log delivery."]}letcontext_="ReplicatorCloudWatchLogs"letmake?logGroup=fun~enabled->fun()->{logGroup;enabled}letto_valuex=structure_to_value[("enabled",(Some(Zz__boolean.to_valuex.enabled)));("logGroup",(Option.mapx.logGroup~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogGroup=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"logGroup")inletenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inmake?logGroup~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogGroup=field_mapjson__"LogGroup"Zz__string.of_jsoninletenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninmake?logGroup~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about delivering logs to CloudWatch Logs."]moduleReplicatorFirehose=structtypenonrect={enabled:Zz__boolean.t[@ocaml.doc"Whether log delivery to Firehose is enabled."];deliveryStream:Zz__string.toption[@ocaml.doc"The Firehose delivery stream that is the destination for log delivery."]}letcontext_="ReplicatorFirehose"letmake?deliveryStream=fun~enabled->fun()->{deliveryStream;enabled}letto_valuex=structure_to_value[("enabled",(Some(Zz__boolean.to_valuex.enabled)));("deliveryStream",(Option.mapx.deliveryStream~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeliveryStream=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"deliveryStream")inletenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inmake?deliveryStream~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeliveryStream=field_mapjson__"DeliveryStream"Zz__string.of_jsoninletenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninmake?deliveryStream~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about delivering logs to Firehose."]moduleReplicatorS3=structtypenonrect={enabled:Zz__boolean.t[@ocaml.doc"Whether log delivery to S3 is enabled."];bucket:Zz__string.toption[@ocaml.doc"The S3 bucket that is the destination for log delivery."];prefix:Zz__string.toption[@ocaml.doc"The S3 prefix that is the destination for log delivery."]}letcontext_="ReplicatorS3"letmake?bucket=fun?prefix->fun~enabled->fun()->{bucket;prefix;enabled}letto_valuex=structure_to_value[("enabled",(Some(Zz__boolean.to_valuex.enabled)));("bucket",(Option.mapx.bucket~f:Zz__string.to_value));("prefix",(Option.mapx.prefix~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprefix=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"prefix")inletbucket=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bucket")inletenabled=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"enabled")inmake?prefix?bucket~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprefix=field_mapjson__"Prefix"Zz__string.of_jsoninletbucket=field_mapjson__"Bucket"Zz__string.of_jsoninletenabled=field_map_exnjson__"Enabled"Zz__boolean.of_jsoninmake?prefix?bucket~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about delivering logs to S3."]moduleVpcConnectionState=structtypenonrect=|CREATING|AVAILABLE|INACTIVE|DEACTIVATING|DELETING|FAILED|REJECTED|REJECTING|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|AVAILABLE->"AVAILABLE"|INACTIVE->"INACTIVE"|DEACTIVATING->"DEACTIVATING"|DELETING->"DELETING"|FAILED->"FAILED"|REJECTED->"REJECTED"|REJECTING->"REJECTING"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"AVAILABLE"->AVAILABLE|"INACTIVE"->INACTIVE|"DEACTIVATING"->DEACTIVATING|"DELETING"->DELETING|"FAILED"->FAILED|"REJECTED"->REJECTED|"REJECTING"->REJECTING|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 VpcConnectionState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VpcConnectionState"j)letto_json=simple_to_jsonto_valueendmoduleReplicatorState=structtypenonrect=|RUNNING|CREATING|UPDATING|DELETING|FAILED|Non_static_idofstringletmakei=iletto_string=function|RUNNING->"RUNNING"|CREATING->"CREATING"|UPDATING->"UPDATING"|DELETING->"DELETING"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"RUNNING"->RUNNING|"CREATING"->CREATING|"UPDATING"->UPDATING|"DELETING"->DELETING|"FAILED"->FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ReplicatorState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicatorState"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOfKafkaClusterSummary=structtypenonrect=KafkaClusterSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:KafkaClusterSummary.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:KafkaClusterSummary.of_xml)letof_jsonj=list_of_json~kind:"__listOfKafkaClusterSummary"~of_json:KafkaClusterSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfReplicationInfoSummary=structtypenonrect=ReplicationInfoSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplicationInfoSummary.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:ReplicationInfoSummary.of_xml)letof_jsonj=list_of_json~kind:"__listOfReplicationInfoSummary"~of_json:ReplicationInfoSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBrokerNodeInfo=structtypenonrect={attachedENIId:Zz__string.toption[@ocaml.doc"The attached elastic network interface of the broker."];brokerId:Zz__double.toption[@ocaml.doc"The ID of the broker."];clientSubnet:Zz__string.toption[@ocaml.doc"The client subnet to which this broker node belongs."];clientVpcIpAddress:Zz__string.toption[@ocaml.doc"The virtual private cloud (VPC) of the client."];currentBrokerSoftwareInfo:BrokerSoftwareInfo.toption[@ocaml.doc"Information about the version of software currently deployed on the Apache Kafka brokers in the cluster."];endpoints:Zz__listOf__string.toption[@ocaml.doc"Endpoints for accessing the broker."]}letmake?attachedENIId=fun?brokerId->fun?clientSubnet->fun?clientVpcIpAddress->fun?currentBrokerSoftwareInfo->fun?endpoints->fun()->{attachedENIId;brokerId;clientSubnet;clientVpcIpAddress;currentBrokerSoftwareInfo;endpoints}letto_valuex=structure_to_value[("attachedENIId",(Option.mapx.attachedENIId~f:Zz__string.to_value));("brokerId",(Option.mapx.brokerId~f:Zz__double.to_value));("clientSubnet",(Option.mapx.clientSubnet~f:Zz__string.to_value));("clientVpcIpAddress",(Option.mapx.clientVpcIpAddress~f:Zz__string.to_value));("currentBrokerSoftwareInfo",(Option.mapx.currentBrokerSoftwareInfo~f:BrokerSoftwareInfo.to_value));("endpoints",(Option.mapx.endpoints~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpoints=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"endpoints")inletcurrentBrokerSoftwareInfo=(Option.map~f:BrokerSoftwareInfo.of_xml)(Xml.childxml_arg0"currentBrokerSoftwareInfo")inletclientVpcIpAddress=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clientVpcIpAddress")inletclientSubnet=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clientSubnet")inletbrokerId=(Option.map~f:Zz__double.of_xml)(Xml.childxml_arg0"brokerId")inletattachedENIId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"attachedENIId")inmake?endpoints?currentBrokerSoftwareInfo?clientVpcIpAddress?clientSubnet?brokerId?attachedENIId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpoints=field_mapjson__"Endpoints"Zz__listOf__string.of_jsoninletcurrentBrokerSoftwareInfo=field_mapjson__"CurrentBrokerSoftwareInfo"BrokerSoftwareInfo.of_jsoninletclientVpcIpAddress=field_mapjson__"ClientVpcIpAddress"Zz__string.of_jsoninletclientSubnet=field_mapjson__"ClientSubnet"Zz__string.of_jsoninletbrokerId=field_mapjson__"BrokerId"Zz__double.of_jsoninletattachedENIId=field_mapjson__"AttachedENIId"Zz__string.of_jsoninmake?endpoints?currentBrokerSoftwareInfo?clientVpcIpAddress?clientSubnet?brokerId?attachedENIId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"BrokerNodeInfo"]moduleControllerNodeInfo=structtypenonrect={endpoints:Zz__listOf__string.toption[@ocaml.doc"Endpoints for accessing the Controller."]}letmake?endpoints=fun()->{endpoints}letto_valuex=structure_to_value[("endpoints",(Option.mapx.endpoints~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpoints=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"endpoints")inmake?endpoints()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpoints=field_mapjson__"Endpoints"Zz__listOf__string.of_jsoninmake?endpoints()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Controller node information."]moduleNodeType=structtypenonrect=|BROKER|Non_static_idofstringletmakei=iletto_string=function|BROKER->"BROKER"|Non_static_ids->sletof_string=function|"BROKER"->BROKER|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 NodeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NodeType"j)letto_json=simple_to_jsonto_valueendmoduleZookeeperNodeInfo=structtypenonrect={attachedENIId:Zz__string.toption[@ocaml.doc"The attached elastic network interface of the broker."];clientVpcIpAddress:Zz__string.toption[@ocaml.doc"The virtual private cloud (VPC) IP address of the client."];endpoints:Zz__listOf__string.toption[@ocaml.doc"Endpoints for accessing the ZooKeeper."];zookeeperId:Zz__double.toption[@ocaml.doc"The role-specific ID for Zookeeper."];zookeeperVersion:Zz__string.toption[@ocaml.doc"The version of Zookeeper."]}letmake?attachedENIId=fun?clientVpcIpAddress->fun?endpoints->fun?zookeeperId->fun?zookeeperVersion->fun()->{attachedENIId;clientVpcIpAddress;endpoints;zookeeperId;zookeeperVersion}letto_valuex=structure_to_value[("attachedENIId",(Option.mapx.attachedENIId~f:Zz__string.to_value));("clientVpcIpAddress",(Option.mapx.clientVpcIpAddress~f:Zz__string.to_value));("endpoints",(Option.mapx.endpoints~f:Zz__listOf__string.to_value));("zookeeperId",(Option.mapx.zookeeperId~f:Zz__double.to_value));("zookeeperVersion",(Option.mapx.zookeeperVersion~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letzookeeperVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"zookeeperVersion")inletzookeeperId=(Option.map~f:Zz__double.of_xml)(Xml.childxml_arg0"zookeeperId")inletendpoints=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"endpoints")inletclientVpcIpAddress=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clientVpcIpAddress")inletattachedENIId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"attachedENIId")inmake?zookeeperVersion?zookeeperId?endpoints?clientVpcIpAddress?attachedENIId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letzookeeperVersion=field_mapjson__"ZookeeperVersion"Zz__string.of_jsoninletzookeeperId=field_mapjson__"ZookeeperId"Zz__double.of_jsoninletendpoints=field_mapjson__"Endpoints"Zz__listOf__string.of_jsoninletclientVpcIpAddress=field_mapjson__"ClientVpcIpAddress"Zz__string.of_jsoninletattachedENIId=field_mapjson__"AttachedENIId"Zz__string.of_jsoninmake?zookeeperVersion?zookeeperId?endpoints?clientVpcIpAddress?attachedENIId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Zookeeper node information."]moduleKafkaVersionStatus=structtypenonrect=|ACTIVE|DEPRECATED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DEPRECATED->"DEPRECATED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DEPRECATED"->DEPRECATED|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 KafkaVersionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"KafkaVersionStatus"j)letto_json=simple_to_jsonto_valueendmoduleConfigurationRevision=structtypenonrect={creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the configuration revision was created."];description:Zz__string.toption[@ocaml.doc"The description of the configuration revision."];revision:Zz__long.toption[@ocaml.doc"The revision number."]}letmake?creationTime=fun?description->fun?revision->fun()->{creationTime;description;revision}letto_valuex=structure_to_value[("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("description",(Option.mapx.description~f:Zz__string.to_value));("revision",(Option.mapx.revision~f:Zz__long.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevision=(Option.map~f:Zz__long.of_xml)(Xml.childxml_arg0"revision")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inmake?revision?description?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevision=field_mapjson__"Revision"Zz__long.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninmake?revision?description?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a configuration revision."]moduleConfigurationState=structtypenonrect=|ACTIVE|DELETING|DELETE_FAILED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DELETING->"DELETING"|DELETE_FAILED->"DELETE_FAILED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DELETING"->DELETING|"DELETE_FAILED"->DELETE_FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ConfigurationState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConfigurationState"j)letto_json=simple_to_jsonto_valueendmoduleClusterState=structtypenonrect=|ACTIVE|CREATING|DELETING|FAILED|HEALING|MAINTENANCE|REBOOTING_BROKER|UPDATING|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|CREATING->"CREATING"|DELETING->"DELETING"|FAILED->"FAILED"|HEALING->"HEALING"|MAINTENANCE->"MAINTENANCE"|REBOOTING_BROKER->"REBOOTING_BROKER"|UPDATING->"UPDATING"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"CREATING"->CREATING|"DELETING"->DELETING|"FAILED"->FAILED|"HEALING"->HEALING|"MAINTENANCE"->MAINTENANCE|"REBOOTING_BROKER"->REBOOTING_BROKER|"UPDATING"->UPDATING|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 ClusterState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ClusterState"j)letto_json=simple_to_jsonto_valueendmoduleClusterType=structtypenonrect=|PROVISIONED|SERVERLESS|Non_static_idofstringletmakei=iletto_string=function|PROVISIONED->"PROVISIONED"|SERVERLESS->"SERVERLESS"|Non_static_ids->sletof_string=function|"PROVISIONED"->PROVISIONED|"SERVERLESS"->SERVERLESS|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 ClusterType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ClusterType"j)letto_json=simple_to_jsonto_valueendmoduleProvisioned=structtypenonrect={brokerNodeGroupInfo:BrokerNodeGroupInfo.toption[@ocaml.doc"Information about the brokers."];rebalancing:Rebalancing.toption[@ocaml.doc"Specifies whether or not intelligent rebalancing is turned on for a newly created MSK Provisioned cluster with Express brokers. Intelligent rebalancing performs automatic partition balancing operations when you scale your clusters up or down. By default, intelligent rebalancing is ACTIVE for all new Express-based clusters."];currentBrokerSoftwareInfo:BrokerSoftwareInfo.toption[@ocaml.doc"Information about the Apache Kafka version deployed on the brokers."];clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION."];openMonitoring:OpenMonitoringInfo.toption[@ocaml.doc"The settings for open monitoring."];loggingInfo:LoggingInfo.toption[@ocaml.doc"Log delivery information for the cluster."];numberOfBrokerNodes:Zz__integerMin1Max15.toption[@ocaml.doc"The number of broker nodes in the cluster."];zookeeperConnectString:Zz__string.toption[@ocaml.doc"The connection string to use to connect to the Apache ZooKeeper cluster."];zookeeperConnectStringTls:Zz__string.toption[@ocaml.doc"The connection string to use to connect to the Apache ZooKeeper cluster on a TLS port."];storageMode:StorageMode.toption[@ocaml.doc"This controls storage mode for supported storage tiers."];customerActionStatus:CustomerActionStatus.toption[@ocaml.doc"Determines if there is an action required from the customer."]}letmake?brokerNodeGroupInfo=fun?rebalancing->fun?currentBrokerSoftwareInfo->fun?clientAuthentication->fun?encryptionInfo->fun?enhancedMonitoring->fun?openMonitoring->fun?loggingInfo->fun?numberOfBrokerNodes->fun?zookeeperConnectString->fun?zookeeperConnectStringTls->fun?storageMode->fun?customerActionStatus->fun()->{brokerNodeGroupInfo;rebalancing;currentBrokerSoftwareInfo;clientAuthentication;encryptionInfo;enhancedMonitoring;openMonitoring;loggingInfo;numberOfBrokerNodes;zookeeperConnectString;zookeeperConnectStringTls;storageMode;customerActionStatus}letto_valuex=structure_to_value[("brokerNodeGroupInfo",(Option.mapx.brokerNodeGroupInfo~f:BrokerNodeGroupInfo.to_value));("rebalancing",(Option.mapx.rebalancing~f:Rebalancing.to_value));("currentBrokerSoftwareInfo",(Option.mapx.currentBrokerSoftwareInfo~f:BrokerSoftwareInfo.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoringInfo.to_value));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value));("numberOfBrokerNodes",(Option.mapx.numberOfBrokerNodes~f:Zz__integerMin1Max15.to_value));("zookeeperConnectString",(Option.mapx.zookeeperConnectString~f:Zz__string.to_value));("zookeeperConnectStringTls",(Option.mapx.zookeeperConnectStringTls~f:Zz__string.to_value));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value));("customerActionStatus",(Option.mapx.customerActionStatus~f:CustomerActionStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcustomerActionStatus=(Option.map~f:CustomerActionStatus.of_xml)(Xml.childxml_arg0"customerActionStatus")inletstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inletzookeeperConnectStringTls=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"zookeeperConnectStringTls")inletzookeeperConnectString=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"zookeeperConnectString")inletnumberOfBrokerNodes=(Option.map~f:Zz__integerMin1Max15.of_xml)(Xml.childxml_arg0"numberOfBrokerNodes")inletloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletopenMonitoring=(Option.map~f:OpenMonitoringInfo.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletcurrentBrokerSoftwareInfo=(Option.map~f:BrokerSoftwareInfo.of_xml)(Xml.childxml_arg0"currentBrokerSoftwareInfo")inletrebalancing=(Option.map~f:Rebalancing.of_xml)(Xml.childxml_arg0"rebalancing")inletbrokerNodeGroupInfo=(Option.map~f:BrokerNodeGroupInfo.of_xml)(Xml.childxml_arg0"brokerNodeGroupInfo")inmake?customerActionStatus?storageMode?zookeeperConnectStringTls?zookeeperConnectString?numberOfBrokerNodes?loggingInfo?openMonitoring?enhancedMonitoring?encryptionInfo?clientAuthentication?currentBrokerSoftwareInfo?rebalancing?brokerNodeGroupInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcustomerActionStatus=field_mapjson__"CustomerActionStatus"CustomerActionStatus.of_jsoninletstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninletzookeeperConnectStringTls=field_mapjson__"ZookeeperConnectStringTls"Zz__string.of_jsoninletzookeeperConnectString=field_mapjson__"ZookeeperConnectString"Zz__string.of_jsoninletnumberOfBrokerNodes=field_mapjson__"NumberOfBrokerNodes"Zz__integerMin1Max15.of_jsoninletloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoringInfo.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninletcurrentBrokerSoftwareInfo=field_mapjson__"CurrentBrokerSoftwareInfo"BrokerSoftwareInfo.of_jsoninletrebalancing=field_mapjson__"Rebalancing"Rebalancing.of_jsoninletbrokerNodeGroupInfo=field_mapjson__"BrokerNodeGroupInfo"BrokerNodeGroupInfo.of_jsoninmake?customerActionStatus?storageMode?zookeeperConnectStringTls?zookeeperConnectString?numberOfBrokerNodes?loggingInfo?openMonitoring?enhancedMonitoring?encryptionInfo?clientAuthentication?currentBrokerSoftwareInfo?rebalancing?brokerNodeGroupInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provisioned cluster."]moduleServerless=structtypenonrect={vpcConfigs:Zz__listOfVpcConfig.toption[@ocaml.doc"The configuration of the Amazon VPCs for the cluster."];clientAuthentication:ServerlessClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."];connectivityInfo:ServerlessConnectivityInfo.toption[@ocaml.doc"Describes the cluster's connectivity information, such as its network type, which is IPv4 or DUAL."]}letmake?vpcConfigs=fun?clientAuthentication->fun?connectivityInfo->fun()->{vpcConfigs;clientAuthentication;connectivityInfo}letto_valuex=structure_to_value[("vpcConfigs",(Option.mapx.vpcConfigs~f:Zz__listOfVpcConfig.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ServerlessClientAuthentication.to_value));("connectivityInfo",(Option.mapx.connectivityInfo~f:ServerlessConnectivityInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectivityInfo=(Option.map~f:ServerlessConnectivityInfo.of_xml)(Xml.childxml_arg0"connectivityInfo")inletclientAuthentication=(Option.map~f:ServerlessClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletvpcConfigs=(Option.map~f:Zz__listOfVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfigs")inmake?connectivityInfo?clientAuthentication?vpcConfigs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectivityInfo=field_mapjson__"ConnectivityInfo"ServerlessConnectivityInfo.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ServerlessClientAuthentication.of_jsoninletvpcConfigs=field_mapjson__"VpcConfigs"Zz__listOfVpcConfig.of_jsoninmake?connectivityInfo?clientAuthentication?vpcConfigs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Serverless cluster."]moduleStateInfo=structtypenonrect={code:Zz__string.toption;message:Zz__string.toption}letmake?code=fun?message->fun()->{code;message}letto_valuex=structure_to_value[("code",(Option.mapx.code~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletcode=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"code")inmake?message?code()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletcode=field_mapjson__"Code"Zz__string.of_jsoninmake?message?code()letto_jsonv=composed_to_jsonto_valuevendmoduleZz__mapOf__string=structtypenonrect=(Zz__string.t*Zz__string.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((Zz__string.of_stringchopped),(Zz__string.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(Zz__string.to_valuex)|>(funx->(Zz__string.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:Zz__string.of_string~of_json:Zz__string.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleErrorInfo=structtypenonrect={errorCode:Zz__string.toption[@ocaml.doc"A number describing the error programmatically."];errorString:Zz__string.toption[@ocaml.doc"An optional field to provide more details about the error."]}letmake?errorCode=fun?errorString->fun()->{errorCode;errorString}letto_valuex=structure_to_value[("errorCode",(Option.mapx.errorCode~f:Zz__string.to_value));("errorString",(Option.mapx.errorString~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorString=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"errorString")inleterrorCode=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"errorCode")inmake?errorString?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorString=field_mapjson__"ErrorString"Zz__string.of_jsoninleterrorCode=field_mapjson__"ErrorCode"Zz__string.of_jsoninmake?errorString?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error state of the cluster."]moduleMutableClusterInfo=structtypenonrect={brokerEBSVolumeInfo:Zz__listOfBrokerEBSVolumeInfo.toption[@ocaml.doc"Specifies the size of the EBS volume and the ID of the associated broker."];configurationInfo:ConfigurationInfo.toption[@ocaml.doc"Information about the changes in the configuration of the brokers."];numberOfBrokerNodes:Zz__integer.toption[@ocaml.doc"The number of broker nodes in the cluster."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster."];openMonitoring:OpenMonitoring.toption[@ocaml.doc"The settings for open monitoring."];zookeeperAccess:ZookeeperAccess.toption[@ocaml.doc"Access control settings for zookeeper"];kafkaVersion:Zz__string.toption[@ocaml.doc"The Apache Kafka version."];loggingInfo:LoggingInfo.toption[@ocaml.doc"You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs."];instanceType:Zz__stringMin5Max32.toption[@ocaml.doc"Information about the Amazon MSK broker type."];clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."];connectivityInfo:ConnectivityInfo.toption[@ocaml.doc"Information about the broker access configuration."];storageMode:StorageMode.toption[@ocaml.doc"This controls storage mode for supported storage tiers."];brokerCountUpdateInfo:BrokerCountUpdateInfo.toption[@ocaml.doc"Describes brokers being changed during a broker count update."];rebalancing:Rebalancing.toption[@ocaml.doc"Describes the intelligent rebalancing configuration of an MSK Provisioned cluster with Express brokers."]}letmake?brokerEBSVolumeInfo=fun?configurationInfo->fun?numberOfBrokerNodes->fun?enhancedMonitoring->fun?openMonitoring->fun?zookeeperAccess->fun?kafkaVersion->fun?loggingInfo->fun?instanceType->fun?clientAuthentication->fun?encryptionInfo->fun?connectivityInfo->fun?storageMode->fun?brokerCountUpdateInfo->fun?rebalancing->fun()->{brokerEBSVolumeInfo;configurationInfo;numberOfBrokerNodes;enhancedMonitoring;openMonitoring;zookeeperAccess;kafkaVersion;loggingInfo;instanceType;clientAuthentication;encryptionInfo;connectivityInfo;storageMode;brokerCountUpdateInfo;rebalancing}letto_valuex=structure_to_value[("brokerEBSVolumeInfo",(Option.mapx.brokerEBSVolumeInfo~f:Zz__listOfBrokerEBSVolumeInfo.to_value));("configurationInfo",(Option.mapx.configurationInfo~f:ConfigurationInfo.to_value));("numberOfBrokerNodes",(Option.mapx.numberOfBrokerNodes~f:Zz__integer.to_value));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoring.to_value));("zookeeperAccess",(Option.mapx.zookeeperAccess~f:ZookeeperAccess.to_value));("kafkaVersion",(Option.mapx.kafkaVersion~f:Zz__string.to_value));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value));("instanceType",(Option.mapx.instanceType~f:Zz__stringMin5Max32.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value));("connectivityInfo",(Option.mapx.connectivityInfo~f:ConnectivityInfo.to_value));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value));("brokerCountUpdateInfo",(Option.mapx.brokerCountUpdateInfo~f:BrokerCountUpdateInfo.to_value));("rebalancing",(Option.mapx.rebalancing~f:Rebalancing.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrebalancing=(Option.map~f:Rebalancing.of_xml)(Xml.childxml_arg0"rebalancing")inletbrokerCountUpdateInfo=(Option.map~f:BrokerCountUpdateInfo.of_xml)(Xml.childxml_arg0"brokerCountUpdateInfo")inletstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inletconnectivityInfo=(Option.map~f:ConnectivityInfo.of_xml)(Xml.childxml_arg0"connectivityInfo")inletencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletinstanceType=(Option.map~f:Zz__stringMin5Max32.of_xml)(Xml.childxml_arg0"instanceType")inletloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletkafkaVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"kafkaVersion")inletzookeeperAccess=(Option.map~f:ZookeeperAccess.of_xml)(Xml.childxml_arg0"zookeeperAccess")inletopenMonitoring=(Option.map~f:OpenMonitoring.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletnumberOfBrokerNodes=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"numberOfBrokerNodes")inletconfigurationInfo=(Option.map~f:ConfigurationInfo.of_xml)(Xml.childxml_arg0"configurationInfo")inletbrokerEBSVolumeInfo=(Option.map~f:Zz__listOfBrokerEBSVolumeInfo.of_xml)(Xml.childxml_arg0"brokerEBSVolumeInfo")inmake?rebalancing?brokerCountUpdateInfo?storageMode?connectivityInfo?encryptionInfo?clientAuthentication?instanceType?loggingInfo?kafkaVersion?zookeeperAccess?openMonitoring?enhancedMonitoring?numberOfBrokerNodes?configurationInfo?brokerEBSVolumeInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrebalancing=field_mapjson__"Rebalancing"Rebalancing.of_jsoninletbrokerCountUpdateInfo=field_mapjson__"BrokerCountUpdateInfo"BrokerCountUpdateInfo.of_jsoninletstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninletconnectivityInfo=field_mapjson__"ConnectivityInfo"ConnectivityInfo.of_jsoninletencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninletinstanceType=field_mapjson__"InstanceType"Zz__stringMin5Max32.of_jsoninletloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletkafkaVersion=field_mapjson__"KafkaVersion"Zz__string.of_jsoninletzookeeperAccess=field_mapjson__"ZookeeperAccess"ZookeeperAccess.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoring.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletnumberOfBrokerNodes=field_mapjson__"NumberOfBrokerNodes"Zz__integer.of_jsoninletconfigurationInfo=field_mapjson__"ConfigurationInfo"ConfigurationInfo.of_jsoninletbrokerEBSVolumeInfo=field_mapjson__"BrokerEBSVolumeInfo"Zz__listOfBrokerEBSVolumeInfo.of_jsoninmake?rebalancing?brokerCountUpdateInfo?storageMode?connectivityInfo?encryptionInfo?clientAuthentication?instanceType?loggingInfo?kafkaVersion?zookeeperAccess?openMonitoring?enhancedMonitoring?numberOfBrokerNodes?configurationInfo?brokerEBSVolumeInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about cluster attributes that can be updated via update APIs."]moduleVpcConnectionInfo=structtypenonrect={vpcConnectionArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC connection."];owner:Zz__string.toption[@ocaml.doc"The owner of the VPC Connection."];userIdentity:UserIdentity.toption[@ocaml.doc"Description of the requester that calls the API operation."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when Amazon MSK creates the VPC Connnection."]}letmake?vpcConnectionArn=fun?owner->fun?userIdentity->fun?creationTime->fun()->{vpcConnectionArn;owner;userIdentity;creationTime}letto_valuex=structure_to_value[("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("owner",(Option.mapx.owner~f:Zz__string.to_value));("userIdentity",(Option.mapx.userIdentity~f:UserIdentity.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletuserIdentity=(Option.map~f:UserIdentity.of_xml)(Xml.childxml_arg0"userIdentity")inletowner=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"owner")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inmake?creationTime?userIdentity?owner?vpcConnectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletuserIdentity=field_mapjson__"UserIdentity"UserIdentity.of_jsoninletowner=field_mapjson__"Owner"Zz__string.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninmake?creationTime?userIdentity?owner?vpcConnectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Description of the VPC connection."]moduleZz__listOfClusterOperationStep=structtypenonrect=ClusterOperationStep.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClusterOperationStep.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:ClusterOperationStep.of_xml)letof_jsonj=list_of_json~kind:"__listOfClusterOperationStep"~of_json:ClusterOperationStep.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOf__integer=structtypenonrect=Zz__integer.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__integer.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:Zz__integer.of_xml)letof_jsonj=list_of_json~kind:"__listOf__integer"~of_json:Zz__integer.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleKafkaClusterClientAuthentication=structtypenonrect={saslScram:KafkaClusterSaslScramAuthentication.t[@ocaml.doc"Details for SASL/SCRAM client authentication."]}letcontext_="KafkaClusterClientAuthentication"letmake~saslScram=fun()->{saslScram}letto_valuex=structure_to_value[("saslScram",(Some(KafkaClusterSaslScramAuthentication.to_valuex.saslScram)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsaslScram=KafkaClusterSaslScramAuthentication.of_xml(Xml.child_exn~context:context_xml_arg0"saslScram")inmake~saslScram()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsaslScram=field_map_exnjson__"SaslScram"KafkaClusterSaslScramAuthentication.of_jsoninmake~saslScram()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of the client authentication used by the Apache Kafka cluster."]moduleKafkaClusterClientVpcConfig=structtypenonrect={securityGroupIds:Zz__listOf__string.toption[@ocaml.doc"The security groups to attach to the ENIs for the broker nodes."];subnetIds:Zz__listOf__string.t[@ocaml.doc"The list of subnets in the client VPC to connect to."]}letcontext_="KafkaClusterClientVpcConfig"letmake?securityGroupIds=fun~subnetIds->fun()->{securityGroupIds;subnetIds}letto_valuex=structure_to_value[("securityGroupIds",(Option.mapx.securityGroupIds~f:Zz__listOf__string.to_value));("subnetIds",(Some(Zz__listOf__string.to_valuex.subnetIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetIds=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"subnetIds")inletsecurityGroupIds=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"securityGroupIds")inmake~subnetIds?securityGroupIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetIds=field_map_exnjson__"SubnetIds"Zz__listOf__string.of_jsoninletsecurityGroupIds=field_mapjson__"SecurityGroupIds"Zz__listOf__string.of_jsoninmake~subnetIds?securityGroupIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster."]moduleKafkaClusterEncryptionInTransit=structtypenonrect={encryptionType:KafkaClusterEncryptionInTransitType.t[@ocaml.doc"The type of encryption in transit to the Apache Kafka cluster."];rootCaCertificate:Zz__string.toption[@ocaml.doc"The root CA certificate."]}letcontext_="KafkaClusterEncryptionInTransit"letmake?rootCaCertificate=fun~encryptionType->fun()->{rootCaCertificate;encryptionType}letto_valuex=structure_to_value[("encryptionType",(Some(KafkaClusterEncryptionInTransitType.to_valuex.encryptionType)));("rootCaCertificate",(Option.mapx.rootCaCertificate~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrootCaCertificate=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"rootCaCertificate")inletencryptionType=KafkaClusterEncryptionInTransitType.of_xml(Xml.child_exn~context:context_xml_arg0"encryptionType")inmake?rootCaCertificate~encryptionType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrootCaCertificate=field_mapjson__"RootCaCertificate"Zz__string.of_jsoninletencryptionType=field_map_exnjson__"EncryptionType"KafkaClusterEncryptionInTransitType.of_jsoninmake?rootCaCertificate~encryptionType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of encryption in transit to the Apache Kafka cluster."]moduleConsumerGroupReplication=structtypenonrect={consumerGroupsToExclude:Zz__listOf__stringMax256.toption[@ocaml.doc"List of regular expression patterns indicating the consumer groups that should not be replicated."];consumerGroupsToReplicate:Zz__listOf__stringMax256.t[@ocaml.doc"List of regular expression patterns indicating the consumer groups to copy."];detectAndCopyNewConsumerGroups:Zz__boolean.toption[@ocaml.doc"Enables synchronization of consumer groups to target cluster."];synchroniseConsumerGroupOffsets:Zz__boolean.toption[@ocaml.doc"Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets."];consumerGroupOffsetSyncMode:ConsumerGroupOffsetSyncMode.toption[@ocaml.doc"The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster."]}letcontext_="ConsumerGroupReplication"letmake?consumerGroupsToExclude=fun?detectAndCopyNewConsumerGroups->fun?synchroniseConsumerGroupOffsets->fun?consumerGroupOffsetSyncMode->fun~consumerGroupsToReplicate->fun()->{consumerGroupsToExclude;detectAndCopyNewConsumerGroups;synchroniseConsumerGroupOffsets;consumerGroupOffsetSyncMode;consumerGroupsToReplicate}letto_valuex=structure_to_value[("consumerGroupsToExclude",(Option.mapx.consumerGroupsToExclude~f:Zz__listOf__stringMax256.to_value));("consumerGroupsToReplicate",(Some(Zz__listOf__stringMax256.to_valuex.consumerGroupsToReplicate)));("detectAndCopyNewConsumerGroups",(Option.mapx.detectAndCopyNewConsumerGroups~f:Zz__boolean.to_value));("synchroniseConsumerGroupOffsets",(Option.mapx.synchroniseConsumerGroupOffsets~f:Zz__boolean.to_value));("consumerGroupOffsetSyncMode",(Option.mapx.consumerGroupOffsetSyncMode~f:ConsumerGroupOffsetSyncMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconsumerGroupOffsetSyncMode=(Option.map~f:ConsumerGroupOffsetSyncMode.of_xml)(Xml.childxml_arg0"consumerGroupOffsetSyncMode")inletsynchroniseConsumerGroupOffsets=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"synchroniseConsumerGroupOffsets")inletdetectAndCopyNewConsumerGroups=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"detectAndCopyNewConsumerGroups")inletconsumerGroupsToReplicate=Zz__listOf__stringMax256.of_xml(Xml.child_exn~context:context_xml_arg0"consumerGroupsToReplicate")inletconsumerGroupsToExclude=(Option.map~f:Zz__listOf__stringMax256.of_xml)(Xml.childxml_arg0"consumerGroupsToExclude")inmake?consumerGroupOffsetSyncMode?synchroniseConsumerGroupOffsets?detectAndCopyNewConsumerGroups~consumerGroupsToReplicate?consumerGroupsToExclude()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconsumerGroupOffsetSyncMode=field_mapjson__"ConsumerGroupOffsetSyncMode"ConsumerGroupOffsetSyncMode.of_jsoninletsynchroniseConsumerGroupOffsets=field_mapjson__"SynchroniseConsumerGroupOffsets"Zz__boolean.of_jsoninletdetectAndCopyNewConsumerGroups=field_mapjson__"DetectAndCopyNewConsumerGroups"Zz__boolean.of_jsoninletconsumerGroupsToReplicate=field_map_exnjson__"ConsumerGroupsToReplicate"Zz__listOf__stringMax256.of_jsoninletconsumerGroupsToExclude=field_mapjson__"ConsumerGroupsToExclude"Zz__listOf__stringMax256.of_jsoninmake?consumerGroupOffsetSyncMode?synchroniseConsumerGroupOffsets?detectAndCopyNewConsumerGroups~consumerGroupsToReplicate?consumerGroupsToExclude()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about consumer group replication."]moduleTargetCompressionType=structtypenonrect=|NONE|GZIP|SNAPPY|LZ4|ZSTD|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|GZIP->"GZIP"|SNAPPY->"SNAPPY"|LZ4->"LZ4"|ZSTD->"ZSTD"|Non_static_ids->sletof_string=function|"NONE"->NONE|"GZIP"->GZIP|"SNAPPY"->SNAPPY|"LZ4"->LZ4|"ZSTD"->ZSTD|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 TargetCompressionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetCompressionType"j)letto_json=simple_to_jsonto_valueendmoduleTopicReplication=structtypenonrect={copyAccessControlListsForTopics:Zz__boolean.toption[@ocaml.doc"Whether to periodically configure remote topic ACLs to match their corresponding upstream topics."];copyTopicConfigurations:Zz__boolean.toption[@ocaml.doc"Whether to periodically configure remote topics to match their corresponding upstream topics."];detectAndCopyNewTopics:Zz__boolean.toption[@ocaml.doc"Whether to periodically check for new topics and partitions."];startingPosition:ReplicationStartingPosition.toption[@ocaml.doc"Configuration for specifying the position in the topics to start replicating from."];topicNameConfiguration:ReplicationTopicNameConfiguration.toption[@ocaml.doc"Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias."];topicsToExclude:Zz__listOf__stringMax249.toption[@ocaml.doc"List of regular expression patterns indicating the topics that should not be replicated."];topicsToReplicate:Zz__listOf__stringMax249.t[@ocaml.doc"List of regular expression patterns indicating the topics to copy."]}letcontext_="TopicReplication"letmake?copyAccessControlListsForTopics=fun?copyTopicConfigurations->fun?detectAndCopyNewTopics->fun?startingPosition->fun?topicNameConfiguration->fun?topicsToExclude->fun~topicsToReplicate->fun()->{copyAccessControlListsForTopics;copyTopicConfigurations;detectAndCopyNewTopics;startingPosition;topicNameConfiguration;topicsToExclude;topicsToReplicate}letto_valuex=structure_to_value[("copyAccessControlListsForTopics",(Option.mapx.copyAccessControlListsForTopics~f:Zz__boolean.to_value));("copyTopicConfigurations",(Option.mapx.copyTopicConfigurations~f:Zz__boolean.to_value));("detectAndCopyNewTopics",(Option.mapx.detectAndCopyNewTopics~f:Zz__boolean.to_value));("startingPosition",(Option.mapx.startingPosition~f:ReplicationStartingPosition.to_value));("topicNameConfiguration",(Option.mapx.topicNameConfiguration~f:ReplicationTopicNameConfiguration.to_value));("topicsToExclude",(Option.mapx.topicsToExclude~f:Zz__listOf__stringMax249.to_value));("topicsToReplicate",(Some(Zz__listOf__stringMax249.to_valuex.topicsToReplicate)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicsToReplicate=Zz__listOf__stringMax249.of_xml(Xml.child_exn~context:context_xml_arg0"topicsToReplicate")inlettopicsToExclude=(Option.map~f:Zz__listOf__stringMax249.of_xml)(Xml.childxml_arg0"topicsToExclude")inlettopicNameConfiguration=(Option.map~f:ReplicationTopicNameConfiguration.of_xml)(Xml.childxml_arg0"topicNameConfiguration")inletstartingPosition=(Option.map~f:ReplicationStartingPosition.of_xml)(Xml.childxml_arg0"startingPosition")inletdetectAndCopyNewTopics=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"detectAndCopyNewTopics")inletcopyTopicConfigurations=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"copyTopicConfigurations")inletcopyAccessControlListsForTopics=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"copyAccessControlListsForTopics")inmake~topicsToReplicate?topicsToExclude?topicNameConfiguration?startingPosition?detectAndCopyNewTopics?copyTopicConfigurations?copyAccessControlListsForTopics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicsToReplicate=field_map_exnjson__"TopicsToReplicate"Zz__listOf__stringMax249.of_jsoninlettopicsToExclude=field_mapjson__"TopicsToExclude"Zz__listOf__stringMax249.of_jsoninlettopicNameConfiguration=field_mapjson__"TopicNameConfiguration"ReplicationTopicNameConfiguration.of_jsoninletstartingPosition=field_mapjson__"StartingPosition"ReplicationStartingPosition.of_jsoninletdetectAndCopyNewTopics=field_mapjson__"DetectAndCopyNewTopics"Zz__boolean.of_jsoninletcopyTopicConfigurations=field_mapjson__"CopyTopicConfigurations"Zz__boolean.of_jsoninletcopyAccessControlListsForTopics=field_mapjson__"CopyAccessControlListsForTopics"Zz__boolean.of_jsoninmake~topicsToReplicate?topicsToExclude?topicNameConfiguration?startingPosition?detectAndCopyNewTopics?copyTopicConfigurations?copyAccessControlListsForTopics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about topic replication."]moduleVpcConnectionInfoServerless=structtypenonrect={creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when Amazon MSK creates the VPC Connnection."];owner:Zz__string.toption[@ocaml.doc"The owner of the VPC Connection."];userIdentity:UserIdentity.toption[@ocaml.doc"Description of the requester that calls the API operation."];vpcConnectionArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC connection."]}letmake?creationTime=fun?owner->fun?userIdentity->fun?vpcConnectionArn->fun()->{creationTime;owner;userIdentity;vpcConnectionArn}letto_valuex=structure_to_value[("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("owner",(Option.mapx.owner~f:Zz__string.to_value));("userIdentity",(Option.mapx.userIdentity~f:UserIdentity.to_value));("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inletuserIdentity=(Option.map~f:UserIdentity.of_xml)(Xml.childxml_arg0"userIdentity")inletowner=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"owner")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inmake?vpcConnectionArn?userIdentity?owner?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninletuserIdentity=field_mapjson__"UserIdentity"UserIdentity.of_jsoninletowner=field_mapjson__"Owner"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninmake?vpcConnectionArn?userIdentity?owner?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Description of the VPC connection."]moduleReplicatorLogDelivery=structtypenonrect={cloudWatchLogs:ReplicatorCloudWatchLogs.toption[@ocaml.doc"Configuration for CloudWatch Logs delivery."];firehose:ReplicatorFirehose.toption[@ocaml.doc"Configuration for Firehose delivery."];s3:ReplicatorS3.toption[@ocaml.doc"Configuration for S3 delivery."]}letmake?cloudWatchLogs=fun?firehose->fun?s3->fun()->{cloudWatchLogs;firehose;s3}letto_valuex=structure_to_value[("cloudWatchLogs",(Option.mapx.cloudWatchLogs~f:ReplicatorCloudWatchLogs.to_value));("firehose",(Option.mapx.firehose~f:ReplicatorFirehose.to_value));("s3",(Option.mapx.s3~f:ReplicatorS3.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3=(Option.map~f:ReplicatorS3.of_xml)(Xml.childxml_arg0"s3")inletfirehose=(Option.map~f:ReplicatorFirehose.of_xml)(Xml.childxml_arg0"firehose")inletcloudWatchLogs=(Option.map~f:ReplicatorCloudWatchLogs.of_xml)(Xml.childxml_arg0"cloudWatchLogs")inmake?s3?firehose?cloudWatchLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3=field_mapjson__"S3"ReplicatorS3.of_jsoninletfirehose=field_mapjson__"Firehose"ReplicatorFirehose.of_jsoninletcloudWatchLogs=field_mapjson__"CloudWatchLogs"ReplicatorCloudWatchLogs.of_jsoninmake?s3?firehose?cloudWatchLogs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for replicator log delivery."]moduleVpcConnection=structtypenonrect={vpcConnectionArn:Zz__string.toption[@ocaml.doc"The ARN that identifies the Vpc Connection."];targetClusterArn:Zz__string.toption[@ocaml.doc"The ARN that identifies the Cluster which the Vpc Connection belongs to."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"Creation time of the Vpc Connection."];authentication:Zz__string.toption[@ocaml.doc"Information about the auth scheme of Vpc Connection."];vpcId:Zz__string.toption[@ocaml.doc"The vpcId that belongs to the Vpc Connection."];state:VpcConnectionState.toption[@ocaml.doc"State of the Vpc Connection."]}letmake?vpcConnectionArn=fun?targetClusterArn->fun?creationTime->fun?authentication->fun?vpcId->fun?state->fun()->{vpcConnectionArn;targetClusterArn;creationTime;authentication;vpcId;state}letto_valuex=structure_to_value[("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("targetClusterArn",(Option.mapx.targetClusterArn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("authentication",(Option.mapx.authentication~f:Zz__string.to_value));("vpcId",(Option.mapx.vpcId~f:Zz__string.to_value));("state",(Option.mapx.state~f:VpcConnectionState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:VpcConnectionState.of_xml)(Xml.childxml_arg0"state")inletvpcId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcId")inletauthentication=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"authentication")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inlettargetClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetClusterArn")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inmake?state?vpcId?authentication?creationTime?targetClusterArn?vpcConnectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"VpcConnectionState.of_jsoninletvpcId=field_mapjson__"VpcId"Zz__string.of_jsoninletauthentication=field_mapjson__"Authentication"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninlettargetClusterArn=field_mapjson__"TargetClusterArn"Zz__string.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninmake?state?vpcId?authentication?creationTime?targetClusterArn?vpcConnectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The VPC connection object."]moduleTopicInfo=structtypenonrect={topicArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the topic."];topicName:Zz__string.toption[@ocaml.doc"Name for a topic."];replicationFactor:Zz__integer.toption[@ocaml.doc"Replication factor for a topic."];partitionCount:Zz__integer.toption[@ocaml.doc"Partition count for a topic."];outOfSyncReplicaCount:Zz__integer.toption[@ocaml.doc"Number of out-of-sync replicas for a topic."]}letmake?topicArn=fun?topicName->fun?replicationFactor->fun?partitionCount->fun?outOfSyncReplicaCount->fun()->{topicArn;topicName;replicationFactor;partitionCount;outOfSyncReplicaCount}letto_valuex=structure_to_value[("topicArn",(Option.mapx.topicArn~f:Zz__string.to_value));("topicName",(Option.mapx.topicName~f:Zz__string.to_value));("replicationFactor",(Option.mapx.replicationFactor~f:Zz__integer.to_value));("partitionCount",(Option.mapx.partitionCount~f:Zz__integer.to_value));("outOfSyncReplicaCount",(Option.mapx.outOfSyncReplicaCount~f:Zz__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutOfSyncReplicaCount=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"outOfSyncReplicaCount")inletpartitionCount=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"partitionCount")inletreplicationFactor=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"replicationFactor")inlettopicName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicName")inlettopicArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicArn")inmake?outOfSyncReplicaCount?partitionCount?replicationFactor?topicName?topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutOfSyncReplicaCount=field_mapjson__"OutOfSyncReplicaCount"Zz__integer.of_jsoninletpartitionCount=field_mapjson__"PartitionCount"Zz__integer.of_jsoninletreplicationFactor=field_mapjson__"ReplicationFactor"Zz__integer.of_jsoninlettopicName=field_mapjson__"TopicName"Zz__string.of_jsoninlettopicArn=field_mapjson__"TopicArn"Zz__string.of_jsoninmake?outOfSyncReplicaCount?partitionCount?replicationFactor?topicName?topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Includes identification info about the topic."]moduleReplicatorSummary=structtypenonrect={creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time the replicator was created."];currentVersion:Zz__string.toption[@ocaml.doc"The current version of the replicator."];isReplicatorReference:Zz__boolean.toption[@ocaml.doc"Whether this resource is a replicator reference."];kafkaClustersSummary:Zz__listOfKafkaClusterSummary.toption[@ocaml.doc"Kafka Clusters used in setting up sources / targets for replication."];replicationInfoSummaryList:Zz__listOfReplicationInfoSummary.toption[@ocaml.doc"A list of summarized information of replications between clusters."];replicatorArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator."];replicatorName:Zz__string.toption[@ocaml.doc"The name of the replicator."];replicatorResourceArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created."];replicatorState:ReplicatorState.toption[@ocaml.doc"State of the replicator."]}letmake?creationTime=fun?currentVersion->fun?isReplicatorReference->fun?kafkaClustersSummary->fun?replicationInfoSummaryList->fun?replicatorArn->fun?replicatorName->fun?replicatorResourceArn->fun?replicatorState->fun()->{creationTime;currentVersion;isReplicatorReference;kafkaClustersSummary;replicationInfoSummaryList;replicatorArn;replicatorName;replicatorResourceArn;replicatorState}letto_valuex=structure_to_value[("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("isReplicatorReference",(Option.mapx.isReplicatorReference~f:Zz__boolean.to_value));("kafkaClustersSummary",(Option.mapx.kafkaClustersSummary~f:Zz__listOfKafkaClusterSummary.to_value));("replicationInfoSummaryList",(Option.mapx.replicationInfoSummaryList~f:Zz__listOfReplicationInfoSummary.to_value));("replicatorArn",(Option.mapx.replicatorArn~f:Zz__string.to_value));("replicatorName",(Option.mapx.replicatorName~f:Zz__string.to_value));("replicatorResourceArn",(Option.mapx.replicatorResourceArn~f:Zz__string.to_value));("replicatorState",(Option.mapx.replicatorState~f:ReplicatorState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorState=(Option.map~f:ReplicatorState.of_xml)(Xml.childxml_arg0"replicatorState")inletreplicatorResourceArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorResourceArn")inletreplicatorName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorName")inletreplicatorArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorArn")inletreplicationInfoSummaryList=(Option.map~f:Zz__listOfReplicationInfoSummary.of_xml)(Xml.childxml_arg0"replicationInfoSummaryList")inletkafkaClustersSummary=(Option.map~f:Zz__listOfKafkaClusterSummary.of_xml)(Xml.childxml_arg0"kafkaClustersSummary")inletisReplicatorReference=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"isReplicatorReference")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inmake?replicatorState?replicatorResourceArn?replicatorName?replicatorArn?replicationInfoSummaryList?kafkaClustersSummary?isReplicatorReference?currentVersion?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorState=field_mapjson__"ReplicatorState"ReplicatorState.of_jsoninletreplicatorResourceArn=field_mapjson__"ReplicatorResourceArn"Zz__string.of_jsoninletreplicatorName=field_mapjson__"ReplicatorName"Zz__string.of_jsoninletreplicatorArn=field_mapjson__"ReplicatorArn"Zz__string.of_jsoninletreplicationInfoSummaryList=field_mapjson__"ReplicationInfoSummaryList"Zz__listOfReplicationInfoSummary.of_jsoninletkafkaClustersSummary=field_mapjson__"KafkaClustersSummary"Zz__listOfKafkaClusterSummary.of_jsoninletisReplicatorReference=field_mapjson__"IsReplicatorReference"Zz__boolean.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninmake?replicatorState?replicatorResourceArn?replicatorName?replicatorArn?replicationInfoSummaryList?kafkaClustersSummary?isReplicatorReference?currentVersion?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a replicator."]moduleNodeInfo=structtypenonrect={addedToClusterTime:Zz__string.toption[@ocaml.doc"The start time."];brokerNodeInfo:BrokerNodeInfo.toption[@ocaml.doc"The broker node info."];controllerNodeInfo:ControllerNodeInfo.toption[@ocaml.doc"The ControllerNodeInfo."];instanceType:Zz__string.toption[@ocaml.doc"The instance type."];nodeARN:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the node."];nodeType:NodeType.toption[@ocaml.doc"The node type."];zookeeperNodeInfo:ZookeeperNodeInfo.toption[@ocaml.doc"The ZookeeperNodeInfo."]}letmake?addedToClusterTime=fun?brokerNodeInfo->fun?controllerNodeInfo->fun?instanceType->fun?nodeARN->fun?nodeType->fun?zookeeperNodeInfo->fun()->{addedToClusterTime;brokerNodeInfo;controllerNodeInfo;instanceType;nodeARN;nodeType;zookeeperNodeInfo}letto_valuex=structure_to_value[("addedToClusterTime",(Option.mapx.addedToClusterTime~f:Zz__string.to_value));("brokerNodeInfo",(Option.mapx.brokerNodeInfo~f:BrokerNodeInfo.to_value));("controllerNodeInfo",(Option.mapx.controllerNodeInfo~f:ControllerNodeInfo.to_value));("instanceType",(Option.mapx.instanceType~f:Zz__string.to_value));("nodeARN",(Option.mapx.nodeARN~f:Zz__string.to_value));("nodeType",(Option.mapx.nodeType~f:NodeType.to_value));("zookeeperNodeInfo",(Option.mapx.zookeeperNodeInfo~f:ZookeeperNodeInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letzookeeperNodeInfo=(Option.map~f:ZookeeperNodeInfo.of_xml)(Xml.childxml_arg0"zookeeperNodeInfo")inletnodeType=(Option.map~f:NodeType.of_xml)(Xml.childxml_arg0"nodeType")inletnodeARN=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nodeARN")inletinstanceType=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"instanceType")inletcontrollerNodeInfo=(Option.map~f:ControllerNodeInfo.of_xml)(Xml.childxml_arg0"controllerNodeInfo")inletbrokerNodeInfo=(Option.map~f:BrokerNodeInfo.of_xml)(Xml.childxml_arg0"brokerNodeInfo")inletaddedToClusterTime=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"addedToClusterTime")inmake?zookeeperNodeInfo?nodeType?nodeARN?instanceType?controllerNodeInfo?brokerNodeInfo?addedToClusterTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letzookeeperNodeInfo=field_mapjson__"ZookeeperNodeInfo"ZookeeperNodeInfo.of_jsoninletnodeType=field_mapjson__"NodeType"NodeType.of_jsoninletnodeARN=field_mapjson__"NodeARN"Zz__string.of_jsoninletinstanceType=field_mapjson__"InstanceType"Zz__string.of_jsoninletcontrollerNodeInfo=field_mapjson__"ControllerNodeInfo"ControllerNodeInfo.of_jsoninletbrokerNodeInfo=field_mapjson__"BrokerNodeInfo"BrokerNodeInfo.of_jsoninletaddedToClusterTime=field_mapjson__"AddedToClusterTime"Zz__string.of_jsoninmake?zookeeperNodeInfo?nodeType?nodeARN?instanceType?controllerNodeInfo?brokerNodeInfo?addedToClusterTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The node information object."]moduleKafkaVersion=structtypenonrect={version:Zz__string.toption;status:KafkaVersionStatus.toption}letmake?version=fun?status->fun()->{version;status}letto_valuex=structure_to_value[("version",(Option.mapx.version~f:Zz__string.to_value));("status",(Option.mapx.status~f:KafkaVersionStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:KafkaVersionStatus.of_xml)(Xml.childxml_arg0"status")inletversion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"version")inmake?status?version()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"KafkaVersionStatus.of_jsoninletversion=field_mapjson__"Version"Zz__string.of_jsoninmake?status?version()letto_jsonv=composed_to_jsonto_valuevendmoduleConfiguration=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the configuration was created."];description:Zz__string.toption[@ocaml.doc"The description of the configuration."];kafkaVersions:Zz__listOf__string.toption[@ocaml.doc"An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array."];latestRevision:ConfigurationRevision.toption[@ocaml.doc"Latest revision of the configuration."];name:Zz__string.toption[@ocaml.doc"The name of the configuration."];state:ConfigurationState.toption[@ocaml.doc"The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED."]}letmake?arn=fun?creationTime->fun?description->fun?kafkaVersions->fun?latestRevision->fun?name->fun?state->fun()->{arn;creationTime;description;kafkaVersions;latestRevision;name;state}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("description",(Option.mapx.description~f:Zz__string.to_value));("kafkaVersions",(Option.mapx.kafkaVersions~f:Zz__listOf__string.to_value));("latestRevision",(Option.mapx.latestRevision~f:ConfigurationRevision.to_value));("name",(Option.mapx.name~f:Zz__string.to_value));("state",(Option.mapx.state~f:ConfigurationState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ConfigurationState.of_xml)(Xml.childxml_arg0"state")inletname=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"name")inletlatestRevision=(Option.map~f:ConfigurationRevision.of_xml)(Xml.childxml_arg0"latestRevision")inletkafkaVersions=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"kafkaVersions")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?state?name?latestRevision?kafkaVersions?description?creationTime?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ConfigurationState.of_jsoninletname=field_mapjson__"Name"Zz__string.of_jsoninletlatestRevision=field_mapjson__"LatestRevision"ConfigurationRevision.of_jsoninletkafkaVersions=field_mapjson__"KafkaVersions"Zz__listOf__string.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?state?name?latestRevision?kafkaVersions?description?creationTime?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents an MSK Configuration."]moduleCluster=structtypenonrect={activeOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies a cluster operation."];clusterType:ClusterType.toption[@ocaml.doc"Cluster Type."];clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];clusterName:Zz__string.toption[@ocaml.doc"The name of the cluster."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the cluster was created."];currentVersion:Zz__string.toption[@ocaml.doc"The current version of the MSK cluster."];state:ClusterState.toption[@ocaml.doc"The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING."];stateInfo:StateInfo.toption[@ocaml.doc"State Info for the Amazon MSK cluster."];tags:Zz__mapOf__string.toption[@ocaml.doc"Tags attached to the cluster."];provisioned:Provisioned.toption[@ocaml.doc"Information about the provisioned cluster."];serverless:Serverless.toption[@ocaml.doc"Information about the serverless cluster."]}letmake?activeOperationArn=fun?clusterType->fun?clusterArn->fun?clusterName->fun?creationTime->fun?currentVersion->fun?state->fun?stateInfo->fun?tags->fun?provisioned->fun?serverless->fun()->{activeOperationArn;clusterType;clusterArn;clusterName;creationTime;currentVersion;state;stateInfo;tags;provisioned;serverless}letto_valuex=structure_to_value[("activeOperationArn",(Option.mapx.activeOperationArn~f:Zz__string.to_value));("clusterType",(Option.mapx.clusterType~f:ClusterType.to_value));("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterName",(Option.mapx.clusterName~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("state",(Option.mapx.state~f:ClusterState.to_value));("stateInfo",(Option.mapx.stateInfo~f:StateInfo.to_value));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("provisioned",(Option.mapx.provisioned~f:Provisioned.to_value));("serverless",(Option.mapx.serverless~f:Serverless.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverless=(Option.map~f:Serverless.of_xml)(Xml.childxml_arg0"serverless")inletprovisioned=(Option.map~f:Provisioned.of_xml)(Xml.childxml_arg0"provisioned")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletstateInfo=(Option.map~f:StateInfo.of_xml)(Xml.childxml_arg0"stateInfo")inletstate=(Option.map~f:ClusterState.of_xml)(Xml.childxml_arg0"state")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletclusterName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterName")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inletclusterType=(Option.map~f:ClusterType.of_xml)(Xml.childxml_arg0"clusterType")inletactiveOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"activeOperationArn")inmake?serverless?provisioned?tags?stateInfo?state?currentVersion?creationTime?clusterName?clusterArn?clusterType?activeOperationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverless=field_mapjson__"Serverless"Serverless.of_jsoninletprovisioned=field_mapjson__"Provisioned"Provisioned.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletstateInfo=field_mapjson__"StateInfo"StateInfo.of_jsoninletstate=field_mapjson__"State"ClusterState.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletclusterName=field_mapjson__"ClusterName"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninletclusterType=field_mapjson__"ClusterType"ClusterType.of_jsoninletactiveOperationArn=field_mapjson__"ActiveOperationArn"Zz__string.of_jsoninmake?serverless?provisioned?tags?stateInfo?state?currentVersion?creationTime?clusterName?clusterArn?clusterType?activeOperationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a cluster."]moduleClusterInfo=structtypenonrect={activeOperationArn:Zz__string.toption[@ocaml.doc"Arn of active cluster operation."];brokerNodeGroupInfo:BrokerNodeGroupInfo.toption[@ocaml.doc"Information about the broker nodes."];rebalancing:Rebalancing.toption[@ocaml.doc"Contains information about intelligent rebalancing for new MSK Provisioned clusters with Express brokers. By default, intelligent rebalancing status is ACTIVE."];clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."];clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];clusterName:Zz__string.toption[@ocaml.doc"The name of the cluster."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the cluster was created."];currentBrokerSoftwareInfo:BrokerSoftwareInfo.toption[@ocaml.doc"Information about the version of software currently deployed on the Apache Kafka brokers in the cluster."];currentVersion:Zz__string.toption[@ocaml.doc"The current version of the MSK cluster."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring."];openMonitoring:OpenMonitoring.toption[@ocaml.doc"Settings for open monitoring using Prometheus."];loggingInfo:LoggingInfo.toption;numberOfBrokerNodes:Zz__integer.toption[@ocaml.doc"The number of broker nodes in the cluster."];state:ClusterState.toption[@ocaml.doc"The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING."];stateInfo:StateInfo.toption;tags:Zz__mapOf__string.toption[@ocaml.doc"Tags attached to the cluster."];zookeeperConnectString:Zz__string.toption[@ocaml.doc"The connection string to use to connect to the Apache ZooKeeper cluster."];zookeeperConnectStringTls:Zz__string.toption[@ocaml.doc"The connection string to use to connect to zookeeper cluster on Tls port."];storageMode:StorageMode.toption[@ocaml.doc"This controls storage mode for supported storage tiers."];customerActionStatus:CustomerActionStatus.toption[@ocaml.doc"Determines if there is an action required from the customer."]}letmake?activeOperationArn=fun?brokerNodeGroupInfo->fun?rebalancing->fun?clientAuthentication->fun?clusterArn->fun?clusterName->fun?creationTime->fun?currentBrokerSoftwareInfo->fun?currentVersion->fun?encryptionInfo->fun?enhancedMonitoring->fun?openMonitoring->fun?loggingInfo->fun?numberOfBrokerNodes->fun?state->fun?stateInfo->fun?tags->fun?zookeeperConnectString->fun?zookeeperConnectStringTls->fun?storageMode->fun?customerActionStatus->fun()->{activeOperationArn;brokerNodeGroupInfo;rebalancing;clientAuthentication;clusterArn;clusterName;creationTime;currentBrokerSoftwareInfo;currentVersion;encryptionInfo;enhancedMonitoring;openMonitoring;loggingInfo;numberOfBrokerNodes;state;stateInfo;tags;zookeeperConnectString;zookeeperConnectStringTls;storageMode;customerActionStatus}letto_valuex=structure_to_value[("activeOperationArn",(Option.mapx.activeOperationArn~f:Zz__string.to_value));("brokerNodeGroupInfo",(Option.mapx.brokerNodeGroupInfo~f:BrokerNodeGroupInfo.to_value));("rebalancing",(Option.mapx.rebalancing~f:Rebalancing.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterName",(Option.mapx.clusterName~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("currentBrokerSoftwareInfo",(Option.mapx.currentBrokerSoftwareInfo~f:BrokerSoftwareInfo.to_value));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoring.to_value));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value));("numberOfBrokerNodes",(Option.mapx.numberOfBrokerNodes~f:Zz__integer.to_value));("state",(Option.mapx.state~f:ClusterState.to_value));("stateInfo",(Option.mapx.stateInfo~f:StateInfo.to_value));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("zookeeperConnectString",(Option.mapx.zookeeperConnectString~f:Zz__string.to_value));("zookeeperConnectStringTls",(Option.mapx.zookeeperConnectStringTls~f:Zz__string.to_value));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value));("customerActionStatus",(Option.mapx.customerActionStatus~f:CustomerActionStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcustomerActionStatus=(Option.map~f:CustomerActionStatus.of_xml)(Xml.childxml_arg0"customerActionStatus")inletstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inletzookeeperConnectStringTls=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"zookeeperConnectStringTls")inletzookeeperConnectString=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"zookeeperConnectString")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletstateInfo=(Option.map~f:StateInfo.of_xml)(Xml.childxml_arg0"stateInfo")inletstate=(Option.map~f:ClusterState.of_xml)(Xml.childxml_arg0"state")inletnumberOfBrokerNodes=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"numberOfBrokerNodes")inletloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletopenMonitoring=(Option.map~f:OpenMonitoring.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletcurrentBrokerSoftwareInfo=(Option.map~f:BrokerSoftwareInfo.of_xml)(Xml.childxml_arg0"currentBrokerSoftwareInfo")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletclusterName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterName")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletrebalancing=(Option.map~f:Rebalancing.of_xml)(Xml.childxml_arg0"rebalancing")inletbrokerNodeGroupInfo=(Option.map~f:BrokerNodeGroupInfo.of_xml)(Xml.childxml_arg0"brokerNodeGroupInfo")inletactiveOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"activeOperationArn")inmake?customerActionStatus?storageMode?zookeeperConnectStringTls?zookeeperConnectString?tags?stateInfo?state?numberOfBrokerNodes?loggingInfo?openMonitoring?enhancedMonitoring?encryptionInfo?currentVersion?currentBrokerSoftwareInfo?creationTime?clusterName?clusterArn?clientAuthentication?rebalancing?brokerNodeGroupInfo?activeOperationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcustomerActionStatus=field_mapjson__"CustomerActionStatus"CustomerActionStatus.of_jsoninletstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninletzookeeperConnectStringTls=field_mapjson__"ZookeeperConnectStringTls"Zz__string.of_jsoninletzookeeperConnectString=field_mapjson__"ZookeeperConnectString"Zz__string.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletstateInfo=field_mapjson__"StateInfo"StateInfo.of_jsoninletstate=field_mapjson__"State"ClusterState.of_jsoninletnumberOfBrokerNodes=field_mapjson__"NumberOfBrokerNodes"Zz__integer.of_jsoninletloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoring.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletcurrentBrokerSoftwareInfo=field_mapjson__"CurrentBrokerSoftwareInfo"BrokerSoftwareInfo.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletclusterName=field_mapjson__"ClusterName"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninletrebalancing=field_mapjson__"Rebalancing"Rebalancing.of_jsoninletbrokerNodeGroupInfo=field_mapjson__"BrokerNodeGroupInfo"BrokerNodeGroupInfo.of_jsoninletactiveOperationArn=field_mapjson__"ActiveOperationArn"Zz__string.of_jsoninmake?customerActionStatus?storageMode?zookeeperConnectStringTls?zookeeperConnectString?tags?stateInfo?state?numberOfBrokerNodes?loggingInfo?openMonitoring?enhancedMonitoring?encryptionInfo?currentVersion?currentBrokerSoftwareInfo?creationTime?clusterName?clusterArn?clientAuthentication?rebalancing?brokerNodeGroupInfo?activeOperationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a cluster."]moduleClusterOperationV2Summary=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"ARN of the cluster."];clusterType:ClusterType.toption[@ocaml.doc"Type of the backend cluster."];startTime:Zz__timestampIso8601.toption[@ocaml.doc"The time at which operation was started."];endTime:Zz__timestampIso8601.toption[@ocaml.doc"The time at which the operation finished."];operationArn:Zz__string.toption[@ocaml.doc"ARN of the cluster operation."];operationState:Zz__string.toption[@ocaml.doc"State of the cluster operation."];operationType:Zz__string.toption[@ocaml.doc"Type of the cluster operation."]}letmake?clusterArn=fun?clusterType->fun?startTime->fun?endTime->fun?operationArn->fun?operationState->fun?operationType->fun()->{clusterArn;clusterType;startTime;endTime;operationArn;operationState;operationType}letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterType",(Option.mapx.clusterType~f:ClusterType.to_value));("startTime",(Option.mapx.startTime~f:Zz__timestampIso8601.to_value));("endTime",(Option.mapx.endTime~f:Zz__timestampIso8601.to_value));("operationArn",(Option.mapx.operationArn~f:Zz__string.to_value));("operationState",(Option.mapx.operationState~f:Zz__string.to_value));("operationType",(Option.mapx.operationType~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationType=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationType")inletoperationState=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationState")inletoperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationArn")inletendTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"startTime")inletclusterType=(Option.map~f:ClusterType.of_xml)(Xml.childxml_arg0"clusterType")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?operationType?operationState?operationArn?endTime?startTime?clusterType?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationType=field_mapjson__"OperationType"Zz__string.of_jsoninletoperationState=field_mapjson__"OperationState"Zz__string.of_jsoninletoperationArn=field_mapjson__"OperationArn"Zz__string.of_jsoninletendTime=field_mapjson__"EndTime"Zz__timestampIso8601.of_jsoninletstartTime=field_mapjson__"StartTime"Zz__timestampIso8601.of_jsoninletclusterType=field_mapjson__"ClusterType"ClusterType.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?operationType?operationState?operationArn?endTime?startTime?clusterType?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a cluster operation."]moduleClusterOperationInfo=structtypenonrect={clientRequestId:Zz__string.toption[@ocaml.doc"The ID of the API request that triggered this operation."];clusterArn:Zz__string.toption[@ocaml.doc"ARN of the cluster."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time that the operation was created."];endTime:Zz__timestampIso8601.toption[@ocaml.doc"The time at which the operation finished."];errorInfo:ErrorInfo.toption[@ocaml.doc"Describes the error if the operation fails."];operationArn:Zz__string.toption[@ocaml.doc"ARN of the cluster operation."];operationState:Zz__string.toption[@ocaml.doc"State of the cluster operation."];operationSteps:Zz__listOfClusterOperationStep.toption[@ocaml.doc"Steps completed during the operation."];operationType:Zz__string.toption[@ocaml.doc"Type of the cluster operation."];sourceClusterInfo:MutableClusterInfo.toption[@ocaml.doc"Information about cluster attributes before a cluster is updated."];targetClusterInfo:MutableClusterInfo.toption[@ocaml.doc"Information about cluster attributes after a cluster is updated."];vpcConnectionInfo:VpcConnectionInfo.toption[@ocaml.doc"Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations."]}letmake?clientRequestId=fun?clusterArn->fun?creationTime->fun?endTime->fun?errorInfo->fun?operationArn->fun?operationState->fun?operationSteps->fun?operationType->fun?sourceClusterInfo->fun?targetClusterInfo->fun?vpcConnectionInfo->fun()->{clientRequestId;clusterArn;creationTime;endTime;errorInfo;operationArn;operationState;operationSteps;operationType;sourceClusterInfo;targetClusterInfo;vpcConnectionInfo}letto_valuex=structure_to_value[("clientRequestId",(Option.mapx.clientRequestId~f:Zz__string.to_value));("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("endTime",(Option.mapx.endTime~f:Zz__timestampIso8601.to_value));("errorInfo",(Option.mapx.errorInfo~f:ErrorInfo.to_value));("operationArn",(Option.mapx.operationArn~f:Zz__string.to_value));("operationState",(Option.mapx.operationState~f:Zz__string.to_value));("operationSteps",(Option.mapx.operationSteps~f:Zz__listOfClusterOperationStep.to_value));("operationType",(Option.mapx.operationType~f:Zz__string.to_value));("sourceClusterInfo",(Option.mapx.sourceClusterInfo~f:MutableClusterInfo.to_value));("targetClusterInfo",(Option.mapx.targetClusterInfo~f:MutableClusterInfo.to_value));("vpcConnectionInfo",(Option.mapx.vpcConnectionInfo~f:VpcConnectionInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConnectionInfo=(Option.map~f:VpcConnectionInfo.of_xml)(Xml.childxml_arg0"vpcConnectionInfo")inlettargetClusterInfo=(Option.map~f:MutableClusterInfo.of_xml)(Xml.childxml_arg0"targetClusterInfo")inletsourceClusterInfo=(Option.map~f:MutableClusterInfo.of_xml)(Xml.childxml_arg0"sourceClusterInfo")inletoperationType=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationType")inletoperationSteps=(Option.map~f:Zz__listOfClusterOperationStep.of_xml)(Xml.childxml_arg0"operationSteps")inletoperationState=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationState")inletoperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationArn")inleterrorInfo=(Option.map~f:ErrorInfo.of_xml)(Xml.childxml_arg0"errorInfo")inletendTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"endTime")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inletclientRequestId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clientRequestId")inmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo?operationType?operationSteps?operationState?operationArn?errorInfo?endTime?creationTime?clusterArn?clientRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConnectionInfo=field_mapjson__"VpcConnectionInfo"VpcConnectionInfo.of_jsoninlettargetClusterInfo=field_mapjson__"TargetClusterInfo"MutableClusterInfo.of_jsoninletsourceClusterInfo=field_mapjson__"SourceClusterInfo"MutableClusterInfo.of_jsoninletoperationType=field_mapjson__"OperationType"Zz__string.of_jsoninletoperationSteps=field_mapjson__"OperationSteps"Zz__listOfClusterOperationStep.of_jsoninletoperationState=field_mapjson__"OperationState"Zz__string.of_jsoninletoperationArn=field_mapjson__"OperationArn"Zz__string.of_jsoninleterrorInfo=field_mapjson__"ErrorInfo"ErrorInfo.of_jsoninletendTime=field_mapjson__"EndTime"Zz__timestampIso8601.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninletclientRequestId=field_mapjson__"ClientRequestId"Zz__string.of_jsoninmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo?operationType?operationSteps?operationState?operationArn?errorInfo?endTime?creationTime?clusterArn?clientRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a cluster operation."]moduleClientVpcConnection=structtypenonrect={authentication:Zz__string.toption[@ocaml.doc"Information about the auth scheme of Vpc Connection."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"Creation time of the Vpc Connection."];state:VpcConnectionState.toption[@ocaml.doc"State of the Vpc Connection."];vpcConnectionArn:Zz__string.toption[@ocaml.doc"The ARN that identifies the Vpc Connection."];owner:Zz__string.toption[@ocaml.doc"The Owner of the Vpc Connection."]}letmake?authentication=fun?creationTime->fun?state->fun?vpcConnectionArn->fun?owner->fun()->{authentication;creationTime;state;vpcConnectionArn;owner}letto_valuex=structure_to_value[("authentication",(Option.mapx.authentication~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("state",(Option.mapx.state~f:VpcConnectionState.to_value));("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("owner",(Option.mapx.owner~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letowner=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"owner")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inletstate=(Option.map~f:VpcConnectionState.of_xml)(Xml.childxml_arg0"state")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletauthentication=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"authentication")inmake?owner?vpcConnectionArn?state?creationTime?authentication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letowner=field_mapjson__"Owner"Zz__string.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninletstate=field_mapjson__"State"VpcConnectionState.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletauthentication=field_mapjson__"Authentication"Zz__string.of_jsoninmake?owner?vpcConnectionArn?state?creationTime?authentication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client VPC connection object."]moduleCompatibleKafkaVersion=structtypenonrect={sourceVersion:Zz__string.toption[@ocaml.doc"An Apache Kafka version."];targetVersions:Zz__listOf__string.toption[@ocaml.doc"A list of Apache Kafka versions."]}letmake?sourceVersion=fun?targetVersions->fun()->{sourceVersion;targetVersions}letto_valuex=structure_to_value[("sourceVersion",(Option.mapx.sourceVersion~f:Zz__string.to_value));("targetVersions",(Option.mapx.targetVersions~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetVersions=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"targetVersions")inletsourceVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceVersion")inmake?targetVersions?sourceVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetVersions=field_mapjson__"TargetVersions"Zz__listOf__string.of_jsoninletsourceVersion=field_mapjson__"SourceVersion"Zz__string.of_jsoninmake?targetVersions?sourceVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains source Apache Kafka versions and compatible target Apache Kafka versions."]moduleTopicPartitionInfo=structtypenonrect={partition:Zz__integer.toption[@ocaml.doc"The partition ID."];leader:Zz__integer.toption[@ocaml.doc"The leader broker ID for the partition."];replicas:Zz__listOf__integer.toption[@ocaml.doc"The list of replica broker IDs for the partition."];isr:Zz__listOf__integer.toption[@ocaml.doc"The list of in-sync replica broker IDs for the partition."]}letmake?partition=fun?leader->fun?replicas->fun?isr->fun()->{partition;leader;replicas;isr}letto_valuex=structure_to_value[("partition",(Option.mapx.partition~f:Zz__integer.to_value));("leader",(Option.mapx.leader~f:Zz__integer.to_value));("replicas",(Option.mapx.replicas~f:Zz__listOf__integer.to_value));("isr",(Option.mapx.isr~f:Zz__listOf__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisr=(Option.map~f:Zz__listOf__integer.of_xml)(Xml.childxml_arg0"isr")inletreplicas=(Option.map~f:Zz__listOf__integer.of_xml)(Xml.childxml_arg0"replicas")inletleader=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"leader")inletpartition=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"partition")inmake?isr?replicas?leader?partition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisr=field_mapjson__"Isr"Zz__listOf__integer.of_jsoninletreplicas=field_mapjson__"Replicas"Zz__listOf__integer.of_jsoninletleader=field_mapjson__"Leader"Zz__integer.of_jsoninletpartition=field_mapjson__"Partition"Zz__integer.of_jsoninmake?isr?replicas?leader?partition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a topic partition."]moduleKafkaClusterDescription=structtypenonrect={amazonMskCluster:AmazonMskCluster.toption[@ocaml.doc"Details of an Amazon MSK Cluster."];apacheKafkaCluster:ApacheKafkaCluster.toption[@ocaml.doc"Details of an Apache Kafka Cluster."];kafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the Kafka cluster. Used to prefix names of replicated topics."];vpcConfig:KafkaClusterClientVpcConfig.toption[@ocaml.doc"Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster."];clientAuthentication:KafkaClusterClientAuthentication.toption[@ocaml.doc"Details of the client authentication used by the Apache Kafka cluster."];encryptionInTransit:KafkaClusterEncryptionInTransit.toption[@ocaml.doc"Details of encryption in transit to the Apache Kafka cluster."]}letmake?amazonMskCluster=fun?apacheKafkaCluster->fun?kafkaClusterAlias->fun?vpcConfig->fun?clientAuthentication->fun?encryptionInTransit->fun()->{amazonMskCluster;apacheKafkaCluster;kafkaClusterAlias;vpcConfig;clientAuthentication;encryptionInTransit}letto_valuex=structure_to_value[("amazonMskCluster",(Option.mapx.amazonMskCluster~f:AmazonMskCluster.to_value));("apacheKafkaCluster",(Option.mapx.apacheKafkaCluster~f:ApacheKafkaCluster.to_value));("kafkaClusterAlias",(Option.mapx.kafkaClusterAlias~f:Zz__string.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:KafkaClusterClientVpcConfig.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:KafkaClusterClientAuthentication.to_value));("encryptionInTransit",(Option.mapx.encryptionInTransit~f:KafkaClusterEncryptionInTransit.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionInTransit=(Option.map~f:KafkaClusterEncryptionInTransit.of_xml)(Xml.childxml_arg0"encryptionInTransit")inletclientAuthentication=(Option.map~f:KafkaClusterClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletvpcConfig=(Option.map~f:KafkaClusterClientVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletkafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"kafkaClusterAlias")inletapacheKafkaCluster=(Option.map~f:ApacheKafkaCluster.of_xml)(Xml.childxml_arg0"apacheKafkaCluster")inletamazonMskCluster=(Option.map~f:AmazonMskCluster.of_xml)(Xml.childxml_arg0"amazonMskCluster")inmake?encryptionInTransit?clientAuthentication?vpcConfig?kafkaClusterAlias?apacheKafkaCluster?amazonMskCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionInTransit=field_mapjson__"EncryptionInTransit"KafkaClusterEncryptionInTransit.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"KafkaClusterClientAuthentication.of_jsoninletvpcConfig=field_mapjson__"VpcConfig"KafkaClusterClientVpcConfig.of_jsoninletkafkaClusterAlias=field_mapjson__"KafkaClusterAlias"Zz__string.of_jsoninletapacheKafkaCluster=field_mapjson__"ApacheKafkaCluster"ApacheKafkaCluster.of_jsoninletamazonMskCluster=field_mapjson__"AmazonMskCluster"AmazonMskCluster.of_jsoninmake?encryptionInTransit?clientAuthentication?vpcConfig?kafkaClusterAlias?apacheKafkaCluster?amazonMskCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about Kafka Cluster used as source / target for replication."]moduleReplicationInfoDescription=structtypenonrect={consumerGroupReplication:ConsumerGroupReplication.toption[@ocaml.doc"Configuration relating to consumer group replication."];sourceKafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the source Kafka cluster."];targetCompressionType:TargetCompressionType.toption[@ocaml.doc"The compression type to use when producing records to target cluster."];targetKafkaClusterAlias:Zz__string.toption[@ocaml.doc"The alias of the target Kafka cluster."];topicReplication:TopicReplication.toption[@ocaml.doc"Configuration relating to topic replication."]}letmake?consumerGroupReplication=fun?sourceKafkaClusterAlias->fun?targetCompressionType->fun?targetKafkaClusterAlias->fun?topicReplication->fun()->{consumerGroupReplication;sourceKafkaClusterAlias;targetCompressionType;targetKafkaClusterAlias;topicReplication}letto_valuex=structure_to_value[("consumerGroupReplication",(Option.mapx.consumerGroupReplication~f:ConsumerGroupReplication.to_value));("sourceKafkaClusterAlias",(Option.mapx.sourceKafkaClusterAlias~f:Zz__string.to_value));("targetCompressionType",(Option.mapx.targetCompressionType~f:TargetCompressionType.to_value));("targetKafkaClusterAlias",(Option.mapx.targetKafkaClusterAlias~f:Zz__string.to_value));("topicReplication",(Option.mapx.topicReplication~f:TopicReplication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicReplication=(Option.map~f:TopicReplication.of_xml)(Xml.childxml_arg0"topicReplication")inlettargetKafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterAlias")inlettargetCompressionType=(Option.map~f:TargetCompressionType.of_xml)(Xml.childxml_arg0"targetCompressionType")inletsourceKafkaClusterAlias=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterAlias")inletconsumerGroupReplication=(Option.map~f:ConsumerGroupReplication.of_xml)(Xml.childxml_arg0"consumerGroupReplication")inmake?topicReplication?targetKafkaClusterAlias?targetCompressionType?sourceKafkaClusterAlias?consumerGroupReplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicReplication=field_mapjson__"TopicReplication"TopicReplication.of_jsoninlettargetKafkaClusterAlias=field_mapjson__"TargetKafkaClusterAlias"Zz__string.of_jsoninlettargetCompressionType=field_mapjson__"TargetCompressionType"TargetCompressionType.of_jsoninletsourceKafkaClusterAlias=field_mapjson__"SourceKafkaClusterAlias"Zz__string.of_jsoninletconsumerGroupReplication=field_mapjson__"ConsumerGroupReplication"ConsumerGroupReplication.of_jsoninmake?topicReplication?targetKafkaClusterAlias?targetCompressionType?sourceKafkaClusterAlias?consumerGroupReplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)"]moduleClusterOperationV2Provisioned=structtypenonrect={operationSteps:Zz__listOfClusterOperationStep.toption[@ocaml.doc"Steps completed during the operation."];sourceClusterInfo:MutableClusterInfo.toption[@ocaml.doc"Information about cluster attributes before a cluster is updated."];targetClusterInfo:MutableClusterInfo.toption[@ocaml.doc"Information about cluster attributes after a cluster is updated."];vpcConnectionInfo:VpcConnectionInfo.toption[@ocaml.doc"Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations."]}letmake?operationSteps=fun?sourceClusterInfo->fun?targetClusterInfo->fun?vpcConnectionInfo->fun()->{operationSteps;sourceClusterInfo;targetClusterInfo;vpcConnectionInfo}letto_valuex=structure_to_value[("operationSteps",(Option.mapx.operationSteps~f:Zz__listOfClusterOperationStep.to_value));("sourceClusterInfo",(Option.mapx.sourceClusterInfo~f:MutableClusterInfo.to_value));("targetClusterInfo",(Option.mapx.targetClusterInfo~f:MutableClusterInfo.to_value));("vpcConnectionInfo",(Option.mapx.vpcConnectionInfo~f:VpcConnectionInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConnectionInfo=(Option.map~f:VpcConnectionInfo.of_xml)(Xml.childxml_arg0"vpcConnectionInfo")inlettargetClusterInfo=(Option.map~f:MutableClusterInfo.of_xml)(Xml.childxml_arg0"targetClusterInfo")inletsourceClusterInfo=(Option.map~f:MutableClusterInfo.of_xml)(Xml.childxml_arg0"sourceClusterInfo")inletoperationSteps=(Option.map~f:Zz__listOfClusterOperationStep.of_xml)(Xml.childxml_arg0"operationSteps")inmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo?operationSteps()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConnectionInfo=field_mapjson__"VpcConnectionInfo"VpcConnectionInfo.of_jsoninlettargetClusterInfo=field_mapjson__"TargetClusterInfo"MutableClusterInfo.of_jsoninletsourceClusterInfo=field_mapjson__"SourceClusterInfo"MutableClusterInfo.of_jsoninletoperationSteps=field_mapjson__"OperationSteps"Zz__listOfClusterOperationStep.of_jsoninmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo?operationSteps()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a provisioned cluster operation."]moduleClusterOperationV2Serverless=structtypenonrect={sourceClusterInfo:ServerlessConnectivityInfo.toption[@ocaml.doc"Describes the cluster's attributes before any updates are applied. For example, networkType, which can be either IPv4 or DUAL."];targetClusterInfo:ServerlessConnectivityInfo.toption[@ocaml.doc"Describes the cluster's attributes after any updates are applied. For example, networkType, which can be either IPv4 or DUAL."];vpcConnectionInfo:VpcConnectionInfoServerless.toption[@ocaml.doc"Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations."]}letmake?sourceClusterInfo=fun?targetClusterInfo->fun?vpcConnectionInfo->fun()->{sourceClusterInfo;targetClusterInfo;vpcConnectionInfo}letto_valuex=structure_to_value[("sourceClusterInfo",(Option.mapx.sourceClusterInfo~f:ServerlessConnectivityInfo.to_value));("targetClusterInfo",(Option.mapx.targetClusterInfo~f:ServerlessConnectivityInfo.to_value));("vpcConnectionInfo",(Option.mapx.vpcConnectionInfo~f:VpcConnectionInfoServerless.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConnectionInfo=(Option.map~f:VpcConnectionInfoServerless.of_xml)(Xml.childxml_arg0"vpcConnectionInfo")inlettargetClusterInfo=(Option.map~f:ServerlessConnectivityInfo.of_xml)(Xml.childxml_arg0"targetClusterInfo")inletsourceClusterInfo=(Option.map~f:ServerlessConnectivityInfo.of_xml)(Xml.childxml_arg0"sourceClusterInfo")inmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConnectionInfo=field_mapjson__"VpcConnectionInfo"VpcConnectionInfoServerless.of_jsoninlettargetClusterInfo=field_mapjson__"TargetClusterInfo"ServerlessConnectivityInfo.of_jsoninletsourceClusterInfo=field_mapjson__"SourceClusterInfo"ServerlessConnectivityInfo.of_jsoninmake?vpcConnectionInfo?targetClusterInfo?sourceClusterInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a serverless cluster operation."]moduleKafkaCluster=structtypenonrect={amazonMskCluster:AmazonMskCluster.toption[@ocaml.doc"Details of an Amazon MSK Cluster."];apacheKafkaCluster:ApacheKafkaCluster.toption[@ocaml.doc"Details of an Apache Kafka Cluster."];vpcConfig:KafkaClusterClientVpcConfig.toption[@ocaml.doc"Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster."];clientAuthentication:KafkaClusterClientAuthentication.toption[@ocaml.doc"Details of the client authentication used by the Apache Kafka cluster."];encryptionInTransit:KafkaClusterEncryptionInTransit.toption[@ocaml.doc"Details of encryption in transit to the Apache Kafka cluster."]}letmake?amazonMskCluster=fun?apacheKafkaCluster->fun?vpcConfig->fun?clientAuthentication->fun?encryptionInTransit->fun()->{amazonMskCluster;apacheKafkaCluster;vpcConfig;clientAuthentication;encryptionInTransit}letto_valuex=structure_to_value[("amazonMskCluster",(Option.mapx.amazonMskCluster~f:AmazonMskCluster.to_value));("apacheKafkaCluster",(Option.mapx.apacheKafkaCluster~f:ApacheKafkaCluster.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:KafkaClusterClientVpcConfig.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:KafkaClusterClientAuthentication.to_value));("encryptionInTransit",(Option.mapx.encryptionInTransit~f:KafkaClusterEncryptionInTransit.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionInTransit=(Option.map~f:KafkaClusterEncryptionInTransit.of_xml)(Xml.childxml_arg0"encryptionInTransit")inletclientAuthentication=(Option.map~f:KafkaClusterClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletvpcConfig=(Option.map~f:KafkaClusterClientVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletapacheKafkaCluster=(Option.map~f:ApacheKafkaCluster.of_xml)(Xml.childxml_arg0"apacheKafkaCluster")inletamazonMskCluster=(Option.map~f:AmazonMskCluster.of_xml)(Xml.childxml_arg0"amazonMskCluster")inmake?encryptionInTransit?clientAuthentication?vpcConfig?apacheKafkaCluster?amazonMskCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionInTransit=field_mapjson__"EncryptionInTransit"KafkaClusterEncryptionInTransit.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"KafkaClusterClientAuthentication.of_jsoninletvpcConfig=field_mapjson__"VpcConfig"KafkaClusterClientVpcConfig.of_jsoninletapacheKafkaCluster=field_mapjson__"ApacheKafkaCluster"ApacheKafkaCluster.of_jsoninletamazonMskCluster=field_mapjson__"AmazonMskCluster"AmazonMskCluster.of_jsoninmake?encryptionInTransit?clientAuthentication?vpcConfig?apacheKafkaCluster?amazonMskCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about Kafka Cluster to be used as source / target for replication."]moduleReplicationInfo=structtypenonrect={consumerGroupReplication:ConsumerGroupReplication.t[@ocaml.doc"Configuration relating to consumer group replication."];sourceKafkaClusterArn:Zz__string.toption[@ocaml.doc"The ARN of the source Kafka cluster."];sourceKafkaClusterId:Zz__string.toption[@ocaml.doc"The ID of the source Kafka cluster."];targetCompressionType:TargetCompressionType.t[@ocaml.doc"The compression type to use when producing records to target cluster."];targetKafkaClusterArn:Zz__string.toption[@ocaml.doc"The ARN of the target Kafka cluster."];targetKafkaClusterId:Zz__string.toption[@ocaml.doc"The ID of the target Kafka cluster."];topicReplication:TopicReplication.t[@ocaml.doc"Configuration relating to topic replication."]}letcontext_="ReplicationInfo"letmake?sourceKafkaClusterArn=fun?sourceKafkaClusterId->fun?targetKafkaClusterArn->fun?targetKafkaClusterId->fun~consumerGroupReplication->fun~targetCompressionType->fun~topicReplication->fun()->{sourceKafkaClusterArn;sourceKafkaClusterId;targetKafkaClusterArn;targetKafkaClusterId;consumerGroupReplication;targetCompressionType;topicReplication}letto_valuex=structure_to_value[("consumerGroupReplication",(Some(ConsumerGroupReplication.to_valuex.consumerGroupReplication)));("sourceKafkaClusterArn",(Option.mapx.sourceKafkaClusterArn~f:Zz__string.to_value));("sourceKafkaClusterId",(Option.mapx.sourceKafkaClusterId~f:Zz__string.to_value));("targetCompressionType",(Some(TargetCompressionType.to_valuex.targetCompressionType)));("targetKafkaClusterArn",(Option.mapx.targetKafkaClusterArn~f:Zz__string.to_value));("targetKafkaClusterId",(Option.mapx.targetKafkaClusterId~f:Zz__string.to_value));("topicReplication",(Some(TopicReplication.to_valuex.topicReplication)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicReplication=TopicReplication.of_xml(Xml.child_exn~context:context_xml_arg0"topicReplication")inlettargetKafkaClusterId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterId")inlettargetKafkaClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterArn")inlettargetCompressionType=TargetCompressionType.of_xml(Xml.child_exn~context:context_xml_arg0"targetCompressionType")inletsourceKafkaClusterId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterId")inletsourceKafkaClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterArn")inletconsumerGroupReplication=ConsumerGroupReplication.of_xml(Xml.child_exn~context:context_xml_arg0"consumerGroupReplication")inmake~topicReplication?targetKafkaClusterId?targetKafkaClusterArn~targetCompressionType?sourceKafkaClusterId?sourceKafkaClusterArn~consumerGroupReplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicReplication=field_map_exnjson__"TopicReplication"TopicReplication.of_jsoninlettargetKafkaClusterId=field_mapjson__"TargetKafkaClusterId"Zz__string.of_jsoninlettargetKafkaClusterArn=field_mapjson__"TargetKafkaClusterArn"Zz__string.of_jsoninlettargetCompressionType=field_map_exnjson__"TargetCompressionType"TargetCompressionType.of_jsoninletsourceKafkaClusterId=field_mapjson__"SourceKafkaClusterId"Zz__string.of_jsoninletsourceKafkaClusterArn=field_mapjson__"SourceKafkaClusterArn"Zz__string.of_jsoninletconsumerGroupReplication=field_map_exnjson__"ConsumerGroupReplication"ConsumerGroupReplication.of_jsoninmake~topicReplication?targetKafkaClusterId?targetKafkaClusterArn~targetCompressionType?sourceKafkaClusterId?sourceKafkaClusterArn~consumerGroupReplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies configuration for replication between a source and target Kafka cluster."]moduleZz__stringMin1Max128=structtypenonrect=stringletcontext_="__stringMin1Max128"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin1Max128"jletto_json=simple_to_jsonto_valueendmoduleUnprocessedScramSecret=structtypenonrect={errorCode:Zz__string.toption[@ocaml.doc"Error code for associate/disassociate failure."];errorMessage:Zz__string.toption[@ocaml.doc"Error message for associate/disassociate failure."];secretArn:Zz__string.toption[@ocaml.doc"AWS Secrets Manager secret ARN."]}letmake?errorCode=fun?errorMessage->fun?secretArn->fun()->{errorCode;errorMessage;secretArn}letto_valuex=structure_to_value[("errorCode",(Option.mapx.errorCode~f:Zz__string.to_value));("errorMessage",(Option.mapx.errorMessage~f:Zz__string.to_value));("secretArn",(Option.mapx.secretArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"secretArn")inleterrorMessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"errorCode")inmake?secretArn?errorMessage?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretArn=field_mapjson__"SecretArn"Zz__string.of_jsoninleterrorMessage=field_mapjson__"ErrorMessage"Zz__string.of_jsoninleterrorCode=field_mapjson__"ErrorCode"Zz__string.of_jsoninmake?secretArn?errorMessage?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Error info for scram secret associate/disassociate failure."]moduleBadRequestException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleClusterConnectivityException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleControllerMovedException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleForbiddenException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleGroupSubscribedToTopicException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleInternalServerErrorException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleKafkaRequestException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleKafkaTimeoutException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleNotControllerException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleNotFoundException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleReassignmentInProgressException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleServiceUnavailableException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleTopicState=structtypenonrect=|CREATING|UPDATING|DELETING|ACTIVE|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|UPDATING->"UPDATING"|DELETING->"DELETING"|ACTIVE->"ACTIVE"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"UPDATING"->UPDATING|"DELETING"->DELETING|"ACTIVE"->ACTIVE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TopicState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TopicState"j)letto_json=simple_to_jsonto_valueendmoduleUnauthorizedException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleUnknownTopicOrPartitionException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleTooManyRequestsException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleConsumerGroupReplicationUpdate=structtypenonrect={consumerGroupsToExclude:Zz__listOf__stringMax256.t[@ocaml.doc"List of regular expression patterns indicating the consumer groups that should not be replicated."];consumerGroupsToReplicate:Zz__listOf__stringMax256.t[@ocaml.doc"List of regular expression patterns indicating the consumer groups to copy."];detectAndCopyNewConsumerGroups:Zz__boolean.t[@ocaml.doc"Enables synchronization of consumer groups to target cluster."];synchroniseConsumerGroupOffsets:Zz__boolean.t[@ocaml.doc"Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets."]}letcontext_="ConsumerGroupReplicationUpdate"letmake~consumerGroupsToExclude=fun~consumerGroupsToReplicate->fun~detectAndCopyNewConsumerGroups->fun~synchroniseConsumerGroupOffsets->fun()->{consumerGroupsToExclude;consumerGroupsToReplicate;detectAndCopyNewConsumerGroups;synchroniseConsumerGroupOffsets}letto_valuex=structure_to_value[("consumerGroupsToExclude",(Some(Zz__listOf__stringMax256.to_valuex.consumerGroupsToExclude)));("consumerGroupsToReplicate",(Some(Zz__listOf__stringMax256.to_valuex.consumerGroupsToReplicate)));("detectAndCopyNewConsumerGroups",(Some(Zz__boolean.to_valuex.detectAndCopyNewConsumerGroups)));("synchroniseConsumerGroupOffsets",(Some(Zz__boolean.to_valuex.synchroniseConsumerGroupOffsets)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsynchroniseConsumerGroupOffsets=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"synchroniseConsumerGroupOffsets")inletdetectAndCopyNewConsumerGroups=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"detectAndCopyNewConsumerGroups")inletconsumerGroupsToReplicate=Zz__listOf__stringMax256.of_xml(Xml.child_exn~context:context_xml_arg0"consumerGroupsToReplicate")inletconsumerGroupsToExclude=Zz__listOf__stringMax256.of_xml(Xml.child_exn~context:context_xml_arg0"consumerGroupsToExclude")inmake~synchroniseConsumerGroupOffsets~detectAndCopyNewConsumerGroups~consumerGroupsToReplicate~consumerGroupsToExclude()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsynchroniseConsumerGroupOffsets=field_map_exnjson__"SynchroniseConsumerGroupOffsets"Zz__boolean.of_jsoninletdetectAndCopyNewConsumerGroups=field_map_exnjson__"DetectAndCopyNewConsumerGroups"Zz__boolean.of_jsoninletconsumerGroupsToReplicate=field_map_exnjson__"ConsumerGroupsToReplicate"Zz__listOf__stringMax256.of_jsoninletconsumerGroupsToExclude=field_map_exnjson__"ConsumerGroupsToExclude"Zz__listOf__stringMax256.of_jsoninmake~synchroniseConsumerGroupOffsets~detectAndCopyNewConsumerGroups~consumerGroupsToReplicate~consumerGroupsToExclude()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about consumer group replication."]moduleLogDelivery=structtypenonrect={replicatorLogDelivery:ReplicatorLogDelivery.toption[@ocaml.doc"Configuration for replicator log delivery."]}letmake?replicatorLogDelivery=fun()->{replicatorLogDelivery}letto_valuex=structure_to_value[("replicatorLogDelivery",(Option.mapx.replicatorLogDelivery~f:ReplicatorLogDelivery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorLogDelivery=(Option.map~f:ReplicatorLogDelivery.of_xml)(Xml.childxml_arg0"replicatorLogDelivery")inmake?replicatorLogDelivery()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorLogDelivery=field_mapjson__"ReplicatorLogDelivery"ReplicatorLogDelivery.of_jsoninmake?replicatorLogDelivery()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for log delivery to customer destinations."]moduleTopicReplicationUpdate=structtypenonrect={copyAccessControlListsForTopics:Zz__boolean.t[@ocaml.doc"Whether to periodically configure remote topic ACLs to match their corresponding upstream topics."];copyTopicConfigurations:Zz__boolean.t[@ocaml.doc"Whether to periodically configure remote topics to match their corresponding upstream topics."];detectAndCopyNewTopics:Zz__boolean.t[@ocaml.doc"Whether to periodically check for new topics and partitions."];topicsToExclude:Zz__listOf__stringMax249.t[@ocaml.doc"List of regular expression patterns indicating the topics that should not be replicated."];topicsToReplicate:Zz__listOf__stringMax249.t[@ocaml.doc"List of regular expression patterns indicating the topics to copy."]}letcontext_="TopicReplicationUpdate"letmake~copyAccessControlListsForTopics=fun~copyTopicConfigurations->fun~detectAndCopyNewTopics->fun~topicsToExclude->fun~topicsToReplicate->fun()->{copyAccessControlListsForTopics;copyTopicConfigurations;detectAndCopyNewTopics;topicsToExclude;topicsToReplicate}letto_valuex=structure_to_value[("copyAccessControlListsForTopics",(Some(Zz__boolean.to_valuex.copyAccessControlListsForTopics)));("copyTopicConfigurations",(Some(Zz__boolean.to_valuex.copyTopicConfigurations)));("detectAndCopyNewTopics",(Some(Zz__boolean.to_valuex.detectAndCopyNewTopics)));("topicsToExclude",(Some(Zz__listOf__stringMax249.to_valuex.topicsToExclude)));("topicsToReplicate",(Some(Zz__listOf__stringMax249.to_valuex.topicsToReplicate)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicsToReplicate=Zz__listOf__stringMax249.of_xml(Xml.child_exn~context:context_xml_arg0"topicsToReplicate")inlettopicsToExclude=Zz__listOf__stringMax249.of_xml(Xml.child_exn~context:context_xml_arg0"topicsToExclude")inletdetectAndCopyNewTopics=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"detectAndCopyNewTopics")inletcopyTopicConfigurations=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"copyTopicConfigurations")inletcopyAccessControlListsForTopics=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"copyAccessControlListsForTopics")inmake~topicsToReplicate~topicsToExclude~detectAndCopyNewTopics~copyTopicConfigurations~copyAccessControlListsForTopics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicsToReplicate=field_map_exnjson__"TopicsToReplicate"Zz__listOf__stringMax249.of_jsoninlettopicsToExclude=field_map_exnjson__"TopicsToExclude"Zz__listOf__stringMax249.of_jsoninletdetectAndCopyNewTopics=field_map_exnjson__"DetectAndCopyNewTopics"Zz__boolean.of_jsoninletcopyTopicConfigurations=field_map_exnjson__"CopyTopicConfigurations"Zz__boolean.of_jsoninletcopyAccessControlListsForTopics=field_map_exnjson__"CopyAccessControlListsForTopics"Zz__boolean.of_jsoninmake~topicsToReplicate~topicsToExclude~detectAndCopyNewTopics~copyTopicConfigurations~copyAccessControlListsForTopics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details for updating the topic replication of a replicator."]moduleZz__blob=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleZz__listOfVpcConnection=structtypenonrect=VpcConnection.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VpcConnection.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:VpcConnection.of_xml)letof_jsonj=list_of_json~kind:"__listOfVpcConnection"~of_json:VpcConnection.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOfTopicInfo=structtypenonrect=TopicInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TopicInfo.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:TopicInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfTopicInfo"~of_json:TopicInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfReplicatorSummary=structtypenonrect=ReplicatorSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplicatorSummary.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:ReplicatorSummary.of_xml)letof_jsonj=list_of_json~kind:"__listOfReplicatorSummary"~of_json:ReplicatorSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfNodeInfo=structtypenonrect=NodeInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NodeInfo.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:NodeInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfNodeInfo"~of_json:NodeInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfKafkaVersion=structtypenonrect=KafkaVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:KafkaVersion.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:KafkaVersion.of_xml)letof_jsonj=list_of_json~kind:"__listOfKafkaVersion"~of_json:KafkaVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfConfiguration=structtypenonrect=Configuration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Configuration.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:Configuration.of_xml)letof_jsonj=list_of_json~kind:"__listOfConfiguration"~of_json:Configuration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfConfigurationRevision=structtypenonrect=ConfigurationRevision.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConfigurationRevision.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:ConfigurationRevision.of_xml)letof_jsonj=list_of_json~kind:"__listOfConfigurationRevision"~of_json:ConfigurationRevision.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfCluster=structtypenonrect=Cluster.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Cluster.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:Cluster.of_xml)letof_jsonj=list_of_json~kind:"__listOfCluster"~of_json:Cluster.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfClusterInfo=structtypenonrect=ClusterInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClusterInfo.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:ClusterInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfClusterInfo"~of_json:ClusterInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfClusterOperationV2Summary=structtypenonrect=ClusterOperationV2Summary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClusterOperationV2Summary.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:ClusterOperationV2Summary.of_xml)letof_jsonj=list_of_json~kind:"__listOfClusterOperationV2Summary"~of_json:ClusterOperationV2Summary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfClusterOperationInfo=structtypenonrect=ClusterOperationInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClusterOperationInfo.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:ClusterOperationInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfClusterOperationInfo"~of_json:ClusterOperationInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfClientVpcConnection=structtypenonrect=ClientVpcConnection.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClientVpcConnection.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:ClientVpcConnection.of_xml)letof_jsonj=list_of_json~kind:"__listOfClientVpcConnection"~of_json:ClientVpcConnection.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfCompatibleKafkaVersion=structtypenonrect=CompatibleKafkaVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CompatibleKafkaVersion.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:CompatibleKafkaVersion.of_xml)letof_jsonj=list_of_json~kind:"__listOfCompatibleKafkaVersion"~of_json:CompatibleKafkaVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConflictException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleZz__listOfTopicPartitionInfo=structtypenonrect=TopicPartitionInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TopicPartitionInfo.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:TopicPartitionInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfTopicPartitionInfo"~of_json:TopicPartitionInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplicationStateInfo=structtypenonrect={code:Zz__string.toption[@ocaml.doc"Code that describes the current state of the replicator."];message:Zz__string.toption[@ocaml.doc"Message that describes the state of the replicator."]}letmake?code=fun?message->fun()->{code;message}letto_valuex=structure_to_value[("code",(Option.mapx.code~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletcode=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"code")inmake?message?code()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletcode=field_mapjson__"Code"Zz__string.of_jsoninmake?message?code()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about the state of a replicator"]moduleZz__listOfKafkaClusterDescription=structtypenonrect=KafkaClusterDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:KafkaClusterDescription.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:KafkaClusterDescription.of_xml)letof_jsonj=list_of_json~kind:"__listOfKafkaClusterDescription"~of_json:KafkaClusterDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfReplicationInfoDescription=structtypenonrect=ReplicationInfoDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplicationInfoDescription.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:ReplicationInfoDescription.of_xml)letof_jsonj=list_of_json~kind:"__listOfReplicationInfoDescription"~of_json:ReplicationInfoDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleClusterOperationV2=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"ARN of the cluster."];clusterType:ClusterType.toption[@ocaml.doc"Type of the backend cluster."];startTime:Zz__timestampIso8601.toption[@ocaml.doc"The time at which operation was started."];endTime:Zz__timestampIso8601.toption[@ocaml.doc"The time at which the operation finished."];errorInfo:ErrorInfo.toption[@ocaml.doc"If cluster operation failed from an error, it describes the error."];operationArn:Zz__string.toption[@ocaml.doc"ARN of the cluster operation."];operationState:Zz__string.toption[@ocaml.doc"State of the cluster operation."];operationType:Zz__string.toption[@ocaml.doc"Type of the cluster operation."];provisioned:ClusterOperationV2Provisioned.toption[@ocaml.doc"Properties of a provisioned cluster."];serverless:ClusterOperationV2Serverless.toption[@ocaml.doc"Properties of a serverless cluster."]}letmake?clusterArn=fun?clusterType->fun?startTime->fun?endTime->fun?errorInfo->fun?operationArn->fun?operationState->fun?operationType->fun?provisioned->fun?serverless->fun()->{clusterArn;clusterType;startTime;endTime;errorInfo;operationArn;operationState;operationType;provisioned;serverless}letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterType",(Option.mapx.clusterType~f:ClusterType.to_value));("startTime",(Option.mapx.startTime~f:Zz__timestampIso8601.to_value));("endTime",(Option.mapx.endTime~f:Zz__timestampIso8601.to_value));("errorInfo",(Option.mapx.errorInfo~f:ErrorInfo.to_value));("operationArn",(Option.mapx.operationArn~f:Zz__string.to_value));("operationState",(Option.mapx.operationState~f:Zz__string.to_value));("operationType",(Option.mapx.operationType~f:Zz__string.to_value));("provisioned",(Option.mapx.provisioned~f:ClusterOperationV2Provisioned.to_value));("serverless",(Option.mapx.serverless~f:ClusterOperationV2Serverless.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverless=(Option.map~f:ClusterOperationV2Serverless.of_xml)(Xml.childxml_arg0"serverless")inletprovisioned=(Option.map~f:ClusterOperationV2Provisioned.of_xml)(Xml.childxml_arg0"provisioned")inletoperationType=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationType")inletoperationState=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationState")inletoperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"operationArn")inleterrorInfo=(Option.map~f:ErrorInfo.of_xml)(Xml.childxml_arg0"errorInfo")inletendTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"startTime")inletclusterType=(Option.map~f:ClusterType.of_xml)(Xml.childxml_arg0"clusterType")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?serverless?provisioned?operationType?operationState?operationArn?errorInfo?endTime?startTime?clusterType?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverless=field_mapjson__"Serverless"ClusterOperationV2Serverless.of_jsoninletprovisioned=field_mapjson__"Provisioned"ClusterOperationV2Provisioned.of_jsoninletoperationType=field_mapjson__"OperationType"Zz__string.of_jsoninletoperationState=field_mapjson__"OperationState"Zz__string.of_jsoninletoperationArn=field_mapjson__"OperationArn"Zz__string.of_jsoninleterrorInfo=field_mapjson__"ErrorInfo"ErrorInfo.of_jsoninletendTime=field_mapjson__"EndTime"Zz__timestampIso8601.of_jsoninletstartTime=field_mapjson__"StartTime"Zz__timestampIso8601.of_jsoninletclusterType=field_mapjson__"ClusterType"ClusterType.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?serverless?provisioned?operationType?operationState?operationArn?errorInfo?endTime?startTime?clusterType?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a cluster operation."]moduleTopicExistsException=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleZz__integerMin1=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for __integerMin1"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOfKafkaCluster=structtypenonrect=KafkaCluster.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:KafkaCluster.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:KafkaCluster.of_xml)letof_jsonj=list_of_json~kind:"__listOfKafkaCluster"~of_json:KafkaCluster.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfReplicationInfo=structtypenonrect=ReplicationInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplicationInfo.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:ReplicationInfo.of_xml)letof_jsonj=list_of_json~kind:"__listOfReplicationInfo"~of_json:ReplicationInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__stringMax1024=structtypenonrect=stringletcontext_="__stringMax1024"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:1024);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMax1024"jletto_json=simple_to_jsonto_valueendmoduleZz__stringMin1Max128Pattern09AZaZ09AZaZ0=structtypenonrect=stringletcontext_="__stringMin1Max128Pattern09AZaZ09AZaZ0"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^[0-9A-Za-z][0-9A-Za-z-]{0,}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin1Max128Pattern09AZaZ09AZaZ0"jletto_json=simple_to_jsonto_valueendmoduleProvisionedRequest=structtypenonrect={brokerNodeGroupInfo:BrokerNodeGroupInfo.t[@ocaml.doc"Information about the brokers."];rebalancing:Rebalancing.toption[@ocaml.doc"Specifies if intelligent rebalancing is turned on for your MSK Provisioned cluster with Express brokers. For all new Express-based clusters that you create, intelligent rebalancing is turned on by default."];clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."];configurationInfo:ConfigurationInfo.toption[@ocaml.doc"Represents the configuration that you want Amazon MSK to use for the brokers in a cluster."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION."];openMonitoring:OpenMonitoringInfo.toption[@ocaml.doc"The settings for open monitoring."];kafkaVersion:Zz__stringMin1Max128.t[@ocaml.doc"The Apache Kafka version that you want for the cluster."];loggingInfo:LoggingInfo.toption[@ocaml.doc"Log delivery information for the cluster."];numberOfBrokerNodes:Zz__integerMin1Max15.t[@ocaml.doc"The number of broker nodes in the cluster."];storageMode:StorageMode.toption[@ocaml.doc"This controls storage mode for supported storage tiers."]}letcontext_="ProvisionedRequest"letmake?rebalancing=fun?clientAuthentication->fun?configurationInfo->fun?encryptionInfo->fun?enhancedMonitoring->fun?openMonitoring->fun?loggingInfo->fun?storageMode->fun~brokerNodeGroupInfo->fun~kafkaVersion->fun~numberOfBrokerNodes->fun()->{rebalancing;clientAuthentication;configurationInfo;encryptionInfo;enhancedMonitoring;openMonitoring;loggingInfo;storageMode;brokerNodeGroupInfo;kafkaVersion;numberOfBrokerNodes}letto_valuex=structure_to_value[("brokerNodeGroupInfo",(Some(BrokerNodeGroupInfo.to_valuex.brokerNodeGroupInfo)));("rebalancing",(Option.mapx.rebalancing~f:Rebalancing.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("configurationInfo",(Option.mapx.configurationInfo~f:ConfigurationInfo.to_value));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoringInfo.to_value));("kafkaVersion",(Some(Zz__stringMin1Max128.to_valuex.kafkaVersion)));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value));("numberOfBrokerNodes",(Some(Zz__integerMin1Max15.to_valuex.numberOfBrokerNodes)));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inletnumberOfBrokerNodes=Zz__integerMin1Max15.of_xml(Xml.child_exn~context:context_xml_arg0"numberOfBrokerNodes")inletloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletkafkaVersion=Zz__stringMin1Max128.of_xml(Xml.child_exn~context:context_xml_arg0"kafkaVersion")inletopenMonitoring=(Option.map~f:OpenMonitoringInfo.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletconfigurationInfo=(Option.map~f:ConfigurationInfo.of_xml)(Xml.childxml_arg0"configurationInfo")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletrebalancing=(Option.map~f:Rebalancing.of_xml)(Xml.childxml_arg0"rebalancing")inletbrokerNodeGroupInfo=BrokerNodeGroupInfo.of_xml(Xml.child_exn~context:context_xml_arg0"brokerNodeGroupInfo")inmake?storageMode~numberOfBrokerNodes?loggingInfo~kafkaVersion?openMonitoring?enhancedMonitoring?encryptionInfo?configurationInfo?clientAuthentication?rebalancing~brokerNodeGroupInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninletnumberOfBrokerNodes=field_map_exnjson__"NumberOfBrokerNodes"Zz__integerMin1Max15.of_jsoninletloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletkafkaVersion=field_map_exnjson__"KafkaVersion"Zz__stringMin1Max128.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoringInfo.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletconfigurationInfo=field_mapjson__"ConfigurationInfo"ConfigurationInfo.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninletrebalancing=field_mapjson__"Rebalancing"Rebalancing.of_jsoninletbrokerNodeGroupInfo=field_map_exnjson__"BrokerNodeGroupInfo"BrokerNodeGroupInfo.of_jsoninmake?storageMode~numberOfBrokerNodes?loggingInfo~kafkaVersion?openMonitoring?enhancedMonitoring?encryptionInfo?configurationInfo?clientAuthentication?rebalancing~brokerNodeGroupInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provisioned cluster request."]moduleServerlessRequest=structtypenonrect={vpcConfigs:Zz__listOfVpcConfig.t[@ocaml.doc"The configuration of the Amazon VPCs for the cluster."];clientAuthentication:ServerlessClientAuthentication.toption[@ocaml.doc"Includes all client authentication information."]}letcontext_="ServerlessRequest"letmake?clientAuthentication=fun~vpcConfigs->fun()->{clientAuthentication;vpcConfigs}letto_valuex=structure_to_value[("vpcConfigs",(Some(Zz__listOfVpcConfig.to_valuex.vpcConfigs)));("clientAuthentication",(Option.mapx.clientAuthentication~f:ServerlessClientAuthentication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientAuthentication=(Option.map~f:ServerlessClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletvpcConfigs=Zz__listOfVpcConfig.of_xml(Xml.child_exn~context:context_xml_arg0"vpcConfigs")inmake?clientAuthentication~vpcConfigs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientAuthentication=field_mapjson__"ClientAuthentication"ServerlessClientAuthentication.of_jsoninletvpcConfigs=field_map_exnjson__"VpcConfigs"Zz__listOfVpcConfig.of_jsoninmake?clientAuthentication~vpcConfigs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Serverless cluster request."]moduleZz__stringMin1Max64=structtypenonrect=stringletcontext_="__stringMin1Max64"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(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:"__stringMin1Max64"jletto_json=simple_to_jsonto_valueendmoduleZz__listOfUnprocessedScramSecret=structtypenonrect=UnprocessedScramSecret.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UnprocessedScramSecret.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:UnprocessedScramSecret.of_xml)letof_jsonj=list_of_json~kind:"__listOfUnprocessedScramSecret"~of_json:UnprocessedScramSecret.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__timestampUnix=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_valueendmoduleUpdateTopicResponse=structtypenonrect={topicArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the topic."];topicName:Zz__string.toption[@ocaml.doc"The name of the topic whose configuration was updated."];status:TopicState.toption[@ocaml.doc"The status of the topic update."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ClusterConnectivityExceptionofClusterConnectivityException.t|`ControllerMovedExceptionofControllerMovedException.t|`ForbiddenExceptionofForbiddenException.t|`GroupSubscribedToTopicExceptionofGroupSubscribedToTopicException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`KafkaRequestExceptionofKafkaRequestException.t|`KafkaTimeoutExceptionofKafkaTimeoutException.t|`NotControllerExceptionofNotControllerException.t|`NotFoundExceptionofNotFoundException.t|`ReassignmentInProgressExceptionofReassignmentInProgressException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`UnknownTopicOrPartitionExceptionofUnknownTopicOrPartitionException.t|`Unknown_operation_errorof(string*stringoption)]letmake?topicArn=fun?topicName->fun?status->fun()->{topicArn;topicName;status}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_jsonjson)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_jsonjson)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_jsonjson)|"NotControllerException"->`NotControllerException(NotControllerException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_xmlxml)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_xmlxml)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_xmlxml)|"NotControllerException"->`NotControllerException(NotControllerException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ClusterConnectivityExceptione->`Assoc[("error",(`String"ClusterConnectivityException"));("details",(ClusterConnectivityException.to_jsone))]|`ControllerMovedExceptione->`Assoc[("error",(`String"ControllerMovedException"));("details",(ControllerMovedException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GroupSubscribedToTopicExceptione->`Assoc[("error",(`String"GroupSubscribedToTopicException"));("details",(GroupSubscribedToTopicException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`KafkaRequestExceptione->`Assoc[("error",(`String"KafkaRequestException"));("details",(KafkaRequestException.to_jsone))]|`KafkaTimeoutExceptione->`Assoc[("error",(`String"KafkaTimeoutException"));("details",(KafkaTimeoutException.to_jsone))]|`NotControllerExceptione->`Assoc[("error",(`String"NotControllerException"));("details",(NotControllerException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ReassignmentInProgressExceptione->`Assoc[("error",(`String"ReassignmentInProgressException"));("details",(ReassignmentInProgressException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`UnknownTopicOrPartitionExceptione->`Assoc[("error",(`String"UnknownTopicOrPartitionException"));("details",(UnknownTopicOrPartitionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("topicArn",(Option.mapx.topicArn~f:Zz__string.to_value));("topicName",(Option.mapx.topicName~f:Zz__string.to_value));("status",(Option.mapx.status~f:TopicState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:TopicState.of_xml)(Xml.childxml_arg0"status")inlettopicName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicName")inlettopicArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicArn")inmake?status?topicName?topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"TopicState.of_jsoninlettopicName=field_mapjson__"TopicName"Zz__string.of_jsoninlettopicArn=field_mapjson__"TopicArn"Zz__string.of_jsoninmake?status?topicName?topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of the specified topic."]moduleUpdateTopicRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];topicName:Zz__string.t[@ocaml.doc"The name of the topic to update configuration for."];configs:Zz__string.toption[@ocaml.doc"The new topic configurations encoded as a Base64 string."];partitionCount:Zz__integer.toption[@ocaml.doc"The new total number of partitions for the topic."]}letcontext_="UpdateTopicRequest"letmake?configs=fun?partitionCount->fun~clusterArn->fun~topicName->fun()->{configs;partitionCount;clusterArn;topicName}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("topicName",(Some(Zz__string.to_valuex.topicName)));("configs",(Option.mapx.configs~f:Zz__string.to_value));("partitionCount",(Option.mapx.partitionCount~f:Zz__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpartitionCount=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"partitionCount")inletconfigs=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"configs")inlettopicName=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"topicName")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?partitionCount?configs~topicName~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpartitionCount=field_mapjson__"PartitionCount"Zz__integer.of_jsoninletconfigs=field_mapjson__"Configs"Zz__string.of_jsoninlettopicName=field_map_exnjson__"TopicName"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?partitionCount?configs~topicName~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of the specified topic."]moduleUpdateStorageResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates cluster broker volume size (or) sets cluster storage mode to TIERED."]moduleUpdateStorageRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster to be updated."];currentVersion:Zz__string.t[@ocaml.doc"The version of cluster to update from. A successful operation will then generate a new version."];provisionedThroughput:ProvisionedThroughput.toption[@ocaml.doc"EBS volume provisioned throughput information."];storageMode:StorageMode.toption[@ocaml.doc"Controls storage mode for supported storage tiers."];volumeSizeGB:Zz__integer.toption[@ocaml.doc"size of the EBS volume to update."]}letcontext_="UpdateStorageRequest"letmake?provisionedThroughput=fun?storageMode->fun?volumeSizeGB->fun~clusterArn->fun~currentVersion->fun()->{provisionedThroughput;storageMode;volumeSizeGB;clusterArn;currentVersion}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("provisionedThroughput",(Option.mapx.provisionedThroughput~f:ProvisionedThroughput.to_value));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value));("volumeSizeGB",(Option.mapx.volumeSizeGB~f:Zz__integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvolumeSizeGB=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"volumeSizeGB")inletstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inletprovisionedThroughput=(Option.map~f:ProvisionedThroughput.of_xml)(Xml.childxml_arg0"provisionedThroughput")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?volumeSizeGB?storageMode?provisionedThroughput~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvolumeSizeGB=field_mapjson__"VolumeSizeGB"Zz__integer.of_jsoninletstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninletprovisionedThroughput=field_mapjson__"ProvisionedThroughput"ProvisionedThroughput.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?volumeSizeGB?storageMode?provisionedThroughput~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Request object for UpdateStorage api. Its used to update the storage attributes for the cluster."]moduleUpdateSecurityResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters."]moduleUpdateSecurityRequest=structtypenonrect={clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication related information."];clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."]}letcontext_="UpdateSecurityRequest"letmake?clientAuthentication=fun?encryptionInfo->fun~clusterArn->fun~currentVersion->fun()->{clientAuthentication;encryptionInfo;clusterArn;currentVersion}letto_valuex=structure_to_value[("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inmake?encryptionInfo~currentVersion~clusterArn?clientAuthentication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninmake?encryptionInfo~currentVersion~clusterArn?clientAuthentication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters."]moduleUpdateReplicationInfoResponse=structtypenonrect={replicatorArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator."];replicatorState:ReplicatorState.toption[@ocaml.doc"State of the replicator."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?replicatorArn=fun?replicatorState->fun()->{replicatorArn;replicatorState}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("replicatorArn",(Option.mapx.replicatorArn~f:Zz__string.to_value));("replicatorState",(Option.mapx.replicatorState~f:ReplicatorState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorState=(Option.map~f:ReplicatorState.of_xml)(Xml.childxml_arg0"replicatorState")inletreplicatorArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorArn")inmake?replicatorState?replicatorArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorState=field_mapjson__"ReplicatorState"ReplicatorState.of_jsoninletreplicatorArn=field_mapjson__"ReplicatorArn"Zz__string.of_jsoninmake?replicatorState?replicatorArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates replication info of a replicator."]moduleUpdateReplicationInfoRequest=structtypenonrect={consumerGroupReplication:ConsumerGroupReplicationUpdate.toption[@ocaml.doc"Updated consumer group replication information."];currentVersion:Zz__string.t[@ocaml.doc"Current replicator version."];replicatorArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator to be updated."];sourceKafkaClusterArn:Zz__string.toption[@ocaml.doc"The ARN of the source Kafka cluster."];sourceKafkaClusterId:Zz__string.toption[@ocaml.doc"The ID of the source Kafka cluster."];targetKafkaClusterArn:Zz__string.toption[@ocaml.doc"The ARN of the target Kafka cluster."];targetKafkaClusterId:Zz__string.toption[@ocaml.doc"The ID of the target Kafka cluster."];topicReplication:TopicReplicationUpdate.toption[@ocaml.doc"Updated topic replication information."];logDelivery:LogDelivery.toption[@ocaml.doc"Configuration for delivering replicator logs to customer destinations."]}letcontext_="UpdateReplicationInfoRequest"letmake?consumerGroupReplication=fun?sourceKafkaClusterArn->fun?sourceKafkaClusterId->fun?targetKafkaClusterArn->fun?targetKafkaClusterId->fun?topicReplication->fun?logDelivery->fun~currentVersion->fun~replicatorArn->fun()->{consumerGroupReplication;sourceKafkaClusterArn;sourceKafkaClusterId;targetKafkaClusterArn;targetKafkaClusterId;topicReplication;logDelivery;currentVersion;replicatorArn}letto_valuex=structure_to_value[("consumerGroupReplication",(Option.mapx.consumerGroupReplication~f:ConsumerGroupReplicationUpdate.to_value));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("replicatorArn",(Some(Zz__string.to_valuex.replicatorArn)));("sourceKafkaClusterArn",(Option.mapx.sourceKafkaClusterArn~f:Zz__string.to_value));("sourceKafkaClusterId",(Option.mapx.sourceKafkaClusterId~f:Zz__string.to_value));("targetKafkaClusterArn",(Option.mapx.targetKafkaClusterArn~f:Zz__string.to_value));("targetKafkaClusterId",(Option.mapx.targetKafkaClusterId~f:Zz__string.to_value));("topicReplication",(Option.mapx.topicReplication~f:TopicReplicationUpdate.to_value));("logDelivery",(Option.mapx.logDelivery~f:LogDelivery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDelivery=(Option.map~f:LogDelivery.of_xml)(Xml.childxml_arg0"logDelivery")inlettopicReplication=(Option.map~f:TopicReplicationUpdate.of_xml)(Xml.childxml_arg0"topicReplication")inlettargetKafkaClusterId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterId")inlettargetKafkaClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetKafkaClusterArn")inletsourceKafkaClusterId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterId")inletsourceKafkaClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"sourceKafkaClusterArn")inletreplicatorArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"replicatorArn")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletconsumerGroupReplication=(Option.map~f:ConsumerGroupReplicationUpdate.of_xml)(Xml.childxml_arg0"consumerGroupReplication")inmake?logDelivery?topicReplication?targetKafkaClusterId?targetKafkaClusterArn?sourceKafkaClusterId?sourceKafkaClusterArn~replicatorArn~currentVersion?consumerGroupReplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDelivery=field_mapjson__"LogDelivery"LogDelivery.of_jsoninlettopicReplication=field_mapjson__"TopicReplication"TopicReplicationUpdate.of_jsoninlettargetKafkaClusterId=field_mapjson__"TargetKafkaClusterId"Zz__string.of_jsoninlettargetKafkaClusterArn=field_mapjson__"TargetKafkaClusterArn"Zz__string.of_jsoninletsourceKafkaClusterId=field_mapjson__"SourceKafkaClusterId"Zz__string.of_jsoninletsourceKafkaClusterArn=field_mapjson__"SourceKafkaClusterArn"Zz__string.of_jsoninletreplicatorArn=field_map_exnjson__"ReplicatorArn"Zz__string.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletconsumerGroupReplication=field_mapjson__"ConsumerGroupReplication"ConsumerGroupReplicationUpdate.of_jsoninmake?logDelivery?topicReplication?targetKafkaClusterId?targetKafkaClusterArn?sourceKafkaClusterId?sourceKafkaClusterArn~replicatorArn~currentVersion?consumerGroupReplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update information relating to replication between a given source and target Kafka cluster."]moduleUpdateRebalancingResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster whose intelligent rebalancing status you've updated."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Use this resource to update the intelligent rebalancing status of an Amazon MSK Provisioned cluster with Express brokers."]moduleUpdateRebalancingRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The current version of the cluster."];rebalancing:Rebalancing.t[@ocaml.doc"Specifies if intelligent rebalancing should be turned on for your cluster. The default intelligent rebalancing status is ACTIVE for all new MSK Provisioned clusters that you create with Express brokers."]}letcontext_="UpdateRebalancingRequest"letmake~clusterArn=fun~currentVersion->fun~rebalancing->fun()->{clusterArn;currentVersion;rebalancing}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("rebalancing",(Some(Rebalancing.to_valuex.rebalancing)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrebalancing=Rebalancing.of_xml(Xml.child_exn~context:context_xml_arg0"rebalancing")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~rebalancing~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrebalancing=field_map_exnjson__"Rebalancing"Rebalancing.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~rebalancing~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Use this resource to update the intelligent rebalancing status of an Amazon MSK Provisioned cluster with Express brokers."]moduleUpdateMonitoringResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus."]moduleUpdateMonitoringRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster."];openMonitoring:OpenMonitoringInfo.toption[@ocaml.doc"The settings for open monitoring."];loggingInfo:LoggingInfo.toption}letcontext_="UpdateMonitoringRequest"letmake?enhancedMonitoring=fun?openMonitoring->fun?loggingInfo->fun~clusterArn->fun~currentVersion->fun()->{enhancedMonitoring;openMonitoring;loggingInfo;clusterArn;currentVersion}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoringInfo.to_value));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletopenMonitoring=(Option.map~f:OpenMonitoringInfo.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?loggingInfo?openMonitoring?enhancedMonitoring~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoringInfo.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?loggingInfo?openMonitoring?enhancedMonitoring~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Request body for UpdateMonitoring."]moduleUpdateConnectivityResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the cluster's connectivity configuration."]moduleUpdateConnectivityRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];connectivityInfo:ConnectivityInfo.toption[@ocaml.doc"Information about the broker access configuration."];currentVersion:Zz__string.t[@ocaml.doc"The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version."];zookeeperAccess:ZookeeperAccess.toption[@ocaml.doc"Access control settings for zookeeper"]}letcontext_="UpdateConnectivityRequest"letmake?connectivityInfo=fun?zookeeperAccess->fun~clusterArn->fun~currentVersion->fun()->{connectivityInfo;zookeeperAccess;clusterArn;currentVersion}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("connectivityInfo",(Option.mapx.connectivityInfo~f:ConnectivityInfo.to_value));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("zookeeperAccess",(Option.mapx.zookeeperAccess~f:ZookeeperAccess.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letzookeeperAccess=(Option.map~f:ZookeeperAccess.of_xml)(Xml.childxml_arg0"zookeeperAccess")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletconnectivityInfo=(Option.map~f:ConnectivityInfo.of_xml)(Xml.childxml_arg0"connectivityInfo")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?zookeeperAccess~currentVersion?connectivityInfo~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letzookeeperAccess=field_mapjson__"ZookeeperAccess"ZookeeperAccess.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletconnectivityInfo=field_mapjson__"ConnectivityInfo"ConnectivityInfo.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?zookeeperAccess~currentVersion?connectivityInfo~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Request body for UpdateConnectivity."]moduleUpdateConfigurationResponse=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];latestRevision:ConfigurationRevision.toption[@ocaml.doc"Latest revision of the configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?latestRevision->fun()->{arn;latestRevision}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("latestRevision",(Option.mapx.latestRevision~f:ConfigurationRevision.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlatestRevision=(Option.map~f:ConfigurationRevision.of_xml)(Xml.childxml_arg0"latestRevision")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?latestRevision?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlatestRevision=field_mapjson__"LatestRevision"ConfigurationRevision.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?latestRevision?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an MSK configuration."]moduleUpdateConfigurationRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];description:Zz__string.toption[@ocaml.doc"The description of the configuration revision."];serverProperties:Zz__blob.t[@ocaml.doc"Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext."]}letcontext_="UpdateConfigurationRequest"letmake?description=fun~arn->fun~serverProperties->fun()->{description;arn;serverProperties}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)));("description",(Option.mapx.description~f:Zz__string.to_value));("serverProperties",(Some(Zz__blob.to_valuex.serverProperties)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverProperties=Zz__blob.of_xml(Xml.child_exn~context:context_xml_arg0"serverProperties")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inletarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~serverProperties?description~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverProperties=field_map_exnjson__"ServerProperties"Zz__blob.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninletarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~serverProperties?description~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an MSK configuration."]moduleUpdateClusterKafkaVersionResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Apache Kafka version for the cluster."]moduleUpdateClusterKafkaVersionRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster to be updated."];configurationInfo:ConfigurationInfo.toption[@ocaml.doc"The custom configuration that should be applied on the new version of cluster."];currentVersion:Zz__string.t[@ocaml.doc"Current cluster version."];targetKafkaVersion:Zz__string.t[@ocaml.doc"Target Kafka version."]}letcontext_="UpdateClusterKafkaVersionRequest"letmake?configurationInfo=fun~clusterArn->fun~currentVersion->fun~targetKafkaVersion->fun()->{configurationInfo;clusterArn;currentVersion;targetKafkaVersion}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("configurationInfo",(Option.mapx.configurationInfo~f:ConfigurationInfo.to_value));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("targetKafkaVersion",(Some(Zz__string.to_valuex.targetKafkaVersion)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetKafkaVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"targetKafkaVersion")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletconfigurationInfo=(Option.map~f:ConfigurationInfo.of_xml)(Xml.childxml_arg0"configurationInfo")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~targetKafkaVersion~currentVersion?configurationInfo~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetKafkaVersion=field_map_exnjson__"TargetKafkaVersion"Zz__string.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletconfigurationInfo=field_mapjson__"ConfigurationInfo"ConfigurationInfo.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~targetKafkaVersion~currentVersion?configurationInfo~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Apache Kafka version for the cluster."]moduleUpdateClusterConfigurationResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the cluster with the configuration that is specified in the request body."]moduleUpdateClusterConfigurationRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];configurationInfo:ConfigurationInfo.t[@ocaml.doc"Represents the configuration that you want MSK to use for the brokers in a cluster."];currentVersion:Zz__string.t[@ocaml.doc"The version of the cluster that needs to be updated."]}letcontext_="UpdateClusterConfigurationRequest"letmake~clusterArn=fun~configurationInfo->fun~currentVersion->fun()->{clusterArn;configurationInfo;currentVersion}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("configurationInfo",(Some(ConfigurationInfo.to_valuex.configurationInfo)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletconfigurationInfo=ConfigurationInfo.of_xml(Xml.child_exn~context:context_xml_arg0"configurationInfo")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~currentVersion~configurationInfo~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletconfigurationInfo=field_map_exnjson__"ConfigurationInfo"ConfigurationInfo.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~currentVersion~configurationInfo~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the cluster with the configuration that is specified in the request body."]moduleUpdateBrokerTypeResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates EC2 instance type."]moduleUpdateBrokerTypeRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version."];targetInstanceType:Zz__string.t[@ocaml.doc"The Amazon MSK broker type that you want all of the brokers in this cluster to be."]}letcontext_="UpdateBrokerTypeRequest"letmake~clusterArn=fun~currentVersion->fun~targetInstanceType->fun()->{clusterArn;currentVersion;targetInstanceType}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("targetInstanceType",(Some(Zz__string.to_valuex.targetInstanceType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetInstanceType=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"targetInstanceType")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~targetInstanceType~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetInstanceType=field_map_exnjson__"TargetInstanceType"Zz__string.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~targetInstanceType~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates EC2 instance type."]moduleUpdateBrokerStorageResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the EBS storage associated with MSK brokers."]moduleUpdateBrokerStorageRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The version of cluster to update from. A successful operation will then generate a new version."];targetBrokerEBSVolumeInfo:Zz__listOfBrokerEBSVolumeInfo.t[@ocaml.doc"Describes the target volume size and the ID of the broker to apply the update to."]}letcontext_="UpdateBrokerStorageRequest"letmake~clusterArn=fun~currentVersion->fun~targetBrokerEBSVolumeInfo->fun()->{clusterArn;currentVersion;targetBrokerEBSVolumeInfo}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("targetBrokerEBSVolumeInfo",(Some(Zz__listOfBrokerEBSVolumeInfo.to_valuex.targetBrokerEBSVolumeInfo)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetBrokerEBSVolumeInfo=Zz__listOfBrokerEBSVolumeInfo.of_xml(Xml.child_exn~context:context_xml_arg0"targetBrokerEBSVolumeInfo")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~targetBrokerEBSVolumeInfo~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetBrokerEBSVolumeInfo=field_map_exnjson__"TargetBrokerEBSVolumeInfo"Zz__listOfBrokerEBSVolumeInfo.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~targetBrokerEBSVolumeInfo~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the EBS storage associated with MSK brokers."]moduleUpdateBrokerCountResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the number of broker nodes in the cluster."]moduleUpdateBrokerCountRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.t[@ocaml.doc"The version of cluster to update from. A successful operation will then generate a new version."];targetNumberOfBrokerNodes:Zz__integerMin1Max15.t[@ocaml.doc"The number of broker nodes that you want the cluster to have after this operation completes successfully."]}letcontext_="UpdateBrokerCountRequest"letmake~clusterArn=fun~currentVersion->fun~targetNumberOfBrokerNodes->fun()->{clusterArn;currentVersion;targetNumberOfBrokerNodes}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Some(Zz__string.to_valuex.currentVersion)));("targetNumberOfBrokerNodes",(Some(Zz__integerMin1Max15.to_valuex.targetNumberOfBrokerNodes)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetNumberOfBrokerNodes=Zz__integerMin1Max15.of_xml(Xml.child_exn~context:context_xml_arg0"targetNumberOfBrokerNodes")inletcurrentVersion=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~targetNumberOfBrokerNodes~currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetNumberOfBrokerNodes=field_map_exnjson__"TargetNumberOfBrokerNodes"Zz__integerMin1Max15.of_jsoninletcurrentVersion=field_map_exnjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~targetNumberOfBrokerNodes~currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the number of broker nodes in the cluster."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags."];tagKeys:Zz__listOf__string.t[@ocaml.doc"Tag keys must be unique for a given cluster. In addition, the following restrictions apply: Each tag key must be unique. If you add a tag with a key that's already in use, your new tag overwrites the existing key-value pair. You can't start a tag key with aws: because this prefix is reserved for use by AWS. AWS creates tags that begin with this prefix on your behalf, but you can't edit or delete them. Tag keys must be between 1 and 128 Unicode characters in length. Tag keys must consist of the following characters: Unicode letters, digits, white space, and the following special characters: _ . / = + - \\@."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(Zz__string.to_valuex.resourceArn)));("tagKeys",(Some(Zz__listOf__string.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"tagKeys")inletresourceArn=Zz__string.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"Zz__listOf__string.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the tags associated with the keys that are provided in the query."]moduleTagResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags."];tags:Zz__mapOf__string.t[@ocaml.doc"The key-value pair for the resource tag."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(Zz__string.to_valuex.resourceArn)));("tags",(Some(Zz__mapOf__string.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=Zz__mapOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"tags")inletresourceArn=Zz__string.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"Zz__mapOf__string.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds tags to the specified MSK resource."]moduleRejectClientVpcConnectionResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.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"Returns empty response."]moduleRejectClientVpcConnectionRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];vpcConnectionArn:Zz__string.t[@ocaml.doc"The VPC connection ARN."]}letcontext_="RejectClientVpcConnectionRequest"letmake~clusterArn=fun~vpcConnectionArn->fun()->{clusterArn;vpcConnectionArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("vpcConnectionArn",(Some(Zz__string.to_valuex.vpcConnectionArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConnectionArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"vpcConnectionArn")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~vpcConnectionArn~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConnectionArn=field_map_exnjson__"VpcConnectionArn"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~vpcConnectionArn~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns empty response."]moduleRebootBrokerResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterOperationArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterOperationArn->fun()->{clusterArn;clusterOperationArn}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterOperationArn",(Option.mapx.clusterOperationArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterOperationArn")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterOperationArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_mapjson__"ClusterOperationArn"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterOperationArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Reboots brokers."]moduleRebootBrokerRequest=structtypenonrect={brokerIds:Zz__listOf__string.t[@ocaml.doc"The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time."];clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster to be updated."]}letcontext_="RebootBrokerRequest"letmake~brokerIds=fun~clusterArn->fun()->{brokerIds;clusterArn}letto_valuex=structure_to_value[("brokerIds",(Some(Zz__listOf__string.to_valuex.brokerIds)));("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inletbrokerIds=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"brokerIds")inmake~clusterArn~brokerIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninletbrokerIds=field_map_exnjson__"BrokerIds"Zz__listOf__string.of_jsoninmake~clusterArn~brokerIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Reboots a node."]modulePutClusterPolicyResponse=structtypenonrect={currentVersion:Zz__string.toption[@ocaml.doc"The policy version."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`Unknown_operation_errorof(string*stringoption)]letmake?currentVersion=fun()->{currentVersion}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inmake?currentVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninmake?currentVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request."]modulePutClusterPolicyRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];currentVersion:Zz__string.toption[@ocaml.doc"The policy version."];policy:Zz__string.t[@ocaml.doc"The policy."]}letcontext_="PutClusterPolicyRequest"letmake?currentVersion=fun~clusterArn->fun~policy->fun()->{currentVersion;clusterArn;policy}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("policy",(Some(Zz__string.to_valuex.policy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"policy")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~policy?currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_map_exnjson__"Policy"Zz__string.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~policy?currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request."]moduleListVpcConnectionsResponse=structtypenonrect={vpcConnections:Zz__listOfVpcConnection.toption[@ocaml.doc"List of VPC connections."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListClientVpcConnections operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcConnections=fun?nextToken->fun()->{vpcConnections;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpcConnections",(Option.mapx.vpcConnections~f:Zz__listOfVpcConnection.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletvpcConnections=(Option.map~f:Zz__listOfVpcConnection.of_xml)(Xml.childxml_arg0"vpcConnections")inmake?nextToken?vpcConnections()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletvpcConnections=field_mapjson__"VpcConnections"Zz__listOfVpcConnection.of_jsoninmake?nextToken?vpcConnections()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the VPC connections in this Region."]moduleListVpcConnectionsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}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:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.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"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the VPC connections in this Region."]moduleListTopicsResponse=structtypenonrect={topics:Zz__listOfTopicInfo.toption[@ocaml.doc"List containing topics info."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListTopics operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?topics=fun?nextToken->fun()->{topics;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("topics",(Option.mapx.topics~f:Zz__listOfTopicInfo.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inlettopics=(Option.map~f:Zz__listOfTopicInfo.of_xml)(Xml.childxml_arg0"topics")inmake?nextToken?topics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninlettopics=field_mapjson__"Topics"Zz__listOfTopicInfo.of_jsoninmake?nextToken?topics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List topics in a MSK cluster."]moduleListTopicsRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."];topicNameFilter:Zz__string.toption[@ocaml.doc"Returns topics starting with given name."]}letcontext_="ListTopicsRequest"letmake?maxResults=fun?nextToken->fun?topicNameFilter->fun~clusterArn->fun()->{maxResults;nextToken;topicNameFilter;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("topicNameFilter",(Option.mapx.topicNameFilter~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicNameFilter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicNameFilter")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?topicNameFilter?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicNameFilter=field_mapjson__"TopicNameFilter"Zz__string.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?topicNameFilter?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List topics in a MSK cluster."]moduleListTagsForResourceResponse=structtypenonrect={tags:Zz__mapOf__string.toption[@ocaml.doc"The key-value pair for the resource tag."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.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:Zz__mapOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags associated with the specified resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(Zz__string.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Zz__string.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"Zz__string.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags associated with the specified resource."]moduleListScramSecretsResponse=structtypenonrect={nextToken:Zz__string.toption[@ocaml.doc"Paginated results marker."];secretArnList:Zz__listOf__string.toption[@ocaml.doc"The list of scram secrets associated with the cluster."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?secretArnList->fun()->{nextToken;secretArnList}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("secretArnList",(Option.mapx.secretArnList~f:Zz__listOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretArnList=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"secretArnList")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inmake?secretArnList?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretArnList=field_mapjson__"SecretArnList"Zz__listOf__string.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninmake?secretArnList?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the Scram Secrets associated with an Amazon MSK cluster."]moduleListScramSecretsRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The arn of the cluster."];maxResults:MaxResults.toption[@ocaml.doc"The maxResults of the query."];nextToken:Zz__string.toption[@ocaml.doc"The nextToken of the query."]}letcontext_="ListScramSecretsRequest"letmake?maxResults=fun?nextToken->fun~clusterArn->fun()->{maxResults;nextToken;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the Scram Secrets associated with an Amazon MSK cluster."]moduleListReplicatorsResponse=structtypenonrect={nextToken:Zz__string.toption[@ocaml.doc"If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators."];replicators:Zz__listOfReplicatorSummary.toption[@ocaml.doc"List containing information of each of the replicators in the account."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?replicators->fun()->{nextToken;replicators}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("replicators",(Option.mapx.replicators~f:Zz__listOfReplicatorSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicators=(Option.map~f:Zz__listOfReplicatorSummary.of_xml)(Xml.childxml_arg0"replicators")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inmake?replicators?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicators=field_mapjson__"Replicators"Zz__listOfReplicatorSummary.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninmake?replicators?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the replicators."]moduleListReplicatorsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators."];replicatorNameFilter:Zz__string.toption[@ocaml.doc"Returns replicators starting with given name."]}letmake?maxResults=fun?nextToken->fun?replicatorNameFilter->fun()->{maxResults;nextToken;replicatorNameFilter}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("replicatorNameFilter",(Option.mapx.replicatorNameFilter~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorNameFilter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorNameFilter")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?replicatorNameFilter?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorNameFilter=field_mapjson__"ReplicatorNameFilter"Zz__string.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?replicatorNameFilter?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the replicators."]moduleListNodesResponse=structtypenonrect={nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request."];nodeInfoList:Zz__listOfNodeInfo.toption[@ocaml.doc"List containing a NodeInfo object."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?nodeInfoList->fun()->{nextToken;nodeInfoList}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("nodeInfoList",(Option.mapx.nodeInfoList~f:Zz__listOfNodeInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnodeInfoList=(Option.map~f:Zz__listOfNodeInfo.of_xml)(Xml.childxml_arg0"nodeInfoList")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inmake?nodeInfoList?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnodeInfoList=field_mapjson__"NodeInfoList"Zz__listOfNodeInfo.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninmake?nodeInfoList?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the broker nodes in the cluster."]moduleListNodesRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letcontext_="ListNodesRequest"letmake?maxResults=fun?nextToken->fun~clusterArn->fun()->{maxResults;nextToken;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the broker nodes in the cluster."]moduleListKafkaVersionsResponse=structtypenonrect={kafkaVersions:Zz__listOfKafkaVersion.toption;nextToken:Zz__string.toption}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?kafkaVersions=fun?nextToken->fun()->{kafkaVersions;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("kafkaVersions",(Option.mapx.kafkaVersions~f:Zz__listOfKafkaVersion.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletkafkaVersions=(Option.map~f:Zz__listOfKafkaVersion.of_xml)(Xml.childxml_arg0"kafkaVersions")inmake?nextToken?kafkaVersions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletkafkaVersions=field_mapjson__"KafkaVersions"Zz__listOfKafkaVersion.of_jsoninmake?nextToken?kafkaVersions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of Apache Kafka versions."]moduleListKafkaVersionsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}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:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.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"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of Apache Kafka versions."]moduleListConfigurationsResponse=structtypenonrect={configurations:Zz__listOfConfiguration.toption[@ocaml.doc"An array of MSK configurations."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?configurations=fun?nextToken->fun()->{configurations;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("configurations",(Option.mapx.configurations~f:Zz__listOfConfiguration.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletconfigurations=(Option.map~f:Zz__listOfConfiguration.of_xml)(Xml.childxml_arg0"configurations")inmake?nextToken?configurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletconfigurations=field_mapjson__"Configurations"Zz__listOfConfiguration.of_jsoninmake?nextToken?configurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK configurations in this Region."]moduleListConfigurationsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}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:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.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"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK configurations in this Region."]moduleListConfigurationRevisionsResponse=structtypenonrect={nextToken:Zz__string.toption[@ocaml.doc"Paginated results marker."];revisions:Zz__listOfConfigurationRevision.toption[@ocaml.doc"List of ConfigurationRevision objects."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?revisions->fun()->{nextToken;revisions}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("revisions",(Option.mapx.revisions~f:Zz__listOfConfigurationRevision.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevisions=(Option.map~f:Zz__listOfConfigurationRevision.of_xml)(Xml.childxml_arg0"revisions")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inmake?revisions?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevisions=field_mapjson__"Revisions"Zz__listOfConfigurationRevision.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninmake?revisions?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK configurations in this Region."]moduleListConfigurationRevisionsRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letcontext_="ListConfigurationRevisionsRequest"letmake?maxResults=fun?nextToken->fun~arn->fun()->{maxResults;nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken?maxResults~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake?nextToken?maxResults~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK configurations in this Region."]moduleListClustersV2Response=structtypenonrect={clusterInfoList:Zz__listOfCluster.toption[@ocaml.doc"Information on each of the MSK clusters in the response."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterInfoList=fun?nextToken->fun()->{clusterInfoList;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterInfoList",(Option.mapx.clusterInfoList~f:Zz__listOfCluster.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletclusterInfoList=(Option.map~f:Zz__listOfCluster.of_xml)(Xml.childxml_arg0"clusterInfoList")inmake?nextToken?clusterInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletclusterInfoList=field_mapjson__"ClusterInfoList"Zz__listOfCluster.of_jsoninmake?nextToken?clusterInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK clusters in the current Region."]moduleListClustersV2Request=structtypenonrect={clusterNameFilter:Zz__string.toption[@ocaml.doc"Specify a prefix of the names of the clusters that you want to list. The service lists all the clusters whose names start with this prefix."];clusterTypeFilter:Zz__string.toption[@ocaml.doc"Specify either PROVISIONED or SERVERLESS."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letmake?clusterNameFilter=fun?clusterTypeFilter->fun?maxResults->fun?nextToken->fun()->{clusterNameFilter;clusterTypeFilter;maxResults;nextToken}letto_valuex=structure_to_value[("clusterNameFilter",(Option.mapx.clusterNameFilter~f:Zz__string.to_value));("clusterTypeFilter",(Option.mapx.clusterTypeFilter~f:Zz__string.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterTypeFilter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterTypeFilter")inletclusterNameFilter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterNameFilter")inmake?nextToken?maxResults?clusterTypeFilter?clusterNameFilter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterTypeFilter=field_mapjson__"ClusterTypeFilter"Zz__string.of_jsoninletclusterNameFilter=field_mapjson__"ClusterNameFilter"Zz__string.of_jsoninmake?nextToken?maxResults?clusterTypeFilter?clusterNameFilter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK clusters in the current Region."]moduleListClustersResponse=structtypenonrect={clusterInfoList:Zz__listOfClusterInfo.toption[@ocaml.doc"Information on each of the MSK clusters in the response."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterInfoList=fun?nextToken->fun()->{clusterInfoList;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterInfoList",(Option.mapx.clusterInfoList~f:Zz__listOfClusterInfo.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletclusterInfoList=(Option.map~f:Zz__listOfClusterInfo.of_xml)(Xml.childxml_arg0"clusterInfoList")inmake?nextToken?clusterInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletclusterInfoList=field_mapjson__"ClusterInfoList"Zz__listOfClusterInfo.of_jsoninmake?nextToken?clusterInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK clusters in the current Region."]moduleListClustersRequest=structtypenonrect={clusterNameFilter:Zz__string.toption[@ocaml.doc"Specify a prefix of the name of the clusters that you want to list. The service lists all the clusters whose names start with this prefix."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letmake?clusterNameFilter=fun?maxResults->fun?nextToken->fun()->{clusterNameFilter;maxResults;nextToken}letto_valuex=structure_to_value[("clusterNameFilter",(Option.mapx.clusterNameFilter~f:Zz__string.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterNameFilter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterNameFilter")inmake?nextToken?maxResults?clusterNameFilter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterNameFilter=field_mapjson__"ClusterNameFilter"Zz__string.of_jsoninmake?nextToken?maxResults?clusterNameFilter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the MSK clusters in the current Region."]moduleListClusterOperationsV2Response=structtypenonrect={clusterOperationInfoList:Zz__listOfClusterOperationV2Summary.toption[@ocaml.doc"An array of cluster operation information objects."];nextToken:Zz__string.toption[@ocaml.doc"If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterOperationInfoList=fun?nextToken->fun()->{clusterOperationInfoList;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterOperationInfoList",(Option.mapx.clusterOperationInfoList~f:Zz__listOfClusterOperationV2Summary.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletclusterOperationInfoList=(Option.map~f:Zz__listOfClusterOperationV2Summary.of_xml)(Xml.childxml_arg0"clusterOperationInfoList")inmake?nextToken?clusterOperationInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletclusterOperationInfoList=field_mapjson__"ClusterOperationInfoList"Zz__listOfClusterOperationV2Summary.of_jsoninmake?nextToken?clusterOperationInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the operations that have been performed on the specified MSK cluster."]moduleListClusterOperationsV2Request=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The arn of the cluster whose operations are being requested."];maxResults:MaxResults.toption[@ocaml.doc"The maxResults of the query."];nextToken:Zz__string.toption[@ocaml.doc"The nextToken of the query."]}letcontext_="ListClusterOperationsV2Request"letmake?maxResults=fun?nextToken->fun~clusterArn->fun()->{maxResults;nextToken;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the operations that have been performed on the specified MSK cluster."]moduleListClusterOperationsResponse=structtypenonrect={clusterOperationInfoList:Zz__listOfClusterOperationInfo.toption[@ocaml.doc"An array of cluster operation information objects."];nextToken:Zz__string.toption[@ocaml.doc"If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterOperationInfoList=fun?nextToken->fun()->{clusterOperationInfoList;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterOperationInfoList",(Option.mapx.clusterOperationInfoList~f:Zz__listOfClusterOperationInfo.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletclusterOperationInfoList=(Option.map~f:Zz__listOfClusterOperationInfo.of_xml)(Xml.childxml_arg0"clusterOperationInfoList")inmake?nextToken?clusterOperationInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletclusterOperationInfoList=field_mapjson__"ClusterOperationInfoList"Zz__listOfClusterOperationInfo.of_jsoninmake?nextToken?clusterOperationInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the operations that have been performed on the specified MSK cluster."]moduleListClusterOperationsRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letcontext_="ListClusterOperationsRequest"letmake?maxResults=fun?nextToken->fun~clusterArn->fun()->{maxResults;nextToken;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the operations that have been performed on the specified MSK cluster."]moduleListClientVpcConnectionsResponse=structtypenonrect={clientVpcConnections:Zz__listOfClientVpcConnection.toption[@ocaml.doc"List of client VPC connections."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a ListClientVpcConnections operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clientVpcConnections=fun?nextToken->fun()->{clientVpcConnections;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clientVpcConnections",(Option.mapx.clientVpcConnections~f:Zz__listOfClientVpcConnection.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletclientVpcConnections=(Option.map~f:Zz__listOfClientVpcConnection.of_xml)(Xml.childxml_arg0"clientVpcConnections")inmake?nextToken?clientVpcConnections()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletclientVpcConnections=field_mapjson__"ClientVpcConnections"Zz__listOfClientVpcConnection.of_jsoninmake?nextToken?clientVpcConnections()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the VPC connections in this Region."]moduleListClientVpcConnectionsRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letcontext_="ListClientVpcConnectionsRequest"letmake?maxResults=fun?nextToken->fun~clusterArn->fun()->{maxResults;nextToken;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the VPC connections in this Region."]moduleGetCompatibleKafkaVersionsResponse=structtypenonrect={compatibleKafkaVersions:Zz__listOfCompatibleKafkaVersion.toption[@ocaml.doc"A list of CompatibleKafkaVersion objects."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?compatibleKafkaVersions=fun()->{compatibleKafkaVersions}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("compatibleKafkaVersions",(Option.mapx.compatibleKafkaVersions~f:Zz__listOfCompatibleKafkaVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompatibleKafkaVersions=(Option.map~f:Zz__listOfCompatibleKafkaVersion.of_xml)(Xml.childxml_arg0"compatibleKafkaVersions")inmake?compatibleKafkaVersions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompatibleKafkaVersions=field_mapjson__"CompatibleKafkaVersions"Zz__listOfCompatibleKafkaVersion.of_jsoninmake?compatibleKafkaVersions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the Apache Kafka versions to which you can update the MSK cluster."]moduleGetCompatibleKafkaVersionsRequest=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster check."]}letmake?clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the Apache Kafka versions to which you can update the MSK cluster."]moduleGetClusterPolicyResponse=structtypenonrect={currentVersion:Zz__string.toption[@ocaml.doc"The version of cluster policy."];policy:Zz__string.toption[@ocaml.doc"The cluster policy."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?currentVersion=fun?policy->fun()->{currentVersion;policy}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("policy",(Option.mapx.policy~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"policy")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inmake?policy?currentVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_mapjson__"Policy"Zz__string.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninmake?policy?currentVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request."]moduleGetClusterPolicyRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."]}letcontext_="GetClusterPolicyRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request."]moduleGetBootstrapBrokersResponse=structtypenonrect={bootstrapBrokerString:Zz__string.toption[@ocaml.doc"A string containing one or more hostname:port pairs."];bootstrapBrokerStringTls:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and TLS port pairs."];bootstrapBrokerStringSaslScram:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and Sasl Scram port pairs."];bootstrapBrokerStringSaslIam:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs."];bootstrapBrokerStringPublicTls:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and TLS port pairs."];bootstrapBrokerStringPublicSaslScram:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and Sasl Scram port pairs."];bootstrapBrokerStringPublicSaslIam:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs."];bootstrapBrokerStringVpcConnectivityTls:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and TLS port pairs for VPC connectivity."];bootstrapBrokerStringVpcConnectivitySaslScram:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and SASL/SCRAM port pairs for VPC connectivity."];bootstrapBrokerStringVpcConnectivitySaslIam:Zz__string.toption[@ocaml.doc"A string containing one or more DNS names (or IP) and SASL/IAM port pairs for VPC connectivity."];bootstrapBrokerStringIpv6:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP) and port pairs for IPv6 connectivity."];bootstrapBrokerStringTlsIpv6:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP) and TLS port pairs for IPv6 connectivity."];bootstrapBrokerStringSaslScramIpv6:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP) and SASL SCRAM port pairs for IPv6 connectivity."];bootstrapBrokerStringSaslIamIpv6:Zz__string.toption[@ocaml.doc"A string that contains one or more DNS names (or IP) and SASL IAM port pairs for IPv6 connectivity."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?bootstrapBrokerString=fun?bootstrapBrokerStringTls->fun?bootstrapBrokerStringSaslScram->fun?bootstrapBrokerStringSaslIam->fun?bootstrapBrokerStringPublicTls->fun?bootstrapBrokerStringPublicSaslScram->fun?bootstrapBrokerStringPublicSaslIam->fun?bootstrapBrokerStringVpcConnectivityTls->fun?bootstrapBrokerStringVpcConnectivitySaslScram->fun?bootstrapBrokerStringVpcConnectivitySaslIam->fun?bootstrapBrokerStringIpv6->fun?bootstrapBrokerStringTlsIpv6->fun?bootstrapBrokerStringSaslScramIpv6->fun?bootstrapBrokerStringSaslIamIpv6->fun()->{bootstrapBrokerString;bootstrapBrokerStringTls;bootstrapBrokerStringSaslScram;bootstrapBrokerStringSaslIam;bootstrapBrokerStringPublicTls;bootstrapBrokerStringPublicSaslScram;bootstrapBrokerStringPublicSaslIam;bootstrapBrokerStringVpcConnectivityTls;bootstrapBrokerStringVpcConnectivitySaslScram;bootstrapBrokerStringVpcConnectivitySaslIam;bootstrapBrokerStringIpv6;bootstrapBrokerStringTlsIpv6;bootstrapBrokerStringSaslScramIpv6;bootstrapBrokerStringSaslIamIpv6}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("bootstrapBrokerString",(Option.mapx.bootstrapBrokerString~f:Zz__string.to_value));("bootstrapBrokerStringTls",(Option.mapx.bootstrapBrokerStringTls~f:Zz__string.to_value));("bootstrapBrokerStringSaslScram",(Option.mapx.bootstrapBrokerStringSaslScram~f:Zz__string.to_value));("bootstrapBrokerStringSaslIam",(Option.mapx.bootstrapBrokerStringSaslIam~f:Zz__string.to_value));("bootstrapBrokerStringPublicTls",(Option.mapx.bootstrapBrokerStringPublicTls~f:Zz__string.to_value));("bootstrapBrokerStringPublicSaslScram",(Option.mapx.bootstrapBrokerStringPublicSaslScram~f:Zz__string.to_value));("bootstrapBrokerStringPublicSaslIam",(Option.mapx.bootstrapBrokerStringPublicSaslIam~f:Zz__string.to_value));("bootstrapBrokerStringVpcConnectivityTls",(Option.mapx.bootstrapBrokerStringVpcConnectivityTls~f:Zz__string.to_value));("bootstrapBrokerStringVpcConnectivitySaslScram",(Option.mapx.bootstrapBrokerStringVpcConnectivitySaslScram~f:Zz__string.to_value));("bootstrapBrokerStringVpcConnectivitySaslIam",(Option.mapx.bootstrapBrokerStringVpcConnectivitySaslIam~f:Zz__string.to_value));("bootstrapBrokerStringIpv6",(Option.mapx.bootstrapBrokerStringIpv6~f:Zz__string.to_value));("bootstrapBrokerStringTlsIpv6",(Option.mapx.bootstrapBrokerStringTlsIpv6~f:Zz__string.to_value));("bootstrapBrokerStringSaslScramIpv6",(Option.mapx.bootstrapBrokerStringSaslScramIpv6~f:Zz__string.to_value));("bootstrapBrokerStringSaslIamIpv6",(Option.mapx.bootstrapBrokerStringSaslIamIpv6~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbootstrapBrokerStringSaslIamIpv6=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringSaslIamIpv6")inletbootstrapBrokerStringSaslScramIpv6=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringSaslScramIpv6")inletbootstrapBrokerStringTlsIpv6=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringTlsIpv6")inletbootstrapBrokerStringIpv6=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringIpv6")inletbootstrapBrokerStringVpcConnectivitySaslIam=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringVpcConnectivitySaslIam")inletbootstrapBrokerStringVpcConnectivitySaslScram=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringVpcConnectivitySaslScram")inletbootstrapBrokerStringVpcConnectivityTls=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringVpcConnectivityTls")inletbootstrapBrokerStringPublicSaslIam=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringPublicSaslIam")inletbootstrapBrokerStringPublicSaslScram=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringPublicSaslScram")inletbootstrapBrokerStringPublicTls=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringPublicTls")inletbootstrapBrokerStringSaslIam=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringSaslIam")inletbootstrapBrokerStringSaslScram=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringSaslScram")inletbootstrapBrokerStringTls=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerStringTls")inletbootstrapBrokerString=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"bootstrapBrokerString")inmake?bootstrapBrokerStringSaslIamIpv6?bootstrapBrokerStringSaslScramIpv6?bootstrapBrokerStringTlsIpv6?bootstrapBrokerStringIpv6?bootstrapBrokerStringVpcConnectivitySaslIam?bootstrapBrokerStringVpcConnectivitySaslScram?bootstrapBrokerStringVpcConnectivityTls?bootstrapBrokerStringPublicSaslIam?bootstrapBrokerStringPublicSaslScram?bootstrapBrokerStringPublicTls?bootstrapBrokerStringSaslIam?bootstrapBrokerStringSaslScram?bootstrapBrokerStringTls?bootstrapBrokerString()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbootstrapBrokerStringSaslIamIpv6=field_mapjson__"BootstrapBrokerStringSaslIamIpv6"Zz__string.of_jsoninletbootstrapBrokerStringSaslScramIpv6=field_mapjson__"BootstrapBrokerStringSaslScramIpv6"Zz__string.of_jsoninletbootstrapBrokerStringTlsIpv6=field_mapjson__"BootstrapBrokerStringTlsIpv6"Zz__string.of_jsoninletbootstrapBrokerStringIpv6=field_mapjson__"BootstrapBrokerStringIpv6"Zz__string.of_jsoninletbootstrapBrokerStringVpcConnectivitySaslIam=field_mapjson__"BootstrapBrokerStringVpcConnectivitySaslIam"Zz__string.of_jsoninletbootstrapBrokerStringVpcConnectivitySaslScram=field_mapjson__"BootstrapBrokerStringVpcConnectivitySaslScram"Zz__string.of_jsoninletbootstrapBrokerStringVpcConnectivityTls=field_mapjson__"BootstrapBrokerStringVpcConnectivityTls"Zz__string.of_jsoninletbootstrapBrokerStringPublicSaslIam=field_mapjson__"BootstrapBrokerStringPublicSaslIam"Zz__string.of_jsoninletbootstrapBrokerStringPublicSaslScram=field_mapjson__"BootstrapBrokerStringPublicSaslScram"Zz__string.of_jsoninletbootstrapBrokerStringPublicTls=field_mapjson__"BootstrapBrokerStringPublicTls"Zz__string.of_jsoninletbootstrapBrokerStringSaslIam=field_mapjson__"BootstrapBrokerStringSaslIam"Zz__string.of_jsoninletbootstrapBrokerStringSaslScram=field_mapjson__"BootstrapBrokerStringSaslScram"Zz__string.of_jsoninletbootstrapBrokerStringTls=field_mapjson__"BootstrapBrokerStringTls"Zz__string.of_jsoninletbootstrapBrokerString=field_mapjson__"BootstrapBrokerString"Zz__string.of_jsoninmake?bootstrapBrokerStringSaslIamIpv6?bootstrapBrokerStringSaslScramIpv6?bootstrapBrokerStringTlsIpv6?bootstrapBrokerStringIpv6?bootstrapBrokerStringVpcConnectivitySaslIam?bootstrapBrokerStringVpcConnectivitySaslScram?bootstrapBrokerStringVpcConnectivityTls?bootstrapBrokerStringPublicSaslIam?bootstrapBrokerStringPublicSaslScram?bootstrapBrokerStringPublicTls?bootstrapBrokerStringSaslIam?bootstrapBrokerStringSaslScram?bootstrapBrokerStringTls?bootstrapBrokerString()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the ListClusters operation to get the ARNs of all the clusters in this account and Region."]moduleGetBootstrapBrokersRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."]}letcontext_="GetBootstrapBrokersRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the ListClusters operation to get the ARNs of all the clusters in this account and Region."]moduleError=structtypenonrect={invalidParameter:Zz__string.toption[@ocaml.doc"The parameter that caused the error."];message:Zz__string.toption[@ocaml.doc"The description of the error."]}letmake?invalidParameter=fun?message->fun()->{invalidParameter;message}letto_valuex=structure_to_value[("invalidParameter",(Option.mapx.invalidParameter~f:Zz__string.to_value));("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inletinvalidParameter=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"invalidParameter")inmake?message?invalidParameter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninletinvalidParameter=field_mapjson__"InvalidParameter"Zz__string.of_jsoninmake?message?invalidParameter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an error."]moduleDescribeVpcConnectionResponse=structtypenonrect={vpcConnectionArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection."];targetClusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster."];state:VpcConnectionState.toption[@ocaml.doc"The state of VPC connection."];authentication:Zz__string.toption[@ocaml.doc"The authentication type of VPC connection."];vpcId:Zz__string.toption[@ocaml.doc"The VPC Id for the VPC connection."];subnets:Zz__listOf__string.toption[@ocaml.doc"The list of subnets for the VPC connection."];securityGroups:Zz__listOf__string.toption[@ocaml.doc"The list of security groups for the VPC connection."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The creation time of the VPC connection."];tags:Zz__mapOf__string.toption[@ocaml.doc"A map of tags for the VPC connection."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcConnectionArn=fun?targetClusterArn->fun?state->fun?authentication->fun?vpcId->fun?subnets->fun?securityGroups->fun?creationTime->fun?tags->fun()->{vpcConnectionArn;targetClusterArn;state;authentication;vpcId;subnets;securityGroups;creationTime;tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("targetClusterArn",(Option.mapx.targetClusterArn~f:Zz__string.to_value));("state",(Option.mapx.state~f:VpcConnectionState.to_value));("authentication",(Option.mapx.authentication~f:Zz__string.to_value));("vpcId",(Option.mapx.vpcId~f:Zz__string.to_value));("subnets",(Option.mapx.subnets~f:Zz__listOf__string.to_value));("securityGroups",(Option.mapx.securityGroups~f:Zz__listOf__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletsecurityGroups=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"securityGroups")inletsubnets=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"subnets")inletvpcId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcId")inletauthentication=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"authentication")inletstate=(Option.map~f:VpcConnectionState.of_xml)(Xml.childxml_arg0"state")inlettargetClusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"targetClusterArn")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inmake?tags?creationTime?securityGroups?subnets?vpcId?authentication?state?targetClusterArn?vpcConnectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletsecurityGroups=field_mapjson__"SecurityGroups"Zz__listOf__string.of_jsoninletsubnets=field_mapjson__"Subnets"Zz__listOf__string.of_jsoninletvpcId=field_mapjson__"VpcId"Zz__string.of_jsoninletauthentication=field_mapjson__"Authentication"Zz__string.of_jsoninletstate=field_mapjson__"State"VpcConnectionState.of_jsoninlettargetClusterArn=field_mapjson__"TargetClusterArn"Zz__string.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninmake?tags?creationTime?securityGroups?subnets?vpcId?authentication?state?targetClusterArn?vpcConnectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this MSK VPC connection."]moduleDescribeVpcConnectionRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection."]}letcontext_="DescribeVpcConnectionRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this MSK VPC connection."]moduleDescribeTopicResponse=structtypenonrect={topicArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the topic."];topicName:Zz__string.toption[@ocaml.doc"The Kafka topic name of the topic."];replicationFactor:Zz__integer.toption[@ocaml.doc"The replication factor of the topic."];partitionCount:Zz__integer.toption[@ocaml.doc"The partition count of the topic."];configs:Zz__string.toption[@ocaml.doc"Topic configurations encoded as a Base64 string."];status:TopicState.toption[@ocaml.doc"The status of the topic."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?topicArn=fun?topicName->fun?replicationFactor->fun?partitionCount->fun?configs->fun?status->fun()->{topicArn;topicName;replicationFactor;partitionCount;configs;status}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("topicArn",(Option.mapx.topicArn~f:Zz__string.to_value));("topicName",(Option.mapx.topicName~f:Zz__string.to_value));("replicationFactor",(Option.mapx.replicationFactor~f:Zz__integer.to_value));("partitionCount",(Option.mapx.partitionCount~f:Zz__integer.to_value));("configs",(Option.mapx.configs~f:Zz__string.to_value));("status",(Option.mapx.status~f:TopicState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:TopicState.of_xml)(Xml.childxml_arg0"status")inletconfigs=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"configs")inletpartitionCount=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"partitionCount")inletreplicationFactor=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"replicationFactor")inlettopicName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicName")inlettopicArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicArn")inmake?status?configs?partitionCount?replicationFactor?topicName?topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"TopicState.of_jsoninletconfigs=field_mapjson__"Configs"Zz__string.of_jsoninletpartitionCount=field_mapjson__"PartitionCount"Zz__integer.of_jsoninletreplicationFactor=field_mapjson__"ReplicationFactor"Zz__integer.of_jsoninlettopicName=field_mapjson__"TopicName"Zz__string.of_jsoninlettopicArn=field_mapjson__"TopicArn"Zz__string.of_jsoninmake?status?configs?partitionCount?replicationFactor?topicName?topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns topic details of this topic on a MSK cluster."]moduleDescribeTopicRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];topicName:Zz__string.t[@ocaml.doc"The Kafka topic name that uniquely identifies the topic."]}letcontext_="DescribeTopicRequest"letmake~clusterArn=fun~topicName->fun()->{clusterArn;topicName}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("topicName",(Some(Zz__string.to_valuex.topicName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicName=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"topicName")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~topicName~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicName=field_map_exnjson__"TopicName"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~topicName~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns topic details of this topic on a MSK cluster."]moduleDescribeTopicPartitionsResponse=structtypenonrect={partitions:Zz__listOfTopicPartitionInfo.toption[@ocaml.doc"The list of partition information for the topic."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of a DescribeTopicPartitions operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?partitions=fun?nextToken->fun()->{partitions;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("partitions",(Option.mapx.partitions~f:Zz__listOfTopicPartitionInfo.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletpartitions=(Option.map~f:Zz__listOfTopicPartitionInfo.of_xml)(Xml.childxml_arg0"partitions")inmake?nextToken?partitions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletpartitions=field_mapjson__"Partitions"Zz__listOfTopicPartitionInfo.of_jsoninmake?nextToken?partitions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns partition details of this topic on a MSK cluster."]moduleDescribeTopicPartitionsRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];topicName:Zz__string.t[@ocaml.doc"The Kafka topic name that uniquely identifies the topic."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter."];nextToken:Zz__string.toption[@ocaml.doc"The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request."]}letcontext_="DescribeTopicPartitionsRequest"letmake?maxResults=fun?nextToken->fun~clusterArn->fun~topicName->fun()->{maxResults;nextToken;clusterArn;topicName}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("topicName",(Some(Zz__string.to_valuex.topicName)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inlettopicName=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"topicName")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?nextToken?maxResults~topicName~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninlettopicName=field_map_exnjson__"TopicName"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults~topicName~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns partition details of this topic on a MSK cluster."]moduleDescribeReplicatorResponse=structtypenonrect={creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the replicator was created."];currentVersion:Zz__string.toption[@ocaml.doc"The current version number of the replicator."];isReplicatorReference:Zz__boolean.toption[@ocaml.doc"Whether this resource is a replicator reference."];kafkaClusters:Zz__listOfKafkaClusterDescription.toption[@ocaml.doc"Kafka Clusters used in setting up sources / targets for replication."];replicationInfoList:Zz__listOfReplicationInfoDescription.toption[@ocaml.doc"A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow."];replicatorArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator."];replicatorDescription:Zz__string.toption[@ocaml.doc"The description of the replicator."];replicatorName:Zz__string.toption[@ocaml.doc"The name of the replicator."];replicatorResourceArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created."];replicatorState:ReplicatorState.toption[@ocaml.doc"State of the replicator."];serviceExecutionRoleArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)"];stateInfo:ReplicationStateInfo.toption[@ocaml.doc"Details about the state of the replicator."];tags:Zz__mapOf__string.toption[@ocaml.doc"List of tags attached to the Replicator."];logDelivery:LogDelivery.toption[@ocaml.doc"Configuration for log delivery."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?creationTime=fun?currentVersion->fun?isReplicatorReference->fun?kafkaClusters->fun?replicationInfoList->fun?replicatorArn->fun?replicatorDescription->fun?replicatorName->fun?replicatorResourceArn->fun?replicatorState->fun?serviceExecutionRoleArn->fun?stateInfo->fun?tags->fun?logDelivery->fun()->{creationTime;currentVersion;isReplicatorReference;kafkaClusters;replicationInfoList;replicatorArn;replicatorDescription;replicatorName;replicatorResourceArn;replicatorState;serviceExecutionRoleArn;stateInfo;tags;logDelivery}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("isReplicatorReference",(Option.mapx.isReplicatorReference~f:Zz__boolean.to_value));("kafkaClusters",(Option.mapx.kafkaClusters~f:Zz__listOfKafkaClusterDescription.to_value));("replicationInfoList",(Option.mapx.replicationInfoList~f:Zz__listOfReplicationInfoDescription.to_value));("replicatorArn",(Option.mapx.replicatorArn~f:Zz__string.to_value));("replicatorDescription",(Option.mapx.replicatorDescription~f:Zz__string.to_value));("replicatorName",(Option.mapx.replicatorName~f:Zz__string.to_value));("replicatorResourceArn",(Option.mapx.replicatorResourceArn~f:Zz__string.to_value));("replicatorState",(Option.mapx.replicatorState~f:ReplicatorState.to_value));("serviceExecutionRoleArn",(Option.mapx.serviceExecutionRoleArn~f:Zz__string.to_value));("stateInfo",(Option.mapx.stateInfo~f:ReplicationStateInfo.to_value));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("logDelivery",(Option.mapx.logDelivery~f:LogDelivery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDelivery=(Option.map~f:LogDelivery.of_xml)(Xml.childxml_arg0"logDelivery")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletstateInfo=(Option.map~f:ReplicationStateInfo.of_xml)(Xml.childxml_arg0"stateInfo")inletserviceExecutionRoleArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"serviceExecutionRoleArn")inletreplicatorState=(Option.map~f:ReplicatorState.of_xml)(Xml.childxml_arg0"replicatorState")inletreplicatorResourceArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorResourceArn")inletreplicatorName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorName")inletreplicatorDescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorDescription")inletreplicatorArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorArn")inletreplicationInfoList=(Option.map~f:Zz__listOfReplicationInfoDescription.of_xml)(Xml.childxml_arg0"replicationInfoList")inletkafkaClusters=(Option.map~f:Zz__listOfKafkaClusterDescription.of_xml)(Xml.childxml_arg0"kafkaClusters")inletisReplicatorReference=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"isReplicatorReference")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inmake?logDelivery?tags?stateInfo?serviceExecutionRoleArn?replicatorState?replicatorResourceArn?replicatorName?replicatorDescription?replicatorArn?replicationInfoList?kafkaClusters?isReplicatorReference?currentVersion?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDelivery=field_mapjson__"LogDelivery"LogDelivery.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletstateInfo=field_mapjson__"StateInfo"ReplicationStateInfo.of_jsoninletserviceExecutionRoleArn=field_mapjson__"ServiceExecutionRoleArn"Zz__string.of_jsoninletreplicatorState=field_mapjson__"ReplicatorState"ReplicatorState.of_jsoninletreplicatorResourceArn=field_mapjson__"ReplicatorResourceArn"Zz__string.of_jsoninletreplicatorName=field_mapjson__"ReplicatorName"Zz__string.of_jsoninletreplicatorDescription=field_mapjson__"ReplicatorDescription"Zz__string.of_jsoninletreplicatorArn=field_mapjson__"ReplicatorArn"Zz__string.of_jsoninletreplicationInfoList=field_mapjson__"ReplicationInfoList"Zz__listOfReplicationInfoDescription.of_jsoninletkafkaClusters=field_mapjson__"KafkaClusters"Zz__listOfKafkaClusterDescription.of_jsoninletisReplicatorReference=field_mapjson__"IsReplicatorReference"Zz__boolean.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninmake?logDelivery?tags?stateInfo?serviceExecutionRoleArn?replicatorState?replicatorResourceArn?replicatorName?replicatorDescription?replicatorArn?replicationInfoList?kafkaClusters?isReplicatorReference?currentVersion?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a replicator."]moduleDescribeReplicatorRequest=structtypenonrect={replicatorArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator to be described."]}letcontext_="DescribeReplicatorRequest"letmake~replicatorArn=fun()->{replicatorArn}letto_valuex=structure_to_value[("replicatorArn",(Some(Zz__string.to_valuex.replicatorArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"replicatorArn")inmake~replicatorArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorArn=field_map_exnjson__"ReplicatorArn"Zz__string.of_jsoninmake~replicatorArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a replicator."]moduleDescribeConfigurationRevisionResponse=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the configuration was created."];description:Zz__string.toption[@ocaml.doc"The description of the configuration."];revision:Zz__long.toption[@ocaml.doc"The revision number."];serverProperties:Zz__blob.toption[@ocaml.doc"Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?creationTime->fun?description->fun?revision->fun?serverProperties->fun()->{arn;creationTime;description;revision;serverProperties}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("description",(Option.mapx.description~f:Zz__string.to_value));("revision",(Option.mapx.revision~f:Zz__long.to_value));("serverProperties",(Option.mapx.serverProperties~f:Zz__blob.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverProperties=(Option.map~f:Zz__blob.of_xml)(Xml.childxml_arg0"serverProperties")inletrevision=(Option.map~f:Zz__long.of_xml)(Xml.childxml_arg0"revision")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?serverProperties?revision?description?creationTime?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverProperties=field_mapjson__"ServerProperties"Zz__blob.of_jsoninletrevision=field_mapjson__"Revision"Zz__long.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?serverProperties?revision?description?creationTime?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this revision of the configuration."]moduleDescribeConfigurationRevisionRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions."];revision:Zz__long.t[@ocaml.doc"A string that uniquely identifies a revision of an MSK configuration."]}letcontext_="DescribeConfigurationRevisionRequest"letmake~arn=fun~revision->fun()->{arn;revision}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)));("revision",(Some(Zz__long.to_valuex.revision)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevision=Zz__long.of_xml(Xml.child_exn~context:context_xml_arg0"revision")inletarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~revision~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevision=field_map_exnjson__"Revision"Zz__long.of_jsoninletarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~revision~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this revision of the configuration."]moduleDescribeConfigurationResponse=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the configuration was created."];description:Zz__string.toption[@ocaml.doc"The description of the configuration."];kafkaVersions:Zz__listOf__string.toption[@ocaml.doc"The versions of Apache Kafka with which you can use this MSK configuration."];latestRevision:ConfigurationRevision.toption[@ocaml.doc"Latest revision of the configuration."];name:Zz__string.toption[@ocaml.doc"The name of the configuration."];state:ConfigurationState.toption[@ocaml.doc"The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?creationTime->fun?description->fun?kafkaVersions->fun?latestRevision->fun?name->fun?state->fun()->{arn;creationTime;description;kafkaVersions;latestRevision;name;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("description",(Option.mapx.description~f:Zz__string.to_value));("kafkaVersions",(Option.mapx.kafkaVersions~f:Zz__listOf__string.to_value));("latestRevision",(Option.mapx.latestRevision~f:ConfigurationRevision.to_value));("name",(Option.mapx.name~f:Zz__string.to_value));("state",(Option.mapx.state~f:ConfigurationState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ConfigurationState.of_xml)(Xml.childxml_arg0"state")inletname=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"name")inletlatestRevision=(Option.map~f:ConfigurationRevision.of_xml)(Xml.childxml_arg0"latestRevision")inletkafkaVersions=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"kafkaVersions")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?state?name?latestRevision?kafkaVersions?description?creationTime?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ConfigurationState.of_jsoninletname=field_mapjson__"Name"Zz__string.of_jsoninletlatestRevision=field_mapjson__"LatestRevision"ConfigurationRevision.of_jsoninletkafkaVersions=field_mapjson__"KafkaVersions"Zz__listOf__string.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?state?name?latestRevision?kafkaVersions?description?creationTime?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this MSK configuration."]moduleDescribeConfigurationRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions."]}letcontext_="DescribeConfigurationRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of this MSK configuration."]moduleDescribeClusterV2Response=structtypenonrect={clusterInfo:Cluster.toption[@ocaml.doc"The cluster information."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterInfo=fun()->{clusterInfo}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterInfo",(Option.mapx.clusterInfo~f:Cluster.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterInfo=(Option.map~f:Cluster.of_xml)(Xml.childxml_arg0"clusterInfo")inmake?clusterInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterInfo=field_mapjson__"ClusterInfo"Cluster.of_jsoninmake?clusterInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request."]moduleDescribeClusterV2Request=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."]}letcontext_="DescribeClusterV2Request"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request."]moduleDescribeClusterResponse=structtypenonrect={clusterInfo:ClusterInfo.toption[@ocaml.doc"The cluster information."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterInfo=fun()->{clusterInfo}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterInfo",(Option.mapx.clusterInfo~f:ClusterInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterInfo=(Option.map~f:ClusterInfo.of_xml)(Xml.childxml_arg0"clusterInfo")inmake?clusterInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterInfo=field_mapjson__"ClusterInfo"ClusterInfo.of_jsoninmake?clusterInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request."]moduleDescribeClusterRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."]}letcontext_="DescribeClusterRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request."]moduleDescribeClusterOperationV2Response=structtypenonrect={clusterOperationInfo:ClusterOperationV2.toption[@ocaml.doc"Cluster operation information"]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterOperationInfo=fun()->{clusterOperationInfo}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterOperationInfo",(Option.mapx.clusterOperationInfo~f:ClusterOperationV2.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationInfo=(Option.map~f:ClusterOperationV2.of_xml)(Xml.childxml_arg0"clusterOperationInfo")inmake?clusterOperationInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationInfo=field_mapjson__"ClusterOperationInfo"ClusterOperationV2.of_jsoninmake?clusterOperationInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the cluster operation specified by the ARN."]moduleDescribeClusterOperationV2Request=structtypenonrect={clusterOperationArn:Zz__string.t[@ocaml.doc"ARN of the cluster operation to describe."]}letcontext_="DescribeClusterOperationV2Request"letmake~clusterOperationArn=fun()->{clusterOperationArn}letto_valuex=structure_to_value[("clusterOperationArn",(Some(Zz__string.to_valuex.clusterOperationArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterOperationArn")inmake~clusterOperationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_map_exnjson__"ClusterOperationArn"Zz__string.of_jsoninmake~clusterOperationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the cluster operation specified by the ARN."]moduleDescribeClusterOperationResponse=structtypenonrect={clusterOperationInfo:ClusterOperationInfo.toption[@ocaml.doc"Cluster operation information"]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterOperationInfo=fun()->{clusterOperationInfo}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterOperationInfo",(Option.mapx.clusterOperationInfo~f:ClusterOperationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationInfo=(Option.map~f:ClusterOperationInfo.of_xml)(Xml.childxml_arg0"clusterOperationInfo")inmake?clusterOperationInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationInfo=field_mapjson__"ClusterOperationInfo"ClusterOperationInfo.of_jsoninmake?clusterOperationInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the cluster operation specified by the ARN."]moduleDescribeClusterOperationRequest=structtypenonrect={clusterOperationArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the MSK cluster operation."]}letcontext_="DescribeClusterOperationRequest"letmake~clusterOperationArn=fun()->{clusterOperationArn}letto_valuex=structure_to_value[("clusterOperationArn",(Some(Zz__string.to_valuex.clusterOperationArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterOperationArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterOperationArn")inmake~clusterOperationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterOperationArn=field_map_exnjson__"ClusterOperationArn"Zz__string.of_jsoninmake~clusterOperationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a description of the cluster operation specified by the ARN."]moduleDeleteVpcConnectionResponse=structtypenonrect={vpcConnectionArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection."];state:VpcConnectionState.toption[@ocaml.doc"The state of the VPC connection."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcConnectionArn=fun?state->fun()->{vpcConnectionArn;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("state",(Option.mapx.state~f:VpcConnectionState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:VpcConnectionState.of_xml)(Xml.childxml_arg0"state")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inmake?state?vpcConnectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"VpcConnectionState.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninmake?state?vpcConnectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a MSK VPC connection."]moduleDeleteVpcConnectionRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection."]}letcontext_="DeleteVpcConnectionRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a MSK VPC connection."]moduleDeleteTopicResponse=structtypenonrect={topicArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the topic."];topicName:Zz__string.toption[@ocaml.doc"The name of the topic that was deleted."];status:TopicState.toption[@ocaml.doc"The status of the topic deletion."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ClusterConnectivityExceptionofClusterConnectivityException.t|`ControllerMovedExceptionofControllerMovedException.t|`ForbiddenExceptionofForbiddenException.t|`GroupSubscribedToTopicExceptionofGroupSubscribedToTopicException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`KafkaRequestExceptionofKafkaRequestException.t|`KafkaTimeoutExceptionofKafkaTimeoutException.t|`NotControllerExceptionofNotControllerException.t|`NotFoundExceptionofNotFoundException.t|`ReassignmentInProgressExceptionofReassignmentInProgressException.t|`UnknownTopicOrPartitionExceptionofUnknownTopicOrPartitionException.t|`Unknown_operation_errorof(string*stringoption)]letmake?topicArn=fun?topicName->fun?status->fun()->{topicArn;topicName;status}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_jsonjson)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_jsonjson)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_jsonjson)|"NotControllerException"->`NotControllerException(NotControllerException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_jsonjson)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_xmlxml)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_xmlxml)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_xmlxml)|"NotControllerException"->`NotControllerException(NotControllerException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_xmlxml)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ClusterConnectivityExceptione->`Assoc[("error",(`String"ClusterConnectivityException"));("details",(ClusterConnectivityException.to_jsone))]|`ControllerMovedExceptione->`Assoc[("error",(`String"ControllerMovedException"));("details",(ControllerMovedException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GroupSubscribedToTopicExceptione->`Assoc[("error",(`String"GroupSubscribedToTopicException"));("details",(GroupSubscribedToTopicException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`KafkaRequestExceptione->`Assoc[("error",(`String"KafkaRequestException"));("details",(KafkaRequestException.to_jsone))]|`KafkaTimeoutExceptione->`Assoc[("error",(`String"KafkaTimeoutException"));("details",(KafkaTimeoutException.to_jsone))]|`NotControllerExceptione->`Assoc[("error",(`String"NotControllerException"));("details",(NotControllerException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ReassignmentInProgressExceptione->`Assoc[("error",(`String"ReassignmentInProgressException"));("details",(ReassignmentInProgressException.to_jsone))]|`UnknownTopicOrPartitionExceptione->`Assoc[("error",(`String"UnknownTopicOrPartitionException"));("details",(UnknownTopicOrPartitionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("topicArn",(Option.mapx.topicArn~f:Zz__string.to_value));("topicName",(Option.mapx.topicName~f:Zz__string.to_value));("status",(Option.mapx.status~f:TopicState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:TopicState.of_xml)(Xml.childxml_arg0"status")inlettopicName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicName")inlettopicArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicArn")inmake?status?topicName?topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"TopicState.of_jsoninlettopicName=field_mapjson__"TopicName"Zz__string.of_jsoninlettopicArn=field_mapjson__"TopicArn"Zz__string.of_jsoninmake?status?topicName?topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a topic in the specified MSK cluster."]moduleDeleteTopicRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];topicName:Zz__string.t[@ocaml.doc"The name of the topic to delete."]}letcontext_="DeleteTopicRequest"letmake~clusterArn=fun~topicName->fun()->{clusterArn;topicName}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("topicName",(Some(Zz__string.to_valuex.topicName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicName=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"topicName")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~topicName~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicName=field_map_exnjson__"TopicName"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~topicName~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a topic in the specified MSK cluster."]moduleDeleteReplicatorResponse=structtypenonrect={replicatorArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator."];replicatorState:ReplicatorState.toption[@ocaml.doc"The state of the replicator."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?replicatorArn=fun?replicatorState->fun()->{replicatorArn;replicatorState}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("replicatorArn",(Option.mapx.replicatorArn~f:Zz__string.to_value));("replicatorState",(Option.mapx.replicatorState~f:ReplicatorState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorState=(Option.map~f:ReplicatorState.of_xml)(Xml.childxml_arg0"replicatorState")inletreplicatorArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorArn")inmake?replicatorState?replicatorArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorState=field_mapjson__"ReplicatorState"ReplicatorState.of_jsoninletreplicatorArn=field_mapjson__"ReplicatorArn"Zz__string.of_jsoninmake?replicatorState?replicatorArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a replicator."]moduleDeleteReplicatorRequest=structtypenonrect={currentVersion:Zz__string.toption[@ocaml.doc"The current version of the replicator."];replicatorArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator to be deleted."]}letcontext_="DeleteReplicatorRequest"letmake?currentVersion=fun~replicatorArn->fun()->{currentVersion;replicatorArn}letto_valuex=structure_to_value[("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value));("replicatorArn",(Some(Zz__string.to_valuex.replicatorArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"replicatorArn")inletcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inmake~replicatorArn?currentVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorArn=field_map_exnjson__"ReplicatorArn"Zz__string.of_jsoninletcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninmake~replicatorArn?currentVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a replicator."]moduleDeleteConfigurationResponse=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration."];state:ConfigurationState.toption[@ocaml.doc"The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?state->fun()->{arn;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("state",(Option.mapx.state~f:ConfigurationState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ConfigurationState.of_xml)(Xml.childxml_arg0"state")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?state?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ConfigurationState.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?state?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an MSK Configuration."]moduleDeleteConfigurationRequest=structtypenonrect={arn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration."]}letcontext_="DeleteConfigurationRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(Zz__string.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Zz__string.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an MSK Configuration."]moduleDeleteClusterResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];state:ClusterState.toption[@ocaml.doc"The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?state->fun()->{clusterArn;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("state",(Option.mapx.state~f:ClusterState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ClusterState.of_xml)(Xml.childxml_arg0"state")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?state?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ClusterState.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?state?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request."]moduleDeleteClusterRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];currentVersion:Zz__string.toption[@ocaml.doc"The current version of the MSK cluster."]}letcontext_="DeleteClusterRequest"letmake?currentVersion=fun~clusterArn->fun()->{currentVersion;clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("currentVersion",(Option.mapx.currentVersion~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcurrentVersion=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"currentVersion")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?currentVersion~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcurrentVersion=field_mapjson__"CurrentVersion"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?currentVersion~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request."]moduleDeleteClusterPolicyResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.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 MSK cluster policy specified by the Amazon Resource Name (ARN) in the request."]moduleDeleteClusterPolicyRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."]}letcontext_="DeleteClusterPolicyRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request."]moduleCreateVpcConnectionResponse=structtypenonrect={vpcConnectionArn:Zz__string.toption[@ocaml.doc"The VPC connection ARN."];state:VpcConnectionState.toption[@ocaml.doc"The State of Vpc Connection."];authentication:Zz__string.toption[@ocaml.doc"The authentication type of VPC connection."];vpcId:Zz__string.toption[@ocaml.doc"The VPC ID of the VPC connection."];clientSubnets:Zz__listOf__string.toption[@ocaml.doc"The list of client subnets."];securityGroups:Zz__listOf__string.toption[@ocaml.doc"The list of security groups."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The creation time of VPC connection."];tags:Zz__mapOf__string.toption[@ocaml.doc"A map of tags for the VPC connection."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcConnectionArn=fun?state->fun?authentication->fun?vpcId->fun?clientSubnets->fun?securityGroups->fun?creationTime->fun?tags->fun()->{vpcConnectionArn;state;authentication;vpcId;clientSubnets;securityGroups;creationTime;tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpcConnectionArn",(Option.mapx.vpcConnectionArn~f:Zz__string.to_value));("state",(Option.mapx.state~f:VpcConnectionState.to_value));("authentication",(Option.mapx.authentication~f:Zz__string.to_value));("vpcId",(Option.mapx.vpcId~f:Zz__string.to_value));("clientSubnets",(Option.mapx.clientSubnets~f:Zz__listOf__string.to_value));("securityGroups",(Option.mapx.securityGroups~f:Zz__listOf__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletsecurityGroups=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"securityGroups")inletclientSubnets=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"clientSubnets")inletvpcId=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcId")inletauthentication=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"authentication")inletstate=(Option.map~f:VpcConnectionState.of_xml)(Xml.childxml_arg0"state")inletvpcConnectionArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"vpcConnectionArn")inmake?tags?creationTime?securityGroups?clientSubnets?vpcId?authentication?state?vpcConnectionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletsecurityGroups=field_mapjson__"SecurityGroups"Zz__listOf__string.of_jsoninletclientSubnets=field_mapjson__"ClientSubnets"Zz__listOf__string.of_jsoninletvpcId=field_mapjson__"VpcId"Zz__string.of_jsoninletauthentication=field_mapjson__"Authentication"Zz__string.of_jsoninletstate=field_mapjson__"State"VpcConnectionState.of_jsoninletvpcConnectionArn=field_mapjson__"VpcConnectionArn"Zz__string.of_jsoninmake?tags?creationTime?securityGroups?clientSubnets?vpcId?authentication?state?vpcConnectionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK VPC connection."]moduleCreateVpcConnectionRequest=structtypenonrect={targetClusterArn:Zz__string.t[@ocaml.doc"The cluster Amazon Resource Name (ARN) for the VPC connection."];authentication:Zz__string.t[@ocaml.doc"The authentication type of VPC connection."];vpcId:Zz__string.t[@ocaml.doc"The VPC ID of VPC connection."];clientSubnets:Zz__listOf__string.t[@ocaml.doc"The list of client subnets."];securityGroups:Zz__listOf__string.t[@ocaml.doc"The list of security groups."];tags:Zz__mapOf__string.toption[@ocaml.doc"A map of tags for the VPC connection."]}letcontext_="CreateVpcConnectionRequest"letmake?tags=fun~targetClusterArn->fun~authentication->fun~vpcId->fun~clientSubnets->fun~securityGroups->fun()->{tags;targetClusterArn;authentication;vpcId;clientSubnets;securityGroups}letto_valuex=structure_to_value[("targetClusterArn",(Some(Zz__string.to_valuex.targetClusterArn)));("authentication",(Some(Zz__string.to_valuex.authentication)));("vpcId",(Some(Zz__string.to_valuex.vpcId)));("clientSubnets",(Some(Zz__listOf__string.to_valuex.clientSubnets)));("securityGroups",(Some(Zz__listOf__string.to_valuex.securityGroups)));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletsecurityGroups=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"securityGroups")inletclientSubnets=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"clientSubnets")inletvpcId=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"vpcId")inletauthentication=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"authentication")inlettargetClusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"targetClusterArn")inmake?tags~securityGroups~clientSubnets~vpcId~authentication~targetClusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletsecurityGroups=field_map_exnjson__"SecurityGroups"Zz__listOf__string.of_jsoninletclientSubnets=field_map_exnjson__"ClientSubnets"Zz__listOf__string.of_jsoninletvpcId=field_map_exnjson__"VpcId"Zz__string.of_jsoninletauthentication=field_map_exnjson__"Authentication"Zz__string.of_jsoninlettargetClusterArn=field_map_exnjson__"TargetClusterArn"Zz__string.of_jsoninmake?tags~securityGroups~clientSubnets~vpcId~authentication~targetClusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK VPC connection."]moduleCreateTopicResponse=structtypenonrect={topicArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the topic."];topicName:Zz__string.toption[@ocaml.doc"The name of the topic that was created."];status:TopicState.toption[@ocaml.doc"The status of the topic creation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ClusterConnectivityExceptionofClusterConnectivityException.t|`ConflictExceptionofConflictException.t|`ControllerMovedExceptionofControllerMovedException.t|`ForbiddenExceptionofForbiddenException.t|`GroupSubscribedToTopicExceptionofGroupSubscribedToTopicException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`KafkaRequestExceptionofKafkaRequestException.t|`KafkaTimeoutExceptionofKafkaTimeoutException.t|`NotControllerExceptionofNotControllerException.t|`ReassignmentInProgressExceptionofReassignmentInProgressException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`TopicExistsExceptionofTopicExistsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`UnknownTopicOrPartitionExceptionofUnknownTopicOrPartitionException.t|`Unknown_operation_errorof(string*stringoption)]letmake?topicArn=fun?topicName->fun?status->fun()->{topicArn;topicName;status}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_jsonjson)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_jsonjson)|"NotControllerException"->`NotControllerException(NotControllerException.of_jsonjson)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"TopicExistsException"->`TopicExistsException(TopicExistsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ClusterConnectivityException"->`ClusterConnectivityException(ClusterConnectivityException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ControllerMovedException"->`ControllerMovedException(ControllerMovedException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GroupSubscribedToTopicException"->`GroupSubscribedToTopicException(GroupSubscribedToTopicException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"KafkaRequestException"->`KafkaRequestException(KafkaRequestException.of_xmlxml)|"KafkaTimeoutException"->`KafkaTimeoutException(KafkaTimeoutException.of_xmlxml)|"NotControllerException"->`NotControllerException(NotControllerException.of_xmlxml)|"ReassignmentInProgressException"->`ReassignmentInProgressException(ReassignmentInProgressException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"TopicExistsException"->`TopicExistsException(TopicExistsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|"UnknownTopicOrPartitionException"->`UnknownTopicOrPartitionException(UnknownTopicOrPartitionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ClusterConnectivityExceptione->`Assoc[("error",(`String"ClusterConnectivityException"));("details",(ClusterConnectivityException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ControllerMovedExceptione->`Assoc[("error",(`String"ControllerMovedException"));("details",(ControllerMovedException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GroupSubscribedToTopicExceptione->`Assoc[("error",(`String"GroupSubscribedToTopicException"));("details",(GroupSubscribedToTopicException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`KafkaRequestExceptione->`Assoc[("error",(`String"KafkaRequestException"));("details",(KafkaRequestException.to_jsone))]|`KafkaTimeoutExceptione->`Assoc[("error",(`String"KafkaTimeoutException"));("details",(KafkaTimeoutException.to_jsone))]|`NotControllerExceptione->`Assoc[("error",(`String"NotControllerException"));("details",(NotControllerException.to_jsone))]|`ReassignmentInProgressExceptione->`Assoc[("error",(`String"ReassignmentInProgressException"));("details",(ReassignmentInProgressException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`TopicExistsExceptione->`Assoc[("error",(`String"TopicExistsException"));("details",(TopicExistsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`UnknownTopicOrPartitionExceptione->`Assoc[("error",(`String"UnknownTopicOrPartitionException"));("details",(UnknownTopicOrPartitionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("topicArn",(Option.mapx.topicArn~f:Zz__string.to_value));("topicName",(Option.mapx.topicName~f:Zz__string.to_value));("status",(Option.mapx.status~f:TopicState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:TopicState.of_xml)(Xml.childxml_arg0"status")inlettopicName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicName")inlettopicArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"topicArn")inmake?status?topicName?topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"TopicState.of_jsoninlettopicName=field_mapjson__"TopicName"Zz__string.of_jsoninlettopicArn=field_mapjson__"TopicArn"Zz__string.of_jsoninmake?status?topicName?topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a topic in the specified MSK cluster."]moduleCreateTopicRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) that uniquely identifies the cluster."];topicName:Zz__string.t[@ocaml.doc"The name of the topic to create."];partitionCount:Zz__integerMin1.t[@ocaml.doc"The number of partitions for the topic."];replicationFactor:Zz__integerMin1.t[@ocaml.doc"The replication factor for the topic."];configs:Zz__string.toption[@ocaml.doc"Topic configurations encoded as a Base64 string."]}letcontext_="CreateTopicRequest"letmake?configs=fun~clusterArn->fun~topicName->fun~partitionCount->fun~replicationFactor->fun()->{configs;clusterArn;topicName;partitionCount;replicationFactor}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("topicName",(Some(Zz__string.to_valuex.topicName)));("partitionCount",(Some(Zz__integerMin1.to_valuex.partitionCount)));("replicationFactor",(Some(Zz__integerMin1.to_valuex.replicationFactor)));("configs",(Option.mapx.configs~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigs=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"configs")inletreplicationFactor=Zz__integerMin1.of_xml(Xml.child_exn~context:context_xml_arg0"replicationFactor")inletpartitionCount=Zz__integerMin1.of_xml(Xml.child_exn~context:context_xml_arg0"partitionCount")inlettopicName=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"topicName")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake?configs~replicationFactor~partitionCount~topicName~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigs=field_mapjson__"Configs"Zz__string.of_jsoninletreplicationFactor=field_map_exnjson__"ReplicationFactor"Zz__integerMin1.of_jsoninletpartitionCount=field_map_exnjson__"PartitionCount"Zz__integerMin1.of_jsoninlettopicName=field_map_exnjson__"TopicName"Zz__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake?configs~replicationFactor~partitionCount~topicName~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a topic in the specified MSK cluster."]moduleCreateReplicatorResponse=structtypenonrect={replicatorArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicator."];replicatorName:Zz__string.toption[@ocaml.doc"Name of the replicator provided by the customer."];replicatorState:ReplicatorState.toption[@ocaml.doc"State of the replicator."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?replicatorArn=fun?replicatorName->fun?replicatorState->fun()->{replicatorArn;replicatorName;replicatorState}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("replicatorArn",(Option.mapx.replicatorArn~f:Zz__string.to_value));("replicatorName",(Option.mapx.replicatorName~f:Zz__string.to_value));("replicatorState",(Option.mapx.replicatorState~f:ReplicatorState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicatorState=(Option.map~f:ReplicatorState.of_xml)(Xml.childxml_arg0"replicatorState")inletreplicatorName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorName")inletreplicatorArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"replicatorArn")inmake?replicatorState?replicatorName?replicatorArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicatorState=field_mapjson__"ReplicatorState"ReplicatorState.of_jsoninletreplicatorName=field_mapjson__"ReplicatorName"Zz__string.of_jsoninletreplicatorArn=field_mapjson__"ReplicatorArn"Zz__string.of_jsoninmake?replicatorState?replicatorName?replicatorArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the replicator."]moduleCreateReplicatorRequest=structtypenonrect={description:Zz__stringMax1024.toption[@ocaml.doc"A summary description of the replicator."];kafkaClusters:Zz__listOfKafkaCluster.t[@ocaml.doc"Kafka Clusters to use in setting up sources / targets for replication."];replicationInfoList:Zz__listOfReplicationInfo.t[@ocaml.doc"A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow."];replicatorName:Zz__stringMin1Max128Pattern09AZaZ09AZaZ0.t[@ocaml.doc"The name of the replicator. Alpha-numeric characters with '-' are allowed."];serviceExecutionRoleArn:Zz__string.t[@ocaml.doc"The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)"];tags:Zz__mapOf__string.toption[@ocaml.doc"List of tags to attach to created Replicator."];logDelivery:LogDelivery.toption[@ocaml.doc"Configuration for delivering replicator logs to customer destinations."]}letcontext_="CreateReplicatorRequest"letmake?description=fun?tags->fun?logDelivery->fun~kafkaClusters->fun~replicationInfoList->fun~replicatorName->fun~serviceExecutionRoleArn->fun()->{description;tags;logDelivery;kafkaClusters;replicationInfoList;replicatorName;serviceExecutionRoleArn}letto_valuex=structure_to_value[("description",(Option.mapx.description~f:Zz__stringMax1024.to_value));("kafkaClusters",(Some(Zz__listOfKafkaCluster.to_valuex.kafkaClusters)));("replicationInfoList",(Some(Zz__listOfReplicationInfo.to_valuex.replicationInfoList)));("replicatorName",(Some(Zz__stringMin1Max128Pattern09AZaZ09AZaZ0.to_valuex.replicatorName)));("serviceExecutionRoleArn",(Some(Zz__string.to_valuex.serviceExecutionRoleArn)));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("logDelivery",(Option.mapx.logDelivery~f:LogDelivery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDelivery=(Option.map~f:LogDelivery.of_xml)(Xml.childxml_arg0"logDelivery")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletserviceExecutionRoleArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"serviceExecutionRoleArn")inletreplicatorName=Zz__stringMin1Max128Pattern09AZaZ09AZaZ0.of_xml(Xml.child_exn~context:context_xml_arg0"replicatorName")inletreplicationInfoList=Zz__listOfReplicationInfo.of_xml(Xml.child_exn~context:context_xml_arg0"replicationInfoList")inletkafkaClusters=Zz__listOfKafkaCluster.of_xml(Xml.child_exn~context:context_xml_arg0"kafkaClusters")inletdescription=(Option.map~f:Zz__stringMax1024.of_xml)(Xml.childxml_arg0"description")inmake?logDelivery?tags~serviceExecutionRoleArn~replicatorName~replicationInfoList~kafkaClusters?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDelivery=field_mapjson__"LogDelivery"LogDelivery.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletserviceExecutionRoleArn=field_map_exnjson__"ServiceExecutionRoleArn"Zz__string.of_jsoninletreplicatorName=field_map_exnjson__"ReplicatorName"Zz__stringMin1Max128Pattern09AZaZ09AZaZ0.of_jsoninletreplicationInfoList=field_map_exnjson__"ReplicationInfoList"Zz__listOfReplicationInfo.of_jsoninletkafkaClusters=field_map_exnjson__"KafkaClusters"Zz__listOfKafkaCluster.of_jsoninletdescription=field_mapjson__"Description"Zz__stringMax1024.of_jsoninmake?logDelivery?tags~serviceExecutionRoleArn~replicatorName~replicationInfoList~kafkaClusters?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a replicator using the specified configuration."]moduleCreateConfigurationResponse=structtypenonrect={arn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the configuration."];creationTime:Zz__timestampIso8601.toption[@ocaml.doc"The time when the configuration was created."];latestRevision:ConfigurationRevision.toption[@ocaml.doc"Latest revision of the configuration."];name:Zz__string.toption[@ocaml.doc"The name of the configuration."];state:ConfigurationState.toption[@ocaml.doc"The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?creationTime->fun?latestRevision->fun?name->fun?state->fun()->{arn;creationTime;latestRevision;name;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Zz__string.to_value));("creationTime",(Option.mapx.creationTime~f:Zz__timestampIso8601.to_value));("latestRevision",(Option.mapx.latestRevision~f:ConfigurationRevision.to_value));("name",(Option.mapx.name~f:Zz__string.to_value));("state",(Option.mapx.state~f:ConfigurationState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ConfigurationState.of_xml)(Xml.childxml_arg0"state")inletname=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"name")inletlatestRevision=(Option.map~f:ConfigurationRevision.of_xml)(Xml.childxml_arg0"latestRevision")inletcreationTime=(Option.map~f:Zz__timestampIso8601.of_xml)(Xml.childxml_arg0"creationTime")inletarn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"arn")inmake?state?name?latestRevision?creationTime?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ConfigurationState.of_jsoninletname=field_mapjson__"Name"Zz__string.of_jsoninletlatestRevision=field_mapjson__"LatestRevision"ConfigurationRevision.of_jsoninletcreationTime=field_mapjson__"CreationTime"Zz__timestampIso8601.of_jsoninletarn=field_mapjson__"Arn"Zz__string.of_jsoninmake?state?name?latestRevision?creationTime?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK configuration."]moduleCreateConfigurationRequest=structtypenonrect={description:Zz__string.toption[@ocaml.doc"The description of the configuration."];kafkaVersions:Zz__listOf__string.toption[@ocaml.doc"The versions of Apache Kafka with which you can use this MSK configuration."];name:Zz__string.t[@ocaml.doc"The name of the configuration."];serverProperties:Zz__blob.t[@ocaml.doc"Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext."]}letcontext_="CreateConfigurationRequest"letmake?description=fun?kafkaVersions->fun~name->fun~serverProperties->fun()->{description;kafkaVersions;name;serverProperties}letto_valuex=structure_to_value[("description",(Option.mapx.description~f:Zz__string.to_value));("kafkaVersions",(Option.mapx.kafkaVersions~f:Zz__listOf__string.to_value));("name",(Some(Zz__string.to_valuex.name)));("serverProperties",(Some(Zz__blob.to_valuex.serverProperties)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverProperties=Zz__blob.of_xml(Xml.child_exn~context:context_xml_arg0"serverProperties")inletname=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletkafkaVersions=(Option.map~f:Zz__listOf__string.of_xml)(Xml.childxml_arg0"kafkaVersions")inletdescription=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"description")inmake~serverProperties~name?kafkaVersions?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverProperties=field_map_exnjson__"ServerProperties"Zz__blob.of_jsoninletname=field_map_exnjson__"Name"Zz__string.of_jsoninletkafkaVersions=field_mapjson__"KafkaVersions"Zz__listOf__string.of_jsoninletdescription=field_mapjson__"Description"Zz__string.of_jsoninmake~serverProperties~name?kafkaVersions?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK configuration."]moduleCreateClusterV2Response=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterName:Zz__string.toption[@ocaml.doc"The name of the MSK cluster."];state:ClusterState.toption[@ocaml.doc"The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING."];clusterType:ClusterType.toption[@ocaml.doc"The type of the cluster. The possible states are PROVISIONED or SERVERLESS."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterName->fun?state->fun?clusterType->fun()->{clusterArn;clusterName;state;clusterType}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterName",(Option.mapx.clusterName~f:Zz__string.to_value));("state",(Option.mapx.state~f:ClusterState.to_value));("clusterType",(Option.mapx.clusterType~f:ClusterType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterType=(Option.map~f:ClusterType.of_xml)(Xml.childxml_arg0"clusterType")inletstate=(Option.map~f:ClusterState.of_xml)(Xml.childxml_arg0"state")inletclusterName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterName")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?clusterType?state?clusterName?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterType=field_mapjson__"ClusterType"ClusterType.of_jsoninletstate=field_mapjson__"State"ClusterState.of_jsoninletclusterName=field_mapjson__"ClusterName"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?clusterType?state?clusterName?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK cluster."]moduleCreateClusterV2Request=structtypenonrect={clusterName:Zz__stringMin1Max64.t[@ocaml.doc"The name of the cluster."];tags:Zz__mapOf__string.toption[@ocaml.doc"A map of tags that you want the cluster to have."];provisioned:ProvisionedRequest.toption[@ocaml.doc"Information about the provisioned cluster."];serverless:ServerlessRequest.toption[@ocaml.doc"Information about the serverless cluster."]}letcontext_="CreateClusterV2Request"letmake?tags=fun?provisioned->fun?serverless->fun~clusterName->fun()->{tags;provisioned;serverless;clusterName}letto_valuex=structure_to_value[("clusterName",(Some(Zz__stringMin1Max64.to_valuex.clusterName)));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("provisioned",(Option.mapx.provisioned~f:ProvisionedRequest.to_value));("serverless",(Option.mapx.serverless~f:ServerlessRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverless=(Option.map~f:ServerlessRequest.of_xml)(Xml.childxml_arg0"serverless")inletprovisioned=(Option.map~f:ProvisionedRequest.of_xml)(Xml.childxml_arg0"provisioned")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletclusterName=Zz__stringMin1Max64.of_xml(Xml.child_exn~context:context_xml_arg0"clusterName")inmake?serverless?provisioned?tags~clusterName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverless=field_mapjson__"Serverless"ServerlessRequest.of_jsoninletprovisioned=field_mapjson__"Provisioned"ProvisionedRequest.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletclusterName=field_map_exnjson__"ClusterName"Zz__stringMin1Max64.of_jsoninmake?serverless?provisioned?tags~clusterName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK cluster."]moduleCreateClusterResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterName:Zz__string.toption[@ocaml.doc"The name of the MSK cluster."];state:ClusterState.toption[@ocaml.doc"The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?clusterName->fun?state->fun()->{clusterArn;clusterName;state}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("clusterName",(Option.mapx.clusterName~f:Zz__string.to_value));("state",(Option.mapx.state~f:ClusterState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:ClusterState.of_xml)(Xml.childxml_arg0"state")inletclusterName=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterName")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?state?clusterName?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"State"ClusterState.of_jsoninletclusterName=field_mapjson__"ClusterName"Zz__string.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?state?clusterName?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK cluster."]moduleCreateClusterRequest=structtypenonrect={brokerNodeGroupInfo:BrokerNodeGroupInfo.t[@ocaml.doc"Information about the broker nodes in the cluster."];rebalancing:Rebalancing.toption[@ocaml.doc"Specifies if intelligent rebalancing should be turned on for the new MSK Provisioned cluster with Express brokers. By default, intelligent rebalancing status is ACTIVE for all new clusters."];clientAuthentication:ClientAuthentication.toption[@ocaml.doc"Includes all client authentication related information."];clusterName:Zz__stringMin1Max64.t[@ocaml.doc"The name of the cluster."];configurationInfo:ConfigurationInfo.toption[@ocaml.doc"Represents the configuration that you want MSK to use for the brokers in a cluster."];encryptionInfo:EncryptionInfo.toption[@ocaml.doc"Includes all encryption-related information."];enhancedMonitoring:EnhancedMonitoring.toption[@ocaml.doc"Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION."];openMonitoring:OpenMonitoringInfo.toption[@ocaml.doc"The settings for open monitoring."];kafkaVersion:Zz__stringMin1Max128.t[@ocaml.doc"The version of Apache Kafka."];loggingInfo:LoggingInfo.toption;numberOfBrokerNodes:Zz__integerMin1Max15.t[@ocaml.doc"The number of broker nodes in the cluster."];tags:Zz__mapOf__string.toption[@ocaml.doc"Create tags when creating the cluster."];storageMode:StorageMode.toption[@ocaml.doc"This controls storage mode for supported storage tiers."]}letcontext_="CreateClusterRequest"letmake?rebalancing=fun?clientAuthentication->fun?configurationInfo->fun?encryptionInfo->fun?enhancedMonitoring->fun?openMonitoring->fun?loggingInfo->fun?tags->fun?storageMode->fun~brokerNodeGroupInfo->fun~clusterName->fun~kafkaVersion->fun~numberOfBrokerNodes->fun()->{rebalancing;clientAuthentication;configurationInfo;encryptionInfo;enhancedMonitoring;openMonitoring;loggingInfo;tags;storageMode;brokerNodeGroupInfo;clusterName;kafkaVersion;numberOfBrokerNodes}letto_valuex=structure_to_value[("brokerNodeGroupInfo",(Some(BrokerNodeGroupInfo.to_valuex.brokerNodeGroupInfo)));("rebalancing",(Option.mapx.rebalancing~f:Rebalancing.to_value));("clientAuthentication",(Option.mapx.clientAuthentication~f:ClientAuthentication.to_value));("clusterName",(Some(Zz__stringMin1Max64.to_valuex.clusterName)));("configurationInfo",(Option.mapx.configurationInfo~f:ConfigurationInfo.to_value));("encryptionInfo",(Option.mapx.encryptionInfo~f:EncryptionInfo.to_value));("enhancedMonitoring",(Option.mapx.enhancedMonitoring~f:EnhancedMonitoring.to_value));("openMonitoring",(Option.mapx.openMonitoring~f:OpenMonitoringInfo.to_value));("kafkaVersion",(Some(Zz__stringMin1Max128.to_valuex.kafkaVersion)));("loggingInfo",(Option.mapx.loggingInfo~f:LoggingInfo.to_value));("numberOfBrokerNodes",(Some(Zz__integerMin1Max15.to_valuex.numberOfBrokerNodes)));("tags",(Option.mapx.tags~f:Zz__mapOf__string.to_value));("storageMode",(Option.mapx.storageMode~f:StorageMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorageMode=(Option.map~f:StorageMode.of_xml)(Xml.childxml_arg0"storageMode")inlettags=(Option.map~f:Zz__mapOf__string.of_xml)(Xml.childxml_arg0"tags")inletnumberOfBrokerNodes=Zz__integerMin1Max15.of_xml(Xml.child_exn~context:context_xml_arg0"numberOfBrokerNodes")inletloggingInfo=(Option.map~f:LoggingInfo.of_xml)(Xml.childxml_arg0"loggingInfo")inletkafkaVersion=Zz__stringMin1Max128.of_xml(Xml.child_exn~context:context_xml_arg0"kafkaVersion")inletopenMonitoring=(Option.map~f:OpenMonitoringInfo.of_xml)(Xml.childxml_arg0"openMonitoring")inletenhancedMonitoring=(Option.map~f:EnhancedMonitoring.of_xml)(Xml.childxml_arg0"enhancedMonitoring")inletencryptionInfo=(Option.map~f:EncryptionInfo.of_xml)(Xml.childxml_arg0"encryptionInfo")inletconfigurationInfo=(Option.map~f:ConfigurationInfo.of_xml)(Xml.childxml_arg0"configurationInfo")inletclusterName=Zz__stringMin1Max64.of_xml(Xml.child_exn~context:context_xml_arg0"clusterName")inletclientAuthentication=(Option.map~f:ClientAuthentication.of_xml)(Xml.childxml_arg0"clientAuthentication")inletrebalancing=(Option.map~f:Rebalancing.of_xml)(Xml.childxml_arg0"rebalancing")inletbrokerNodeGroupInfo=BrokerNodeGroupInfo.of_xml(Xml.child_exn~context:context_xml_arg0"brokerNodeGroupInfo")inmake?storageMode?tags~numberOfBrokerNodes?loggingInfo~kafkaVersion?openMonitoring?enhancedMonitoring?encryptionInfo?configurationInfo~clusterName?clientAuthentication?rebalancing~brokerNodeGroupInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorageMode=field_mapjson__"StorageMode"StorageMode.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__string.of_jsoninletnumberOfBrokerNodes=field_map_exnjson__"NumberOfBrokerNodes"Zz__integerMin1Max15.of_jsoninletloggingInfo=field_mapjson__"LoggingInfo"LoggingInfo.of_jsoninletkafkaVersion=field_map_exnjson__"KafkaVersion"Zz__stringMin1Max128.of_jsoninletopenMonitoring=field_mapjson__"OpenMonitoring"OpenMonitoringInfo.of_jsoninletenhancedMonitoring=field_mapjson__"EnhancedMonitoring"EnhancedMonitoring.of_jsoninletencryptionInfo=field_mapjson__"EncryptionInfo"EncryptionInfo.of_jsoninletconfigurationInfo=field_mapjson__"ConfigurationInfo"ConfigurationInfo.of_jsoninletclusterName=field_map_exnjson__"ClusterName"Zz__stringMin1Max64.of_jsoninletclientAuthentication=field_mapjson__"ClientAuthentication"ClientAuthentication.of_jsoninletrebalancing=field_mapjson__"Rebalancing"Rebalancing.of_jsoninletbrokerNodeGroupInfo=field_map_exnjson__"BrokerNodeGroupInfo"BrokerNodeGroupInfo.of_jsoninmake?storageMode?tags~numberOfBrokerNodes?loggingInfo~kafkaVersion?openMonitoring?enhancedMonitoring?encryptionInfo?configurationInfo~clusterName?clientAuthentication?rebalancing~brokerNodeGroupInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new MSK cluster."]moduleBatchDisassociateScramSecretResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];unprocessedScramSecrets:Zz__listOfUnprocessedScramSecret.toption[@ocaml.doc"List of errors when disassociating secrets to cluster."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?unprocessedScramSecrets->fun()->{clusterArn;unprocessedScramSecrets}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("unprocessedScramSecrets",(Option.mapx.unprocessedScramSecrets~f:Zz__listOfUnprocessedScramSecret.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunprocessedScramSecrets=(Option.map~f:Zz__listOfUnprocessedScramSecret.of_xml)(Xml.childxml_arg0"unprocessedScramSecrets")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?unprocessedScramSecrets?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunprocessedScramSecrets=field_mapjson__"UnprocessedScramSecrets"Zz__listOfUnprocessedScramSecret.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?unprocessedScramSecrets?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates one or more Scram Secrets from an Amazon MSK cluster."]moduleBatchDisassociateScramSecretRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster to be updated."];secretArnList:Zz__listOf__string.t[@ocaml.doc"List of AWS Secrets Manager secret ARNs."]}letcontext_="BatchDisassociateScramSecretRequest"letmake~clusterArn=fun~secretArnList->fun()->{clusterArn;secretArnList}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("secretArnList",(Some(Zz__listOf__string.to_valuex.secretArnList)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretArnList=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"secretArnList")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~secretArnList~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretArnList=field_map_exnjson__"SecretArnList"Zz__listOf__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~secretArnList~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates sasl scram secrets to cluster."]moduleBatchAssociateScramSecretResponse=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];unprocessedScramSecrets:Zz__listOfUnprocessedScramSecret.toption[@ocaml.doc"List of errors when associating secrets to cluster."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`InternalServerErrorExceptionofInternalServerErrorException.t|`NotFoundExceptionofNotFoundException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`UnauthorizedExceptionofUnauthorizedException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusterArn=fun?unprocessedScramSecrets->fun()->{clusterArn;unprocessedScramSecrets}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"InternalServerErrorException"->`InternalServerErrorException(InternalServerErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"UnauthorizedException"->`UnauthorizedException(UnauthorizedException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`InternalServerErrorExceptione->`Assoc[("error",(`String"InternalServerErrorException"));("details",(InternalServerErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`UnauthorizedExceptione->`Assoc[("error",(`String"UnauthorizedException"));("details",(UnauthorizedException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("clusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("unprocessedScramSecrets",(Option.mapx.unprocessedScramSecrets~f:Zz__listOfUnprocessedScramSecret.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunprocessedScramSecrets=(Option.map~f:Zz__listOfUnprocessedScramSecret.of_xml)(Xml.childxml_arg0"unprocessedScramSecrets")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"clusterArn")inmake?unprocessedScramSecrets?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunprocessedScramSecrets=field_mapjson__"UnprocessedScramSecrets"Zz__listOfUnprocessedScramSecret.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?unprocessedScramSecrets?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates one or more Scram Secrets with an Amazon MSK cluster."]moduleBatchAssociateScramSecretRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster to be updated."];secretArnList:Zz__listOf__string.t[@ocaml.doc"List of AWS Secrets Manager secret ARNs."]}letcontext_="BatchAssociateScramSecretRequest"letmake~clusterArn=fun~secretArnList->fun()->{clusterArn;secretArnList}letto_valuex=structure_to_value[("clusterArn",(Some(Zz__string.to_valuex.clusterArn)));("secretArnList",(Some(Zz__listOf__string.to_valuex.secretArnList)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretArnList=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"secretArnList")inletclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"clusterArn")inmake~secretArnList~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretArnList=field_map_exnjson__"SecretArnList"Zz__listOf__string.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~secretArnList~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates sasl scram secrets to cluster."]