123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276(* 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.partnercentral_accountletapiVersion="2025-04-04"letendpointPrefix="partnercentral-account"letserviceFullName="Partner Central Account API"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"lettargetPrefix="PartnerCentralAccount"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[]))])moduleUnicodeString=structtypenonrect=stringletcontext_="UnicodeString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:80)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"UnicodeString"jletto_json=simple_to_jsonto_valueendmodulePartnerProfileId=structtypenonrect=stringletcontext_="PartnerProfileId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"pprofile-[A-Za-z0-9]{13}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PartnerProfileId"jletto_json=simple_to_jsonto_valueendmoduleSellerProfileId=structtypenonrect=stringletcontext_="SellerProfileId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SellerProfileId"jletto_json=simple_to_jsonto_valueendmoduleAccountSummary=structtypenonrect={name:UnicodeString.toption[@ocaml.doc"The name associated with the AWS account."]}letmake?name=fun()->{name}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:UnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:UnicodeString.of_xml)(Xml.childxml_arg0"Name")inmake?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"UnicodeString.of_jsoninmake?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary information about an AWS account."]modulePartnerProfileSummary=structtypenonrect={id:PartnerProfileId.toption[@ocaml.doc"The unique identifier of the partner profile."];name:UnicodeString.toption[@ocaml.doc"The display name of the partner."]}letmake?id=fun?name->fun()->{id;name}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:PartnerProfileId.to_value));("Name",(Option.mapx.name~f:UnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:UnicodeString.of_xml)(Xml.childxml_arg0"Name")inletid=(Option.map~f:PartnerProfileId.of_xml)(Xml.childxml_arg0"Id")inmake?name?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"UnicodeString.of_jsoninletid=field_mapjson__"Id"PartnerProfileId.of_jsoninmake?name?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary view of a partner profile containing basic identifying information."]moduleSellerProfileSummary=structtypenonrect={id:SellerProfileId.toption[@ocaml.doc"The unique identifier of the seller profile."];name:UnicodeString.toption[@ocaml.doc"The display name of the seller."]}letmake?id=fun?name->fun()->{id;name}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:SellerProfileId.to_value));("Name",(Option.mapx.name~f:UnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:UnicodeString.of_xml)(Xml.childxml_arg0"Name")inletid=(Option.map~f:SellerProfileId.of_xml)(Xml.childxml_arg0"Id")inmake?name?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"UnicodeString.of_jsoninletid=field_mapjson__"Id"SellerProfileId.of_jsoninmake?name?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary view of a seller profile containing basic identifying information."]moduleBusinessValidationCode=structtypenonrect=|INCOMPATIBLE_CONNECTION_INVITATION_REQUEST|INCOMPATIBLE_LEGAL_NAME|INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS|INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS|INVALID_ACCOUNT_LINKING_STATUS|INVALID_ACCOUNT_STATE|INCOMPATIBLE_DOMAIN|INELIGIBLE_ACCOUNT_TIER|Non_static_idofstringletmakei=iletto_string=function|INCOMPATIBLE_CONNECTION_INVITATION_REQUEST->"INCOMPATIBLE_CONNECTION_INVITATION_REQUEST"|INCOMPATIBLE_LEGAL_NAME->"INCOMPATIBLE_LEGAL_NAME"|INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS->"INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS"|INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS->"INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS"|INVALID_ACCOUNT_LINKING_STATUS->"INVALID_ACCOUNT_LINKING_STATUS"|INVALID_ACCOUNT_STATE->"INVALID_ACCOUNT_STATE"|INCOMPATIBLE_DOMAIN->"INCOMPATIBLE_DOMAIN"|INELIGIBLE_ACCOUNT_TIER->"INELIGIBLE_ACCOUNT_TIER"|Non_static_ids->sletof_string=function|"INCOMPATIBLE_CONNECTION_INVITATION_REQUEST"->INCOMPATIBLE_CONNECTION_INVITATION_REQUEST|"INCOMPATIBLE_LEGAL_NAME"->INCOMPATIBLE_LEGAL_NAME|"INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS"->INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS|"INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS"->INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS|"INVALID_ACCOUNT_LINKING_STATUS"->INVALID_ACCOUNT_LINKING_STATUS|"INVALID_ACCOUNT_STATE"->INVALID_ACCOUNT_STATE|"INCOMPATIBLE_DOMAIN"->INCOMPATIBLE_DOMAIN|"INELIGIBLE_ACCOUNT_TIER"->INELIGIBLE_ACCOUNT_TIER|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 BusinessValidationCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BusinessValidationCode"j)letto_json=simple_to_jsonto_valueendmoduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleFieldValidationCode=structtypenonrect=|REQUIRED_FIELD_MISSING|DUPLICATE_VALUE|INVALID_VALUE|INVALID_STRING_FORMAT|TOO_MANY_VALUES|ACTION_NOT_PERMITTED|INVALID_ENUM_VALUE|Non_static_idofstringletmakei=iletto_string=function|REQUIRED_FIELD_MISSING->"REQUIRED_FIELD_MISSING"|DUPLICATE_VALUE->"DUPLICATE_VALUE"|INVALID_VALUE->"INVALID_VALUE"|INVALID_STRING_FORMAT->"INVALID_STRING_FORMAT"|TOO_MANY_VALUES->"TOO_MANY_VALUES"|ACTION_NOT_PERMITTED->"ACTION_NOT_PERMITTED"|INVALID_ENUM_VALUE->"INVALID_ENUM_VALUE"|Non_static_ids->sletof_string=function|"REQUIRED_FIELD_MISSING"->REQUIRED_FIELD_MISSING|"DUPLICATE_VALUE"->DUPLICATE_VALUE|"INVALID_VALUE"->INVALID_VALUE|"INVALID_STRING_FORMAT"->INVALID_STRING_FORMAT|"TOO_MANY_VALUES"->TOO_MANY_VALUES|"ACTION_NOT_PERMITTED"->ACTION_NOT_PERMITTED|"INVALID_ENUM_VALUE"->INVALID_ENUM_VALUE|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 FieldValidationCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FieldValidationCode"j)letto_json=simple_to_jsonto_valueendmoduleConnectionTypeStatus=structtypenonrect=|ACTIVE|CANCELED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|CANCELED->"CANCELED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"CANCELED"->CANCELED|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 ConnectionTypeStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConnectionTypeStatus"j)letto_json=simple_to_jsonto_valueendmoduleParticipant=structtypenonrect={partnerProfile:PartnerProfileSummary.toption[@ocaml.doc"The partner profile information for the participant."];sellerProfile:SellerProfileSummary.toption[@ocaml.doc"The seller profile information for the participant."];account:AccountSummary.toption[@ocaml.doc"The AWS account information for the participant."]}letmake?partnerProfile=fun?sellerProfile->fun?account->fun()->{partnerProfile;sellerProfile;account}letto_valuex=structure_to_value[("PartnerProfile",(Option.mapx.partnerProfile~f:PartnerProfileSummary.to_value));("SellerProfile",(Option.mapx.sellerProfile~f:SellerProfileSummary.to_value));("Account",(Option.mapx.account~f:AccountSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccount=(Option.map~f:AccountSummary.of_xml)(Xml.childxml_arg0"Account")inletsellerProfile=(Option.map~f:SellerProfileSummary.of_xml)(Xml.childxml_arg0"SellerProfile")inletpartnerProfile=(Option.map~f:PartnerProfileSummary.of_xml)(Xml.childxml_arg0"PartnerProfile")inmake?account?sellerProfile?partnerProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccount=field_mapjson__"Account"AccountSummary.of_jsoninletsellerProfile=field_mapjson__"SellerProfile"SellerProfileSummary.of_jsoninletpartnerProfile=field_mapjson__"PartnerProfile"PartnerProfileSummary.of_jsoninmake?account?sellerProfile?partnerProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a participant in a partner connection, containing their profile and account information."]moduleBusinessValidationError=structtypenonrect={message:String_.toption[@ocaml.doc"A description of the business validation error."];code:BusinessValidationCode.toption[@ocaml.doc"A code identifying the specific business validation error."]}letmake?message=fun?code->fun()->{message;code}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Code",(Option.mapx.code~f:BusinessValidationCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:BusinessValidationCode.of_xml)(Xml.childxml_arg0"Code")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?code?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"Code"BusinessValidationCode.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?code?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a business rule validation error that occurred during an operation."]moduleFieldValidationError=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the field that failed validation."];message:String_.toption[@ocaml.doc"A description of the field validation error."];code:FieldValidationCode.toption[@ocaml.doc"A code identifying the specific field validation error."]}letmake?name=fun?message->fun?code->fun()->{name;message;code}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("Message",(Option.mapx.message~f:String_.to_value));("Code",(Option.mapx.code~f:FieldValidationCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=(Option.map~f:FieldValidationCode.of_xml)(Xml.childxml_arg0"Code")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?code?message?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_mapjson__"Code"FieldValidationCode.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?code?message?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a field-level validation error that occurred during an operation."]moduleCountryCode=structtypenonrect=stringletcontext_="CountryCode"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:2)>>=(fun()->check_patterni~pattern:"[A-Z]{2}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CountryCode"jletto_json=simple_to_jsonto_valueendmoduleJurisdictionCode=structtypenonrect=stringletcontext_="JurisdictionCode"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:2)>>=(fun()->check_patterni~pattern:"[A-Z0-9]{2}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"JurisdictionCode"jletto_json=simple_to_jsonto_valueendmoduleLegalName=structtypenonrect=stringletcontext_="LegalName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:80)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"LegalName"jletto_json=simple_to_jsonto_valueendmoduleRegistrationId=structtypenonrect=stringletcontext_="RegistrationId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:80)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RegistrationId"jletto_json=simple_to_jsonto_valueendmoduleLocale=structtypenonrect=stringletcontext_="Locale"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-z]{2}-[A-Z]{2}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Locale"jletto_json=simple_to_jsonto_valueendmoduleLocalizedContentDescriptionString=structtypenonrect=stringletcontext_="LocalizedContentDescriptionString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:600)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"LocalizedContentDescriptionString"jletto_json=simple_to_jsonto_valueendmoduleUrl=structtypenonrect=stringletcontext_="Url"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"(https|HTTPS):\\/\\/[^\\/\\s]+(\\/\\S*)?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Url"jletto_json=simple_to_jsonto_valueendmoduleConnectionType=structtypenonrect=|OPPORTUNITY_COLLABORATION|SUBSIDIARY|Non_static_idofstringletmakei=iletto_string=function|OPPORTUNITY_COLLABORATION->"OPPORTUNITY_COLLABORATION"|SUBSIDIARY->"SUBSIDIARY"|Non_static_ids->sletof_string=function|"OPPORTUNITY_COLLABORATION"->OPPORTUNITY_COLLABORATION|"SUBSIDIARY"->SUBSIDIARY|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 ConnectionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConnectionType"j)letto_json=simple_to_jsonto_valueendmoduleConnectionTypeSummary=structtypenonrect={status:ConnectionTypeStatus.toption[@ocaml.doc"The current status of this connection type (active, canceled, etc.)."];otherParticipant:Participant.toption[@ocaml.doc"Information about the other participant in this connection type."]}letmake?status=fun?otherParticipant->fun()->{status;otherParticipant}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:ConnectionTypeStatus.to_value));("OtherParticipant",(Option.mapx.otherParticipant~f:Participant.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letotherParticipant=(Option.map~f:Participant.of_xml)(Xml.childxml_arg0"OtherParticipant")inletstatus=(Option.map~f:ConnectionTypeStatus.of_xml)(Xml.childxml_arg0"Status")inmake?otherParticipant?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letotherParticipant=field_mapjson__"OtherParticipant"Participant.of_jsoninletstatus=field_mapjson__"Status"ConnectionTypeStatus.of_jsoninmake?otherParticipant?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary information about a specific connection type between partners."]moduleAwsAccountId=structtypenonrect=stringletcontext_="AwsAccountId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[0-9]{12}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AwsAccountId"jletto_json=simple_to_jsonto_valueendmoduleDateTime=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_valueendmoduleEmail=structtypenonrect=stringletcontext_="Email"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:320)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Email"jletto_json=simple_to_jsonto_valueendmoduleSensitiveUnicodeString=structtypenonrect=stringletcontext_="SensitiveUnicodeString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:80)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SensitiveUnicodeString"jletto_json=simple_to_jsonto_valueendmoduleValidationError=structtypenonrect={fieldValidationError:FieldValidationError.toption[@ocaml.doc"Details about a field-level validation error, if applicable."];businessValidationError:BusinessValidationError.toption[@ocaml.doc"Details about a business rule validation error, if applicable."]}letmake?fieldValidationError=fun?businessValidationError->fun()->{fieldValidationError;businessValidationError}letto_valuex=structure_to_value[("FieldValidationError",(Option.mapx.fieldValidationError~f:FieldValidationError.to_value));("BusinessValidationError",(Option.mapx.businessValidationError~f:BusinessValidationError.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbusinessValidationError=(Option.map~f:BusinessValidationError.of_xml)(Xml.childxml_arg0"BusinessValidationError")inletfieldValidationError=(Option.map~f:FieldValidationError.of_xml)(Xml.childxml_arg0"FieldValidationError")inmake?businessValidationError?fieldValidationError()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbusinessValidationError=field_mapjson__"BusinessValidationError"BusinessValidationError.of_jsoninletfieldValidationError=field_mapjson__"FieldValidationError"FieldValidationError.of_jsoninmake?businessValidationError?fieldValidationError()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a validation error, which can be either a field-level or business rule validation error."]moduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleBusinessVerificationDetails=structtypenonrect={legalName:LegalName.t[@ocaml.doc"The official legal name of the business as registered with the appropriate government authorities."];registrationId:RegistrationId.t[@ocaml.doc"The unique business registration identifier assigned by the government or regulatory authority, such as a company registration number or tax identification number."];countryCode:CountryCode.t[@ocaml.doc"The ISO 3166-1 alpha-2 country code where the business is legally registered and operates."];jurisdictionOfIncorporation:JurisdictionCode.toption[@ocaml.doc"The specific legal jurisdiction or state where the business was incorporated or registered, providing additional location context beyond the country code."]}letcontext_="BusinessVerificationDetails"letmake?jurisdictionOfIncorporation=fun~legalName->fun~registrationId->fun~countryCode->fun()->{jurisdictionOfIncorporation;legalName;registrationId;countryCode}letto_valuex=structure_to_value[("LegalName",(Some(LegalName.to_valuex.legalName)));("RegistrationId",(Some(RegistrationId.to_valuex.registrationId)));("CountryCode",(Some(CountryCode.to_valuex.countryCode)));("JurisdictionOfIncorporation",(Option.mapx.jurisdictionOfIncorporation~f:JurisdictionCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjurisdictionOfIncorporation=(Option.map~f:JurisdictionCode.of_xml)(Xml.childxml_arg0"JurisdictionOfIncorporation")inletcountryCode=CountryCode.of_xml(Xml.child_exn~context:context_xml_arg0"CountryCode")inletregistrationId=RegistrationId.of_xml(Xml.child_exn~context:context_xml_arg0"RegistrationId")inletlegalName=LegalName.of_xml(Xml.child_exn~context:context_xml_arg0"LegalName")inmake?jurisdictionOfIncorporation~countryCode~registrationId~legalName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjurisdictionOfIncorporation=field_mapjson__"JurisdictionOfIncorporation"JurisdictionCode.of_jsoninletcountryCode=field_map_exnjson__"CountryCode"CountryCode.of_jsoninletregistrationId=field_map_exnjson__"RegistrationId"RegistrationId.of_jsoninletlegalName=field_map_exnjson__"LegalName"LegalName.of_jsoninmake?jurisdictionOfIncorporation~countryCode~registrationId~legalName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the business information required for verifying a company's legal status and registration details within AWS Partner Central."]moduleCompletionUrl=structtypenonrect=stringletcontext_="CompletionUrl"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:"CompletionUrl"jletto_json=simple_to_jsonto_valueendmoduleProfileValidationErrorReason=structtypenonrect=|INVALID_CONTENT|DUPLICATE_PROFILE|INVALID_LOGO|INVALID_LOGO_URL|INVALID_LOGO_FILE|INVALID_LOGO_SIZE|INVALID_WEBSITE_URL|Non_static_idofstringletmakei=iletto_string=function|INVALID_CONTENT->"INVALID_CONTENT"|DUPLICATE_PROFILE->"DUPLICATE_PROFILE"|INVALID_LOGO->"INVALID_LOGO"|INVALID_LOGO_URL->"INVALID_LOGO_URL"|INVALID_LOGO_FILE->"INVALID_LOGO_FILE"|INVALID_LOGO_SIZE->"INVALID_LOGO_SIZE"|INVALID_WEBSITE_URL->"INVALID_WEBSITE_URL"|Non_static_ids->sletof_string=function|"INVALID_CONTENT"->INVALID_CONTENT|"DUPLICATE_PROFILE"->DUPLICATE_PROFILE|"INVALID_LOGO"->INVALID_LOGO|"INVALID_LOGO_URL"->INVALID_LOGO_URL|"INVALID_LOGO_FILE"->INVALID_LOGO_FILE|"INVALID_LOGO_SIZE"->INVALID_LOGO_SIZE|"INVALID_WEBSITE_URL"->INVALID_WEBSITE_URL|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 ProfileValidationErrorReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProfileValidationErrorReason"j)letto_json=simple_to_jsonto_valueendmoduleIndustrySegment=structtypenonrect=|AGRICULTURE_MINING|BIOTECHNOLOGY|BUSINESS_CONSUMER_SERVICES|BUSINESS_SERV|COMMUNICATIONS|COMPUTER_HARDWARE|COMPUTERS_ELECTRONICS|COMPUTER_SOFTWARE|CONSUMER_GOODS|CONSUMER_RELATED|EDUCATION|ENERGY_UTILITIES|FINANCIAL_SERVICES|GAMING|GOVERNMENT|GOVERNMENT_EDUCATION_PUBLIC_SERVICES|HEALTHCARE|HEALTHCARE_PHARMACEUTICALS_BIOTECH|INDUSTRIAL_ENERGY|INTERNET_SPECIFIC|LIFE_SCIENCES|MANUFACTURING|MEDIA_ENTERTAINMENT_LEISURE|MEDIA_ENTERTAINMENT|MEDICAL_HEALTH|NON_PROFIT_ORGANIZATION|OTHER|PROFESSIONAL_SERVICES|REAL_ESTATE_CONSTRUCTION|RETAIL|RETAIL_WHOLESALE_DISTRIBUTION|SEMICONDUCTOR_ELECTR|SOFTWARE_INTERNET|TELECOMMUNICATIONS|TRANSPORTATION_LOGISTICS|TRAVEL_HOSPITALITY|WHOLESALE_DISTRIBUTION|Non_static_idofstringletmakei=iletto_string=function|AGRICULTURE_MINING->"AGRICULTURE_MINING"|BIOTECHNOLOGY->"BIOTECHNOLOGY"|BUSINESS_CONSUMER_SERVICES->"BUSINESS_CONSUMER_SERVICES"|BUSINESS_SERV->"BUSINESS_SERV"|COMMUNICATIONS->"COMMUNICATIONS"|COMPUTER_HARDWARE->"COMPUTER_HARDWARE"|COMPUTERS_ELECTRONICS->"COMPUTERS_ELECTRONICS"|COMPUTER_SOFTWARE->"COMPUTER_SOFTWARE"|CONSUMER_GOODS->"CONSUMER_GOODS"|CONSUMER_RELATED->"CONSUMER_RELATED"|EDUCATION->"EDUCATION"|ENERGY_UTILITIES->"ENERGY_UTILITIES"|FINANCIAL_SERVICES->"FINANCIAL_SERVICES"|GAMING->"GAMING"|GOVERNMENT->"GOVERNMENT"|GOVERNMENT_EDUCATION_PUBLIC_SERVICES->"GOVERNMENT_EDUCATION_PUBLIC_SERVICES"|HEALTHCARE->"HEALTHCARE"|HEALTHCARE_PHARMACEUTICALS_BIOTECH->"HEALTHCARE_PHARMACEUTICALS_BIOTECH"|INDUSTRIAL_ENERGY->"INDUSTRIAL_ENERGY"|INTERNET_SPECIFIC->"INTERNET_SPECIFIC"|LIFE_SCIENCES->"LIFE_SCIENCES"|MANUFACTURING->"MANUFACTURING"|MEDIA_ENTERTAINMENT_LEISURE->"MEDIA_ENTERTAINMENT_LEISURE"|MEDIA_ENTERTAINMENT->"MEDIA_ENTERTAINMENT"|MEDICAL_HEALTH->"MEDICAL_HEALTH"|NON_PROFIT_ORGANIZATION->"NON_PROFIT_ORGANIZATION"|OTHER->"OTHER"|PROFESSIONAL_SERVICES->"PROFESSIONAL_SERVICES"|REAL_ESTATE_CONSTRUCTION->"REAL_ESTATE_CONSTRUCTION"|RETAIL->"RETAIL"|RETAIL_WHOLESALE_DISTRIBUTION->"RETAIL_WHOLESALE_DISTRIBUTION"|SEMICONDUCTOR_ELECTR->"SEMICONDUCTOR_ELECTR"|SOFTWARE_INTERNET->"SOFTWARE_INTERNET"|TELECOMMUNICATIONS->"TELECOMMUNICATIONS"|TRANSPORTATION_LOGISTICS->"TRANSPORTATION_LOGISTICS"|TRAVEL_HOSPITALITY->"TRAVEL_HOSPITALITY"|WHOLESALE_DISTRIBUTION->"WHOLESALE_DISTRIBUTION"|Non_static_ids->sletof_string=function|"AGRICULTURE_MINING"->AGRICULTURE_MINING|"BIOTECHNOLOGY"->BIOTECHNOLOGY|"BUSINESS_CONSUMER_SERVICES"->BUSINESS_CONSUMER_SERVICES|"BUSINESS_SERV"->BUSINESS_SERV|"COMMUNICATIONS"->COMMUNICATIONS|"COMPUTER_HARDWARE"->COMPUTER_HARDWARE|"COMPUTERS_ELECTRONICS"->COMPUTERS_ELECTRONICS|"COMPUTER_SOFTWARE"->COMPUTER_SOFTWARE|"CONSUMER_GOODS"->CONSUMER_GOODS|"CONSUMER_RELATED"->CONSUMER_RELATED|"EDUCATION"->EDUCATION|"ENERGY_UTILITIES"->ENERGY_UTILITIES|"FINANCIAL_SERVICES"->FINANCIAL_SERVICES|"GAMING"->GAMING|"GOVERNMENT"->GOVERNMENT|"GOVERNMENT_EDUCATION_PUBLIC_SERVICES"->GOVERNMENT_EDUCATION_PUBLIC_SERVICES|"HEALTHCARE"->HEALTHCARE|"HEALTHCARE_PHARMACEUTICALS_BIOTECH"->HEALTHCARE_PHARMACEUTICALS_BIOTECH|"INDUSTRIAL_ENERGY"->INDUSTRIAL_ENERGY|"INTERNET_SPECIFIC"->INTERNET_SPECIFIC|"LIFE_SCIENCES"->LIFE_SCIENCES|"MANUFACTURING"->MANUFACTURING|"MEDIA_ENTERTAINMENT_LEISURE"->MEDIA_ENTERTAINMENT_LEISURE|"MEDIA_ENTERTAINMENT"->MEDIA_ENTERTAINMENT|"MEDICAL_HEALTH"->MEDICAL_HEALTH|"NON_PROFIT_ORGANIZATION"->NON_PROFIT_ORGANIZATION|"OTHER"->OTHER|"PROFESSIONAL_SERVICES"->PROFESSIONAL_SERVICES|"REAL_ESTATE_CONSTRUCTION"->REAL_ESTATE_CONSTRUCTION|"RETAIL"->RETAIL|"RETAIL_WHOLESALE_DISTRIBUTION"->RETAIL_WHOLESALE_DISTRIBUTION|"SEMICONDUCTOR_ELECTR"->SEMICONDUCTOR_ELECTR|"SOFTWARE_INTERNET"->SOFTWARE_INTERNET|"TELECOMMUNICATIONS"->TELECOMMUNICATIONS|"TRANSPORTATION_LOGISTICS"->TRANSPORTATION_LOGISTICS|"TRAVEL_HOSPITALITY"->TRAVEL_HOSPITALITY|"WHOLESALE_DISTRIBUTION"->WHOLESALE_DISTRIBUTION|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 IndustrySegment"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IndustrySegment"j)letto_json=simple_to_jsonto_valueendmoduleLocalizedContent=structtypenonrect={displayName:UnicodeString.t[@ocaml.doc"The localized display name for the partner."];description:LocalizedContentDescriptionString.t[@ocaml.doc"The localized description of the partner's business and services."];websiteUrl:Url.t[@ocaml.doc"The localized website URL for the partner."];logoUrl:Url.t[@ocaml.doc"The URL to the partner's logo image for this locale."];locale:Locale.t[@ocaml.doc"The locale or language code for the localized content."]}letcontext_="LocalizedContent"letmake~displayName=fun~description->fun~websiteUrl->fun~logoUrl->fun~locale->fun()->{displayName;description;websiteUrl;logoUrl;locale}letto_valuex=structure_to_value[("DisplayName",(Some(UnicodeString.to_valuex.displayName)));("Description",(Some(LocalizedContentDescriptionString.to_valuex.description)));("WebsiteUrl",(Some(Url.to_valuex.websiteUrl)));("LogoUrl",(Some(Url.to_valuex.logoUrl)));("Locale",(Some(Locale.to_valuex.locale)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlocale=Locale.of_xml(Xml.child_exn~context:context_xml_arg0"Locale")inletlogoUrl=Url.of_xml(Xml.child_exn~context:context_xml_arg0"LogoUrl")inletwebsiteUrl=Url.of_xml(Xml.child_exn~context:context_xml_arg0"WebsiteUrl")inletdescription=LocalizedContentDescriptionString.of_xml(Xml.child_exn~context:context_xml_arg0"Description")inletdisplayName=UnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"DisplayName")inmake~locale~logoUrl~websiteUrl~description~displayName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlocale=field_map_exnjson__"Locale"Locale.of_jsoninletlogoUrl=field_map_exnjson__"LogoUrl"Url.of_jsoninletwebsiteUrl=field_map_exnjson__"WebsiteUrl"Url.of_jsoninletdescription=field_map_exnjson__"Description"LocalizedContentDescriptionString.of_jsoninletdisplayName=field_map_exnjson__"DisplayName"UnicodeString.of_jsoninmake~locale~logoUrl~websiteUrl~description~displayName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains localized content for a partner profile in a specific language or locale."]moduleCatalog=structtypenonrect=stringletcontext_="Catalog"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Catalog"jletto_json=simple_to_jsonto_valueendmodulePartnerArn=structtypenonrect=stringletcontext_="PartnerArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PartnerArn"jletto_json=simple_to_jsonto_valueendmodulePartnerId=structtypenonrect=stringletcontext_="PartnerId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"partner-[A-Za-z0-9]{13}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PartnerId"jletto_json=simple_to_jsonto_valueendmoduleConnectionArn=structtypenonrect=stringletcontext_="ConnectionArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"arn:[a-zA-Z0-9-]+:partnercentral:[a-z0-9\\-]*::catalog/[a-zA-Z]+/connection/pac-[A-Za-z0-9]{13}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionArn"jletto_json=simple_to_jsonto_valueendmoduleConnectionId=structtypenonrect=stringletcontext_="ConnectionId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"pac-[A-Za-z0-9]{13}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionId"jletto_json=simple_to_jsonto_valueendmoduleConnectionTypeSummaryMap=structtypenonrect=(ConnectionType.t*ConnectionTypeSummary.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ConnectionType ConnectionTypeSummary"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ConnectionType.to_valuex)|>(funx->(ConnectionTypeSummary.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:ConnectionType.of_string~of_json:ConnectionTypeSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConnectionInvitationArn=structtypenonrect=stringletcontext_="ConnectionInvitationArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"arn:[a-zA-Z0-9-]+:partnercentral:[a-z0-9\\-]*::catalog/[a-zA-Z]+/connection-invitation/pacinv-[A-Za-z0-9]{13}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionInvitationArn"jletto_json=simple_to_jsonto_valueendmoduleConnectionInvitationId=structtypenonrect=stringletcontext_="ConnectionInvitationId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"pacinv-[A-Za-z0-9]{13}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionInvitationId"jletto_json=simple_to_jsonto_valueendmoduleInvitationStatus=structtypenonrect=|PENDING|ACCEPTED|REJECTED|CANCELED|EXPIRED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|ACCEPTED->"ACCEPTED"|REJECTED->"REJECTED"|CANCELED->"CANCELED"|EXPIRED->"EXPIRED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"ACCEPTED"->ACCEPTED|"REJECTED"->REJECTED|"CANCELED"->CANCELED|"EXPIRED"->EXPIRED|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 InvitationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"InvitationStatus"j)letto_json=simple_to_jsonto_valueendmoduleParticipantIdentifier=structtypenonrect=stringletcontext_="ParticipantIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:100)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ParticipantIdentifier"jletto_json=simple_to_jsonto_valueendmoduleParticipantType=structtypenonrect=|SENDER|RECEIVER|Non_static_idofstringletmakei=iletto_string=function|SENDER->"SENDER"|RECEIVER->"RECEIVER"|Non_static_ids->sletof_string=function|"SENDER"->SENDER|"RECEIVER"->RECEIVER|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 ParticipantType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ParticipantType"j)letto_json=simple_to_jsonto_valueendmoduleDomainName=structtypenonrect=stringletcontext_="DomainName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:253)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DomainName"jletto_json=simple_to_jsonto_valueendmoduleConnectionTypeDetail=structtypenonrect={createdAt:DateTime.toption[@ocaml.doc"The timestamp when this connection type was created."];inviterEmail:Email.toption[@ocaml.doc"The email address of the person who initiated this connection type."];inviterName:SensitiveUnicodeString.toption[@ocaml.doc"The name of the person who initiated this connection type."];status:ConnectionTypeStatus.toption[@ocaml.doc"The current status of this connection type."];canceledAt:DateTime.toption[@ocaml.doc"The timestamp when this connection type was cancelled, if applicable."];canceledBy:AwsAccountId.toption[@ocaml.doc"The AWS account ID of the participant who cancelled this connection type."];otherParticipant:Participant.toption[@ocaml.doc"Information about the other participant in this connection type."]}letmake?createdAt=fun?inviterEmail->fun?inviterName->fun?status->fun?canceledAt->fun?canceledBy->fun?otherParticipant->fun()->{createdAt;inviterEmail;inviterName;status;canceledAt;canceledBy;otherParticipant}letto_valuex=structure_to_value[("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("InviterEmail",(Option.mapx.inviterEmail~f:Email.to_value));("InviterName",(Option.mapx.inviterName~f:SensitiveUnicodeString.to_value));("Status",(Option.mapx.status~f:ConnectionTypeStatus.to_value));("CanceledAt",(Option.mapx.canceledAt~f:DateTime.to_value));("CanceledBy",(Option.mapx.canceledBy~f:AwsAccountId.to_value));("OtherParticipant",(Option.mapx.otherParticipant~f:Participant.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letotherParticipant=(Option.map~f:Participant.of_xml)(Xml.childxml_arg0"OtherParticipant")inletcanceledBy=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"CanceledBy")inletcanceledAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CanceledAt")inletstatus=(Option.map~f:ConnectionTypeStatus.of_xml)(Xml.childxml_arg0"Status")inletinviterName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"InviterName")inletinviterEmail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"InviterEmail")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inmake?otherParticipant?canceledBy?canceledAt?status?inviterName?inviterEmail?createdAt()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letotherParticipant=field_mapjson__"OtherParticipant"Participant.of_jsoninletcanceledBy=field_mapjson__"CanceledBy"AwsAccountId.of_jsoninletcanceledAt=field_mapjson__"CanceledAt"DateTime.of_jsoninletstatus=field_mapjson__"Status"ConnectionTypeStatus.of_jsoninletinviterName=field_mapjson__"InviterName"SensitiveUnicodeString.of_jsoninletinviterEmail=field_mapjson__"InviterEmail"Email.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninmake?otherParticipant?canceledBy?canceledAt?status?inviterName?inviterEmail?createdAt()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about a specific connection type within a connection."]moduleAccessDeniedExceptionReason=structtypenonrect=|ACCESS_DENIED|INCOMPATIBLE_BENEFIT_AWS_PARTNER_STATE|Non_static_idofstringletmakei=iletto_string=function|ACCESS_DENIED->"ACCESS_DENIED"|INCOMPATIBLE_BENEFIT_AWS_PARTNER_STATE->"INCOMPATIBLE_BENEFIT_AWS_PARTNER_STATE"|Non_static_ids->sletof_string=function|"ACCESS_DENIED"->ACCESS_DENIED|"INCOMPATIBLE_BENEFIT_AWS_PARTNER_STATE"->INCOMPATIBLE_BENEFIT_AWS_PARTNER_STATE|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 AccessDeniedExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AccessDeniedExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleConflictExceptionReason=structtypenonrect=|CONFLICT_CLIENT_TOKEN|DUPLICATE_PARTNER|INCOMPATIBLE_PROFILE_STATE|INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE|DUPLICATE_CONNECTION_INVITATION|INCOMPATIBLE_CONNECTION_INVITATION_STATE|INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER|DUPLICATE_CONNECTION|INCOMPATIBLE_CONNECTION_STATE|INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION|ACCOUNT_ALREADY_VERIFIED|VERIFICATION_ALREADY_IN_PROGRESS|Non_static_idofstringletmakei=iletto_string=function|CONFLICT_CLIENT_TOKEN->"CONFLICT_CLIENT_TOKEN"|DUPLICATE_PARTNER->"DUPLICATE_PARTNER"|INCOMPATIBLE_PROFILE_STATE->"INCOMPATIBLE_PROFILE_STATE"|INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE->"INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE"|DUPLICATE_CONNECTION_INVITATION->"DUPLICATE_CONNECTION_INVITATION"|INCOMPATIBLE_CONNECTION_INVITATION_STATE->"INCOMPATIBLE_CONNECTION_INVITATION_STATE"|INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER->"INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER"|DUPLICATE_CONNECTION->"DUPLICATE_CONNECTION"|INCOMPATIBLE_CONNECTION_STATE->"INCOMPATIBLE_CONNECTION_STATE"|INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION->"INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION"|ACCOUNT_ALREADY_VERIFIED->"ACCOUNT_ALREADY_VERIFIED"|VERIFICATION_ALREADY_IN_PROGRESS->"VERIFICATION_ALREADY_IN_PROGRESS"|Non_static_ids->sletof_string=function|"CONFLICT_CLIENT_TOKEN"->CONFLICT_CLIENT_TOKEN|"DUPLICATE_PARTNER"->DUPLICATE_PARTNER|"INCOMPATIBLE_PROFILE_STATE"->INCOMPATIBLE_PROFILE_STATE|"INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE"->INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE|"DUPLICATE_CONNECTION_INVITATION"->DUPLICATE_CONNECTION_INVITATION|"INCOMPATIBLE_CONNECTION_INVITATION_STATE"->INCOMPATIBLE_CONNECTION_INVITATION_STATE|"INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER"->INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER|"DUPLICATE_CONNECTION"->DUPLICATE_CONNECTION|"INCOMPATIBLE_CONNECTION_STATE"->INCOMPATIBLE_CONNECTION_STATE|"INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION"->INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION|"ACCOUNT_ALREADY_VERIFIED"->ACCOUNT_ALREADY_VERIFIED|"VERIFICATION_ALREADY_IN_PROGRESS"->VERIFICATION_ALREADY_IN_PROGRESS|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 ConflictExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConflictExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleValidationErrorList=structtypenonrect=ValidationError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ValidationError.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:ValidationError.of_xml)letof_jsonj=list_of_json~kind:"ValidationErrorList"~of_json:ValidationError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleValidationExceptionReason=structtypenonrect=|REQUEST_VALIDATION_FAILED|BUSINESS_VALIDATION_FAILED|Non_static_idofstringletmakei=iletto_string=function|REQUEST_VALIDATION_FAILED->"REQUEST_VALIDATION_FAILED"|BUSINESS_VALIDATION_FAILED->"BUSINESS_VALIDATION_FAILED"|Non_static_ids->sletof_string=function|"REQUEST_VALIDATION_FAILED"->REQUEST_VALIDATION_FAILED|"BUSINESS_VALIDATION_FAILED"->BUSINESS_VALIDATION_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 ValidationExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ValidationExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleResourceNotFoundExceptionReason=structtypenonrect=|PARTNER_NOT_FOUND|PARTNER_PROFILE_NOT_FOUND|PARTNER_PROFILE_TASK_NOT_FOUND|PARTNER_DOMAIN_NOT_FOUND|SENDER_PROFILE_NOT_FOUND|RECEIVER_PROFILE_NOT_FOUND|CONNECTION_INVITATION_NOT_FOUND|CONNECTION_NOT_FOUND|VERIFICATION_NOT_FOUND|Non_static_idofstringletmakei=iletto_string=function|PARTNER_NOT_FOUND->"PARTNER_NOT_FOUND"|PARTNER_PROFILE_NOT_FOUND->"PARTNER_PROFILE_NOT_FOUND"|PARTNER_PROFILE_TASK_NOT_FOUND->"PARTNER_PROFILE_TASK_NOT_FOUND"|PARTNER_DOMAIN_NOT_FOUND->"PARTNER_DOMAIN_NOT_FOUND"|SENDER_PROFILE_NOT_FOUND->"SENDER_PROFILE_NOT_FOUND"|RECEIVER_PROFILE_NOT_FOUND->"RECEIVER_PROFILE_NOT_FOUND"|CONNECTION_INVITATION_NOT_FOUND->"CONNECTION_INVITATION_NOT_FOUND"|CONNECTION_NOT_FOUND->"CONNECTION_NOT_FOUND"|VERIFICATION_NOT_FOUND->"VERIFICATION_NOT_FOUND"|Non_static_ids->sletof_string=function|"PARTNER_NOT_FOUND"->PARTNER_NOT_FOUND|"PARTNER_PROFILE_NOT_FOUND"->PARTNER_PROFILE_NOT_FOUND|"PARTNER_PROFILE_TASK_NOT_FOUND"->PARTNER_PROFILE_TASK_NOT_FOUND|"PARTNER_DOMAIN_NOT_FOUND"->PARTNER_DOMAIN_NOT_FOUND|"SENDER_PROFILE_NOT_FOUND"->SENDER_PROFILE_NOT_FOUND|"RECEIVER_PROFILE_NOT_FOUND"->RECEIVER_PROFILE_NOT_FOUND|"CONNECTION_INVITATION_NOT_FOUND"->CONNECTION_INVITATION_NOT_FOUND|"CONNECTION_NOT_FOUND"->CONNECTION_NOT_FOUND|"VERIFICATION_NOT_FOUND"->VERIFICATION_NOT_FOUND|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 ResourceNotFoundExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceNotFoundExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The key name of the tag. Tag keys are case-sensitive."];value:TagValue.t[@ocaml.doc"The value associated with the tag key. Tag values are case-sensitive."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A key-value pair used to associate metadata with AWS Partner Central Account resources."]moduleServiceQuotaExceededExceptionReason=structtypenonrect=|LIMIT_EXCEEDED_NUMBER_OF_EMAIL|LIMIT_EXCEEDED_NUMBER_OF_DOMAIN|LIMIT_EXCEEDED_NUMBER_OF_CONNECTION_INVITATION_PER_DAY|LIMIT_EXCEEDED_NUMBER_OF_ACTIVE_CONNECTION|LIMIT_EXCEEDED_NUMBER_OF_OPEN_CONNECTION_INVITATION|LIMIT_EXCEEDED_NUMBER_OF_PROFILE_UPDATE_PER_DAY|LIMIT_EXCEEDED_NUMBER_OF_PROFILE_VISIBILITY_UPDATE_PER_DAY|Non_static_idofstringletmakei=iletto_string=function|LIMIT_EXCEEDED_NUMBER_OF_EMAIL->"LIMIT_EXCEEDED_NUMBER_OF_EMAIL"|LIMIT_EXCEEDED_NUMBER_OF_DOMAIN->"LIMIT_EXCEEDED_NUMBER_OF_DOMAIN"|LIMIT_EXCEEDED_NUMBER_OF_CONNECTION_INVITATION_PER_DAY->"LIMIT_EXCEEDED_NUMBER_OF_CONNECTION_INVITATION_PER_DAY"|LIMIT_EXCEEDED_NUMBER_OF_ACTIVE_CONNECTION->"LIMIT_EXCEEDED_NUMBER_OF_ACTIVE_CONNECTION"|LIMIT_EXCEEDED_NUMBER_OF_OPEN_CONNECTION_INVITATION->"LIMIT_EXCEEDED_NUMBER_OF_OPEN_CONNECTION_INVITATION"|LIMIT_EXCEEDED_NUMBER_OF_PROFILE_UPDATE_PER_DAY->"LIMIT_EXCEEDED_NUMBER_OF_PROFILE_UPDATE_PER_DAY"|LIMIT_EXCEEDED_NUMBER_OF_PROFILE_VISIBILITY_UPDATE_PER_DAY->"LIMIT_EXCEEDED_NUMBER_OF_PROFILE_VISIBILITY_UPDATE_PER_DAY"|Non_static_ids->sletof_string=function|"LIMIT_EXCEEDED_NUMBER_OF_EMAIL"->LIMIT_EXCEEDED_NUMBER_OF_EMAIL|"LIMIT_EXCEEDED_NUMBER_OF_DOMAIN"->LIMIT_EXCEEDED_NUMBER_OF_DOMAIN|"LIMIT_EXCEEDED_NUMBER_OF_CONNECTION_INVITATION_PER_DAY"->LIMIT_EXCEEDED_NUMBER_OF_CONNECTION_INVITATION_PER_DAY|"LIMIT_EXCEEDED_NUMBER_OF_ACTIVE_CONNECTION"->LIMIT_EXCEEDED_NUMBER_OF_ACTIVE_CONNECTION|"LIMIT_EXCEEDED_NUMBER_OF_OPEN_CONNECTION_INVITATION"->LIMIT_EXCEEDED_NUMBER_OF_OPEN_CONNECTION_INVITATION|"LIMIT_EXCEEDED_NUMBER_OF_PROFILE_UPDATE_PER_DAY"->LIMIT_EXCEEDED_NUMBER_OF_PROFILE_UPDATE_PER_DAY|"LIMIT_EXCEEDED_NUMBER_OF_PROFILE_VISIBILITY_UPDATE_PER_DAY"->LIMIT_EXCEEDED_NUMBER_OF_PROFILE_VISIBILITY_UPDATE_PER_DAY|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 ServiceQuotaExceededExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServiceQuotaExceededExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleBusinessVerificationResponse=structtypenonrect={businessVerificationDetails:BusinessVerificationDetails.toption[@ocaml.doc"The business verification details that were processed and verified, potentially including additional information discovered during the verification process."];completionUrl:CompletionUrl.toption[@ocaml.doc"A secure URL where the registrant can complete additional verification steps, such as document upload or identity confirmation through a third-party verification service."];completionUrlExpiresAt:DateTime.toption[@ocaml.doc"The timestamp when the completion URL expires and is no longer valid for accessing the verification workflow."]}letmake?businessVerificationDetails=fun?completionUrl->fun?completionUrlExpiresAt->fun()->{businessVerificationDetails;completionUrl;completionUrlExpiresAt}letto_valuex=structure_to_value[("BusinessVerificationDetails",(Option.mapx.businessVerificationDetails~f:BusinessVerificationDetails.to_value));("CompletionUrl",(Option.mapx.completionUrl~f:CompletionUrl.to_value));("CompletionUrlExpiresAt",(Option.mapx.completionUrlExpiresAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletionUrlExpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CompletionUrlExpiresAt")inletcompletionUrl=(Option.map~f:CompletionUrl.of_xml)(Xml.childxml_arg0"CompletionUrl")inletbusinessVerificationDetails=(Option.map~f:BusinessVerificationDetails.of_xml)(Xml.childxml_arg0"BusinessVerificationDetails")inmake?completionUrlExpiresAt?completionUrl?businessVerificationDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletionUrlExpiresAt=field_mapjson__"CompletionUrlExpiresAt"DateTime.of_jsoninletcompletionUrl=field_mapjson__"CompletionUrl"CompletionUrl.of_jsoninletbusinessVerificationDetails=field_mapjson__"BusinessVerificationDetails"BusinessVerificationDetails.of_jsoninmake?completionUrlExpiresAt?completionUrl?businessVerificationDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the response information and results from a business verification process, including any verification-specific data returned by the verification service."]moduleRegistrantVerificationResponse=structtypenonrect={completionUrl:CompletionUrl.toption[@ocaml.doc"A secure URL where the registrant can complete additional verification steps, such as document upload or identity confirmation through a third-party verification service."];completionUrlExpiresAt:DateTime.toption[@ocaml.doc"The timestamp when the completion URL expires and is no longer valid for accessing the verification workflow."]}letmake?completionUrl=fun?completionUrlExpiresAt->fun()->{completionUrl;completionUrlExpiresAt}letto_valuex=structure_to_value[("CompletionUrl",(Option.mapx.completionUrl~f:CompletionUrl.to_value));("CompletionUrlExpiresAt",(Option.mapx.completionUrlExpiresAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletionUrlExpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CompletionUrlExpiresAt")inletcompletionUrl=(Option.map~f:CompletionUrl.of_xml)(Xml.childxml_arg0"CompletionUrl")inmake?completionUrlExpiresAt?completionUrl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletionUrlExpiresAt=field_mapjson__"CompletionUrlExpiresAt"DateTime.of_jsoninletcompletionUrl=field_mapjson__"CompletionUrl"CompletionUrl.of_jsoninmake?completionUrlExpiresAt?completionUrl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the response information from a registrant verification process, including any verification-specific data and next steps for the individual verification workflow."]moduleRegistrantVerificationDetails=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the personal information required for verifying an individual's identity as part of the partner registration process in AWS Partner Central."]moduleErrorDetail=structtypenonrect={locale:String_.toption[@ocaml.doc"The locale or language code for the error message."];message:String_.toption[@ocaml.doc"A human-readable description of the error."];reason:ProfileValidationErrorReason.toption[@ocaml.doc"A machine-readable code or reason for the error."]}letmake?locale=fun?message->fun?reason->fun()->{locale;message;reason}letto_valuex=structure_to_value[("Locale",(Option.mapx.locale~f:String_.to_value));("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:ProfileValidationErrorReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:ProfileValidationErrorReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inletlocale=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Locale")inmake?reason?message?locale()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"ProfileValidationErrorReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninletlocale=field_mapjson__"Locale"String_.of_jsoninmake?reason?message?locale()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about an error that occurred during an operation."]moduleIndustrySegmentList=structtypenonrect=IndustrySegment.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:3)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IndustrySegment.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:IndustrySegment.of_xml)letof_jsonj=list_of_json~kind:"IndustrySegmentList"~of_json:IndustrySegment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLocalizedContentList=structtypenonrect=LocalizedContent.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LocalizedContent.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:LocalizedContent.of_xml)letof_jsonj=list_of_json~kind:"LocalizedContentList"~of_json:LocalizedContent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePrimarySolutionType=structtypenonrect=|SOFTWARE_PRODUCTS|CONSULTING_SERVICES|PROFESSIONAL_SERVICES|MANAGED_SERVICES|HARDWARE_PRODUCTS|COMMUNICATION_SERVICES|VALUE_ADDED_RESALE_AWS_SERVICES|TRAINING_SERVICES|Non_static_idofstringletmakei=iletto_string=function|SOFTWARE_PRODUCTS->"SOFTWARE_PRODUCTS"|CONSULTING_SERVICES->"CONSULTING_SERVICES"|PROFESSIONAL_SERVICES->"PROFESSIONAL_SERVICES"|MANAGED_SERVICES->"MANAGED_SERVICES"|HARDWARE_PRODUCTS->"HARDWARE_PRODUCTS"|COMMUNICATION_SERVICES->"COMMUNICATION_SERVICES"|VALUE_ADDED_RESALE_AWS_SERVICES->"VALUE_ADDED_RESALE_AWS_SERVICES"|TRAINING_SERVICES->"TRAINING_SERVICES"|Non_static_ids->sletof_string=function|"SOFTWARE_PRODUCTS"->SOFTWARE_PRODUCTS|"CONSULTING_SERVICES"->CONSULTING_SERVICES|"PROFESSIONAL_SERVICES"->PROFESSIONAL_SERVICES|"MANAGED_SERVICES"->MANAGED_SERVICES|"HARDWARE_PRODUCTS"->HARDWARE_PRODUCTS|"COMMUNICATION_SERVICES"->COMMUNICATION_SERVICES|"VALUE_ADDED_RESALE_AWS_SERVICES"->VALUE_ADDED_RESALE_AWS_SERVICES|"TRAINING_SERVICES"->TRAINING_SERVICES|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 PrimarySolutionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PrimarySolutionType"j)letto_json=simple_to_jsonto_valueendmoduleTaskDetailsDescriptionString=structtypenonrect=stringletcontext_="TaskDetailsDescriptionString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:600)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TaskDetailsDescriptionString"jletto_json=simple_to_jsonto_valueendmodulePartnerSummary=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];legalName:SensitiveUnicodeString.toption[@ocaml.doc"The legal name of the partner organization."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the partner account was created."]}letmake?catalog=fun?arn->fun?id->fun?legalName->fun?createdAt->fun()->{catalog;arn;id;legalName;createdAt}letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("LegalName",(Option.mapx.legalName~f:SensitiveUnicodeString.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletlegalName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"LegalName")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?createdAt?legalName?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletlegalName=field_mapjson__"LegalName"SensitiveUnicodeString.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?createdAt?legalName?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary view of a partner account containing basic information for listing purposes."]moduleConnectionSummary=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection exists."];id:ConnectionId.toption[@ocaml.doc"The unique identifier of the connection."];arn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection."];otherParticipantAccountId:AwsAccountId.toption[@ocaml.doc"The AWS account ID of the other participant in the connection."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection was last updated."];connectionTypes:ConnectionTypeSummaryMap.toption[@ocaml.doc"A map of connection types and their summary information for this connection."]}letmake?catalog=fun?id->fun?arn->fun?otherParticipantAccountId->fun?updatedAt->fun?connectionTypes->fun()->{catalog;id;arn;otherParticipantAccountId;updatedAt;connectionTypes}letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionId.to_value));("Arn",(Option.mapx.arn~f:ConnectionArn.to_value));("OtherParticipantAccountId",(Option.mapx.otherParticipantAccountId~f:AwsAccountId.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ConnectionTypes",(Option.mapx.connectionTypes~f:ConnectionTypeSummaryMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionTypes=(Option.map~f:ConnectionTypeSummaryMap.of_xml)(Xml.childxml_arg0"ConnectionTypes")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletotherParticipantAccountId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OtherParticipantAccountId")inletarn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionTypes=field_mapjson__"ConnectionTypes"ConnectionTypeSummaryMap.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletotherParticipantAccountId=field_mapjson__"OtherParticipantAccountId"AwsAccountId.of_jsoninletarn=field_mapjson__"Arn"ConnectionArn.of_jsoninletid=field_mapjson__"Id"ConnectionId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary view of an active connection between partners containing key information."]moduleConnectionInvitationSummary=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection invitation exists."];id:ConnectionInvitationId.toption[@ocaml.doc"The unique identifier of the connection invitation."];arn:ConnectionInvitationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection invitation."];connectionId:ConnectionId.toption[@ocaml.doc"The identifier of the connection associated with this invitation."];connectionType:ConnectionType.toption[@ocaml.doc"The type of connection being requested in the invitation."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was last updated."];expiresAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation will expire."];otherParticipantIdentifier:ParticipantIdentifier.toption[@ocaml.doc"The identifier of the other participant in the connection invitation."];participantType:ParticipantType.toption[@ocaml.doc"The type of participant (inviter or invitee) in the connection invitation."];status:InvitationStatus.toption[@ocaml.doc"The current status of the connection invitation."]}letmake?catalog=fun?id->fun?arn->fun?connectionId->fun?connectionType->fun?createdAt->fun?updatedAt->fun?expiresAt->fun?otherParticipantIdentifier->fun?participantType->fun?status->fun()->{catalog;id;arn;connectionId;connectionType;createdAt;updatedAt;expiresAt;otherParticipantIdentifier;participantType;status}letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionInvitationId.to_value));("Arn",(Option.mapx.arn~f:ConnectionInvitationArn.to_value));("ConnectionId",(Option.mapx.connectionId~f:ConnectionId.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ExpiresAt",(Option.mapx.expiresAt~f:DateTime.to_value));("OtherParticipantIdentifier",(Option.mapx.otherParticipantIdentifier~f:ParticipantIdentifier.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifier=(Option.map~f:ParticipantIdentifier.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifier")inletexpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ExpiresAt")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletconnectionId=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"ConnectionId")inletarn=(Option.map~f:ConnectionInvitationArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionInvitationId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifier=field_mapjson__"OtherParticipantIdentifier"ParticipantIdentifier.of_jsoninletexpiresAt=field_mapjson__"ExpiresAt"DateTime.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletconnectionId=field_mapjson__"ConnectionId"ConnectionId.of_jsoninletarn=field_mapjson__"Arn"ConnectionInvitationArn.of_jsoninletid=field_mapjson__"Id"ConnectionInvitationId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary view of a connection invitation containing key information without full details."]modulePartnerDomain=structtypenonrect={domainName:DomainName.toption[@ocaml.doc"The domain name that has been verified for the partner account."];registeredAt:DateTime.toption[@ocaml.doc"The timestamp when the domain was registered and verified for the partner account."]}letmake?domainName=fun?registeredAt->fun()->{domainName;registeredAt}letto_valuex=structure_to_value[("DomainName",(Option.mapx.domainName~f:DomainName.to_value));("RegisteredAt",(Option.mapx.registeredAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregisteredAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"RegisteredAt")inletdomainName=(Option.map~f:DomainName.of_xml)(Xml.childxml_arg0"DomainName")inmake?registeredAt?domainName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregisteredAt=field_mapjson__"RegisteredAt"DateTime.of_jsoninletdomainName=field_mapjson__"DomainName"DomainName.of_jsoninmake?registeredAt?domainName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a verified domain associated with a partner account."]modulePartnerProfileDescriptionString=structtypenonrect=stringletcontext_="PartnerProfileDescriptionString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:600)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PartnerProfileDescriptionString"jletto_json=simple_to_jsonto_valueendmoduleConnectionTypeDetailMap=structtypenonrect=(ConnectionType.t*ConnectionTypeDetail.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ConnectionType ConnectionTypeDetail"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ConnectionType.to_valuex)|>(funx->(ConnectionTypeDetail.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:ConnectionType.of_string~of_json:ConnectionTypeDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessDeniedException=structtypenonrect={message:String_.toption;reason:AccessDeniedExceptionReason.toption[@ocaml.doc"The specific reason for the access denial."]}letmake?message=fun?reason->fun()->{message;reason}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:AccessDeniedExceptionReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:AccessDeniedExceptionReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"AccessDeniedExceptionReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation."]moduleAccessType=structtypenonrect=|ALLOW_ALL|DENY_ALL|ALLOW_BY_DEFAULT_DENY_SOME|Non_static_idofstringletmakei=iletto_string=function|ALLOW_ALL->"ALLOW_ALL"|DENY_ALL->"DENY_ALL"|ALLOW_BY_DEFAULT_DENY_SOME->"ALLOW_BY_DEFAULT_DENY_SOME"|Non_static_ids->sletof_string=function|"ALLOW_ALL"->ALLOW_ALL|"DENY_ALL"->DENY_ALL|"ALLOW_BY_DEFAULT_DENY_SOME"->ALLOW_BY_DEFAULT_DENY_SOME|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 AccessType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AccessType"j)letto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect={message:String_.toption;reason:ConflictExceptionReason.toption[@ocaml.doc"The specific reason for the conflict."]}letmake?message=fun?reason->fun()->{message;reason}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:ConflictExceptionReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:ConflictExceptionReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"ConflictExceptionReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process."]moduleConnectionPreferencesArn=structtypenonrect=stringletcontext_="ConnectionPreferencesArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"arn:[a-zA-Z0-9-]+:partnercentral:[a-z0-9\\-]*:[0-9]{12}:catalog/[a-zA-Z]+/connection-preferences")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionPreferencesArn"jletto_json=simple_to_jsonto_valueendmoduleInternalServerException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried."]moduleParticipantIdentifierList=structtypenonrect=ParticipantIdentifier.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParticipantIdentifier.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:ParticipantIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ParticipantIdentifierList"~of_json:ParticipantIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRevision=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_valueendmoduleThrottlingException=structtypenonrect={message:String_.toption;serviceCode:String_.toption[@ocaml.doc"The service code associated with the throttling error."];quotaCode:String_.toption[@ocaml.doc"The quota code associated with the throttling error."]}letmake?message=fun?serviceCode->fun?quotaCode->fun()->{message;serviceCode;quotaCode}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ServiceCode",(Option.mapx.serviceCode~f:String_.to_value));("QuotaCode",(Option.mapx.quotaCode~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"QuotaCode")inletserviceCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ServiceCode")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?quotaCode?serviceCode?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaCode=field_mapjson__"QuotaCode"String_.of_jsoninletserviceCode=field_mapjson__"ServiceCode"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?quotaCode?serviceCode?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request."]moduleValidationException=structtypenonrect={message:String_.toption;reason:ValidationExceptionReason.toption[@ocaml.doc"The reason for the validation failure."];errorDetails:ValidationErrorList.toption[@ocaml.doc"A list of detailed validation errors that occurred during request processing."]}letmake?message=fun?reason->fun?errorDetails->fun()->{message;reason;errorDetails}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:ValidationExceptionReason.to_value));("ErrorDetails",(Option.mapx.errorDetails~f:ValidationErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorDetails=(Option.map~f:ValidationErrorList.of_xml)(Xml.childxml_arg0"ErrorDetails")inletreason=(Option.map~f:ValidationExceptionReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?errorDetails?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorDetails=field_mapjson__"ErrorDetails"ValidationErrorList.of_jsoninletreason=field_mapjson__"Reason"ValidationExceptionReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?errorDetails?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints."]moduleUpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList=structtypenonrect=ParticipantIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParticipantIdentifier.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:ParticipantIdentifier.of_xml)letof_jsonj=list_of_json~kind:"UpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList"~of_json:ParticipantIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceNotFoundException=structtypenonrect={message:String_.toption;reason:ResourceNotFoundExceptionReason.toption[@ocaml.doc"The specific reason why the resource was not found."]}letmake?message=fun?reason->fun()->{message;reason}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:ResourceNotFoundExceptionReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:ResourceNotFoundExceptionReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"ResourceNotFoundExceptionReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTaggableResourceArn=structtypenonrect=stringletcontext_="TaggableResourceArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:[A-Za-z0-9._:/-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TaggableResourceArn"jletto_json=simple_to_jsonto_valueendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServiceQuotaExceededException=structtypenonrect={message:String_.toption;reason:ServiceQuotaExceededExceptionReason.toption[@ocaml.doc"The specific reason for the service quota being exceeded."]}letmake?message=fun?reason->fun()->{message;reason}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("Reason",(Option.mapx.reason~f:ServiceQuotaExceededExceptionReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:ServiceQuotaExceededExceptionReason.of_xml)(Xml.childxml_arg0"Reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"ServiceQuotaExceededExceptionReason.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits."]moduleVerificationResponseDetails=structtypenonrect={businessVerificationResponse:BusinessVerificationResponse.toption[@ocaml.doc"The response details from a business verification process, including verification results and any additional business information discovered."];registrantVerificationResponse:RegistrantVerificationResponse.toption[@ocaml.doc"The response details from a registrant verification process, including verification results and any additional steps required for identity confirmation."]}letmake?businessVerificationResponse=fun?registrantVerificationResponse->fun()->{businessVerificationResponse;registrantVerificationResponse}letto_valuex=structure_to_value[("BusinessVerificationResponse",(Option.mapx.businessVerificationResponse~f:BusinessVerificationResponse.to_value));("RegistrantVerificationResponse",(Option.mapx.registrantVerificationResponse~f:RegistrantVerificationResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregistrantVerificationResponse=(Option.map~f:RegistrantVerificationResponse.of_xml)(Xml.childxml_arg0"RegistrantVerificationResponse")inletbusinessVerificationResponse=(Option.map~f:BusinessVerificationResponse.of_xml)(Xml.childxml_arg0"BusinessVerificationResponse")inmake?registrantVerificationResponse?businessVerificationResponse()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistrantVerificationResponse=field_mapjson__"RegistrantVerificationResponse"RegistrantVerificationResponse.of_jsoninletbusinessVerificationResponse=field_mapjson__"BusinessVerificationResponse"BusinessVerificationResponse.of_jsoninmake?registrantVerificationResponse?businessVerificationResponse()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A union structure containing the response details specific to different types of verification processes, providing type-specific information and results."]moduleVerificationStatus=structtypenonrect=|PENDING_CUSTOMER_ACTION|IN_PROGRESS|FAILED|SUCCEEDED|REJECTED|Non_static_idofstringletmakei=iletto_string=function|PENDING_CUSTOMER_ACTION->"PENDING_CUSTOMER_ACTION"|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|SUCCEEDED->"SUCCEEDED"|REJECTED->"REJECTED"|Non_static_ids->sletof_string=function|"PENDING_CUSTOMER_ACTION"->PENDING_CUSTOMER_ACTION|"IN_PROGRESS"->IN_PROGRESS|"FAILED"->FAILED|"SUCCEEDED"->SUCCEEDED|"REJECTED"->REJECTED|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 VerificationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VerificationStatus"j)letto_json=simple_to_jsonto_valueendmoduleVerificationStatusReason=structtypenonrect=stringletcontext_="VerificationStatusReason"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VerificationStatusReason"jletto_json=simple_to_jsonto_valueendmoduleVerificationType=structtypenonrect=|BUSINESS_VERIFICATION|REGISTRANT_VERIFICATION|Non_static_idofstringletmakei=iletto_string=function|BUSINESS_VERIFICATION->"BUSINESS_VERIFICATION"|REGISTRANT_VERIFICATION->"REGISTRANT_VERIFICATION"|Non_static_ids->sletof_string=function|"BUSINESS_VERIFICATION"->BUSINESS_VERIFICATION|"REGISTRANT_VERIFICATION"->REGISTRANT_VERIFICATION|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 VerificationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VerificationType"j)letto_json=simple_to_jsonto_valueendmoduleClientToken=structtypenonrect=stringletcontext_="ClientToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-_]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ClientToken"jletto_json=simple_to_jsonto_valueendmoduleVerificationDetails=structtypenonrect={businessVerificationDetails:BusinessVerificationDetails.toption[@ocaml.doc"The business verification details to be used when starting a business verification process."];registrantVerificationDetails:RegistrantVerificationDetails.toption[@ocaml.doc"The registrant verification details to be used when starting an individual identity verification process."]}letmake?businessVerificationDetails=fun?registrantVerificationDetails->fun()->{businessVerificationDetails;registrantVerificationDetails}letto_valuex=structure_to_value[("BusinessVerificationDetails",(Option.mapx.businessVerificationDetails~f:BusinessVerificationDetails.to_value));("RegistrantVerificationDetails",(Option.mapx.registrantVerificationDetails~f:RegistrantVerificationDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregistrantVerificationDetails=(Option.map~f:RegistrantVerificationDetails.of_xml)(Xml.childxml_arg0"RegistrantVerificationDetails")inletbusinessVerificationDetails=(Option.map~f:BusinessVerificationDetails.of_xml)(Xml.childxml_arg0"BusinessVerificationDetails")inmake?registrantVerificationDetails?businessVerificationDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregistrantVerificationDetails=field_mapjson__"RegistrantVerificationDetails"RegistrantVerificationDetails.of_jsoninletbusinessVerificationDetails=field_mapjson__"BusinessVerificationDetails"BusinessVerificationDetails.of_jsoninmake?registrantVerificationDetails?businessVerificationDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A union structure containing the specific details required for different types of verification processes supported by AWS Partner Central."]moduleErrorDetailList=structtypenonrect=ErrorDetail.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ErrorDetail.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:ErrorDetail.of_xml)letof_jsonj=list_of_json~kind:"ErrorDetailList"~of_json:ErrorDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProfileTaskId=structtypenonrect=stringletcontext_="ProfileTaskId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:80)>>=(fun()->check_patterni~pattern:"pprofiletask-[A-Za-z0-9]{13}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProfileTaskId"jletto_json=simple_to_jsonto_valueendmoduleProfileTaskStatus=structtypenonrect=|IN_PROGRESS|CANCELED|SUCCEEDED|FAILED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|CANCELED->"CANCELED"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"CANCELED"->CANCELED|"SUCCEEDED"->SUCCEEDED|"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 ProfileTaskStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProfileTaskStatus"j)letto_json=simple_to_jsonto_valueendmoduleTaskDetails=structtypenonrect={displayName:UnicodeString.t[@ocaml.doc"The updated display name for the partner profile."];description:TaskDetailsDescriptionString.t[@ocaml.doc"The updated description for the partner profile."];websiteUrl:Url.t[@ocaml.doc"The updated website URL for the partner profile."];logoUrl:Url.t[@ocaml.doc"The updated logo URL for the partner profile."];primarySolutionType:PrimarySolutionType.t[@ocaml.doc"The updated primary solution type for the partner profile."];industrySegments:IndustrySegmentList.t[@ocaml.doc"The updated industry segments for the partner profile."];translationSourceLocale:Locale.t[@ocaml.doc"The updated translation source locale for the partner profile."];localizedContents:LocalizedContentList.toption[@ocaml.doc"The updated localized content for the partner profile."]}letcontext_="TaskDetails"letmake?localizedContents=fun~displayName->fun~description->fun~websiteUrl->fun~logoUrl->fun~primarySolutionType->fun~industrySegments->fun~translationSourceLocale->fun()->{localizedContents;displayName;description;websiteUrl;logoUrl;primarySolutionType;industrySegments;translationSourceLocale}letto_valuex=structure_to_value[("DisplayName",(Some(UnicodeString.to_valuex.displayName)));("Description",(Some(TaskDetailsDescriptionString.to_valuex.description)));("WebsiteUrl",(Some(Url.to_valuex.websiteUrl)));("LogoUrl",(Some(Url.to_valuex.logoUrl)));("PrimarySolutionType",(Some(PrimarySolutionType.to_valuex.primarySolutionType)));("IndustrySegments",(Some(IndustrySegmentList.to_valuex.industrySegments)));("TranslationSourceLocale",(Some(Locale.to_valuex.translationSourceLocale)));("LocalizedContents",(Option.mapx.localizedContents~f:LocalizedContentList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlocalizedContents=(Option.map~f:LocalizedContentList.of_xml)(Xml.childxml_arg0"LocalizedContents")inlettranslationSourceLocale=Locale.of_xml(Xml.child_exn~context:context_xml_arg0"TranslationSourceLocale")inletindustrySegments=IndustrySegmentList.of_xml(Xml.child_exn~context:context_xml_arg0"IndustrySegments")inletprimarySolutionType=PrimarySolutionType.of_xml(Xml.child_exn~context:context_xml_arg0"PrimarySolutionType")inletlogoUrl=Url.of_xml(Xml.child_exn~context:context_xml_arg0"LogoUrl")inletwebsiteUrl=Url.of_xml(Xml.child_exn~context:context_xml_arg0"WebsiteUrl")inletdescription=TaskDetailsDescriptionString.of_xml(Xml.child_exn~context:context_xml_arg0"Description")inletdisplayName=UnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"DisplayName")inmake?localizedContents~translationSourceLocale~industrySegments~primarySolutionType~logoUrl~websiteUrl~description~displayName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlocalizedContents=field_mapjson__"LocalizedContents"LocalizedContentList.of_jsoninlettranslationSourceLocale=field_map_exnjson__"TranslationSourceLocale"Locale.of_jsoninletindustrySegments=field_map_exnjson__"IndustrySegments"IndustrySegmentList.of_jsoninletprimarySolutionType=field_map_exnjson__"PrimarySolutionType"PrimarySolutionType.of_jsoninletlogoUrl=field_map_exnjson__"LogoUrl"Url.of_jsoninletwebsiteUrl=field_map_exnjson__"WebsiteUrl"Url.of_jsoninletdescription=field_map_exnjson__"Description"TaskDetailsDescriptionString.of_jsoninletdisplayName=field_map_exnjson__"DisplayName"UnicodeString.of_jsoninmake?localizedContents~translationSourceLocale~industrySegments~primarySolutionType~logoUrl~websiteUrl~description~displayName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about a profile update task including the changes to be made."]modulePartnerIdentifier=structtypenonrect=stringletcontext_="PartnerIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"(partner-[A-Za-z0-9]{13}|arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13})")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PartnerIdentifier"jletto_json=simple_to_jsonto_valueendmoduleRejectConnectionInvitationResponseInvitationMessageString=structtypenonrect=stringletcontext_="RejectConnectionInvitationResponseInvitationMessageString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD\\n]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RejectConnectionInvitationResponseInvitationMessageString"jletto_json=simple_to_jsonto_valueendmoduleRejectConnectionInvitationRequestReasonString=structtypenonrect=stringletcontext_="RejectConnectionInvitationRequestReasonString"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RejectConnectionInvitationRequestReasonString"jletto_json=simple_to_jsonto_valueendmoduleProfileVisibility=structtypenonrect=|PRIVATE|PUBLIC|Non_static_idofstringletmakei=iletto_string=function|PRIVATE->"PRIVATE"|PUBLIC->"PUBLIC"|Non_static_ids->sletof_string=function|"PRIVATE"->PRIVATE|"PUBLIC"->PUBLIC|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 ProfileVisibility"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProfileVisibility"j)letto_json=simple_to_jsonto_valueendmoduleAllianceLeadContact=structtypenonrect={firstName:SensitiveUnicodeString.t[@ocaml.doc"The first name of the alliance lead contact person."];lastName:SensitiveUnicodeString.t[@ocaml.doc"The last name of the alliance lead contact person."];email:Email.t[@ocaml.doc"The email address of the alliance lead contact person."];businessTitle:SensitiveUnicodeString.t[@ocaml.doc"The business title or role of the alliance lead contact person."]}letcontext_="AllianceLeadContact"letmake~firstName=fun~lastName->fun~email->fun~businessTitle->fun()->{firstName;lastName;email;businessTitle}letto_valuex=structure_to_value[("FirstName",(Some(SensitiveUnicodeString.to_valuex.firstName)));("LastName",(Some(SensitiveUnicodeString.to_valuex.lastName)));("Email",(Some(Email.to_valuex.email)));("BusinessTitle",(Some(SensitiveUnicodeString.to_valuex.businessTitle)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbusinessTitle=SensitiveUnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"BusinessTitle")inletemail=Email.of_xml(Xml.child_exn~context:context_xml_arg0"Email")inletlastName=SensitiveUnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"LastName")inletfirstName=SensitiveUnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"FirstName")inmake~businessTitle~email~lastName~firstName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbusinessTitle=field_map_exnjson__"BusinessTitle"SensitiveUnicodeString.of_jsoninletemail=field_map_exnjson__"Email"Email.of_jsoninletlastName=field_map_exnjson__"LastName"SensitiveUnicodeString.of_jsoninletfirstName=field_map_exnjson__"FirstName"SensitiveUnicodeString.of_jsoninmake~businessTitle~email~lastName~firstName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains contact information for the primary alliance lead responsible for partnership activities."]moduleEmailVerificationCode=structtypenonrect=stringletcontext_="EmailVerificationCode"letmakei=letopenResultinok_or_failwith((check_string_mini~min:6)>>=(fun()->(check_string_maxi~max:6)>>=(fun()->check_patterni~pattern:"[0-9]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EmailVerificationCode"jletto_json=simple_to_jsonto_valueendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"[\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmodulePartnerSummaryList=structtypenonrect=PartnerSummary.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PartnerSummary.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:PartnerSummary.of_xml)letof_jsonj=list_of_json~kind:"PartnerSummaryList"~of_json:PartnerSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConnectionSummaryList=structtypenonrect=ConnectionSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConnectionSummary.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:ConnectionSummary.of_xml)letof_jsonj=list_of_json~kind:"ConnectionSummaryList"~of_json:ConnectionSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConnectionTypeFilter=structtypenonrect=stringletcontext_="ConnectionTypeFilter"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:200)>>=(fun()->check_patterni~pattern:"[a-zA-Z_-]+(:[a-zA-Z]+)?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConnectionTypeFilter"jletto_json=simple_to_jsonto_valueendmoduleListConnectionsRequestOtherParticipantIdentifiersList=structtypenonrect=ParticipantIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParticipantIdentifier.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:ParticipantIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ListConnectionsRequestOtherParticipantIdentifiersList"~of_json:ParticipantIdentifier.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_valueendmoduleConnectionInvitationSummaryList=structtypenonrect=ConnectionInvitationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConnectionInvitationSummary.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:ConnectionInvitationSummary.of_xml)letof_jsonj=list_of_json~kind:"ConnectionInvitationSummaryList"~of_json:ConnectionInvitationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListConnectionInvitationsRequestOtherParticipantIdentifiersList=structtypenonrect=ParticipantIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParticipantIdentifier.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:ParticipantIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ListConnectionInvitationsRequestOtherParticipantIdentifiersList"~of_json:ParticipantIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePartnerDomainList=structtypenonrect=PartnerDomain.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PartnerDomain.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:PartnerDomain.of_xml)letof_jsonj=list_of_json~kind:"PartnerDomainList"~of_json:PartnerDomain.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePartnerProfile=structtypenonrect={displayName:UnicodeString.toption[@ocaml.doc"The public display name for the partner organization."];description:PartnerProfileDescriptionString.toption[@ocaml.doc"A description of the partner's business, services, and capabilities."];websiteUrl:Url.toption[@ocaml.doc"The partner's primary website URL."];logoUrl:Url.toption[@ocaml.doc"The URL to the partner's logo image."];primarySolutionType:PrimarySolutionType.toption[@ocaml.doc"The primary type of solution or service the partner provides."];industrySegments:IndustrySegmentList.toption[@ocaml.doc"The industry segments or verticals that the partner serves."];translationSourceLocale:Locale.toption[@ocaml.doc"The source locale used for automatic translation of profile content."];localizedContents:LocalizedContentList.toption[@ocaml.doc"A list of localized content versions for different languages and regions."];profileId:PartnerProfileId.toption[@ocaml.doc"The unique identifier of the partner profile."]}letmake?displayName=fun?description->fun?websiteUrl->fun?logoUrl->fun?primarySolutionType->fun?industrySegments->fun?translationSourceLocale->fun?localizedContents->fun?profileId->fun()->{displayName;description;websiteUrl;logoUrl;primarySolutionType;industrySegments;translationSourceLocale;localizedContents;profileId}letto_valuex=structure_to_value[("DisplayName",(Option.mapx.displayName~f:UnicodeString.to_value));("Description",(Option.mapx.description~f:PartnerProfileDescriptionString.to_value));("WebsiteUrl",(Option.mapx.websiteUrl~f:Url.to_value));("LogoUrl",(Option.mapx.logoUrl~f:Url.to_value));("PrimarySolutionType",(Option.mapx.primarySolutionType~f:PrimarySolutionType.to_value));("IndustrySegments",(Option.mapx.industrySegments~f:IndustrySegmentList.to_value));("TranslationSourceLocale",(Option.mapx.translationSourceLocale~f:Locale.to_value));("LocalizedContents",(Option.mapx.localizedContents~f:LocalizedContentList.to_value));("ProfileId",(Option.mapx.profileId~f:PartnerProfileId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileId=(Option.map~f:PartnerProfileId.of_xml)(Xml.childxml_arg0"ProfileId")inletlocalizedContents=(Option.map~f:LocalizedContentList.of_xml)(Xml.childxml_arg0"LocalizedContents")inlettranslationSourceLocale=(Option.map~f:Locale.of_xml)(Xml.childxml_arg0"TranslationSourceLocale")inletindustrySegments=(Option.map~f:IndustrySegmentList.of_xml)(Xml.childxml_arg0"IndustrySegments")inletprimarySolutionType=(Option.map~f:PrimarySolutionType.of_xml)(Xml.childxml_arg0"PrimarySolutionType")inletlogoUrl=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"LogoUrl")inletwebsiteUrl=(Option.map~f:Url.of_xml)(Xml.childxml_arg0"WebsiteUrl")inletdescription=(Option.map~f:PartnerProfileDescriptionString.of_xml)(Xml.childxml_arg0"Description")inletdisplayName=(Option.map~f:UnicodeString.of_xml)(Xml.childxml_arg0"DisplayName")inmake?profileId?localizedContents?translationSourceLocale?industrySegments?primarySolutionType?logoUrl?websiteUrl?description?displayName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileId=field_mapjson__"ProfileId"PartnerProfileId.of_jsoninletlocalizedContents=field_mapjson__"LocalizedContents"LocalizedContentList.of_jsoninlettranslationSourceLocale=field_mapjson__"TranslationSourceLocale"Locale.of_jsoninletindustrySegments=field_mapjson__"IndustrySegments"IndustrySegmentList.of_jsoninletprimarySolutionType=field_mapjson__"PrimarySolutionType"PrimarySolutionType.of_jsoninletlogoUrl=field_mapjson__"LogoUrl"Url.of_jsoninletwebsiteUrl=field_mapjson__"WebsiteUrl"Url.of_jsoninletdescription=field_mapjson__"Description"PartnerProfileDescriptionString.of_jsoninletdisplayName=field_mapjson__"DisplayName"UnicodeString.of_jsoninmake?profileId?localizedContents?translationSourceLocale?industrySegments?primarySolutionType?logoUrl?websiteUrl?description?displayName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains comprehensive profile information for a partner including public-facing details."]moduleGetConnectionInvitationResponseInvitationMessageString=structtypenonrect=stringletcontext_="GetConnectionInvitationResponseInvitationMessageString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD\\n]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"GetConnectionInvitationResponseInvitationMessageString"jletto_json=simple_to_jsonto_valueendmoduleCreateConnectionInvitationResponseInvitationMessageString=structtypenonrect=stringletcontext_="CreateConnectionInvitationResponseInvitationMessageString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD\\n]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CreateConnectionInvitationResponseInvitationMessageString"jletto_json=simple_to_jsonto_valueendmoduleCreateConnectionInvitationRequestMessageString=structtypenonrect=stringletcontext_="CreateConnectionInvitationRequestMessageString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD\\n]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CreateConnectionInvitationRequestMessageString"jletto_json=simple_to_jsonto_valueendmoduleCancelConnectionRequestReasonString=structtypenonrect=stringletcontext_="CancelConnectionRequestReasonString"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CancelConnectionRequestReasonString"jletto_json=simple_to_jsonto_valueendmoduleCancelConnectionInvitationResponseInvitationMessageString=structtypenonrect=stringletcontext_="CancelConnectionInvitationResponseInvitationMessageString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD\\n]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CancelConnectionInvitationResponseInvitationMessageString"jletto_json=simple_to_jsonto_valueendmoduleConnection=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier that the connection belongs to."];id:ConnectionId.toption[@ocaml.doc"The unique identifier of the connection."];arn:ConnectionArn.toption[@ocaml.doc"The AWS Resource Name (ARN) of the connection."];otherParticipantAccountId:AwsAccountId.toption[@ocaml.doc"The AWS account ID of the other participant in the connection."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection was last updated."];connectionTypes:ConnectionTypeDetailMap.toption[@ocaml.doc"The type of connection."]}letmake?catalog=fun?id->fun?arn->fun?otherParticipantAccountId->fun?updatedAt->fun?connectionTypes->fun()->{catalog;id;arn;otherParticipantAccountId;updatedAt;connectionTypes}letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionId.to_value));("Arn",(Option.mapx.arn~f:ConnectionArn.to_value));("OtherParticipantAccountId",(Option.mapx.otherParticipantAccountId~f:AwsAccountId.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ConnectionTypes",(Option.mapx.connectionTypes~f:ConnectionTypeDetailMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionTypes=(Option.map~f:ConnectionTypeDetailMap.of_xml)(Xml.childxml_arg0"ConnectionTypes")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletotherParticipantAccountId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OtherParticipantAccountId")inletarn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionTypes=field_mapjson__"ConnectionTypes"ConnectionTypeDetailMap.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletotherParticipantAccountId=field_mapjson__"OtherParticipantAccountId"AwsAccountId.of_jsoninletarn=field_mapjson__"Arn"ConnectionArn.of_jsoninletid=field_mapjson__"Id"ConnectionId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Base structure containing common connection properties."]moduleUpdateConnectionPreferencesResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:ConnectionPreferencesArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the updated connection preferences."];accessType:AccessType.toption[@ocaml.doc"The updated access type setting for connections."];excludedParticipantIds:ParticipantIdentifierList.toption[@ocaml.doc"A list of participant IDs that are excluded from connection requests or interactions."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection preferences were last updated."];revision:Revision.toption[@ocaml.doc"The updated revision number of the connection preferences."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?accessType->fun?excludedParticipantIds->fun?updatedAt->fun?revision->fun()->{catalog;arn;accessType;excludedParticipantIds;updatedAt;revision}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:ConnectionPreferencesArn.to_value));("AccessType",(Option.mapx.accessType~f:AccessType.to_value));("ExcludedParticipantIds",(Option.mapx.excludedParticipantIds~f:ParticipantIdentifierList.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("Revision",(Option.mapx.revision~f:Revision.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevision=(Option.map~f:Revision.of_xml)(Xml.childxml_arg0"Revision")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletexcludedParticipantIds=(Option.map~f:ParticipantIdentifierList.of_xml)(Xml.childxml_arg0"ExcludedParticipantIds")inletaccessType=(Option.map~f:AccessType.of_xml)(Xml.childxml_arg0"AccessType")inletarn=(Option.map~f:ConnectionPreferencesArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?revision?updatedAt?excludedParticipantIds?accessType?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevision=field_mapjson__"Revision"Revision.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletexcludedParticipantIds=field_mapjson__"ExcludedParticipantIds"ParticipantIdentifierList.of_jsoninletaccessType=field_mapjson__"AccessType"AccessType.of_jsoninletarn=field_mapjson__"Arn"ConnectionPreferencesArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?revision?updatedAt?excludedParticipantIds?accessType?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the connection preferences for a partner account, modifying access settings and exclusions."]moduleUpdateConnectionPreferencesRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];revision:Revision.t[@ocaml.doc"The revision number of the connection preferences for optimistic locking."];accessType:AccessType.t[@ocaml.doc"The access type setting for connections (e.g., open, restricted, invitation-only)."];excludedParticipantIdentifiers:UpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList.toption[@ocaml.doc"The updated list of participant identifiers to exclude from connections."]}letcontext_="UpdateConnectionPreferencesRequest"letmake?excludedParticipantIdentifiers=fun~catalog->fun~revision->fun~accessType->fun()->{excludedParticipantIdentifiers;catalog;revision;accessType}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Revision",(Some(Revision.to_valuex.revision)));("AccessType",(Some(AccessType.to_valuex.accessType)));("ExcludedParticipantIdentifiers",(Option.mapx.excludedParticipantIdentifiers~f:UpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexcludedParticipantIdentifiers=(Option.map~f:UpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList.of_xml)(Xml.childxml_arg0"ExcludedParticipantIdentifiers")inletaccessType=AccessType.of_xml(Xml.child_exn~context:context_xml_arg0"AccessType")inletrevision=Revision.of_xml(Xml.child_exn~context:context_xml_arg0"Revision")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?excludedParticipantIdentifiers~accessType~revision~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexcludedParticipantIdentifiers=field_mapjson__"ExcludedParticipantIdentifiers"UpdateConnectionPreferencesRequestExcludedParticipantIdentifiersList.of_jsoninletaccessType=field_map_exnjson__"AccessType"AccessType.of_jsoninletrevision=field_map_exnjson__"Revision"Revision.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?excludedParticipantIdentifiers~accessType~revision~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the connection preferences for a partner account, modifying access settings and exclusions."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes specified tags from an AWS Partner Central Account resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:TaggableResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to remove tags from."];tagKeys:TagKeyList.t[@ocaml.doc"A list of tag keys to remove from the specified resource."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(TaggableResourceArn.to_valuex.resourceArn)));("TagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceArn=TaggableResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"TaggableResourceArn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes specified tags from an AWS Partner Central Account resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates tags for a specified AWS Partner Central Account resource."]moduleTagResourceRequest=structtypenonrect={resourceArn:TaggableResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to tag."];tags:TagList.t[@ocaml.doc"A list of tags to add or update for the specified resource."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(TaggableResourceArn.to_valuex.resourceArn)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceArn=TaggableResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"TaggableResourceArn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds or updates tags for a specified AWS Partner Central Account resource."]moduleStartVerificationResponse=structtypenonrect={verificationType:VerificationType.toption[@ocaml.doc"The type of verification that was started based on the provided verification details."];verificationStatus:VerificationStatus.toption[@ocaml.doc"The initial status of the verification process after it has been started. Typically this will be pending or in-progress."];verificationStatusReason:VerificationStatusReason.toption[@ocaml.doc"Additional information about the initial verification status, including any immediate feedback about the submitted verification details."];verificationResponseDetails:VerificationResponseDetails.toption[@ocaml.doc"Initial response details specific to the type of verification started, which may include next steps or additional requirements."];startedAt:DateTime.toption[@ocaml.doc"The timestamp when the verification process was successfully initiated."];completedAt:DateTime.toption[@ocaml.doc"The timestamp when the verification process was completed. This field is typically null for newly started verifications unless they complete immediately."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?verificationType=fun?verificationStatus->fun?verificationStatusReason->fun?verificationResponseDetails->fun?startedAt->fun?completedAt->fun()->{verificationType;verificationStatus;verificationStatusReason;verificationResponseDetails;startedAt;completedAt}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VerificationType",(Option.mapx.verificationType~f:VerificationType.to_value));("VerificationStatus",(Option.mapx.verificationStatus~f:VerificationStatus.to_value));("VerificationStatusReason",(Option.mapx.verificationStatusReason~f:VerificationStatusReason.to_value));("VerificationResponseDetails",(Option.mapx.verificationResponseDetails~f:VerificationResponseDetails.to_value));("StartedAt",(Option.mapx.startedAt~f:DateTime.to_value));("CompletedAt",(Option.mapx.completedAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CompletedAt")inletstartedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"StartedAt")inletverificationResponseDetails=(Option.map~f:VerificationResponseDetails.of_xml)(Xml.childxml_arg0"VerificationResponseDetails")inletverificationStatusReason=(Option.map~f:VerificationStatusReason.of_xml)(Xml.childxml_arg0"VerificationStatusReason")inletverificationStatus=(Option.map~f:VerificationStatus.of_xml)(Xml.childxml_arg0"VerificationStatus")inletverificationType=(Option.map~f:VerificationType.of_xml)(Xml.childxml_arg0"VerificationType")inmake?completedAt?startedAt?verificationResponseDetails?verificationStatusReason?verificationStatus?verificationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletedAt=field_mapjson__"CompletedAt"DateTime.of_jsoninletstartedAt=field_mapjson__"StartedAt"DateTime.of_jsoninletverificationResponseDetails=field_mapjson__"VerificationResponseDetails"VerificationResponseDetails.of_jsoninletverificationStatusReason=field_mapjson__"VerificationStatusReason"VerificationStatusReason.of_jsoninletverificationStatus=field_mapjson__"VerificationStatus"VerificationStatus.of_jsoninletverificationType=field_mapjson__"VerificationType"VerificationType.of_jsoninmake?completedAt?startedAt?verificationResponseDetails?verificationStatusReason?verificationStatus?verificationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a new verification process for a partner account. This operation begins the verification workflow for either business registration or individual registrant identity verification as required by AWS Partner Central."]moduleStartVerificationRequest=structtypenonrect={clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This prevents duplicate verification processes from being started accidentally."];verificationDetails:VerificationDetails.toption[@ocaml.doc"The specific details required for the verification process, including business information for business verification or personal information for registrant verification."]}letmake?clientToken=fun?verificationDetails->fun()->{clientToken;verificationDetails}letto_valuex=structure_to_value[("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("VerificationDetails",(Option.mapx.verificationDetails~f:VerificationDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letverificationDetails=(Option.map~f:VerificationDetails.of_xml)(Xml.childxml_arg0"VerificationDetails")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inmake?verificationDetails?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letverificationDetails=field_mapjson__"VerificationDetails"VerificationDetails.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninmake?verificationDetails?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a new verification process for a partner account. This operation begins the verification workflow for either business registration or individual registrant identity verification as required by AWS Partner Central."]moduleStartProfileUpdateTaskResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the started profile update task."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];taskId:ProfileTaskId.toption[@ocaml.doc"The unique identifier of the started profile update task."];taskDetails:TaskDetails.toption[@ocaml.doc"The details of the profile update task that was started."];startedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task was started."];status:ProfileTaskStatus.toption[@ocaml.doc"The current status of the profile update task (in progress)."];endedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task ended (null for in-progress tasks)."];errorDetailList:ErrorDetailList.toption[@ocaml.doc"A list of error details if any errors occurred during the profile update task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?taskId->fun?taskDetails->fun?startedAt->fun?status->fun?endedAt->fun?errorDetailList->fun()->{catalog;arn;id;taskId;taskDetails;startedAt;status;endedAt;errorDetailList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("TaskId",(Option.mapx.taskId~f:ProfileTaskId.to_value));("TaskDetails",(Option.mapx.taskDetails~f:TaskDetails.to_value));("StartedAt",(Option.mapx.startedAt~f:DateTime.to_value));("Status",(Option.mapx.status~f:ProfileTaskStatus.to_value));("EndedAt",(Option.mapx.endedAt~f:DateTime.to_value));("ErrorDetailList",(Option.mapx.errorDetailList~f:ErrorDetailList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorDetailList=(Option.map~f:ErrorDetailList.of_xml)(Xml.childxml_arg0"ErrorDetailList")inletendedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"EndedAt")inletstatus=(Option.map~f:ProfileTaskStatus.of_xml)(Xml.childxml_arg0"Status")inletstartedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"StartedAt")inlettaskDetails=(Option.map~f:TaskDetails.of_xml)(Xml.childxml_arg0"TaskDetails")inlettaskId=(Option.map~f:ProfileTaskId.of_xml)(Xml.childxml_arg0"TaskId")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorDetailList=field_mapjson__"ErrorDetailList"ErrorDetailList.of_jsoninletendedAt=field_mapjson__"EndedAt"DateTime.of_jsoninletstatus=field_mapjson__"Status"ProfileTaskStatus.of_jsoninletstartedAt=field_mapjson__"StartedAt"DateTime.of_jsoninlettaskDetails=field_mapjson__"TaskDetails"TaskDetails.of_jsoninlettaskId=field_mapjson__"TaskId"ProfileTaskId.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a profile update task to modify partner profile information asynchronously."]moduleStartProfileUpdateTaskRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];taskDetails:TaskDetails.t[@ocaml.doc"The details of the profile updates to be performed."]}letcontext_="StartProfileUpdateTaskRequest"letmake?clientToken=fun~catalog->fun~identifier->fun~taskDetails->fun()->{clientToken;catalog;identifier;taskDetails}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("TaskDetails",(Some(TaskDetails.to_valuex.taskDetails)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettaskDetails=TaskDetails.of_xml(Xml.child_exn~context:context_xml_arg0"TaskDetails")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~taskDetails?clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettaskDetails=field_map_exnjson__"TaskDetails"TaskDetails.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~taskDetails?clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a profile update task to modify partner profile information asynchronously."]moduleSendEmailVerificationCodeResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sends an email verification code to the specified email address for account verification purposes."]moduleSendEmailVerificationCodeRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];email:Email.t[@ocaml.doc"The email address to send the verification code to."]}letcontext_="SendEmailVerificationCodeRequest"letmake~catalog=fun~email->fun()->{catalog;email}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Email",(Some(Email.to_valuex.email)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemail=Email.of_xml(Xml.child_exn~context:context_xml_arg0"Email")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~email~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemail=field_map_exnjson__"Email"Email.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~email~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sends an email verification code to the specified email address for account verification purposes."]moduleRejectConnectionInvitationResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection invitation was rejected."];id:ConnectionInvitationId.toption[@ocaml.doc"The unique identifier of the rejected connection invitation."];arn:ConnectionInvitationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rejected connection invitation."];connectionId:ConnectionId.toption[@ocaml.doc"The identifier of the connection associated with the rejected invitation."];connectionType:ConnectionType.toption[@ocaml.doc"The type of connection that was being invited for."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was originally created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was last updated (rejected)."];expiresAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation would have expired."];otherParticipantIdentifier:ParticipantIdentifier.toption[@ocaml.doc"The identifier of the other participant who sent the invitation."];participantType:ParticipantType.toption[@ocaml.doc"The type of participant (inviter or invitee) in the connection invitation."];status:InvitationStatus.toption[@ocaml.doc"The current status of the connection invitation (rejected)."];invitationMessage:RejectConnectionInvitationResponseInvitationMessageString.toption[@ocaml.doc"The message that was included with the original connection invitation."];inviterEmail:Email.toption[@ocaml.doc"The email address of the person who sent the connection invitation."];inviterName:SensitiveUnicodeString.toption[@ocaml.doc"The name of the person who sent the connection invitation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?connectionId->fun?connectionType->fun?createdAt->fun?updatedAt->fun?expiresAt->fun?otherParticipantIdentifier->fun?participantType->fun?status->fun?invitationMessage->fun?inviterEmail->fun?inviterName->fun()->{catalog;id;arn;connectionId;connectionType;createdAt;updatedAt;expiresAt;otherParticipantIdentifier;participantType;status;invitationMessage;inviterEmail;inviterName}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionInvitationId.to_value));("Arn",(Option.mapx.arn~f:ConnectionInvitationArn.to_value));("ConnectionId",(Option.mapx.connectionId~f:ConnectionId.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ExpiresAt",(Option.mapx.expiresAt~f:DateTime.to_value));("OtherParticipantIdentifier",(Option.mapx.otherParticipantIdentifier~f:ParticipantIdentifier.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value));("InvitationMessage",(Option.mapx.invitationMessage~f:RejectConnectionInvitationResponseInvitationMessageString.to_value));("InviterEmail",(Option.mapx.inviterEmail~f:Email.to_value));("InviterName",(Option.mapx.inviterName~f:SensitiveUnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinviterName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"InviterName")inletinviterEmail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"InviterEmail")inletinvitationMessage=(Option.map~f:RejectConnectionInvitationResponseInvitationMessageString.of_xml)(Xml.childxml_arg0"InvitationMessage")inletstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifier=(Option.map~f:ParticipantIdentifier.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifier")inletexpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ExpiresAt")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletconnectionId=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"ConnectionId")inletarn=(Option.map~f:ConnectionInvitationArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionInvitationId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinviterName=field_mapjson__"InviterName"SensitiveUnicodeString.of_jsoninletinviterEmail=field_mapjson__"InviterEmail"Email.of_jsoninletinvitationMessage=field_mapjson__"InvitationMessage"RejectConnectionInvitationResponseInvitationMessageString.of_jsoninletstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifier=field_mapjson__"OtherParticipantIdentifier"ParticipantIdentifier.of_jsoninletexpiresAt=field_mapjson__"ExpiresAt"DateTime.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletconnectionId=field_mapjson__"ConnectionId"ConnectionId.of_jsoninletarn=field_mapjson__"Arn"ConnectionInvitationArn.of_jsoninletid=field_mapjson__"Id"ConnectionInvitationId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Rejects a connection invitation from another partner, declining the partnership request."]moduleRejectConnectionInvitationRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection invitation exists."];identifier:ConnectionInvitationId.t[@ocaml.doc"The unique identifier of the connection invitation to reject."];clientToken:ClientToken.t[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];reason:RejectConnectionInvitationRequestReasonString.toption[@ocaml.doc"The reason for rejecting the connection invitation."]}letcontext_="RejectConnectionInvitationRequest"letmake?reason=fun~catalog->fun~identifier->fun~clientToken->fun()->{reason;catalog;identifier;clientToken}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionInvitationId.to_valuex.identifier)));("ClientToken",(Some(ClientToken.to_valuex.clientToken)));("Reason",(Option.mapx.reason~f:RejectConnectionInvitationRequestReasonString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=(Option.map~f:RejectConnectionInvitationRequestReasonString.of_xml)(Xml.childxml_arg0"Reason")inletclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inletidentifier=ConnectionInvitationId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?reason~clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_mapjson__"Reason"RejectConnectionInvitationRequestReasonString.of_jsoninletclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"ConnectionInvitationId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?reason~clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Rejects a connection invitation from another partner, declining the partnership request."]modulePutProfileVisibilityResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];visibility:ProfileVisibility.toption[@ocaml.doc"The updated visibility setting for the partner profile."];profileId:PartnerProfileId.toption[@ocaml.doc"The unique identifier of the partner profile."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?visibility->fun?profileId->fun()->{catalog;arn;id;visibility;profileId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("Visibility",(Option.mapx.visibility~f:ProfileVisibility.to_value));("ProfileId",(Option.mapx.profileId~f:PartnerProfileId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileId=(Option.map~f:PartnerProfileId.of_xml)(Xml.childxml_arg0"ProfileId")inletvisibility=(Option.map~f:ProfileVisibility.of_xml)(Xml.childxml_arg0"Visibility")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?profileId?visibility?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileId=field_mapjson__"ProfileId"PartnerProfileId.of_jsoninletvisibility=field_mapjson__"Visibility"ProfileVisibility.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?profileId?visibility?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sets the visibility level for a partner profile, controlling who can view the profile information."]modulePutProfileVisibilityRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];visibility:ProfileVisibility.t[@ocaml.doc"The visibility setting to apply to the partner profile."]}letcontext_="PutProfileVisibilityRequest"letmake~catalog=fun~identifier->fun~visibility->fun()->{catalog;identifier;visibility}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("Visibility",(Some(ProfileVisibility.to_valuex.visibility)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvisibility=ProfileVisibility.of_xml(Xml.child_exn~context:context_xml_arg0"Visibility")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~visibility~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvisibility=field_map_exnjson__"Visibility"ProfileVisibility.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~visibility~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sets the visibility level for a partner profile, controlling who can view the profile information."]modulePutAllianceLeadContactResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];allianceLeadContact:AllianceLeadContact.toption[@ocaml.doc"The updated alliance lead contact information."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?allianceLeadContact->fun()->{catalog;arn;id;allianceLeadContact}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("AllianceLeadContact",(Option.mapx.allianceLeadContact~f:AllianceLeadContact.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letallianceLeadContact=(Option.map~f:AllianceLeadContact.of_xml)(Xml.childxml_arg0"AllianceLeadContact")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?allianceLeadContact?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letallianceLeadContact=field_mapjson__"AllianceLeadContact"AllianceLeadContact.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?allianceLeadContact?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the alliance lead contact information for a partner account."]modulePutAllianceLeadContactRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];allianceLeadContact:AllianceLeadContact.t[@ocaml.doc"The alliance lead contact information to set for the partner account."];emailVerificationCode:EmailVerificationCode.toption[@ocaml.doc"The verification code sent to the alliance lead contact's email to confirm the update."]}letcontext_="PutAllianceLeadContactRequest"letmake?emailVerificationCode=fun~catalog->fun~identifier->fun~allianceLeadContact->fun()->{emailVerificationCode;catalog;identifier;allianceLeadContact}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("AllianceLeadContact",(Some(AllianceLeadContact.to_valuex.allianceLeadContact)));("EmailVerificationCode",(Option.mapx.emailVerificationCode~f:EmailVerificationCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailVerificationCode=(Option.map~f:EmailVerificationCode.of_xml)(Xml.childxml_arg0"EmailVerificationCode")inletallianceLeadContact=AllianceLeadContact.of_xml(Xml.child_exn~context:context_xml_arg0"AllianceLeadContact")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?emailVerificationCode~allianceLeadContact~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailVerificationCode=field_mapjson__"EmailVerificationCode"EmailVerificationCode.of_jsoninletallianceLeadContact=field_map_exnjson__"AllianceLeadContact"AllianceLeadContact.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?emailVerificationCode~allianceLeadContact~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates the alliance lead contact information for a partner account."]moduleListTagsForResourceResponse=structtypenonrect={resourceArn:TaggableResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that the tags are associated with."];tags:TagList.toption[@ocaml.doc"A list of tags associated with the specified resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceArn=fun?tags->fun()->{resourceArn;tags}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceArn",(Option.mapx.resourceArn~f:TaggableResourceArn.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletresourceArn=(Option.map~f:TaggableResourceArn.of_xml)(Xml.childxml_arg0"ResourceArn")inmake?tags?resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletresourceArn=field_mapjson__"ResourceArn"TaggableResourceArn.of_jsoninmake?tags?resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all tags associated with a specific AWS Partner Central Account resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:TaggableResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to list tags for."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(TaggableResourceArn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=TaggableResourceArn.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"TaggableResourceArn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all tags associated with a specific AWS Partner Central Account resource."]moduleListPartnersResponse=structtypenonrect={partnerSummaryList:PartnerSummaryList.toption[@ocaml.doc"A list of partner summaries including basic information about each partner account."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results if more results are available."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?partnerSummaryList=fun?nextToken->fun()->{partnerSummaryList;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PartnerSummaryList",(Option.mapx.partnerSummaryList~f:PartnerSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpartnerSummaryList=(Option.map~f:PartnerSummaryList.of_xml)(Xml.childxml_arg0"PartnerSummaryList")inmake?nextToken?partnerSummaryList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpartnerSummaryList=field_mapjson__"PartnerSummaryList"PartnerSummaryList.of_jsoninmake?nextToken?partnerSummaryList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists partner accounts in the catalog, providing a summary view of all partners."]moduleListPartnersRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier to list partners from."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results in paginated responses."]}letcontext_="ListPartnersRequest"letmake?nextToken=fun~catalog->fun()->{nextToken;catalog}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?nextToken~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?nextToken~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists partner accounts in the catalog, providing a summary view of all partners."]moduleListConnectionsResponse=structtypenonrect={connectionSummaries:ConnectionSummaryList.toption[@ocaml.doc"A list of connection summaries matching the specified criteria."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results if more results are available."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connectionSummaries=fun?nextToken->fun()->{connectionSummaries;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ConnectionSummaries",(Option.mapx.connectionSummaries~f:ConnectionSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletconnectionSummaries=(Option.map~f:ConnectionSummaryList.of_xml)(Xml.childxml_arg0"ConnectionSummaries")inmake?nextToken?connectionSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletconnectionSummaries=field_mapjson__"ConnectionSummaries"ConnectionSummaryList.of_jsoninmake?nextToken?connectionSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists active connections for the partner account, with optional filtering by connection type and participant."]moduleListConnectionsRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results in paginated responses."];connectionType:ConnectionTypeFilter.toption[@ocaml.doc"Filter results by connection type (e.g., reseller, distributor, technology partner)."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of connections to return in a single response."];otherParticipantIdentifiers:ListConnectionsRequestOtherParticipantIdentifiersList.toption[@ocaml.doc"Filter results by specific participant identifiers."]}letcontext_="ListConnectionsRequest"letmake?nextToken=fun?connectionType->fun?maxResults->fun?otherParticipantIdentifiers->fun~catalog->fun()->{nextToken;connectionType;maxResults;otherParticipantIdentifiers;catalog}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionTypeFilter.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("OtherParticipantIdentifiers",(Option.mapx.otherParticipantIdentifiers~f:ListConnectionsRequestOtherParticipantIdentifiersList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letotherParticipantIdentifiers=(Option.map~f:ListConnectionsRequestOtherParticipantIdentifiersList.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifiers")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletconnectionType=(Option.map~f:ConnectionTypeFilter.of_xml)(Xml.childxml_arg0"ConnectionType")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?otherParticipantIdentifiers?maxResults?connectionType?nextToken~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letotherParticipantIdentifiers=field_mapjson__"OtherParticipantIdentifiers"ListConnectionsRequestOtherParticipantIdentifiersList.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionTypeFilter.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?otherParticipantIdentifiers?maxResults?connectionType?nextToken~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists active connections for the partner account, with optional filtering by connection type and participant."]moduleListConnectionInvitationsResponse=structtypenonrect={connectionInvitationSummaries:ConnectionInvitationSummaryList.toption[@ocaml.doc"A list of connection invitation summaries matching the specified criteria."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results if more results are available."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connectionInvitationSummaries=fun?nextToken->fun()->{connectionInvitationSummaries;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ConnectionInvitationSummaries",(Option.mapx.connectionInvitationSummaries~f:ConnectionInvitationSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletconnectionInvitationSummaries=(Option.map~f:ConnectionInvitationSummaryList.of_xml)(Xml.childxml_arg0"ConnectionInvitationSummaries")inmake?nextToken?connectionInvitationSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletconnectionInvitationSummaries=field_mapjson__"ConnectionInvitationSummaries"ConnectionInvitationSummaryList.of_jsoninmake?nextToken?connectionInvitationSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria."]moduleListConnectionInvitationsRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];nextToken:NextToken.toption[@ocaml.doc"The token for retrieving the next page of results in paginated responses."];connectionType:ConnectionType.toption[@ocaml.doc"Filter results by connection type (e.g., reseller, distributor, technology partner)."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of connection invitations to return in a single response."];otherParticipantIdentifiers:ListConnectionInvitationsRequestOtherParticipantIdentifiersList.toption[@ocaml.doc"Filter results by specific participant identifiers."];participantType:ParticipantType.toption[@ocaml.doc"Filter results by participant type (inviter or invitee)."];status:InvitationStatus.toption[@ocaml.doc"Filter results by invitation status (pending, accepted, rejected, canceled, expired)."]}letcontext_="ListConnectionInvitationsRequest"letmake?nextToken=fun?connectionType->fun?maxResults->fun?otherParticipantIdentifiers->fun?participantType->fun?status->fun~catalog->fun()->{nextToken;connectionType;maxResults;otherParticipantIdentifiers;participantType;status;catalog}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("OtherParticipantIdentifiers",(Option.mapx.otherParticipantIdentifiers~f:ListConnectionInvitationsRequestOtherParticipantIdentifiersList.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifiers=(Option.map~f:ListConnectionInvitationsRequestOtherParticipantIdentifiersList.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifiers")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?status?participantType?otherParticipantIdentifiers?maxResults?connectionType?nextToken~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifiers=field_mapjson__"OtherParticipantIdentifiers"ListConnectionInvitationsRequestOtherParticipantIdentifiersList.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?status?participantType?otherParticipantIdentifiers?maxResults?connectionType?nextToken~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria."]moduleGetVerificationResponse=structtypenonrect={verificationType:VerificationType.toption[@ocaml.doc"The type of verification that was requested and processed."];verificationStatus:VerificationStatus.toption[@ocaml.doc"The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired."];verificationStatusReason:VerificationStatusReason.toption[@ocaml.doc"Additional information explaining the current verification status, particularly useful when the status indicates a failure or requires additional action."];verificationResponseDetails:VerificationResponseDetails.toption[@ocaml.doc"Detailed response information specific to the type of verification performed, including any verification-specific data or results."];startedAt:DateTime.toption[@ocaml.doc"The timestamp when the verification process was initiated."];completedAt:DateTime.toption[@ocaml.doc"The timestamp when the verification process was completed. This field is null if the verification is still in progress."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?verificationType=fun?verificationStatus->fun?verificationStatusReason->fun?verificationResponseDetails->fun?startedAt->fun?completedAt->fun()->{verificationType;verificationStatus;verificationStatusReason;verificationResponseDetails;startedAt;completedAt}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VerificationType",(Option.mapx.verificationType~f:VerificationType.to_value));("VerificationStatus",(Option.mapx.verificationStatus~f:VerificationStatus.to_value));("VerificationStatusReason",(Option.mapx.verificationStatusReason~f:VerificationStatusReason.to_value));("VerificationResponseDetails",(Option.mapx.verificationResponseDetails~f:VerificationResponseDetails.to_value));("StartedAt",(Option.mapx.startedAt~f:DateTime.to_value));("CompletedAt",(Option.mapx.completedAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CompletedAt")inletstartedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"StartedAt")inletverificationResponseDetails=(Option.map~f:VerificationResponseDetails.of_xml)(Xml.childxml_arg0"VerificationResponseDetails")inletverificationStatusReason=(Option.map~f:VerificationStatusReason.of_xml)(Xml.childxml_arg0"VerificationStatusReason")inletverificationStatus=(Option.map~f:VerificationStatus.of_xml)(Xml.childxml_arg0"VerificationStatus")inletverificationType=(Option.map~f:VerificationType.of_xml)(Xml.childxml_arg0"VerificationType")inmake?completedAt?startedAt?verificationResponseDetails?verificationStatusReason?verificationStatus?verificationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletedAt=field_mapjson__"CompletedAt"DateTime.of_jsoninletstartedAt=field_mapjson__"StartedAt"DateTime.of_jsoninletverificationResponseDetails=field_mapjson__"VerificationResponseDetails"VerificationResponseDetails.of_jsoninletverificationStatusReason=field_mapjson__"VerificationStatusReason"VerificationStatusReason.of_jsoninletverificationStatus=field_mapjson__"VerificationStatus"VerificationStatus.of_jsoninletverificationType=field_mapjson__"VerificationType"VerificationType.of_jsoninmake?completedAt?startedAt?verificationResponseDetails?verificationStatusReason?verificationStatus?verificationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the current status and details of a verification process for a partner account. This operation allows partners to check the progress and results of business or registrant verification processes."]moduleGetVerificationRequest=structtypenonrect={verificationType:VerificationType.t[@ocaml.doc"The type of verification to retrieve information for. Valid values include business verification for company registration details and registrant verification for individual identity confirmation."]}letcontext_="GetVerificationRequest"letmake~verificationType=fun()->{verificationType}letto_valuex=structure_to_value[("VerificationType",(Some(VerificationType.to_valuex.verificationType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letverificationType=VerificationType.of_xml(Xml.child_exn~context:context_xml_arg0"VerificationType")inmake~verificationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letverificationType=field_map_exnjson__"VerificationType"VerificationType.of_jsoninmake~verificationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the current status and details of a verification process for a partner account. This operation allows partners to check the progress and results of business or registrant verification processes."]moduleGetProfileVisibilityResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];visibility:ProfileVisibility.toption[@ocaml.doc"The visibility setting for the partner profile (public, private, restricted, etc.)."];profileId:PartnerProfileId.toption[@ocaml.doc"The unique identifier of the partner profile."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?visibility->fun?profileId->fun()->{catalog;arn;id;visibility;profileId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("Visibility",(Option.mapx.visibility~f:ProfileVisibility.to_value));("ProfileId",(Option.mapx.profileId~f:PartnerProfileId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileId=(Option.map~f:PartnerProfileId.of_xml)(Xml.childxml_arg0"ProfileId")inletvisibility=(Option.map~f:ProfileVisibility.of_xml)(Xml.childxml_arg0"Visibility")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?profileId?visibility?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileId=field_mapjson__"ProfileId"PartnerProfileId.of_jsoninletvisibility=field_mapjson__"Visibility"ProfileVisibility.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?profileId?visibility?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the visibility settings for a partner profile, determining who can see the profile information."]moduleGetProfileVisibilityRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."]}letcontext_="GetProfileVisibilityRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the visibility settings for a partner profile, determining who can see the profile information."]moduleGetProfileUpdateTaskResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the profile update task."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];taskId:ProfileTaskId.toption[@ocaml.doc"The unique identifier of the profile update task."];taskDetails:TaskDetails.toption[@ocaml.doc"The details of the profile update task including what changes are being made."];startedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task was started."];status:ProfileTaskStatus.toption[@ocaml.doc"The current status of the profile update task (in progress, completed, failed, etc.)."];endedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task was completed or failed."];errorDetailList:ErrorDetailList.toption[@ocaml.doc"A list of error details if any errors occurred during the profile update task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?taskId->fun?taskDetails->fun?startedAt->fun?status->fun?endedAt->fun?errorDetailList->fun()->{catalog;arn;id;taskId;taskDetails;startedAt;status;endedAt;errorDetailList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("TaskId",(Option.mapx.taskId~f:ProfileTaskId.to_value));("TaskDetails",(Option.mapx.taskDetails~f:TaskDetails.to_value));("StartedAt",(Option.mapx.startedAt~f:DateTime.to_value));("Status",(Option.mapx.status~f:ProfileTaskStatus.to_value));("EndedAt",(Option.mapx.endedAt~f:DateTime.to_value));("ErrorDetailList",(Option.mapx.errorDetailList~f:ErrorDetailList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorDetailList=(Option.map~f:ErrorDetailList.of_xml)(Xml.childxml_arg0"ErrorDetailList")inletendedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"EndedAt")inletstatus=(Option.map~f:ProfileTaskStatus.of_xml)(Xml.childxml_arg0"Status")inletstartedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"StartedAt")inlettaskDetails=(Option.map~f:TaskDetails.of_xml)(Xml.childxml_arg0"TaskDetails")inlettaskId=(Option.map~f:ProfileTaskId.of_xml)(Xml.childxml_arg0"TaskId")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorDetailList=field_mapjson__"ErrorDetailList"ErrorDetailList.of_jsoninletendedAt=field_mapjson__"EndedAt"DateTime.of_jsoninletstatus=field_mapjson__"Status"ProfileTaskStatus.of_jsoninletstartedAt=field_mapjson__"StartedAt"DateTime.of_jsoninlettaskDetails=field_mapjson__"TaskDetails"TaskDetails.of_jsoninlettaskId=field_mapjson__"TaskId"ProfileTaskId.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about a specific profile update task."]moduleGetProfileUpdateTaskRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."]}letcontext_="GetProfileUpdateTaskRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about a specific profile update task."]moduleGetPartnerResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];legalName:SensitiveUnicodeString.toption[@ocaml.doc"The legal name of the partner organization."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the partner account was created."];profile:PartnerProfile.toption[@ocaml.doc"The partner profile information including display name, description, and other public details."];awsTrainingCertificationEmailDomains:PartnerDomainList.toption[@ocaml.doc"The list of verified email domains associated with AWS training and certification credentials for the partner organization."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?legalName->fun?createdAt->fun?profile->fun?awsTrainingCertificationEmailDomains->fun()->{catalog;arn;id;legalName;createdAt;profile;awsTrainingCertificationEmailDomains}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("LegalName",(Option.mapx.legalName~f:SensitiveUnicodeString.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("Profile",(Option.mapx.profile~f:PartnerProfile.to_value));("AwsTrainingCertificationEmailDomains",(Option.mapx.awsTrainingCertificationEmailDomains~f:PartnerDomainList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letawsTrainingCertificationEmailDomains=(Option.map~f:PartnerDomainList.of_xml)(Xml.childxml_arg0"AwsTrainingCertificationEmailDomains")inletprofile=(Option.map~f:PartnerProfile.of_xml)(Xml.childxml_arg0"Profile")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletlegalName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"LegalName")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?awsTrainingCertificationEmailDomains?profile?createdAt?legalName?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letawsTrainingCertificationEmailDomains=field_mapjson__"AwsTrainingCertificationEmailDomains"PartnerDomainList.of_jsoninletprofile=field_mapjson__"Profile"PartnerProfile.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletlegalName=field_mapjson__"LegalName"SensitiveUnicodeString.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?awsTrainingCertificationEmailDomains?profile?createdAt?legalName?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific partner account."]moduleGetPartnerRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account to retrieve."]}letcontext_="GetPartnerRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific partner account."]moduleGetConnectionResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection exists."];id:ConnectionId.toption[@ocaml.doc"The unique identifier of the connection."];arn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection."];otherParticipantAccountId:AwsAccountId.toption[@ocaml.doc"The AWS account ID of the other participant in the connection."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection was last updated."];connectionTypes:ConnectionTypeDetailMap.toption[@ocaml.doc"The list of connection types active between the partners."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?otherParticipantAccountId->fun?updatedAt->fun?connectionTypes->fun()->{catalog;id;arn;otherParticipantAccountId;updatedAt;connectionTypes}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionId.to_value));("Arn",(Option.mapx.arn~f:ConnectionArn.to_value));("OtherParticipantAccountId",(Option.mapx.otherParticipantAccountId~f:AwsAccountId.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ConnectionTypes",(Option.mapx.connectionTypes~f:ConnectionTypeDetailMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionTypes=(Option.map~f:ConnectionTypeDetailMap.of_xml)(Xml.childxml_arg0"ConnectionTypes")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletotherParticipantAccountId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OtherParticipantAccountId")inletarn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionTypes=field_mapjson__"ConnectionTypes"ConnectionTypeDetailMap.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletotherParticipantAccountId=field_mapjson__"OtherParticipantAccountId"AwsAccountId.of_jsoninletarn=field_mapjson__"Arn"ConnectionArn.of_jsoninletid=field_mapjson__"Id"ConnectionId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific connection between partners."]moduleGetConnectionRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection exists."];identifier:ConnectionId.t[@ocaml.doc"The unique identifier of the connection to retrieve."]}letcontext_="GetConnectionRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionId.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=ConnectionId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"ConnectionId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific connection between partners."]moduleGetConnectionPreferencesResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:ConnectionPreferencesArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection preferences."];accessType:AccessType.toption[@ocaml.doc"The access type setting for connections (e.g., open, restricted, invitation-only)."];excludedParticipantIds:ParticipantIdentifierList.toption[@ocaml.doc"A list of participant IDs that are excluded from connection requests or interactions."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection preferences were last updated."];revision:Revision.toption[@ocaml.doc"The revision number of the connection preferences for optimistic locking."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?accessType->fun?excludedParticipantIds->fun?updatedAt->fun?revision->fun()->{catalog;arn;accessType;excludedParticipantIds;updatedAt;revision}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:ConnectionPreferencesArn.to_value));("AccessType",(Option.mapx.accessType~f:AccessType.to_value));("ExcludedParticipantIds",(Option.mapx.excludedParticipantIds~f:ParticipantIdentifierList.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("Revision",(Option.mapx.revision~f:Revision.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrevision=(Option.map~f:Revision.of_xml)(Xml.childxml_arg0"Revision")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletexcludedParticipantIds=(Option.map~f:ParticipantIdentifierList.of_xml)(Xml.childxml_arg0"ExcludedParticipantIds")inletaccessType=(Option.map~f:AccessType.of_xml)(Xml.childxml_arg0"AccessType")inletarn=(Option.map~f:ConnectionPreferencesArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?revision?updatedAt?excludedParticipantIds?accessType?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrevision=field_mapjson__"Revision"Revision.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletexcludedParticipantIds=field_mapjson__"ExcludedParticipantIds"ParticipantIdentifierList.of_jsoninletaccessType=field_mapjson__"AccessType"AccessType.of_jsoninletarn=field_mapjson__"Arn"ConnectionPreferencesArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?revision?updatedAt?excludedParticipantIds?accessType?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the connection preferences for a partner account, including access settings and exclusions."]moduleGetConnectionPreferencesRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."]}letcontext_="GetConnectionPreferencesRequest"letmake~catalog=fun()->{catalog}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the connection preferences for a partner account, including access settings and exclusions."]moduleGetConnectionInvitationResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection invitation exists."];id:ConnectionInvitationId.toption[@ocaml.doc"The unique identifier of the connection invitation."];arn:ConnectionInvitationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the connection invitation."];connectionId:ConnectionId.toption[@ocaml.doc"The identifier of the connection associated with this invitation."];connectionType:ConnectionType.toption[@ocaml.doc"The type of connection being requested in the invitation."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was last updated."];expiresAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation will expire."];otherParticipantIdentifier:ParticipantIdentifier.toption[@ocaml.doc"The identifier of the other participant in the connection invitation."];participantType:ParticipantType.toption[@ocaml.doc"The type of participant (inviter or invitee) in the connection invitation."];status:InvitationStatus.toption[@ocaml.doc"The current status of the connection invitation."];invitationMessage:GetConnectionInvitationResponseInvitationMessageString.toption[@ocaml.doc"The custom message included with the connection invitation."];inviterEmail:Email.toption[@ocaml.doc"The email address of the person who sent the connection invitation."];inviterName:SensitiveUnicodeString.toption[@ocaml.doc"The name of the person who sent the connection invitation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?connectionId->fun?connectionType->fun?createdAt->fun?updatedAt->fun?expiresAt->fun?otherParticipantIdentifier->fun?participantType->fun?status->fun?invitationMessage->fun?inviterEmail->fun?inviterName->fun()->{catalog;id;arn;connectionId;connectionType;createdAt;updatedAt;expiresAt;otherParticipantIdentifier;participantType;status;invitationMessage;inviterEmail;inviterName}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionInvitationId.to_value));("Arn",(Option.mapx.arn~f:ConnectionInvitationArn.to_value));("ConnectionId",(Option.mapx.connectionId~f:ConnectionId.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ExpiresAt",(Option.mapx.expiresAt~f:DateTime.to_value));("OtherParticipantIdentifier",(Option.mapx.otherParticipantIdentifier~f:ParticipantIdentifier.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value));("InvitationMessage",(Option.mapx.invitationMessage~f:GetConnectionInvitationResponseInvitationMessageString.to_value));("InviterEmail",(Option.mapx.inviterEmail~f:Email.to_value));("InviterName",(Option.mapx.inviterName~f:SensitiveUnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinviterName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"InviterName")inletinviterEmail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"InviterEmail")inletinvitationMessage=(Option.map~f:GetConnectionInvitationResponseInvitationMessageString.of_xml)(Xml.childxml_arg0"InvitationMessage")inletstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifier=(Option.map~f:ParticipantIdentifier.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifier")inletexpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ExpiresAt")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletconnectionId=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"ConnectionId")inletarn=(Option.map~f:ConnectionInvitationArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionInvitationId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinviterName=field_mapjson__"InviterName"SensitiveUnicodeString.of_jsoninletinviterEmail=field_mapjson__"InviterEmail"Email.of_jsoninletinvitationMessage=field_mapjson__"InvitationMessage"GetConnectionInvitationResponseInvitationMessageString.of_jsoninletstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifier=field_mapjson__"OtherParticipantIdentifier"ParticipantIdentifier.of_jsoninletexpiresAt=field_mapjson__"ExpiresAt"DateTime.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletconnectionId=field_mapjson__"ConnectionId"ConnectionId.of_jsoninletarn=field_mapjson__"Arn"ConnectionInvitationArn.of_jsoninletid=field_mapjson__"Id"ConnectionInvitationId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific connection invitation."]moduleGetConnectionInvitationRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection invitation exists."];identifier:ConnectionInvitationId.t[@ocaml.doc"The unique identifier of the connection invitation to retrieve."]}letcontext_="GetConnectionInvitationRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionInvitationId.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=ConnectionInvitationId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"ConnectionInvitationId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specific connection invitation."]moduleGetAllianceLeadContactResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];allianceLeadContact:AllianceLeadContact.toption[@ocaml.doc"The alliance lead contact information including name, email, and business title."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?allianceLeadContact->fun()->{catalog;arn;id;allianceLeadContact}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("AllianceLeadContact",(Option.mapx.allianceLeadContact~f:AllianceLeadContact.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letallianceLeadContact=(Option.map~f:AllianceLeadContact.of_xml)(Xml.childxml_arg0"AllianceLeadContact")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?allianceLeadContact?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letallianceLeadContact=field_mapjson__"AllianceLeadContact"AllianceLeadContact.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?allianceLeadContact?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the alliance lead contact information for a partner account."]moduleGetAllianceLeadContactRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."]}letcontext_="GetAllianceLeadContactRequest"letmake~catalog=fun~identifier->fun()->{catalog;identifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the alliance lead contact information for a partner account."]moduleDisassociateAwsTrainingCertificationEmailDomainResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between an email domain and AWS training and certification for the partner account."]moduleDisassociateAwsTrainingCertificationEmailDomainRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];domainName:DomainName.t[@ocaml.doc"The domain name to disassociate from AWS training and certification."]}letcontext_="DisassociateAwsTrainingCertificationEmailDomainRequest"letmake?clientToken=fun~catalog->fun~identifier->fun~domainName->fun()->{clientToken;catalog;identifier;domainName}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("DomainName",(Some(DomainName.to_valuex.domainName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainName=DomainName.of_xml(Xml.child_exn~context:context_xml_arg0"DomainName")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~domainName?clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainName=field_map_exnjson__"DomainName"DomainName.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~domainName?clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between an email domain and AWS training and certification for the partner account."]moduleCreatePartnerResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the partner account was created."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the created partner account."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the created partner account."];legalName:SensitiveUnicodeString.toption[@ocaml.doc"The legal name of the partner organization."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the partner account was created."];profile:PartnerProfile.toption[@ocaml.doc"The partner profile information including display name, description, and other public details."];awsTrainingCertificationEmailDomains:PartnerDomainList.toption[@ocaml.doc"The list of verified email domains associated with AWS training and certification credentials for the partner organization."];allianceLeadContact:AllianceLeadContact.toption[@ocaml.doc"The alliance lead contact information for the partner account."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?legalName->fun?createdAt->fun?profile->fun?awsTrainingCertificationEmailDomains->fun?allianceLeadContact->fun()->{catalog;arn;id;legalName;createdAt;profile;awsTrainingCertificationEmailDomains;allianceLeadContact}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("LegalName",(Option.mapx.legalName~f:SensitiveUnicodeString.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("Profile",(Option.mapx.profile~f:PartnerProfile.to_value));("AwsTrainingCertificationEmailDomains",(Option.mapx.awsTrainingCertificationEmailDomains~f:PartnerDomainList.to_value));("AllianceLeadContact",(Option.mapx.allianceLeadContact~f:AllianceLeadContact.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letallianceLeadContact=(Option.map~f:AllianceLeadContact.of_xml)(Xml.childxml_arg0"AllianceLeadContact")inletawsTrainingCertificationEmailDomains=(Option.map~f:PartnerDomainList.of_xml)(Xml.childxml_arg0"AwsTrainingCertificationEmailDomains")inletprofile=(Option.map~f:PartnerProfile.of_xml)(Xml.childxml_arg0"Profile")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletlegalName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"LegalName")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?allianceLeadContact?awsTrainingCertificationEmailDomains?profile?createdAt?legalName?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letallianceLeadContact=field_mapjson__"AllianceLeadContact"AllianceLeadContact.of_jsoninletawsTrainingCertificationEmailDomains=field_mapjson__"AwsTrainingCertificationEmailDomains"PartnerDomainList.of_jsoninletprofile=field_mapjson__"Profile"PartnerProfile.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletlegalName=field_mapjson__"LegalName"SensitiveUnicodeString.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?allianceLeadContact?awsTrainingCertificationEmailDomains?profile?createdAt?legalName?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new partner account in the AWS Partner Network with the specified details and configuration."]moduleCreatePartnerRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the partner account will be created."];clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];legalName:SensitiveUnicodeString.t[@ocaml.doc"The legal name of the organization becoming a partner."];primarySolutionType:PrimarySolutionType.t[@ocaml.doc"The primary type of solution or service the partner provides (e.g., consulting, software, managed services)."];allianceLeadContact:AllianceLeadContact.t[@ocaml.doc"The primary contact person for alliance and partnership matters."];emailVerificationCode:EmailVerificationCode.t[@ocaml.doc"The verification code sent to the alliance lead contact's email to confirm account creation."];tags:TagList.toption[@ocaml.doc"A list of tags to associate with the partner account for organization and billing purposes."]}letcontext_="CreatePartnerRequest"letmake?clientToken=fun?tags->fun~catalog->fun~legalName->fun~primarySolutionType->fun~allianceLeadContact->fun~emailVerificationCode->fun()->{clientToken;tags;catalog;legalName;primarySolutionType;allianceLeadContact;emailVerificationCode}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("LegalName",(Some(SensitiveUnicodeString.to_valuex.legalName)));("PrimarySolutionType",(Some(PrimarySolutionType.to_valuex.primarySolutionType)));("AllianceLeadContact",(Some(AllianceLeadContact.to_valuex.allianceLeadContact)));("EmailVerificationCode",(Some(EmailVerificationCode.to_valuex.emailVerificationCode)));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletemailVerificationCode=EmailVerificationCode.of_xml(Xml.child_exn~context:context_xml_arg0"EmailVerificationCode")inletallianceLeadContact=AllianceLeadContact.of_xml(Xml.child_exn~context:context_xml_arg0"AllianceLeadContact")inletprimarySolutionType=PrimarySolutionType.of_xml(Xml.child_exn~context:context_xml_arg0"PrimarySolutionType")inletlegalName=SensitiveUnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"LegalName")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake?tags~emailVerificationCode~allianceLeadContact~primarySolutionType~legalName?clientToken~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletemailVerificationCode=field_map_exnjson__"EmailVerificationCode"EmailVerificationCode.of_jsoninletallianceLeadContact=field_map_exnjson__"AllianceLeadContact"AllianceLeadContact.of_jsoninletprimarySolutionType=field_map_exnjson__"PrimarySolutionType"PrimarySolutionType.of_jsoninletlegalName=field_map_exnjson__"LegalName"SensitiveUnicodeString.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake?tags~emailVerificationCode~allianceLeadContact~primarySolutionType~legalName?clientToken~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new partner account in the AWS Partner Network with the specified details and configuration."]moduleCreateConnectionInvitationResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection invitation was created."];id:ConnectionInvitationId.toption[@ocaml.doc"The unique identifier of the created connection invitation."];arn:ConnectionInvitationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the created connection invitation."];connectionId:ConnectionId.toption[@ocaml.doc"The identifier of the connection associated with this invitation."];connectionType:ConnectionType.toption[@ocaml.doc"The type of connection being requested in the invitation."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was last updated."];expiresAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation will expire if not responded to."];otherParticipantIdentifier:ParticipantIdentifier.toption[@ocaml.doc"The identifier of the organization or partner being invited."];participantType:ParticipantType.toption[@ocaml.doc"The type of participant (inviter or invitee) in the connection invitation."];status:InvitationStatus.toption[@ocaml.doc"The current status of the connection invitation (pending, accepted, rejected, etc.)."];invitationMessage:CreateConnectionInvitationResponseInvitationMessageString.toption[@ocaml.doc"The custom message included with the connection invitation."];inviterEmail:Email.toption[@ocaml.doc"The email address of the person who sent the connection invitation."];inviterName:SensitiveUnicodeString.toption[@ocaml.doc"The name of the person who sent the connection invitation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?connectionId->fun?connectionType->fun?createdAt->fun?updatedAt->fun?expiresAt->fun?otherParticipantIdentifier->fun?participantType->fun?status->fun?invitationMessage->fun?inviterEmail->fun?inviterName->fun()->{catalog;id;arn;connectionId;connectionType;createdAt;updatedAt;expiresAt;otherParticipantIdentifier;participantType;status;invitationMessage;inviterEmail;inviterName}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionInvitationId.to_value));("Arn",(Option.mapx.arn~f:ConnectionInvitationArn.to_value));("ConnectionId",(Option.mapx.connectionId~f:ConnectionId.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ExpiresAt",(Option.mapx.expiresAt~f:DateTime.to_value));("OtherParticipantIdentifier",(Option.mapx.otherParticipantIdentifier~f:ParticipantIdentifier.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value));("InvitationMessage",(Option.mapx.invitationMessage~f:CreateConnectionInvitationResponseInvitationMessageString.to_value));("InviterEmail",(Option.mapx.inviterEmail~f:Email.to_value));("InviterName",(Option.mapx.inviterName~f:SensitiveUnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinviterName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"InviterName")inletinviterEmail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"InviterEmail")inletinvitationMessage=(Option.map~f:CreateConnectionInvitationResponseInvitationMessageString.of_xml)(Xml.childxml_arg0"InvitationMessage")inletstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifier=(Option.map~f:ParticipantIdentifier.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifier")inletexpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ExpiresAt")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletconnectionId=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"ConnectionId")inletarn=(Option.map~f:ConnectionInvitationArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionInvitationId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinviterName=field_mapjson__"InviterName"SensitiveUnicodeString.of_jsoninletinviterEmail=field_mapjson__"InviterEmail"Email.of_jsoninletinvitationMessage=field_mapjson__"InvitationMessage"CreateConnectionInvitationResponseInvitationMessageString.of_jsoninletstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifier=field_mapjson__"OtherParticipantIdentifier"ParticipantIdentifier.of_jsoninletexpiresAt=field_mapjson__"ExpiresAt"DateTime.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletconnectionId=field_mapjson__"ConnectionId"ConnectionId.of_jsoninletarn=field_mapjson__"Arn"ConnectionInvitationArn.of_jsoninletid=field_mapjson__"Id"ConnectionInvitationId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new connection invitation to establish a partnership with another organization."]moduleCreateConnectionInvitationRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection invitation will be created."];clientToken:ClientToken.t[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];connectionType:ConnectionType.t[@ocaml.doc"The type of connection being requested (e.g., reseller, distributor, technology partner)."];email:Email.t[@ocaml.doc"The email address of the person to send the connection invitation to."];message:CreateConnectionInvitationRequestMessageString.t[@ocaml.doc"A custom message to include with the connection invitation."];name:SensitiveUnicodeString.t[@ocaml.doc"The name of the person sending the connection invitation."];receiverIdentifier:ParticipantIdentifier.t[@ocaml.doc"The identifier of the organization or partner to invite for connection."]}letcontext_="CreateConnectionInvitationRequest"letmake~catalog=fun~clientToken->fun~connectionType->fun~email->fun~message->fun~name->fun~receiverIdentifier->fun()->{catalog;clientToken;connectionType;email;message;name;receiverIdentifier}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("ClientToken",(Some(ClientToken.to_valuex.clientToken)));("ConnectionType",(Some(ConnectionType.to_valuex.connectionType)));("Email",(Some(Email.to_valuex.email)));("Message",(Some(CreateConnectionInvitationRequestMessageString.to_valuex.message)));("Name",(Some(SensitiveUnicodeString.to_valuex.name)));("ReceiverIdentifier",(Some(ParticipantIdentifier.to_valuex.receiverIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreceiverIdentifier=ParticipantIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"ReceiverIdentifier")inletname=SensitiveUnicodeString.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletmessage=CreateConnectionInvitationRequestMessageString.of_xml(Xml.child_exn~context:context_xml_arg0"Message")inletemail=Email.of_xml(Xml.child_exn~context:context_xml_arg0"Email")inletconnectionType=ConnectionType.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionType")inletclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~receiverIdentifier~name~message~email~connectionType~clientToken~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreceiverIdentifier=field_map_exnjson__"ReceiverIdentifier"ParticipantIdentifier.of_jsoninletname=field_map_exnjson__"Name"SensitiveUnicodeString.of_jsoninletmessage=field_map_exnjson__"Message"CreateConnectionInvitationRequestMessageString.of_jsoninletemail=field_map_exnjson__"Email"Email.of_jsoninletconnectionType=field_map_exnjson__"ConnectionType"ConnectionType.of_jsoninletclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~receiverIdentifier~name~message~email~connectionType~clientToken~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new connection invitation to establish a partnership with another organization."]moduleCancelProfileUpdateTaskResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier for the partner account."];arn:PartnerArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the canceled profile update task."];id:PartnerId.toption[@ocaml.doc"The unique identifier of the partner account."];taskId:ProfileTaskId.toption[@ocaml.doc"The unique identifier of the canceled profile update task."];taskDetails:TaskDetails.toption[@ocaml.doc"The details of the profile update task that was canceled."];startedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task was started."];status:ProfileTaskStatus.toption[@ocaml.doc"The current status of the profile update task (canceled)."];endedAt:DateTime.toption[@ocaml.doc"The timestamp when the profile update task was ended (canceled)."];errorDetailList:ErrorDetailList.toption[@ocaml.doc"A list of error details if any errors occurred during the profile update task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?arn->fun?id->fun?taskId->fun?taskDetails->fun?startedAt->fun?status->fun?endedAt->fun?errorDetailList->fun()->{catalog;arn;id;taskId;taskDetails;startedAt;status;endedAt;errorDetailList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Arn",(Option.mapx.arn~f:PartnerArn.to_value));("Id",(Option.mapx.id~f:PartnerId.to_value));("TaskId",(Option.mapx.taskId~f:ProfileTaskId.to_value));("TaskDetails",(Option.mapx.taskDetails~f:TaskDetails.to_value));("StartedAt",(Option.mapx.startedAt~f:DateTime.to_value));("Status",(Option.mapx.status~f:ProfileTaskStatus.to_value));("EndedAt",(Option.mapx.endedAt~f:DateTime.to_value));("ErrorDetailList",(Option.mapx.errorDetailList~f:ErrorDetailList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorDetailList=(Option.map~f:ErrorDetailList.of_xml)(Xml.childxml_arg0"ErrorDetailList")inletendedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"EndedAt")inletstatus=(Option.map~f:ProfileTaskStatus.of_xml)(Xml.childxml_arg0"Status")inletstartedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"StartedAt")inlettaskDetails=(Option.map~f:TaskDetails.of_xml)(Xml.childxml_arg0"TaskDetails")inlettaskId=(Option.map~f:ProfileTaskId.of_xml)(Xml.childxml_arg0"TaskId")inletid=(Option.map~f:PartnerId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:PartnerArn.of_xml)(Xml.childxml_arg0"Arn")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorDetailList=field_mapjson__"ErrorDetailList"ErrorDetailList.of_jsoninletendedAt=field_mapjson__"EndedAt"DateTime.of_jsoninletstatus=field_mapjson__"Status"ProfileTaskStatus.of_jsoninletstartedAt=field_mapjson__"StartedAt"DateTime.of_jsoninlettaskDetails=field_mapjson__"TaskDetails"TaskDetails.of_jsoninlettaskId=field_mapjson__"TaskId"ProfileTaskId.of_jsoninletid=field_mapjson__"Id"PartnerId.of_jsoninletarn=field_mapjson__"Arn"PartnerArn.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?errorDetailList?endedAt?status?startedAt?taskDetails?taskId?id?arn?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels an in-progress profile update task, stopping any pending changes to the partner profile."]moduleCancelProfileUpdateTaskRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];taskId:ProfileTaskId.t[@ocaml.doc"The unique identifier of the profile update task to cancel."]}letcontext_="CancelProfileUpdateTaskRequest"letmake?clientToken=fun~catalog->fun~identifier->fun~taskId->fun()->{clientToken;catalog;identifier;taskId}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("TaskId",(Some(ProfileTaskId.to_valuex.taskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettaskId=ProfileTaskId.of_xml(Xml.child_exn~context:context_xml_arg0"TaskId")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~taskId?clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettaskId=field_map_exnjson__"TaskId"ProfileTaskId.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~taskId?clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels an in-progress profile update task, stopping any pending changes to the partner profile."]moduleCancelConnectionResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection was canceled."];id:ConnectionId.toption[@ocaml.doc"The unique identifier of the canceled connection."];arn:ConnectionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the canceled connection."];otherParticipantAccountId:AwsAccountId.toption[@ocaml.doc"The AWS account ID of the other participant in the canceled connection."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection was last updated (canceled)."];connectionTypes:ConnectionTypeDetailMap.toption[@ocaml.doc"The list of connection types that were active before cancellation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?otherParticipantAccountId->fun?updatedAt->fun?connectionTypes->fun()->{catalog;id;arn;otherParticipantAccountId;updatedAt;connectionTypes}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionId.to_value));("Arn",(Option.mapx.arn~f:ConnectionArn.to_value));("OtherParticipantAccountId",(Option.mapx.otherParticipantAccountId~f:AwsAccountId.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ConnectionTypes",(Option.mapx.connectionTypes~f:ConnectionTypeDetailMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnectionTypes=(Option.map~f:ConnectionTypeDetailMap.of_xml)(Xml.childxml_arg0"ConnectionTypes")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletotherParticipantAccountId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OtherParticipantAccountId")inletarn=(Option.map~f:ConnectionArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnectionTypes=field_mapjson__"ConnectionTypes"ConnectionTypeDetailMap.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletotherParticipantAccountId=field_mapjson__"OtherParticipantAccountId"AwsAccountId.of_jsoninletarn=field_mapjson__"Arn"ConnectionArn.of_jsoninletid=field_mapjson__"Id"ConnectionId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?connectionTypes?updatedAt?otherParticipantAccountId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels an existing connection between partners, terminating the partnership relationship."]moduleCancelConnectionRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection exists."];identifier:ConnectionId.t[@ocaml.doc"The unique identifier of the connection to cancel."];connectionType:ConnectionType.t[@ocaml.doc"The type of connection to cancel (e.g., reseller, distributor, technology partner)."];reason:CancelConnectionRequestReasonString.t[@ocaml.doc"The reason for canceling the connection, providing context for the termination."];clientToken:ClientToken.t[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."]}letcontext_="CancelConnectionRequest"letmake~catalog=fun~identifier->fun~connectionType->fun~reason->fun~clientToken->fun()->{catalog;identifier;connectionType;reason;clientToken}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionId.to_valuex.identifier)));("ConnectionType",(Some(ConnectionType.to_valuex.connectionType)));("Reason",(Some(CancelConnectionRequestReasonString.to_valuex.reason)));("ClientToken",(Some(ClientToken.to_valuex.clientToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inletreason=CancelConnectionRequestReasonString.of_xml(Xml.child_exn~context:context_xml_arg0"Reason")inletconnectionType=ConnectionType.of_xml(Xml.child_exn~context:context_xml_arg0"ConnectionType")inletidentifier=ConnectionId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~clientToken~reason~connectionType~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninletreason=field_map_exnjson__"Reason"CancelConnectionRequestReasonString.of_jsoninletconnectionType=field_map_exnjson__"ConnectionType"ConnectionType.of_jsoninletidentifier=field_map_exnjson__"Identifier"ConnectionId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~clientToken~reason~connectionType~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels an existing connection between partners, terminating the partnership relationship."]moduleCancelConnectionInvitationResponse=structtypenonrect={catalog:Catalog.toption[@ocaml.doc"The catalog identifier where the connection invitation was canceled."];id:ConnectionInvitationId.toption[@ocaml.doc"The unique identifier of the canceled connection invitation."];arn:ConnectionInvitationArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the canceled connection invitation."];connectionId:ConnectionId.toption[@ocaml.doc"The identifier of the connection associated with the canceled invitation."];connectionType:ConnectionType.toption[@ocaml.doc"The type of connection that was being invited for."];createdAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was originally created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation was last updated (canceled)."];expiresAt:DateTime.toption[@ocaml.doc"The timestamp when the connection invitation would have expired if not canceled."];otherParticipantIdentifier:ParticipantIdentifier.toption[@ocaml.doc"The identifier of the other participant who was invited to connect."];participantType:ParticipantType.toption[@ocaml.doc"The type of participant (inviter or invitee) in the connection invitation."];status:InvitationStatus.toption[@ocaml.doc"The current status of the connection invitation (canceled)."];invitationMessage:CancelConnectionInvitationResponseInvitationMessageString.toption[@ocaml.doc"The message that was included with the original connection invitation."];inviterEmail:Email.toption[@ocaml.doc"The email address of the person who sent the connection invitation."];inviterName:SensitiveUnicodeString.toption[@ocaml.doc"The name of the person who sent the connection invitation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?catalog=fun?id->fun?arn->fun?connectionId->fun?connectionType->fun?createdAt->fun?updatedAt->fun?expiresAt->fun?otherParticipantIdentifier->fun?participantType->fun?status->fun?invitationMessage->fun?inviterEmail->fun?inviterName->fun()->{catalog;id;arn;connectionId;connectionType;createdAt;updatedAt;expiresAt;otherParticipantIdentifier;participantType;status;invitationMessage;inviterEmail;inviterName}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Catalog",(Option.mapx.catalog~f:Catalog.to_value));("Id",(Option.mapx.id~f:ConnectionInvitationId.to_value));("Arn",(Option.mapx.arn~f:ConnectionInvitationArn.to_value));("ConnectionId",(Option.mapx.connectionId~f:ConnectionId.to_value));("ConnectionType",(Option.mapx.connectionType~f:ConnectionType.to_value));("CreatedAt",(Option.mapx.createdAt~f:DateTime.to_value));("UpdatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("ExpiresAt",(Option.mapx.expiresAt~f:DateTime.to_value));("OtherParticipantIdentifier",(Option.mapx.otherParticipantIdentifier~f:ParticipantIdentifier.to_value));("ParticipantType",(Option.mapx.participantType~f:ParticipantType.to_value));("Status",(Option.mapx.status~f:InvitationStatus.to_value));("InvitationMessage",(Option.mapx.invitationMessage~f:CancelConnectionInvitationResponseInvitationMessageString.to_value));("InviterEmail",(Option.mapx.inviterEmail~f:Email.to_value));("InviterName",(Option.mapx.inviterName~f:SensitiveUnicodeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinviterName=(Option.map~f:SensitiveUnicodeString.of_xml)(Xml.childxml_arg0"InviterName")inletinviterEmail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"InviterEmail")inletinvitationMessage=(Option.map~f:CancelConnectionInvitationResponseInvitationMessageString.of_xml)(Xml.childxml_arg0"InvitationMessage")inletstatus=(Option.map~f:InvitationStatus.of_xml)(Xml.childxml_arg0"Status")inletparticipantType=(Option.map~f:ParticipantType.of_xml)(Xml.childxml_arg0"ParticipantType")inletotherParticipantIdentifier=(Option.map~f:ParticipantIdentifier.of_xml)(Xml.childxml_arg0"OtherParticipantIdentifier")inletexpiresAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ExpiresAt")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"UpdatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"CreatedAt")inletconnectionType=(Option.map~f:ConnectionType.of_xml)(Xml.childxml_arg0"ConnectionType")inletconnectionId=(Option.map~f:ConnectionId.of_xml)(Xml.childxml_arg0"ConnectionId")inletarn=(Option.map~f:ConnectionInvitationArn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ConnectionInvitationId.of_xml)(Xml.childxml_arg0"Id")inletcatalog=(Option.map~f:Catalog.of_xml)(Xml.childxml_arg0"Catalog")inmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinviterName=field_mapjson__"InviterName"SensitiveUnicodeString.of_jsoninletinviterEmail=field_mapjson__"InviterEmail"Email.of_jsoninletinvitationMessage=field_mapjson__"InvitationMessage"CancelConnectionInvitationResponseInvitationMessageString.of_jsoninletstatus=field_mapjson__"Status"InvitationStatus.of_jsoninletparticipantType=field_mapjson__"ParticipantType"ParticipantType.of_jsoninletotherParticipantIdentifier=field_mapjson__"OtherParticipantIdentifier"ParticipantIdentifier.of_jsoninletexpiresAt=field_mapjson__"ExpiresAt"DateTime.of_jsoninletupdatedAt=field_mapjson__"UpdatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"DateTime.of_jsoninletconnectionType=field_mapjson__"ConnectionType"ConnectionType.of_jsoninletconnectionId=field_mapjson__"ConnectionId"ConnectionId.of_jsoninletarn=field_mapjson__"Arn"ConnectionInvitationArn.of_jsoninletid=field_mapjson__"Id"ConnectionInvitationId.of_jsoninletcatalog=field_mapjson__"Catalog"Catalog.of_jsoninmake?inviterName?inviterEmail?invitationMessage?status?participantType?otherParticipantIdentifier?expiresAt?updatedAt?createdAt?connectionType?connectionId?arn?id?catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels a pending connection invitation before it has been accepted or rejected."]moduleCancelConnectionInvitationRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection invitation exists."];identifier:ConnectionInvitationId.t[@ocaml.doc"The unique identifier of the connection invitation to cancel."];clientToken:ClientToken.t[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."]}letcontext_="CancelConnectionInvitationRequest"letmake~catalog=fun~identifier->fun~clientToken->fun()->{catalog;identifier;clientToken}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionInvitationId.to_valuex.identifier)));("ClientToken",(Some(ClientToken.to_valuex.clientToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inletidentifier=ConnectionInvitationId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"ConnectionInvitationId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cancels a pending connection invitation before it has been accepted or rejected."]moduleAssociateAwsTrainingCertificationEmailDomainResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications."]moduleAssociateAwsTrainingCertificationEmailDomainRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier for the partner account."];identifier:PartnerIdentifier.t[@ocaml.doc"The unique identifier of the partner account."];clientToken:ClientToken.toption[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."];email:Email.t[@ocaml.doc"The email address used to verify domain ownership for AWS training and certification association."];emailVerificationCode:EmailVerificationCode.t[@ocaml.doc"The verification code sent to the email address to confirm domain ownership."]}letcontext_="AssociateAwsTrainingCertificationEmailDomainRequest"letmake?clientToken=fun~catalog->fun~identifier->fun~email->fun~emailVerificationCode->fun()->{clientToken;catalog;identifier;email;emailVerificationCode}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(PartnerIdentifier.to_valuex.identifier)));("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("Email",(Some(Email.to_valuex.email)));("EmailVerificationCode",(Some(EmailVerificationCode.to_valuex.emailVerificationCode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailVerificationCode=EmailVerificationCode.of_xml(Xml.child_exn~context:context_xml_arg0"EmailVerificationCode")inletemail=Email.of_xml(Xml.child_exn~context:context_xml_arg0"Email")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inletidentifier=PartnerIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~emailVerificationCode~email?clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailVerificationCode=field_map_exnjson__"EmailVerificationCode"EmailVerificationCode.of_jsoninletemail=field_map_exnjson__"Email"Email.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"PartnerIdentifier.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~emailVerificationCode~email?clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications."]moduleAcceptConnectionInvitationResponse=structtypenonrect={connection:Connection.toption[@ocaml.doc"The details of the accepted connection between the two partners."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?connection=fun()->{connection}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Connection",(Option.mapx.connection~f:Connection.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconnection=(Option.map~f:Connection.of_xml)(Xml.childxml_arg0"Connection")inmake?connection()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconnection=field_mapjson__"Connection"Connection.of_jsoninmake?connection()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties."]moduleAcceptConnectionInvitationRequest=structtypenonrect={catalog:Catalog.t[@ocaml.doc"The catalog identifier where the connection invitation exists."];identifier:ConnectionInvitationId.t[@ocaml.doc"The unique identifier of the connection invitation to accept."];clientToken:ClientToken.t[@ocaml.doc"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."]}letcontext_="AcceptConnectionInvitationRequest"letmake~catalog=fun~identifier->fun~clientToken->fun()->{catalog;identifier;clientToken}letto_valuex=structure_to_value[("Catalog",(Some(Catalog.to_valuex.catalog)));("Identifier",(Some(ConnectionInvitationId.to_valuex.identifier)));("ClientToken",(Some(ClientToken.to_valuex.clientToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inletidentifier=ConnectionInvitationId.of_xml(Xml.child_exn~context:context_xml_arg0"Identifier")inletcatalog=Catalog.of_xml(Xml.child_exn~context:context_xml_arg0"Catalog")inmake~clientToken~identifier~catalog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninletidentifier=field_map_exnjson__"Identifier"ConnectionInvitationId.of_jsoninletcatalog=field_map_exnjson__"Catalog"Catalog.of_jsoninmake~clientToken~identifier~catalog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties."]