12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389(* 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.bedrock_data_automationletapiVersion="2023-07-26"letendpointPrefix="bedrock-data-automation"letserviceFullName="Data Automation for Amazon Bedrock"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"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[]))])moduleState=structtypenonrect=|ENABLED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration State"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"State"j)letto_json=simple_to_jsonto_valueendmodulePhraseDisplayAsText=structtypenonrect=string[@@ocaml.doc"Text to configure how phrase is displayed in Transcript"]letcontext_="PhraseDisplayAsText"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:".*.+.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PhraseDisplayAsText"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Text to configure how phrase is displayed in Transcript"]modulePhraseText=structtypenonrect=string[@@ocaml.doc"Text content of the phrase"]letcontext_="PhraseText"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:".*.+.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PhraseText"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Text content of the phrase"]moduleChannelLabelingConfiguration=structtypenonrect={state:State.t}letcontext_="ChannelLabelingConfiguration"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Channel labeling configuration"]moduleSpeakerLabelingConfiguration=structtypenonrect={state:State.t}letcontext_="SpeakerLabelingConfiguration"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Speaker labeling configuration"]modulePhrase=structtypenonrect={text:PhraseText.t;displayAsText:PhraseDisplayAsText.toption}letcontext_="Phrase"letmake?displayAsText=fun~text->fun()->{displayAsText;text}letto_valuex=structure_to_value[("text",(Some(PhraseText.to_valuex.text)));("displayAsText",(Option.mapx.displayAsText~f:PhraseDisplayAsText.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisplayAsText=(Option.map~f:PhraseDisplayAsText.of_xml)(Xml.childxml_arg0"displayAsText")inlettext=PhraseText.of_xml(Xml.child_exn~context:context_xml_arg0"text")inmake?displayAsText~text()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisplayAsText=field_mapjson__"displayAsText"PhraseDisplayAsText.of_jsoninlettext=field_map_exnjson__"text"PhraseText.of_jsoninmake?displayAsText~text()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Phrase structure for vocabulary"]modulePIIEntityType=structtypenonrect=|ALL|ADDRESS|AGE|NAME|EMAIL|PHONE|USERNAME|PASSWORD|DRIVER_ID|LICENSE_PLATE|VEHICLE_IDENTIFICATION_NUMBER|CREDIT_DEBIT_CARD_CVV|CREDIT_DEBIT_CARD_EXPIRY|CREDIT_DEBIT_CARD_NUMBER|PIN|INTERNATIONAL_BANK_ACCOUNT_NUMBER|SWIFT_CODE|IP_ADDRESS|MAC_ADDRESS|URL|AWS_ACCESS_KEY|AWS_SECRET_KEY|US_BANK_ACCOUNT_NUMBER|US_BANK_ROUTING_NUMBER|US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER|US_PASSPORT_NUMBER|US_SOCIAL_SECURITY_NUMBER|CA_HEALTH_NUMBER|CA_SOCIAL_INSURANCE_NUMBER|UK_NATIONAL_HEALTH_SERVICE_NUMBER|UK_NATIONAL_INSURANCE_NUMBER|UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER|Non_static_idofstringletmakei=iletto_string=function|ALL->"ALL"|ADDRESS->"ADDRESS"|AGE->"AGE"|NAME->"NAME"|EMAIL->"EMAIL"|PHONE->"PHONE"|USERNAME->"USERNAME"|PASSWORD->"PASSWORD"|DRIVER_ID->"DRIVER_ID"|LICENSE_PLATE->"LICENSE_PLATE"|VEHICLE_IDENTIFICATION_NUMBER->"VEHICLE_IDENTIFICATION_NUMBER"|CREDIT_DEBIT_CARD_CVV->"CREDIT_DEBIT_CARD_CVV"|CREDIT_DEBIT_CARD_EXPIRY->"CREDIT_DEBIT_CARD_EXPIRY"|CREDIT_DEBIT_CARD_NUMBER->"CREDIT_DEBIT_CARD_NUMBER"|PIN->"PIN"|INTERNATIONAL_BANK_ACCOUNT_NUMBER->"INTERNATIONAL_BANK_ACCOUNT_NUMBER"|SWIFT_CODE->"SWIFT_CODE"|IP_ADDRESS->"IP_ADDRESS"|MAC_ADDRESS->"MAC_ADDRESS"|URL->"URL"|AWS_ACCESS_KEY->"AWS_ACCESS_KEY"|AWS_SECRET_KEY->"AWS_SECRET_KEY"|US_BANK_ACCOUNT_NUMBER->"US_BANK_ACCOUNT_NUMBER"|US_BANK_ROUTING_NUMBER->"US_BANK_ROUTING_NUMBER"|US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER->"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"|US_PASSPORT_NUMBER->"US_PASSPORT_NUMBER"|US_SOCIAL_SECURITY_NUMBER->"US_SOCIAL_SECURITY_NUMBER"|CA_HEALTH_NUMBER->"CA_HEALTH_NUMBER"|CA_SOCIAL_INSURANCE_NUMBER->"CA_SOCIAL_INSURANCE_NUMBER"|UK_NATIONAL_HEALTH_SERVICE_NUMBER->"UK_NATIONAL_HEALTH_SERVICE_NUMBER"|UK_NATIONAL_INSURANCE_NUMBER->"UK_NATIONAL_INSURANCE_NUMBER"|UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER->"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"|Non_static_ids->sletof_string=function|"ALL"->ALL|"ADDRESS"->ADDRESS|"AGE"->AGE|"NAME"->NAME|"EMAIL"->EMAIL|"PHONE"->PHONE|"USERNAME"->USERNAME|"PASSWORD"->PASSWORD|"DRIVER_ID"->DRIVER_ID|"LICENSE_PLATE"->LICENSE_PLATE|"VEHICLE_IDENTIFICATION_NUMBER"->VEHICLE_IDENTIFICATION_NUMBER|"CREDIT_DEBIT_CARD_CVV"->CREDIT_DEBIT_CARD_CVV|"CREDIT_DEBIT_CARD_EXPIRY"->CREDIT_DEBIT_CARD_EXPIRY|"CREDIT_DEBIT_CARD_NUMBER"->CREDIT_DEBIT_CARD_NUMBER|"PIN"->PIN|"INTERNATIONAL_BANK_ACCOUNT_NUMBER"->INTERNATIONAL_BANK_ACCOUNT_NUMBER|"SWIFT_CODE"->SWIFT_CODE|"IP_ADDRESS"->IP_ADDRESS|"MAC_ADDRESS"->MAC_ADDRESS|"URL"->URL|"AWS_ACCESS_KEY"->AWS_ACCESS_KEY|"AWS_SECRET_KEY"->AWS_SECRET_KEY|"US_BANK_ACCOUNT_NUMBER"->US_BANK_ACCOUNT_NUMBER|"US_BANK_ROUTING_NUMBER"->US_BANK_ROUTING_NUMBER|"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"->US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER|"US_PASSPORT_NUMBER"->US_PASSPORT_NUMBER|"US_SOCIAL_SECURITY_NUMBER"->US_SOCIAL_SECURITY_NUMBER|"CA_HEALTH_NUMBER"->CA_HEALTH_NUMBER|"CA_SOCIAL_INSURANCE_NUMBER"->CA_SOCIAL_INSURANCE_NUMBER|"UK_NATIONAL_HEALTH_SERVICE_NUMBER"->UK_NATIONAL_HEALTH_SERVICE_NUMBER|"UK_NATIONAL_INSURANCE_NUMBER"->UK_NATIONAL_INSURANCE_NUMBER|"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"->UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER|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 PIIEntityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PIIEntityType"j)letto_json=simple_to_jsonto_valueendmoduleTranscriptConfiguration=structtypenonrect={speakerLabeling:SpeakerLabelingConfiguration.toption;channelLabeling:ChannelLabelingConfiguration.toption}letmake?speakerLabeling=fun?channelLabeling->fun()->{speakerLabeling;channelLabeling}letto_valuex=structure_to_value[("speakerLabeling",(Option.mapx.speakerLabeling~f:SpeakerLabelingConfiguration.to_value));("channelLabeling",(Option.mapx.channelLabeling~f:ChannelLabelingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letchannelLabeling=(Option.map~f:ChannelLabelingConfiguration.of_xml)(Xml.childxml_arg0"channelLabeling")inletspeakerLabeling=(Option.map~f:SpeakerLabelingConfiguration.of_xml)(Xml.childxml_arg0"speakerLabeling")inmake?channelLabeling?speakerLabeling()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letchannelLabeling=field_mapjson__"channelLabeling"ChannelLabelingConfiguration.of_jsoninletspeakerLabeling=field_mapjson__"speakerLabeling"SpeakerLabelingConfiguration.of_jsoninmake?channelLabeling?speakerLabeling()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for transcript related features"]moduleAudioExtractionCategoryType=structtypenonrect=|AUDIO_CONTENT_MODERATION|TRANSCRIPT|TOPIC_CONTENT_MODERATION|Non_static_idofstringletmakei=iletto_string=function|AUDIO_CONTENT_MODERATION->"AUDIO_CONTENT_MODERATION"|TRANSCRIPT->"TRANSCRIPT"|TOPIC_CONTENT_MODERATION->"TOPIC_CONTENT_MODERATION"|Non_static_ids->sletof_string=function|"AUDIO_CONTENT_MODERATION"->AUDIO_CONTENT_MODERATION|"TRANSCRIPT"->TRANSCRIPT|"TOPIC_CONTENT_MODERATION"->TOPIC_CONTENT_MODERATION|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 AudioExtractionCategoryType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AudioExtractionCategoryType"j)letto_json=simple_to_jsonto_valueendmoduleDocumentOutputTextFormatType=structtypenonrect=|PLAIN_TEXT|MARKDOWN|HTML|CSV|Non_static_idofstringletmakei=iletto_string=function|PLAIN_TEXT->"PLAIN_TEXT"|MARKDOWN->"MARKDOWN"|HTML->"HTML"|CSV->"CSV"|Non_static_ids->sletof_string=function|"PLAIN_TEXT"->PLAIN_TEXT|"MARKDOWN"->MARKDOWN|"HTML"->HTML|"CSV"->CSV|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 DocumentOutputTextFormatType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DocumentOutputTextFormatType"j)letto_json=simple_to_jsonto_valueendmoduleDocumentExtractionGranularityType=structtypenonrect=|DOCUMENT|PAGE|ELEMENT|WORD|LINE|Non_static_idofstringletmakei=iletto_string=function|DOCUMENT->"DOCUMENT"|PAGE->"PAGE"|ELEMENT->"ELEMENT"|WORD->"WORD"|LINE->"LINE"|Non_static_ids->sletof_string=function|"DOCUMENT"->DOCUMENT|"PAGE"->PAGE|"ELEMENT"->ELEMENT|"WORD"->WORD|"LINE"->LINE|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 DocumentExtractionGranularityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DocumentExtractionGranularityType"j)letto_json=simple_to_jsonto_valueendmoduleImageExtractionCategoryType=structtypenonrect=|CONTENT_MODERATION|TEXT_DETECTION|LOGOS|Non_static_idofstringletmakei=iletto_string=function|CONTENT_MODERATION->"CONTENT_MODERATION"|TEXT_DETECTION->"TEXT_DETECTION"|LOGOS->"LOGOS"|Non_static_ids->sletof_string=function|"CONTENT_MODERATION"->CONTENT_MODERATION|"TEXT_DETECTION"->TEXT_DETECTION|"LOGOS"->LOGOS|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 ImageExtractionCategoryType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImageExtractionCategoryType"j)letto_json=simple_to_jsonto_valueendmoduleVideoExtractionCategoryType=structtypenonrect=|CONTENT_MODERATION|TEXT_DETECTION|TRANSCRIPT|LOGOS|Non_static_idofstringletmakei=iletto_string=function|CONTENT_MODERATION->"CONTENT_MODERATION"|TEXT_DETECTION->"TEXT_DETECTION"|TRANSCRIPT->"TRANSCRIPT"|LOGOS->"LOGOS"|Non_static_ids->sletof_string=function|"CONTENT_MODERATION"->CONTENT_MODERATION|"TEXT_DETECTION"->TEXT_DETECTION|"TRANSCRIPT"->TRANSCRIPT|"LOGOS"->LOGOS|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 VideoExtractionCategoryType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VideoExtractionCategoryType"j)letto_json=simple_to_jsonto_valueendmoduleEntityDescription=structtypenonrect=string[@@ocaml.doc"Description of the entity"]letcontext_="EntityDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:300)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9\\s!\"\\#\\$%'&\\(\\)\\*\\+\\,\\-\\./:;=\\?@\\[\\\\\\]\\^_`\\{\\|\\}~><\195\128-\195\150\195\152-\195\156\195\159\195\160-\195\182\195\184-\195\188\225\186\158\194\191\194\161\197\146-\197\147\194\176\194\163\194\165\226\130\185\226\130\172\194\167\194\169\194\170\194\174\226\132\162\194\185\194\177-\194\181\226\156\147\226\145\134-\226\145\137\224\184\191\226\130\189\226\130\177\226\130\166\226\130\163\226\130\169\226\130\171\226\130\186]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EntityDescription"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Description of the entity"]moduleEntityId=structtypenonrect=string[@@ocaml.doc"Unique identifier for the entity"]letcontext_="EntityId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"EntityId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Unique identifier for the entity"]moduleLanguage=structtypenonrect=|EN|DE|ES|FR|IT|PT|JA|KO|CN|TW|HK|Non_static_idofstringletmakei=iletto_string=function|EN->"EN"|DE->"DE"|ES->"ES"|FR->"FR"|IT->"IT"|PT->"PT"|JA->"JA"|KO->"KO"|CN->"CN"|TW->"TW"|HK->"HK"|Non_static_ids->sletof_string=function|"EN"->EN|"DE"->DE|"ES"->ES|"FR"->FR|"IT"->IT|"PT"->PT|"JA"->JA|"KO"->KO|"CN"->CN|"TW"->TW|"HK"->HK|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 Language"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Language"j)letto_json=simple_to_jsonto_valueendmodulePhraseList=structtypenonrect=Phrase.tlistletmakei=letopenResultinok_or_failwith(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:Phrase.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:Phrase.of_xml)letof_jsonj=list_of_json~kind:"PhraseList"~of_json:Phrase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePIIEntityTypes=structtypenonrect=PIIEntityType.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:32)>>=(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:PIIEntityType.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:PIIEntityType.of_xml)letof_jsonj=list_of_json~kind:"PIIEntityTypes"~of_json:PIIEntityType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePIIRedactionMaskMode=structtypenonrect=|PII|ENTITY_TYPE|Non_static_idofstringletmakei=iletto_string=function|PII->"PII"|ENTITY_TYPE->"ENTITY_TYPE"|Non_static_ids->sletof_string=function|"PII"->PII|"ENTITY_TYPE"->ENTITY_TYPE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration PIIRedactionMaskMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PIIRedactionMaskMode"j)letto_json=simple_to_jsonto_valueendmoduleSensitiveDataDetectionScopeType=structtypenonrect=|STANDARD|CUSTOM|Non_static_idofstringletmakei=iletto_string=function|STANDARD->"STANDARD"|CUSTOM->"CUSTOM"|Non_static_ids->sletof_string=function|"STANDARD"->STANDARD|"CUSTOM"->CUSTOM|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 SensitiveDataDetectionScopeType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SensitiveDataDetectionScopeType"j)letto_json=simple_to_jsonto_valueendmoduleAudioExtractionCategoryTypeConfiguration=structtypenonrect={transcript:TranscriptConfiguration.toption}letmake?transcript=fun()->{transcript}letto_valuex=structure_to_value[("transcript",(Option.mapx.transcript~f:TranscriptConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettranscript=(Option.map~f:TranscriptConfiguration.of_xml)(Xml.childxml_arg0"transcript")inmake?transcript()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettranscript=field_mapjson__"transcript"TranscriptConfiguration.of_jsoninmake?transcript()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for different audio extraction category types"]moduleAudioExtractionCategoryTypes=structtypenonrect=AudioExtractionCategoryType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AudioExtractionCategoryType.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:AudioExtractionCategoryType.of_xml)letof_jsonj=list_of_json~kind:"AudioExtractionCategoryTypes"~of_json:AudioExtractionCategoryType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAudioStandardGenerativeFieldType=structtypenonrect=|AUDIO_SUMMARY|IAB|TOPIC_SUMMARY|Non_static_idofstringletmakei=iletto_string=function|AUDIO_SUMMARY->"AUDIO_SUMMARY"|IAB->"IAB"|TOPIC_SUMMARY->"TOPIC_SUMMARY"|Non_static_ids->sletof_string=function|"AUDIO_SUMMARY"->AUDIO_SUMMARY|"IAB"->IAB|"TOPIC_SUMMARY"->TOPIC_SUMMARY|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 AudioStandardGenerativeFieldType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AudioStandardGenerativeFieldType"j)letto_json=simple_to_jsonto_valueendmoduleDocumentOutputTextFormatTypes=structtypenonrect=DocumentOutputTextFormatType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DocumentOutputTextFormatType.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:DocumentOutputTextFormatType.of_xml)letof_jsonj=list_of_json~kind:"DocumentOutputTextFormatTypes"~of_json:DocumentOutputTextFormatType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDocumentExtractionGranularityTypes=structtypenonrect=DocumentExtractionGranularityType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DocumentExtractionGranularityType.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:DocumentExtractionGranularityType.of_xml)letof_jsonj=list_of_json~kind:"DocumentExtractionGranularityTypes"~of_json:DocumentExtractionGranularityType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageExtractionCategoryTypes=structtypenonrect=ImageExtractionCategoryType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageExtractionCategoryType.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:ImageExtractionCategoryType.of_xml)letof_jsonj=list_of_json~kind:"ImageExtractionCategoryTypes"~of_json:ImageExtractionCategoryType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageStandardGenerativeFieldType=structtypenonrect=|IMAGE_SUMMARY|IAB|Non_static_idofstringletmakei=iletto_string=function|IMAGE_SUMMARY->"IMAGE_SUMMARY"|IAB->"IAB"|Non_static_ids->sletof_string=function|"IMAGE_SUMMARY"->IMAGE_SUMMARY|"IAB"->IAB|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 ImageStandardGenerativeFieldType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImageStandardGenerativeFieldType"j)letto_json=simple_to_jsonto_valueendmoduleVideoExtractionCategoryTypes=structtypenonrect=VideoExtractionCategoryType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VideoExtractionCategoryType.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:VideoExtractionCategoryType.of_xml)letof_jsonj=list_of_json~kind:"VideoExtractionCategoryTypes"~of_json:VideoExtractionCategoryType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVideoStandardGenerativeFieldType=structtypenonrect=|VIDEO_SUMMARY|IAB|CHAPTER_SUMMARY|Non_static_idofstringletmakei=iletto_string=function|VIDEO_SUMMARY->"VIDEO_SUMMARY"|IAB->"IAB"|CHAPTER_SUMMARY->"CHAPTER_SUMMARY"|Non_static_ids->sletof_string=function|"VIDEO_SUMMARY"->VIDEO_SUMMARY|"IAB"->IAB|"CHAPTER_SUMMARY"->CHAPTER_SUMMARY|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 VideoStandardGenerativeFieldType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VideoStandardGenerativeFieldType"j)letto_json=simple_to_jsonto_valueendmoduleS3ObjectVersion=structtypenonrect=string[@@ocaml.doc"S3 object version."]letcontext_="S3ObjectVersion"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"S3ObjectVersion"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"S3 object version."]moduleS3Uri=structtypenonrect=string[@@ocaml.doc"A path in S3"]letcontext_="S3Uri"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-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:"S3Uri"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A path in S3"]moduleVocabularyEntityInfo=structtypenonrect={entityId:EntityId.toption;description:EntityDescription.toption;language:Language.t;phrases:PhraseList.t}letcontext_="VocabularyEntityInfo"letmake?entityId=fun?description->fun~language->fun~phrases->fun()->{entityId;description;language;phrases}letto_valuex=structure_to_value[("entityId",(Option.mapx.entityId~f:EntityId.to_value));("description",(Option.mapx.description~f:EntityDescription.to_value));("language",(Some(Language.to_valuex.language)));("phrases",(Some(PhraseList.to_valuex.phrases)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphrases=PhraseList.of_xml(Xml.child_exn~context:context_xml_arg0"phrases")inletlanguage=Language.of_xml(Xml.child_exn~context:context_xml_arg0"language")inletdescription=(Option.map~f:EntityDescription.of_xml)(Xml.childxml_arg0"description")inletentityId=(Option.map~f:EntityId.of_xml)(Xml.childxml_arg0"entityId")inmake~phrases~language?description?entityId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphrases=field_map_exnjson__"phrases"PhraseList.of_jsoninletlanguage=field_map_exnjson__"language"Language.of_jsoninletdescription=field_mapjson__"description"EntityDescription.of_jsoninletentityId=field_mapjson__"entityId"EntityId.of_jsoninmake~phrases~language?description?entityId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Vocabulary entity info with detailed information"]moduleBlueprintArn=structtypenonrect=string[@@ocaml.doc"ARN of a Blueprint"]letcontext_="BlueprintArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):blueprint/(bedrock-data-automation-public-[a-zA-Z0-9-_]{1,30}|[a-zA-Z0-9-]{12,36})")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BlueprintArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"ARN of a Blueprint"]moduleBlueprintStage=structtypenonrect=|DEVELOPMENT|LIVE|Non_static_idofstringletmakei=iletto_string=function|DEVELOPMENT->"DEVELOPMENT"|LIVE->"LIVE"|Non_static_ids->sletof_string=function|"DEVELOPMENT"->DEVELOPMENT|"LIVE"->LIVE|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 BlueprintStage"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlueprintStage"j)letto_json=simple_to_jsonto_valueendmoduleBlueprintVersion=structtypenonrect=string[@@ocaml.doc"Blueprint Version"]letcontext_="BlueprintVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"BlueprintVersion"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Blueprint Version"]moduleDataAutomationLibraryArn=structtypenonrect=string[@@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"]letcontext_="DataAutomationLibraryArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-library/[a-zA-Z0-9-]{12,36}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DataAutomationLibraryArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"]moduleAudioGenerativeOutputLanguage=structtypenonrect=|DEFAULT|EN|Non_static_idofstringletmakei=iletto_string=function|DEFAULT->"DEFAULT"|EN->"EN"|Non_static_ids->sletof_string=function|"DEFAULT"->DEFAULT|"EN"->EN|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 AudioGenerativeOutputLanguage"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AudioGenerativeOutputLanguage"j)letto_json=simple_to_jsonto_valueendmoduleAudioInputLanguages=structtypenonrect=Language.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Language.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:Language.of_xml)letof_jsonj=list_of_json~kind:"AudioInputLanguages"~of_json:Language.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmodulePIIEntitiesConfiguration=structtypenonrect={piiEntityTypes:PIIEntityTypes.toption[@ocaml.doc"Types of PII entities to detect"];redactionMaskMode:PIIRedactionMaskMode.toption[@ocaml.doc"Mode for redacting detected PII"]}letmake?piiEntityTypes=fun?redactionMaskMode->fun()->{piiEntityTypes;redactionMaskMode}letto_valuex=structure_to_value[("piiEntityTypes",(Option.mapx.piiEntityTypes~f:PIIEntityTypes.to_value));("redactionMaskMode",(Option.mapx.redactionMaskMode~f:PIIRedactionMaskMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letredactionMaskMode=(Option.map~f:PIIRedactionMaskMode.of_xml)(Xml.childxml_arg0"redactionMaskMode")inletpiiEntityTypes=(Option.map~f:PIIEntityTypes.of_xml)(Xml.childxml_arg0"piiEntityTypes")inmake?redactionMaskMode?piiEntityTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letredactionMaskMode=field_mapjson__"redactionMaskMode"PIIRedactionMaskMode.of_jsoninletpiiEntityTypes=field_mapjson__"piiEntityTypes"PIIEntityTypes.of_jsoninmake?redactionMaskMode?piiEntityTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for PII entities detection and redaction"]moduleSensitiveDataDetectionMode=structtypenonrect=|DETECTION|DETECTION_AND_REDACTION|Non_static_idofstringletmakei=iletto_string=function|DETECTION->"DETECTION"|DETECTION_AND_REDACTION->"DETECTION_AND_REDACTION"|Non_static_ids->sletof_string=function|"DETECTION"->DETECTION|"DETECTION_AND_REDACTION"->DETECTION_AND_REDACTION|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 SensitiveDataDetectionMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SensitiveDataDetectionMode"j)letto_json=simple_to_jsonto_valueendmoduleSensitiveDataDetectionScope=structtypenonrect=SensitiveDataDetectionScopeType.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:2)>>=(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:SensitiveDataDetectionScopeType.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:SensitiveDataDetectionScopeType.of_xml)letof_jsonj=list_of_json~kind:"SensitiveDataDetectionScope"~of_json:SensitiveDataDetectionScopeType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAudioExtractionCategory=structtypenonrect={state:State.t;types:AudioExtractionCategoryTypes.toption;typeConfiguration:AudioExtractionCategoryTypeConfiguration.toption}letcontext_="AudioExtractionCategory"letmake?types=fun?typeConfiguration->fun~state->fun()->{types;typeConfiguration;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:AudioExtractionCategoryTypes.to_value));("typeConfiguration",(Option.mapx.typeConfiguration~f:AudioExtractionCategoryTypeConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypeConfiguration=(Option.map~f:AudioExtractionCategoryTypeConfiguration.of_xml)(Xml.childxml_arg0"typeConfiguration")inlettypes=(Option.map~f:AudioExtractionCategoryTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?typeConfiguration?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypeConfiguration=field_mapjson__"typeConfiguration"AudioExtractionCategoryTypeConfiguration.of_jsoninlettypes=field_mapjson__"types"AudioExtractionCategoryTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?typeConfiguration?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Category of Audio Extraction"]moduleAudioStandardGenerativeFieldTypes=structtypenonrect=AudioStandardGenerativeFieldType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AudioStandardGenerativeFieldType.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:AudioStandardGenerativeFieldType.of_xml)letof_jsonj=list_of_json~kind:"AudioStandardGenerativeFieldTypes"~of_json:AudioStandardGenerativeFieldType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDocumentOutputAdditionalFileFormat=structtypenonrect={state:State.t}letcontext_="DocumentOutputAdditionalFileFormat"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Additional File Format of Document Output"]moduleDocumentOutputTextFormat=structtypenonrect={types:DocumentOutputTextFormatTypes.toption}letmake?types=fun()->{types}letto_valuex=structure_to_value[("types",(Option.mapx.types~f:DocumentOutputTextFormatTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:DocumentOutputTextFormatTypes.of_xml)(Xml.childxml_arg0"types")inmake?types()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"DocumentOutputTextFormatTypes.of_jsoninmake?types()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Text Format of Document Output"]moduleDocumentBoundingBox=structtypenonrect={state:State.t}letcontext_="DocumentBoundingBox"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Bounding Box Configuration of Document Extraction"]moduleDocumentExtractionGranularity=structtypenonrect={types:DocumentExtractionGranularityTypes.toption}letmake?types=fun()->{types}letto_valuex=structure_to_value[("types",(Option.mapx.types~f:DocumentExtractionGranularityTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:DocumentExtractionGranularityTypes.of_xml)(Xml.childxml_arg0"types")inmake?types()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"DocumentExtractionGranularityTypes.of_jsoninmake?types()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Granularity of Document Extraction"]moduleImageBoundingBox=structtypenonrect={state:State.t}letcontext_="ImageBoundingBox"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Bounding Box Configuration of Image Extraction"]moduleImageExtractionCategory=structtypenonrect={state:State.t;types:ImageExtractionCategoryTypes.toption}letcontext_="ImageExtractionCategory"letmake?types=fun~state->fun()->{types;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:ImageExtractionCategoryTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:ImageExtractionCategoryTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"ImageExtractionCategoryTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Category of Image Extraction"]moduleImageStandardGenerativeFieldTypes=structtypenonrect=ImageStandardGenerativeFieldType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImageStandardGenerativeFieldType.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:ImageStandardGenerativeFieldType.of_xml)letof_jsonj=list_of_json~kind:"ImageStandardGenerativeFieldTypes"~of_json:ImageStandardGenerativeFieldType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVideoBoundingBox=structtypenonrect={state:State.t}letcontext_="VideoBoundingBox"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Bounding Box Configuration of Video Extraction"]moduleVideoExtractionCategory=structtypenonrect={state:State.t;types:VideoExtractionCategoryTypes.toption}letcontext_="VideoExtractionCategory"letmake?types=fun~state->fun()->{types;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:VideoExtractionCategoryTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:VideoExtractionCategoryTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"VideoExtractionCategoryTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Category of Video Extraction"]moduleVideoStandardGenerativeFieldTypes=structtypenonrect=VideoStandardGenerativeFieldType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VideoStandardGenerativeFieldType.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:VideoStandardGenerativeFieldType.of_xml)letof_jsonj=list_of_json~kind:"VideoStandardGenerativeFieldTypes"~of_json:VideoStandardGenerativeFieldType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNonBlankString=structtypenonrect=string[@@ocaml.doc"Non Blank String"]letcontext_="NonBlankString"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[\\s\\S]+");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NonBlankString"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Non Blank String"]moduleS3Object=structtypenonrect={s3Uri:S3Uri.t[@ocaml.doc"S3 uri."];version:S3ObjectVersion.toption[@ocaml.doc"S3 object version."]}letcontext_="S3Object"letmake?version=fun~s3Uri->fun()->{version;s3Uri}letto_valuex=structure_to_value[("s3Uri",(Some(S3Uri.to_valuex.s3Uri)));("version",(Option.mapx.version~f:S3ObjectVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversion=(Option.map~f:S3ObjectVersion.of_xml)(Xml.childxml_arg0"version")inlets3Uri=S3Uri.of_xml(Xml.child_exn~context:context_xml_arg0"s3Uri")inmake?version~s3Uri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversion=field_mapjson__"version"S3ObjectVersion.of_jsoninlets3Uri=field_map_exnjson__"s3Uri"S3Uri.of_jsoninmake?version~s3Uri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"S3 object"]moduleDateTimestamp=structtypenonrect=string[@@ocaml.doc"Time Stamp"]letmakei=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_valueend[@@ocaml.doc"Time Stamp"]moduleVocabularyEntitySummaryNumOfPhrasesInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for VocabularyEntitySummaryNumOfPhrasesInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleEntityIdList=structtypenonrect=EntityId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1000)>>=(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:EntityId.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:EntityId.of_xml)letof_jsonj=list_of_json~kind:"EntityIdList"~of_json:EntityId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpsertEntityInfo=structtypenonrect={vocabulary:VocabularyEntityInfo.toption}letmake?vocabulary=fun()->{vocabulary}letto_valuex=structure_to_value[("vocabulary",(Option.mapx.vocabulary~f:VocabularyEntityInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvocabulary=(Option.map~f:VocabularyEntityInfo.of_xml)(Xml.childxml_arg0"vocabulary")inmake?vocabulary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvocabulary=field_mapjson__"vocabulary"VocabularyEntityInfo.of_jsoninmake?vocabulary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input configuration for upserting data in a DataAutomationLibraryIngestionJob"]moduleBlueprintItem=structtypenonrect={blueprintArn:BlueprintArn.t;blueprintVersion:BlueprintVersion.toption;blueprintStage:BlueprintStage.toption}letcontext_="BlueprintItem"letmake?blueprintVersion=fun?blueprintStage->fun~blueprintArn->fun()->{blueprintVersion;blueprintStage;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?blueprintStage?blueprintVersion~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?blueprintStage?blueprintVersion~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Blueprint Item"]moduleDataAutomationLibraryItem=structtypenonrect={libraryArn:DataAutomationLibraryArn.t}letcontext_="DataAutomationLibraryItem"letmake~libraryArn=fun()->{libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DataAutomationLibrary Item"]moduleAudioLanguageConfiguration=structtypenonrect={inputLanguages:AudioInputLanguages.toption;generativeOutputLanguage:AudioGenerativeOutputLanguage.toption;identifyMultipleLanguages:Boolean.toption[@ocaml.doc"Enable multiple language identification in audio"]}letmake?inputLanguages=fun?generativeOutputLanguage->fun?identifyMultipleLanguages->fun()->{inputLanguages;generativeOutputLanguage;identifyMultipleLanguages}letto_valuex=structure_to_value[("inputLanguages",(Option.mapx.inputLanguages~f:AudioInputLanguages.to_value));("generativeOutputLanguage",(Option.mapx.generativeOutputLanguage~f:AudioGenerativeOutputLanguage.to_value));("identifyMultipleLanguages",(Option.mapx.identifyMultipleLanguages~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentifyMultipleLanguages=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"identifyMultipleLanguages")inletgenerativeOutputLanguage=(Option.map~f:AudioGenerativeOutputLanguage.of_xml)(Xml.childxml_arg0"generativeOutputLanguage")inletinputLanguages=(Option.map~f:AudioInputLanguages.of_xml)(Xml.childxml_arg0"inputLanguages")inmake?identifyMultipleLanguages?generativeOutputLanguage?inputLanguages()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentifyMultipleLanguages=field_mapjson__"identifyMultipleLanguages"Boolean.of_jsoninletgenerativeOutputLanguage=field_mapjson__"generativeOutputLanguage"AudioGenerativeOutputLanguage.of_jsoninletinputLanguages=field_mapjson__"inputLanguages"AudioInputLanguages.of_jsoninmake?identifyMultipleLanguages?generativeOutputLanguage?inputLanguages()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Optional configuration for audio language settings"]moduleModalityProcessingConfiguration=structtypenonrect={state:State.toption}letmake?state=fun()->{state}letto_valuex=structure_to_value[("state",(Option.mapx.state~f:State.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:State.of_xml)(Xml.childxml_arg0"state")inmake?state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"state"State.of_jsoninmake?state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration to enable/disable processing of modality"]moduleSensitiveDataConfiguration=structtypenonrect={detectionMode:SensitiveDataDetectionMode.t[@ocaml.doc"Mode for sensitive data detection"];detectionScope:SensitiveDataDetectionScope.toption[@ocaml.doc"Scope of detection - what types of sensitive data to detect"];piiEntitiesConfiguration:PIIEntitiesConfiguration.toption[@ocaml.doc"Configuration for PII entities detection and redaction"]}letcontext_="SensitiveDataConfiguration"letmake?detectionScope=fun?piiEntitiesConfiguration->fun~detectionMode->fun()->{detectionScope;piiEntitiesConfiguration;detectionMode}letto_valuex=structure_to_value[("detectionMode",(Some(SensitiveDataDetectionMode.to_valuex.detectionMode)));("detectionScope",(Option.mapx.detectionScope~f:SensitiveDataDetectionScope.to_value));("piiEntitiesConfiguration",(Option.mapx.piiEntitiesConfiguration~f:PIIEntitiesConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpiiEntitiesConfiguration=(Option.map~f:PIIEntitiesConfiguration.of_xml)(Xml.childxml_arg0"piiEntitiesConfiguration")inletdetectionScope=(Option.map~f:SensitiveDataDetectionScope.of_xml)(Xml.childxml_arg0"detectionScope")inletdetectionMode=SensitiveDataDetectionMode.of_xml(Xml.child_exn~context:context_xml_arg0"detectionMode")inmake?piiEntitiesConfiguration?detectionScope~detectionMode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpiiEntitiesConfiguration=field_mapjson__"piiEntitiesConfiguration"PIIEntitiesConfiguration.of_jsoninletdetectionScope=field_mapjson__"detectionScope"SensitiveDataDetectionScope.of_jsoninletdetectionMode=field_map_exnjson__"detectionMode"SensitiveDataDetectionMode.of_jsoninmake?piiEntitiesConfiguration?detectionScope~detectionMode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for sensitive data detection and redaction"]moduleSplitterConfiguration=structtypenonrect={state:State.toption}letmake?state=fun()->{state}letto_valuex=structure_to_value[("state",(Option.mapx.state~f:State.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:State.of_xml)(Xml.childxml_arg0"state")inmake?state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"state"State.of_jsoninmake?state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration of Splitter"]moduleDesiredModality=structtypenonrect=|IMAGE|DOCUMENT|AUDIO|VIDEO|Non_static_idofstringletmakei=iletto_string=function|IMAGE->"IMAGE"|DOCUMENT->"DOCUMENT"|AUDIO->"AUDIO"|VIDEO->"VIDEO"|Non_static_ids->sletof_string=function|"IMAGE"->IMAGE|"DOCUMENT"->DOCUMENT|"AUDIO"->AUDIO|"VIDEO"->VIDEO|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 DesiredModality"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DesiredModality"j)letto_json=simple_to_jsonto_valueendmoduleAudioStandardExtraction=structtypenonrect={category:AudioExtractionCategory.t}letcontext_="AudioStandardExtraction"letmake~category=fun()->{category}letto_valuex=structure_to_value[("category",(Some(AudioExtractionCategory.to_valuex.category)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcategory=AudioExtractionCategory.of_xml(Xml.child_exn~context:context_xml_arg0"category")inmake~category()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcategory=field_map_exnjson__"category"AudioExtractionCategory.of_jsoninmake~category()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Extraction Configuration of Audio"]moduleAudioStandardGenerativeField=structtypenonrect={state:State.t;types:AudioStandardGenerativeFieldTypes.toption}letcontext_="AudioStandardGenerativeField"letmake?types=fun~state->fun()->{types;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:AudioStandardGenerativeFieldTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:AudioStandardGenerativeFieldTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"AudioStandardGenerativeFieldTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Generative Field Configuration of Audio"]moduleDocumentOutputFormat=structtypenonrect={textFormat:DocumentOutputTextFormat.t;additionalFileFormat:DocumentOutputAdditionalFileFormat.t}letcontext_="DocumentOutputFormat"letmake~textFormat=fun~additionalFileFormat->fun()->{textFormat;additionalFileFormat}letto_valuex=structure_to_value[("textFormat",(Some(DocumentOutputTextFormat.to_valuex.textFormat)));("additionalFileFormat",(Some(DocumentOutputAdditionalFileFormat.to_valuex.additionalFileFormat)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalFileFormat=DocumentOutputAdditionalFileFormat.of_xml(Xml.child_exn~context:context_xml_arg0"additionalFileFormat")inlettextFormat=DocumentOutputTextFormat.of_xml(Xml.child_exn~context:context_xml_arg0"textFormat")inmake~additionalFileFormat~textFormat()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalFileFormat=field_map_exnjson__"additionalFileFormat"DocumentOutputAdditionalFileFormat.of_jsoninlettextFormat=field_map_exnjson__"textFormat"DocumentOutputTextFormat.of_jsoninmake~additionalFileFormat~textFormat()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output Format of Document"]moduleDocumentStandardExtraction=structtypenonrect={granularity:DocumentExtractionGranularity.t;boundingBox:DocumentBoundingBox.t}letcontext_="DocumentStandardExtraction"letmake~granularity=fun~boundingBox->fun()->{granularity;boundingBox}letto_valuex=structure_to_value[("granularity",(Some(DocumentExtractionGranularity.to_valuex.granularity)));("boundingBox",(Some(DocumentBoundingBox.to_valuex.boundingBox)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letboundingBox=DocumentBoundingBox.of_xml(Xml.child_exn~context:context_xml_arg0"boundingBox")inletgranularity=DocumentExtractionGranularity.of_xml(Xml.child_exn~context:context_xml_arg0"granularity")inmake~boundingBox~granularity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letboundingBox=field_map_exnjson__"boundingBox"DocumentBoundingBox.of_jsoninletgranularity=field_map_exnjson__"granularity"DocumentExtractionGranularity.of_jsoninmake~boundingBox~granularity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Extraction Configuration of Document"]moduleDocumentStandardGenerativeField=structtypenonrect={state:State.t}letcontext_="DocumentStandardGenerativeField"letmake~state=fun()->{state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_map_exnjson__"state"State.of_jsoninmake~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Generative Field Configuration of Document"]moduleImageStandardExtraction=structtypenonrect={category:ImageExtractionCategory.t;boundingBox:ImageBoundingBox.t}letcontext_="ImageStandardExtraction"letmake~category=fun~boundingBox->fun()->{category;boundingBox}letto_valuex=structure_to_value[("category",(Some(ImageExtractionCategory.to_valuex.category)));("boundingBox",(Some(ImageBoundingBox.to_valuex.boundingBox)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letboundingBox=ImageBoundingBox.of_xml(Xml.child_exn~context:context_xml_arg0"boundingBox")inletcategory=ImageExtractionCategory.of_xml(Xml.child_exn~context:context_xml_arg0"category")inmake~boundingBox~category()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letboundingBox=field_map_exnjson__"boundingBox"ImageBoundingBox.of_jsoninletcategory=field_map_exnjson__"category"ImageExtractionCategory.of_jsoninmake~boundingBox~category()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Extraction Configuration of Image"]moduleImageStandardGenerativeField=structtypenonrect={state:State.t;types:ImageStandardGenerativeFieldTypes.toption}letcontext_="ImageStandardGenerativeField"letmake?types=fun~state->fun()->{types;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:ImageStandardGenerativeFieldTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:ImageStandardGenerativeFieldTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"ImageStandardGenerativeFieldTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Generative Field Configuration of Image"]moduleVideoStandardExtraction=structtypenonrect={category:VideoExtractionCategory.t;boundingBox:VideoBoundingBox.t}letcontext_="VideoStandardExtraction"letmake~category=fun~boundingBox->fun()->{category;boundingBox}letto_valuex=structure_to_value[("category",(Some(VideoExtractionCategory.to_valuex.category)));("boundingBox",(Some(VideoBoundingBox.to_valuex.boundingBox)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letboundingBox=VideoBoundingBox.of_xml(Xml.child_exn~context:context_xml_arg0"boundingBox")inletcategory=VideoExtractionCategory.of_xml(Xml.child_exn~context:context_xml_arg0"category")inmake~boundingBox~category()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letboundingBox=field_map_exnjson__"boundingBox"VideoBoundingBox.of_jsoninletcategory=field_map_exnjson__"category"VideoExtractionCategory.of_jsoninmake~boundingBox~category()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Extraction Configuration of Video"]moduleVideoStandardGenerativeField=structtypenonrect={state:State.t;types:VideoStandardGenerativeFieldTypes.toption}letcontext_="VideoStandardGenerativeField"letmake?types=fun~state->fun()->{types;state}letto_valuex=structure_to_value[("state",(Some(State.to_valuex.state)));("types",(Option.mapx.types~f:VideoStandardGenerativeFieldTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:VideoStandardGenerativeFieldTypes.of_xml)(Xml.childxml_arg0"types")inletstate=State.of_xml(Xml.child_exn~context:context_xml_arg0"state")inmake?types~state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"VideoStandardGenerativeFieldTypes.of_jsoninletstate=field_map_exnjson__"state"State.of_jsoninmake?types~state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Generative Field Configuration of Video"]moduleEntityMetadata=structtypenonrect=string[@@ocaml.doc"JSON string representing relevant metadata for the entity type"]letcontext_="EntityMetadata"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:"EntityMetadata"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"JSON string representing relevant metadata for the entity type"]moduleEntityType=structtypenonrect=|VOCABULARY|Non_static_idofstringletmakei=iletto_string=function|VOCABULARY->"VOCABULARY"|Non_static_ids->sletof_string=function|"VOCABULARY"->VOCABULARY|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 EntityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EntityType"j)letto_json=simple_to_jsonto_valueendmoduleValidationExceptionField=structtypenonrect={name:NonBlankString.toption;message:NonBlankString.toption}letmake?name=fun?message->fun()->{name;message}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:NonBlankString.to_value));("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inletname=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"name")inmake?message?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninletname=field_mapjson__"name"NonBlankString.of_jsoninmake?message?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stores information about a field passed inside a request that resulted in an exception"]moduleEncryptionContextKey=structtypenonrect=string[@@ocaml.doc"Encryption context key."]letcontext_="EncryptionContextKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2000)>>=(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:"EncryptionContextKey"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Encryption context key."]moduleEncryptionContextValue=structtypenonrect=string[@@ocaml.doc"Encryption context value."]letcontext_="EncryptionContextValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2000)>>=(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:"EncryptionContextValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Encryption context value."]moduleBlueprintOptimizationSample=structtypenonrect={assetS3Object:S3Object.t[@ocaml.doc"S3 Object of the asset"];groundTruthS3Object:S3Object.t[@ocaml.doc"Ground truth for the Blueprint and Asset combination"]}letcontext_="BlueprintOptimizationSample"letmake~assetS3Object=fun~groundTruthS3Object->fun()->{assetS3Object;groundTruthS3Object}letto_valuex=structure_to_value[("assetS3Object",(Some(S3Object.to_valuex.assetS3Object)));("groundTruthS3Object",(Some(S3Object.to_valuex.groundTruthS3Object)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgroundTruthS3Object=S3Object.of_xml(Xml.child_exn~context:context_xml_arg0"groundTruthS3Object")inletassetS3Object=S3Object.of_xml(Xml.child_exn~context:context_xml_arg0"assetS3Object")inmake~groundTruthS3Object~assetS3Object()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgroundTruthS3Object=field_map_exnjson__"groundTruthS3Object"S3Object.of_jsoninletassetS3Object=field_map_exnjson__"assetS3Object"S3Object.of_jsoninmake~groundTruthS3Object~assetS3Object()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Blueprint Recommendation Sample"]moduleTagKey=structtypenonrect=string[@@ocaml.doc"Defines the context of the tag."]letcontext_="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_valueend[@@ocaml.doc"Defines the context of the tag."]moduleTagValue=structtypenonrect=string[@@ocaml.doc"Defines the value within the context. e.g. <key=reason, value=training>."]letcontext_="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_valueend[@@ocaml.doc"Defines the value within the context. e.g. <key=reason, value=training>."]moduleDataAutomationProjectArn=structtypenonrect=string[@@ocaml.doc"ARN of a DataAutomationProject"]letcontext_="DataAutomationProjectArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-project/[a-zA-Z0-9-]{12,36}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DataAutomationProjectArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"ARN of a DataAutomationProject"]moduleDataAutomationProjectName=structtypenonrect=string[@@ocaml.doc"Name of the DataAutomationProject"]letcontext_="DataAutomationProjectName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"DataAutomationProjectName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Name of the DataAutomationProject"]moduleDataAutomationProjectStage=structtypenonrect=|DEVELOPMENT|LIVE|Non_static_idofstringletmakei=iletto_string=function|DEVELOPMENT->"DEVELOPMENT"|LIVE->"LIVE"|Non_static_ids->sletof_string=function|"DEVELOPMENT"->DEVELOPMENT|"LIVE"->LIVE|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 DataAutomationProjectStage"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataAutomationProjectStage"j)letto_json=simple_to_jsonto_valueendmoduleDataAutomationProjectType=structtypenonrect=|ASYNC|SYNC|Non_static_idofstringletmakei=iletto_string=function|ASYNC->"ASYNC"|SYNC->"SYNC"|Non_static_ids->sletof_string=function|"ASYNC"->ASYNC|"SYNC"->SYNC|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DataAutomationProjectType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataAutomationProjectType"j)letto_json=simple_to_jsonto_valueendmoduleDataAutomationLibraryIngestionJobArn=structtypenonrect=string[@@ocaml.doc"ARN of the DataAutomationLibraryIngestionJob"]letcontext_="DataAutomationLibraryIngestionJobArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:data-automation-library-ingestion-job/[a-zA-Z0-9-]{12,36}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DataAutomationLibraryIngestionJobArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"ARN of the DataAutomationLibraryIngestionJob"]moduleLibraryIngestionJobOperationType=structtypenonrect=|UPSERT|DELETE|Non_static_idofstringletmakei=iletto_string=function|UPSERT->"UPSERT"|DELETE->"DELETE"|Non_static_ids->sletof_string=function|"UPSERT"->UPSERT|"DELETE"->DELETE|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 LibraryIngestionJobOperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LibraryIngestionJobOperationType"j)letto_json=simple_to_jsonto_valueendmoduleLibraryIngestionJobStatus=structtypenonrect=|IN_PROGRESS|COMPLETED|COMPLETED_WITH_ERRORS|FAILED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|COMPLETED->"COMPLETED"|COMPLETED_WITH_ERRORS->"COMPLETED_WITH_ERRORS"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"COMPLETED"->COMPLETED|"COMPLETED_WITH_ERRORS"->COMPLETED_WITH_ERRORS|"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 LibraryIngestionJobStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LibraryIngestionJobStatus"j)letto_json=simple_to_jsonto_valueendmoduleVocabularyEntitySummary=structtypenonrect={entityId:EntityId.toption;description:EntityDescription.toption;language:Language.toption;numOfPhrases:VocabularyEntitySummaryNumOfPhrasesInteger.toption[@ocaml.doc"num of phrases in the entity"];lastModifiedTime:DateTimestamp.toption}letmake?entityId=fun?description->fun?language->fun?numOfPhrases->fun?lastModifiedTime->fun()->{entityId;description;language;numOfPhrases;lastModifiedTime}letto_valuex=structure_to_value[("entityId",(Option.mapx.entityId~f:EntityId.to_value));("description",(Option.mapx.description~f:EntityDescription.to_value));("language",(Option.mapx.language~f:Language.to_value));("numOfPhrases",(Option.mapx.numOfPhrases~f:VocabularyEntitySummaryNumOfPhrasesInteger.to_value));("lastModifiedTime",(Option.mapx.lastModifiedTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastModifiedTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"lastModifiedTime")inletnumOfPhrases=(Option.map~f:VocabularyEntitySummaryNumOfPhrasesInteger.of_xml)(Xml.childxml_arg0"numOfPhrases")inletlanguage=(Option.map~f:Language.of_xml)(Xml.childxml_arg0"language")inletdescription=(Option.map~f:EntityDescription.of_xml)(Xml.childxml_arg0"description")inletentityId=(Option.map~f:EntityId.of_xml)(Xml.childxml_arg0"entityId")inmake?lastModifiedTime?numOfPhrases?language?description?entityId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastModifiedTime=field_mapjson__"lastModifiedTime"DateTimestamp.of_jsoninletnumOfPhrases=field_mapjson__"numOfPhrases"VocabularyEntitySummaryNumOfPhrasesInteger.of_jsoninletlanguage=field_mapjson__"language"Language.of_jsoninletdescription=field_mapjson__"description"EntityDescription.of_jsoninletentityId=field_mapjson__"entityId"EntityId.of_jsoninmake?lastModifiedTime?numOfPhrases?language?description?entityId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of a Vocabulary entity"]moduleDataAutomationLibraryName=structtypenonrect=string[@@ocaml.doc"Name of the DataAutomationLibrary"]letcontext_="DataAutomationLibraryName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"DataAutomationLibraryName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Name of the DataAutomationLibrary"]moduleBlueprintName=structtypenonrect=string[@@ocaml.doc"Name of the Blueprint"]letcontext_="BlueprintName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"BlueprintName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Name of the Blueprint"]moduleDeleteEntitiesInfo=structtypenonrect={entityIds:EntityIdList.t}letcontext_="DeleteEntitiesInfo"letmake~entityIds=fun()->{entityIds}letto_valuex=structure_to_value[("entityIds",(Some(EntityIdList.to_valuex.entityIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letentityIds=EntityIdList.of_xml(Xml.child_exn~context:context_xml_arg0"entityIds")inmake~entityIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letentityIds=field_map_exnjson__"entityIds"EntityIdList.of_jsoninmake~entityIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input for entities needed to be deleted"]moduleUpsertEntitiesInfo=structtypenonrect=UpsertEntityInfo.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UpsertEntityInfo.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:UpsertEntityInfo.of_xml)letof_jsonj=list_of_json~kind:"UpsertEntitiesInfo"~of_json:UpsertEntityInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlueprintItems=structtypenonrect=BlueprintItem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlueprintItem.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:BlueprintItem.of_xml)letof_jsonj=list_of_json~kind:"BlueprintItems"~of_json:BlueprintItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDataAutomationLibraryItems=structtypenonrect=DataAutomationLibraryItem.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(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:DataAutomationLibraryItem.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:DataAutomationLibraryItem.of_xml)letof_jsonj=list_of_json~kind:"DataAutomationLibraryItems"~of_json:DataAutomationLibraryItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAudioOverrideConfiguration=structtypenonrect={modalityProcessing:ModalityProcessingConfiguration.toption;languageConfiguration:AudioLanguageConfiguration.toption;sensitiveDataConfiguration:SensitiveDataConfiguration.toption}letmake?modalityProcessing=fun?languageConfiguration->fun?sensitiveDataConfiguration->fun()->{modalityProcessing;languageConfiguration;sensitiveDataConfiguration}letto_valuex=structure_to_value[("modalityProcessing",(Option.mapx.modalityProcessing~f:ModalityProcessingConfiguration.to_value));("languageConfiguration",(Option.mapx.languageConfiguration~f:AudioLanguageConfiguration.to_value));("sensitiveDataConfiguration",(Option.mapx.sensitiveDataConfiguration~f:SensitiveDataConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsensitiveDataConfiguration=(Option.map~f:SensitiveDataConfiguration.of_xml)(Xml.childxml_arg0"sensitiveDataConfiguration")inletlanguageConfiguration=(Option.map~f:AudioLanguageConfiguration.of_xml)(Xml.childxml_arg0"languageConfiguration")inletmodalityProcessing=(Option.map~f:ModalityProcessingConfiguration.of_xml)(Xml.childxml_arg0"modalityProcessing")inmake?sensitiveDataConfiguration?languageConfiguration?modalityProcessing()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsensitiveDataConfiguration=field_mapjson__"sensitiveDataConfiguration"SensitiveDataConfiguration.of_jsoninletlanguageConfiguration=field_mapjson__"languageConfiguration"AudioLanguageConfiguration.of_jsoninletmodalityProcessing=field_mapjson__"modalityProcessing"ModalityProcessingConfiguration.of_jsoninmake?sensitiveDataConfiguration?languageConfiguration?modalityProcessing()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Override Configuration of Audio"]moduleDocumentOverrideConfiguration=structtypenonrect={splitter:SplitterConfiguration.toption;modalityProcessing:ModalityProcessingConfiguration.toption;sensitiveDataConfiguration:SensitiveDataConfiguration.toption}letmake?splitter=fun?modalityProcessing->fun?sensitiveDataConfiguration->fun()->{splitter;modalityProcessing;sensitiveDataConfiguration}letto_valuex=structure_to_value[("splitter",(Option.mapx.splitter~f:SplitterConfiguration.to_value));("modalityProcessing",(Option.mapx.modalityProcessing~f:ModalityProcessingConfiguration.to_value));("sensitiveDataConfiguration",(Option.mapx.sensitiveDataConfiguration~f:SensitiveDataConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsensitiveDataConfiguration=(Option.map~f:SensitiveDataConfiguration.of_xml)(Xml.childxml_arg0"sensitiveDataConfiguration")inletmodalityProcessing=(Option.map~f:ModalityProcessingConfiguration.of_xml)(Xml.childxml_arg0"modalityProcessing")inletsplitter=(Option.map~f:SplitterConfiguration.of_xml)(Xml.childxml_arg0"splitter")inmake?sensitiveDataConfiguration?modalityProcessing?splitter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsensitiveDataConfiguration=field_mapjson__"sensitiveDataConfiguration"SensitiveDataConfiguration.of_jsoninletmodalityProcessing=field_mapjson__"modalityProcessing"ModalityProcessingConfiguration.of_jsoninletsplitter=field_mapjson__"splitter"SplitterConfiguration.of_jsoninmake?sensitiveDataConfiguration?modalityProcessing?splitter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Override Configuration of Document"]moduleImageOverrideConfiguration=structtypenonrect={modalityProcessing:ModalityProcessingConfiguration.toption;sensitiveDataConfiguration:SensitiveDataConfiguration.toption}letmake?modalityProcessing=fun?sensitiveDataConfiguration->fun()->{modalityProcessing;sensitiveDataConfiguration}letto_valuex=structure_to_value[("modalityProcessing",(Option.mapx.modalityProcessing~f:ModalityProcessingConfiguration.to_value));("sensitiveDataConfiguration",(Option.mapx.sensitiveDataConfiguration~f:SensitiveDataConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsensitiveDataConfiguration=(Option.map~f:SensitiveDataConfiguration.of_xml)(Xml.childxml_arg0"sensitiveDataConfiguration")inletmodalityProcessing=(Option.map~f:ModalityProcessingConfiguration.of_xml)(Xml.childxml_arg0"modalityProcessing")inmake?sensitiveDataConfiguration?modalityProcessing()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsensitiveDataConfiguration=field_mapjson__"sensitiveDataConfiguration"SensitiveDataConfiguration.of_jsoninletmodalityProcessing=field_mapjson__"modalityProcessing"ModalityProcessingConfiguration.of_jsoninmake?sensitiveDataConfiguration?modalityProcessing()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Override Configuration of Image"]moduleModalityRoutingConfiguration=structtypenonrect={jpeg:DesiredModality.toption;png:DesiredModality.toption;mp4:DesiredModality.toption;mov:DesiredModality.toption}letmake?jpeg=fun?png->fun?mp4->fun?mov->fun()->{jpeg;png;mp4;mov}letto_valuex=structure_to_value[("jpeg",(Option.mapx.jpeg~f:DesiredModality.to_value));("png",(Option.mapx.png~f:DesiredModality.to_value));("mp4",(Option.mapx.mp4~f:DesiredModality.to_value));("mov",(Option.mapx.mov~f:DesiredModality.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmov=(Option.map~f:DesiredModality.of_xml)(Xml.childxml_arg0"mov")inletmp4=(Option.map~f:DesiredModality.of_xml)(Xml.childxml_arg0"mp4")inletpng=(Option.map~f:DesiredModality.of_xml)(Xml.childxml_arg0"png")inletjpeg=(Option.map~f:DesiredModality.of_xml)(Xml.childxml_arg0"jpeg")inmake?mov?mp4?png?jpeg()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmov=field_mapjson__"mov"DesiredModality.of_jsoninletmp4=field_mapjson__"mp4"DesiredModality.of_jsoninletpng=field_mapjson__"png"DesiredModality.of_jsoninletjpeg=field_mapjson__"jpeg"DesiredModality.of_jsoninmake?mov?mp4?png?jpeg()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration for routing file type to desired modality"]moduleVideoOverrideConfiguration=structtypenonrect={modalityProcessing:ModalityProcessingConfiguration.toption;sensitiveDataConfiguration:SensitiveDataConfiguration.toption}letmake?modalityProcessing=fun?sensitiveDataConfiguration->fun()->{modalityProcessing;sensitiveDataConfiguration}letto_valuex=structure_to_value[("modalityProcessing",(Option.mapx.modalityProcessing~f:ModalityProcessingConfiguration.to_value));("sensitiveDataConfiguration",(Option.mapx.sensitiveDataConfiguration~f:SensitiveDataConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsensitiveDataConfiguration=(Option.map~f:SensitiveDataConfiguration.of_xml)(Xml.childxml_arg0"sensitiveDataConfiguration")inletmodalityProcessing=(Option.map~f:ModalityProcessingConfiguration.of_xml)(Xml.childxml_arg0"modalityProcessing")inmake?sensitiveDataConfiguration?modalityProcessing()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsensitiveDataConfiguration=field_mapjson__"sensitiveDataConfiguration"SensitiveDataConfiguration.of_jsoninletmodalityProcessing=field_mapjson__"modalityProcessing"ModalityProcessingConfiguration.of_jsoninmake?sensitiveDataConfiguration?modalityProcessing()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Override Configuration of Video"]moduleAudioStandardOutputConfiguration=structtypenonrect={extraction:AudioStandardExtraction.toption;generativeField:AudioStandardGenerativeField.toption}letmake?extraction=fun?generativeField->fun()->{extraction;generativeField}letto_valuex=structure_to_value[("extraction",(Option.mapx.extraction~f:AudioStandardExtraction.to_value));("generativeField",(Option.mapx.generativeField~f:AudioStandardGenerativeField.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgenerativeField=(Option.map~f:AudioStandardGenerativeField.of_xml)(Xml.childxml_arg0"generativeField")inletextraction=(Option.map~f:AudioStandardExtraction.of_xml)(Xml.childxml_arg0"extraction")inmake?generativeField?extraction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgenerativeField=field_mapjson__"generativeField"AudioStandardGenerativeField.of_jsoninletextraction=field_mapjson__"extraction"AudioStandardExtraction.of_jsoninmake?generativeField?extraction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Output Configuration of Audio"]moduleDocumentStandardOutputConfiguration=structtypenonrect={extraction:DocumentStandardExtraction.toption;generativeField:DocumentStandardGenerativeField.toption;outputFormat:DocumentOutputFormat.toption}letmake?extraction=fun?generativeField->fun?outputFormat->fun()->{extraction;generativeField;outputFormat}letto_valuex=structure_to_value[("extraction",(Option.mapx.extraction~f:DocumentStandardExtraction.to_value));("generativeField",(Option.mapx.generativeField~f:DocumentStandardGenerativeField.to_value));("outputFormat",(Option.mapx.outputFormat~f:DocumentOutputFormat.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutputFormat=(Option.map~f:DocumentOutputFormat.of_xml)(Xml.childxml_arg0"outputFormat")inletgenerativeField=(Option.map~f:DocumentStandardGenerativeField.of_xml)(Xml.childxml_arg0"generativeField")inletextraction=(Option.map~f:DocumentStandardExtraction.of_xml)(Xml.childxml_arg0"extraction")inmake?outputFormat?generativeField?extraction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutputFormat=field_mapjson__"outputFormat"DocumentOutputFormat.of_jsoninletgenerativeField=field_mapjson__"generativeField"DocumentStandardGenerativeField.of_jsoninletextraction=field_mapjson__"extraction"DocumentStandardExtraction.of_jsoninmake?outputFormat?generativeField?extraction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Output Configuration of Document"]moduleImageStandardOutputConfiguration=structtypenonrect={extraction:ImageStandardExtraction.toption;generativeField:ImageStandardGenerativeField.toption}letmake?extraction=fun?generativeField->fun()->{extraction;generativeField}letto_valuex=structure_to_value[("extraction",(Option.mapx.extraction~f:ImageStandardExtraction.to_value));("generativeField",(Option.mapx.generativeField~f:ImageStandardGenerativeField.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgenerativeField=(Option.map~f:ImageStandardGenerativeField.of_xml)(Xml.childxml_arg0"generativeField")inletextraction=(Option.map~f:ImageStandardExtraction.of_xml)(Xml.childxml_arg0"extraction")inmake?generativeField?extraction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgenerativeField=field_mapjson__"generativeField"ImageStandardGenerativeField.of_jsoninletextraction=field_mapjson__"extraction"ImageStandardExtraction.of_jsoninmake?generativeField?extraction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Output Configuration of Image"]moduleVideoStandardOutputConfiguration=structtypenonrect={extraction:VideoStandardExtraction.toption;generativeField:VideoStandardGenerativeField.toption}letmake?extraction=fun?generativeField->fun()->{extraction;generativeField}letto_valuex=structure_to_value[("extraction",(Option.mapx.extraction~f:VideoStandardExtraction.to_value));("generativeField",(Option.mapx.generativeField~f:VideoStandardGenerativeField.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgenerativeField=(Option.map~f:VideoStandardGenerativeField.of_xml)(Xml.childxml_arg0"generativeField")inletextraction=(Option.map~f:VideoStandardExtraction.of_xml)(Xml.childxml_arg0"extraction")inmake?generativeField?extraction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgenerativeField=field_mapjson__"generativeField"VideoStandardGenerativeField.of_jsoninletextraction=field_mapjson__"extraction"VideoStandardExtraction.of_jsoninmake?generativeField?extraction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard Output Configuration of Video"]moduleEntityTypeInfo=structtypenonrect={entityType:EntityType.toption;entityMetadata:EntityMetadata.toption}letmake?entityType=fun?entityMetadata->fun()->{entityType;entityMetadata}letto_valuex=structure_to_value[("entityType",(Option.mapx.entityType~f:EntityType.to_value));("entityMetadata",(Option.mapx.entityMetadata~f:EntityMetadata.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letentityMetadata=(Option.map~f:EntityMetadata.of_xml)(Xml.childxml_arg0"entityMetadata")inletentityType=(Option.map~f:EntityType.of_xml)(Xml.childxml_arg0"entityType")inmake?entityMetadata?entityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letentityMetadata=field_mapjson__"entityMetadata"EntityMetadata.of_jsoninletentityType=field_mapjson__"entityType"EntityType.of_jsoninmake?entityMetadata?entityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an entity type in the DataAutomationLibrary"]moduleValidationExceptionFieldList=structtypenonrect=ValidationExceptionField.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ValidationExceptionField.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:ValidationExceptionField.of_xml)letof_jsonj=list_of_json~kind:"ValidationExceptionFieldList"~of_json:ValidationExceptionField.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleKmsEncryptionContext=structtypenonrect=(EncryptionContextKey.t*EncryptionContextValue.t)listletmakei=letopenResultinok_or_failwith(check_list_mini~min:1);iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((EncryptionContextKey.of_stringchopped),(EncryptionContextValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(EncryptionContextKey.to_valuex)|>(funx->(EncryptionContextValue.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:EncryptionContextKey.of_string~of_json:EncryptionContextValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleKmsKeyId=structtypenonrect=string[@@ocaml.doc"KMS Key Identifier"]letcontext_="KmsKeyId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KmsKeyId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"KMS Key Identifier"]moduleBlueprintOptimizationSamples=structtypenonrect=BlueprintOptimizationSample.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlueprintOptimizationSample.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:BlueprintOptimizationSample.of_xml)letof_jsonj=list_of_json~kind:"BlueprintOptimizationSamples"~of_json:BlueprintOptimizationSample.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlueprintSchema=structtypenonrect=string[@@ocaml.doc"Schema of the blueprint"]letcontext_="BlueprintSchema"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:100000)>>=(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:"BlueprintSchema"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Schema of the blueprint"]moduleType=structtypenonrect=|DOCUMENT|IMAGE|AUDIO|VIDEO|Non_static_idofstringletmakei=iletto_string=function|DOCUMENT->"DOCUMENT"|IMAGE->"IMAGE"|AUDIO->"AUDIO"|VIDEO->"VIDEO"|Non_static_ids->sletof_string=function|"DOCUMENT"->DOCUMENT|"IMAGE"->IMAGE|"AUDIO"->AUDIO|"VIDEO"->VIDEO|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 Type"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Type"j)letto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t;value:TagValue.t}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"Key value pair of a tag"]moduleDataAutomationProjectSummary=structtypenonrect={projectArn:DataAutomationProjectArn.toption;projectStage:DataAutomationProjectStage.toption;projectType:DataAutomationProjectType.toption;projectName:DataAutomationProjectName.toption;creationTime:DateTimestamp.toption}letmake?projectArn=fun?projectStage->fun?projectType->fun?projectName->fun?creationTime->fun()->{projectArn;projectStage;projectType;projectName;creationTime}letto_valuex=structure_to_value[("projectArn",(Option.mapx.projectArn~f:DataAutomationProjectArn.to_value));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("projectType",(Option.mapx.projectType~f:DataAutomationProjectType.to_value));("projectName",(Option.mapx.projectName~f:DataAutomationProjectName.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletprojectName=(Option.map~f:DataAutomationProjectName.of_xml)(Xml.childxml_arg0"projectName")inletprojectType=(Option.map~f:DataAutomationProjectType.of_xml)(Xml.childxml_arg0"projectType")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=(Option.map~f:DataAutomationProjectArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?creationTime?projectName?projectType?projectStage?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletprojectName=field_mapjson__"projectName"DataAutomationProjectName.of_jsoninletprojectType=field_mapjson__"projectType"DataAutomationProjectType.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_mapjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?creationTime?projectName?projectType?projectStage?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of a DataAutomationProject"]moduleDataAutomationLibraryIngestionJobSummary=structtypenonrect={jobArn:DataAutomationLibraryIngestionJobArn.toption;jobStatus:LibraryIngestionJobStatus.toption;entityType:EntityType.toption;operationType:LibraryIngestionJobOperationType.toption;creationTime:DateTimestamp.toption;completionTime:DateTimestamp.toption}letmake?jobArn=fun?jobStatus->fun?entityType->fun?operationType->fun?creationTime->fun?completionTime->fun()->{jobArn;jobStatus;entityType;operationType;creationTime;completionTime}letto_valuex=structure_to_value[("jobArn",(Option.mapx.jobArn~f:DataAutomationLibraryIngestionJobArn.to_value));("jobStatus",(Option.mapx.jobStatus~f:LibraryIngestionJobStatus.to_value));("entityType",(Option.mapx.entityType~f:EntityType.to_value));("operationType",(Option.mapx.operationType~f:LibraryIngestionJobOperationType.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("completionTime",(Option.mapx.completionTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletionTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"completionTime")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletoperationType=(Option.map~f:LibraryIngestionJobOperationType.of_xml)(Xml.childxml_arg0"operationType")inletentityType=(Option.map~f:EntityType.of_xml)(Xml.childxml_arg0"entityType")inletjobStatus=(Option.map~f:LibraryIngestionJobStatus.of_xml)(Xml.childxml_arg0"jobStatus")inletjobArn=(Option.map~f:DataAutomationLibraryIngestionJobArn.of_xml)(Xml.childxml_arg0"jobArn")inmake?completionTime?creationTime?operationType?entityType?jobStatus?jobArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletionTime=field_mapjson__"completionTime"DateTimestamp.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletoperationType=field_mapjson__"operationType"LibraryIngestionJobOperationType.of_jsoninletentityType=field_mapjson__"entityType"EntityType.of_jsoninletjobStatus=field_mapjson__"jobStatus"LibraryIngestionJobStatus.of_jsoninletjobArn=field_mapjson__"jobArn"DataAutomationLibraryIngestionJobArn.of_jsoninmake?completionTime?creationTime?operationType?entityType?jobStatus?jobArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of a DataAutomationLibraryIngestionJob"]moduleDataAutomationLibraryEntitySummary=structtypenonrect={vocabulary:VocabularyEntitySummary.toption}letmake?vocabulary=fun()->{vocabulary}letto_valuex=structure_to_value[("vocabulary",(Option.mapx.vocabulary~f:VocabularyEntitySummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvocabulary=(Option.map~f:VocabularyEntitySummary.of_xml)(Xml.childxml_arg0"vocabulary")inmake?vocabulary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvocabulary=field_mapjson__"vocabulary"VocabularyEntitySummary.of_jsoninmake?vocabulary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summarized information about an entity"]moduleDataAutomationLibrarySummary=structtypenonrect={libraryArn:DataAutomationLibraryArn.toption;libraryName:DataAutomationLibraryName.toption;creationTime:DateTimestamp.toption}letmake?libraryArn=fun?libraryName->fun?creationTime->fun()->{libraryArn;libraryName;creationTime}letto_valuex=structure_to_value[("libraryArn",(Option.mapx.libraryArn~f:DataAutomationLibraryArn.to_value));("libraryName",(Option.mapx.libraryName~f:DataAutomationLibraryName.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletlibraryName=(Option.map~f:DataAutomationLibraryName.of_xml)(Xml.childxml_arg0"libraryName")inletlibraryArn=(Option.map~f:DataAutomationLibraryArn.of_xml)(Xml.childxml_arg0"libraryArn")inmake?creationTime?libraryName?libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletlibraryName=field_mapjson__"libraryName"DataAutomationLibraryName.of_jsoninletlibraryArn=field_mapjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?creationTime?libraryName?libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of a DataAutomationLibrary"]moduleBlueprintSummary=structtypenonrect={blueprintArn:BlueprintArn.toption;blueprintVersion:BlueprintVersion.toption;blueprintStage:BlueprintStage.toption;blueprintName:BlueprintName.toption;creationTime:DateTimestamp.toption;lastModifiedTime:DateTimestamp.toption}letmake?blueprintArn=fun?blueprintVersion->fun?blueprintStage->fun?blueprintName->fun?creationTime->fun?lastModifiedTime->fun()->{blueprintArn;blueprintVersion;blueprintStage;blueprintName;creationTime;lastModifiedTime}letto_valuex=structure_to_value[("blueprintArn",(Option.mapx.blueprintArn~f:BlueprintArn.to_value));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value));("blueprintName",(Option.mapx.blueprintName~f:BlueprintName.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("lastModifiedTime",(Option.mapx.lastModifiedTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastModifiedTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"lastModifiedTime")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletblueprintName=(Option.map~f:BlueprintName.of_xml)(Xml.childxml_arg0"blueprintName")inletblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintArn=(Option.map~f:BlueprintArn.of_xml)(Xml.childxml_arg0"blueprintArn")inmake?lastModifiedTime?creationTime?blueprintName?blueprintStage?blueprintVersion?blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastModifiedTime=field_mapjson__"lastModifiedTime"DateTimestamp.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletblueprintName=field_mapjson__"blueprintName"BlueprintName.of_jsoninletblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintArn=field_mapjson__"blueprintArn"BlueprintArn.of_jsoninmake?lastModifiedTime?creationTime?blueprintName?blueprintStage?blueprintVersion?blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of a Blueprint"]moduleInlinePayload=structtypenonrect={upsertEntitiesInfo:UpsertEntitiesInfo.toption;deleteEntitiesInfo:DeleteEntitiesInfo.toption}letmake?upsertEntitiesInfo=fun?deleteEntitiesInfo->fun()->{upsertEntitiesInfo;deleteEntitiesInfo}letto_valuex=structure_to_value[("upsertEntitiesInfo",(Option.mapx.upsertEntitiesInfo~f:UpsertEntitiesInfo.to_value));("deleteEntitiesInfo",(Option.mapx.deleteEntitiesInfo~f:DeleteEntitiesInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeleteEntitiesInfo=(Option.map~f:DeleteEntitiesInfo.of_xml)(Xml.childxml_arg0"deleteEntitiesInfo")inletupsertEntitiesInfo=(Option.map~f:UpsertEntitiesInfo.of_xml)(Xml.childxml_arg0"upsertEntitiesInfo")inmake?deleteEntitiesInfo?upsertEntitiesInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeleteEntitiesInfo=field_mapjson__"deleteEntitiesInfo"DeleteEntitiesInfo.of_jsoninletupsertEntitiesInfo=field_mapjson__"upsertEntitiesInfo"UpsertEntitiesInfo.of_jsoninmake?deleteEntitiesInfo?upsertEntitiesInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input payload structure definition"]moduleEventBridgeConfiguration=structtypenonrect={eventBridgeEnabled:Boolean.t[@ocaml.doc"Event bridge flag."]}letcontext_="EventBridgeConfiguration"letmake~eventBridgeEnabled=fun()->{eventBridgeEnabled}letto_valuex=structure_to_value[("eventBridgeEnabled",(Some(Boolean.to_valuex.eventBridgeEnabled)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventBridgeEnabled=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"eventBridgeEnabled")inmake~eventBridgeEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventBridgeEnabled=field_map_exnjson__"eventBridgeEnabled"Boolean.of_jsoninmake~eventBridgeEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Event bridge configuration."]moduleCustomOutputConfiguration=structtypenonrect={blueprints:BlueprintItems.toption}letmake?blueprints=fun()->{blueprints}letto_valuex=structure_to_value[("blueprints",(Option.mapx.blueprints~f:BlueprintItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprints=(Option.map~f:BlueprintItems.of_xml)(Xml.childxml_arg0"blueprints")inmake?blueprints()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprints=field_mapjson__"blueprints"BlueprintItems.of_jsoninmake?blueprints()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Custom output configuration"]moduleDataAutomationLibraryConfiguration=structtypenonrect={libraries:DataAutomationLibraryItems.toption}letmake?libraries=fun()->{libraries}letto_valuex=structure_to_value[("libraries",(Option.mapx.libraries~f:DataAutomationLibraryItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraries=(Option.map~f:DataAutomationLibraryItems.of_xml)(Xml.childxml_arg0"libraries")inmake?libraries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraries=field_mapjson__"libraries"DataAutomationLibraryItems.of_jsoninmake?libraries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DataAutomation Library configuration"]moduleDataAutomationProjectDescription=structtypenonrect=string[@@ocaml.doc"Description of the DataAutomationProject"]letcontext_="DataAutomationProjectDescription"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:300)>>=(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:"DataAutomationProjectDescription"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Description of the DataAutomationProject"]moduleDataAutomationProjectStatus=structtypenonrect=|COMPLETED|IN_PROGRESS|FAILED|Non_static_idofstringletmakei=iletto_string=function|COMPLETED->"COMPLETED"|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"COMPLETED"->COMPLETED|"IN_PROGRESS"->IN_PROGRESS|"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 DataAutomationProjectStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataAutomationProjectStatus"j)letto_json=simple_to_jsonto_valueendmoduleOverrideConfiguration=structtypenonrect={document:DocumentOverrideConfiguration.toption;image:ImageOverrideConfiguration.toption;video:VideoOverrideConfiguration.toption;audio:AudioOverrideConfiguration.toption;modalityRouting:ModalityRoutingConfiguration.toption}letmake?document=fun?image->fun?video->fun?audio->fun?modalityRouting->fun()->{document;image;video;audio;modalityRouting}letto_valuex=structure_to_value[("document",(Option.mapx.document~f:DocumentOverrideConfiguration.to_value));("image",(Option.mapx.image~f:ImageOverrideConfiguration.to_value));("video",(Option.mapx.video~f:VideoOverrideConfiguration.to_value));("audio",(Option.mapx.audio~f:AudioOverrideConfiguration.to_value));("modalityRouting",(Option.mapx.modalityRouting~f:ModalityRoutingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmodalityRouting=(Option.map~f:ModalityRoutingConfiguration.of_xml)(Xml.childxml_arg0"modalityRouting")inletaudio=(Option.map~f:AudioOverrideConfiguration.of_xml)(Xml.childxml_arg0"audio")inletvideo=(Option.map~f:VideoOverrideConfiguration.of_xml)(Xml.childxml_arg0"video")inletimage=(Option.map~f:ImageOverrideConfiguration.of_xml)(Xml.childxml_arg0"image")inletdocument=(Option.map~f:DocumentOverrideConfiguration.of_xml)(Xml.childxml_arg0"document")inmake?modalityRouting?audio?video?image?document()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmodalityRouting=field_mapjson__"modalityRouting"ModalityRoutingConfiguration.of_jsoninletaudio=field_mapjson__"audio"AudioOverrideConfiguration.of_jsoninletvideo=field_mapjson__"video"VideoOverrideConfiguration.of_jsoninletimage=field_mapjson__"image"ImageOverrideConfiguration.of_jsoninletdocument=field_mapjson__"document"DocumentOverrideConfiguration.of_jsoninmake?modalityRouting?audio?video?image?document()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Override configuration"]moduleStandardOutputConfiguration=structtypenonrect={document:DocumentStandardOutputConfiguration.toption;image:ImageStandardOutputConfiguration.toption;video:VideoStandardOutputConfiguration.toption;audio:AudioStandardOutputConfiguration.toption}letmake?document=fun?image->fun?video->fun?audio->fun()->{document;image;video;audio}letto_valuex=structure_to_value[("document",(Option.mapx.document~f:DocumentStandardOutputConfiguration.to_value));("image",(Option.mapx.image~f:ImageStandardOutputConfiguration.to_value));("video",(Option.mapx.video~f:VideoStandardOutputConfiguration.to_value));("audio",(Option.mapx.audio~f:AudioStandardOutputConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaudio=(Option.map~f:AudioStandardOutputConfiguration.of_xml)(Xml.childxml_arg0"audio")inletvideo=(Option.map~f:VideoStandardOutputConfiguration.of_xml)(Xml.childxml_arg0"video")inletimage=(Option.map~f:ImageStandardOutputConfiguration.of_xml)(Xml.childxml_arg0"image")inletdocument=(Option.map~f:DocumentStandardOutputConfiguration.of_xml)(Xml.childxml_arg0"document")inmake?audio?video?image?document()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaudio=field_mapjson__"audio"AudioStandardOutputConfiguration.of_jsoninletvideo=field_mapjson__"video"VideoStandardOutputConfiguration.of_jsoninletimage=field_mapjson__"image"ImageStandardOutputConfiguration.of_jsoninletdocument=field_mapjson__"document"DocumentStandardOutputConfiguration.of_jsoninmake?audio?video?image?document()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Standard output configuration"]moduleDataAutomationLibraryDescription=structtypenonrect=string[@@ocaml.doc"Description of the DataAutomationLibrary"]letcontext_="DataAutomationLibraryDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:300)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9\\s!\"\\#\\$%'&\\(\\)\\*\\+\\,\\-\\./:;=\\?@\\[\\\\\\]\\^_`\\{\\|\\}~><\195\128-\195\150\195\152-\195\156\195\159\195\160-\195\182\195\184-\195\188\225\186\158\194\191\194\161\197\146-\197\147\194\176\194\163\194\165\226\130\185\226\130\172\194\167\194\169\194\170\194\174\226\132\162\194\185\194\177-\194\181\226\156\147\226\145\134-\226\145\137\224\184\191\226\130\189\226\130\177\226\130\166\226\130\163\226\130\169\226\130\171\226\130\186]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DataAutomationLibraryDescription"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Description of the DataAutomationLibrary"]moduleDataAutomationLibraryStatus=structtypenonrect=|ACTIVE|DELETING|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DELETING"->DELETING|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DataAutomationLibraryStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataAutomationLibraryStatus"j)letto_json=simple_to_jsonto_valueendmoduleEntityTypeInfoList=structtypenonrect=EntityTypeInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EntityTypeInfo.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:EntityTypeInfo.of_xml)letof_jsonj=list_of_json~kind:"EntityTypeInfoList"~of_json:EntityTypeInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOutputConfiguration=structtypenonrect={s3Uri:S3Uri.t[@ocaml.doc"S3 Uri"]}letcontext_="OutputConfiguration"letmake~s3Uri=fun()->{s3Uri}letto_valuex=structure_to_value[("s3Uri",(Some(S3Uri.to_valuex.s3Uri)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Uri=S3Uri.of_xml(Xml.child_exn~context:context_xml_arg0"s3Uri")inmake~s3Uri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Uri=field_map_exnjson__"s3Uri"S3Uri.of_jsoninmake~s3Uri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output configuration for DataAutomationLibraryIngestionJob"]moduleString_=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_valueendmoduleVocabularyEntity=structtypenonrect={entityId:EntityId.toption;description:EntityDescription.toption;language:Language.toption;phrases:PhraseList.toption;lastModifiedTime:DateTimestamp.toption}letmake?entityId=fun?description->fun?language->fun?phrases->fun?lastModifiedTime->fun()->{entityId;description;language;phrases;lastModifiedTime}letto_valuex=structure_to_value[("entityId",(Option.mapx.entityId~f:EntityId.to_value));("description",(Option.mapx.description~f:EntityDescription.to_value));("language",(Option.mapx.language~f:Language.to_value));("phrases",(Option.mapx.phrases~f:PhraseList.to_value));("lastModifiedTime",(Option.mapx.lastModifiedTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastModifiedTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"lastModifiedTime")inletphrases=(Option.map~f:PhraseList.of_xml)(Xml.childxml_arg0"phrases")inletlanguage=(Option.map~f:Language.of_xml)(Xml.childxml_arg0"language")inletdescription=(Option.map~f:EntityDescription.of_xml)(Xml.childxml_arg0"description")inletentityId=(Option.map~f:EntityId.of_xml)(Xml.childxml_arg0"entityId")inmake?lastModifiedTime?phrases?language?description?entityId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastModifiedTime=field_mapjson__"lastModifiedTime"DateTimestamp.of_jsoninletphrases=field_mapjson__"phrases"PhraseList.of_jsoninletlanguage=field_mapjson__"language"Language.of_jsoninletdescription=field_mapjson__"description"EntityDescription.of_jsoninletentityId=field_mapjson__"entityId"EntityId.of_jsoninmake?lastModifiedTime?phrases?language?description?entityId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Vocabulary entity with detailed information"]moduleAccessDeniedException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when a request is denied per access permissions"]moduleConflictException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when there is a conflict performing an operation"]moduleInternalServerException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown if there was an unexpected error during processing of request"]moduleResourceNotFoundException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when a resource referenced by the operation does not exist"]moduleServiceQuotaExceededException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when a request is made beyond the service quota"]moduleThrottlingException=structtypenonrect={message:NonBlankString.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when the number of requests exceeds the limit"]moduleValidationException=structtypenonrect={message:NonBlankString.toption;fieldList:ValidationExceptionFieldList.toption}letmake?message=fun?fieldList->fun()->{message;fieldList}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:NonBlankString.to_value));("fieldList",(Option.mapx.fieldList~f:ValidationExceptionFieldList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfieldList=(Option.map~f:ValidationExceptionFieldList.of_xml)(Xml.childxml_arg0"fieldList")inletmessage=(Option.map~f:NonBlankString.of_xml)(Xml.childxml_arg0"message")inmake?fieldList?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfieldList=field_mapjson__"fieldList"ValidationExceptionFieldList.of_jsoninletmessage=field_mapjson__"message"NonBlankString.of_jsoninmake?fieldList?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This exception is thrown when the request's input validation fails"]moduleEncryptionConfiguration=structtypenonrect={kmsKeyId:KmsKeyId.t;kmsEncryptionContext:KmsEncryptionContext.toption}letcontext_="EncryptionConfiguration"letmake?kmsEncryptionContext=fun~kmsKeyId->fun()->{kmsEncryptionContext;kmsKeyId}letto_valuex=structure_to_value[("kmsKeyId",(Some(KmsKeyId.to_valuex.kmsKeyId)));("kmsEncryptionContext",(Option.mapx.kmsEncryptionContext~f:KmsEncryptionContext.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsEncryptionContext=(Option.map~f:KmsEncryptionContext.of_xml)(Xml.childxml_arg0"kmsEncryptionContext")inletkmsKeyId=KmsKeyId.of_xml(Xml.child_exn~context:context_xml_arg0"kmsKeyId")inmake?kmsEncryptionContext~kmsKeyId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsEncryptionContext=field_mapjson__"kmsEncryptionContext"KmsEncryptionContext.of_jsoninletkmsKeyId=field_map_exnjson__"kmsKeyId"KmsKeyId.of_jsoninmake?kmsEncryptionContext~kmsKeyId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"KMS Encryption Configuration"]moduleClientToken=structtypenonrect=string[@@ocaml.doc"Client specified token used for idempotency checks"]letcontext_="ClientToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:33)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ClientToken"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Client specified token used for idempotency checks"]moduleBlueprint=structtypenonrect={blueprintArn:BlueprintArn.toption;schema:BlueprintSchema.toption;type_:Type.toption;creationTime:DateTimestamp.toption;lastModifiedTime:DateTimestamp.toption;blueprintName:BlueprintName.toption;blueprintVersion:BlueprintVersion.toption;blueprintStage:BlueprintStage.toption;kmsKeyId:KmsKeyId.toption;kmsEncryptionContext:KmsEncryptionContext.toption;optimizationSamples:BlueprintOptimizationSamples.toption;optimizationTime:DateTimestamp.toption}letmake?blueprintArn=fun?schema->fun?type_->fun?creationTime->fun?lastModifiedTime->fun?blueprintName->fun?blueprintVersion->fun?blueprintStage->fun?kmsKeyId->fun?kmsEncryptionContext->fun?optimizationSamples->fun?optimizationTime->fun()->{blueprintArn;schema;type_;creationTime;lastModifiedTime;blueprintName;blueprintVersion;blueprintStage;kmsKeyId;kmsEncryptionContext;optimizationSamples;optimizationTime}letto_valuex=structure_to_value[("blueprintArn",(Option.mapx.blueprintArn~f:BlueprintArn.to_value));("schema",(Option.mapx.schema~f:BlueprintSchema.to_value));("type",(Option.mapx.type_~f:Type.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("lastModifiedTime",(Option.mapx.lastModifiedTime~f:DateTimestamp.to_value));("blueprintName",(Option.mapx.blueprintName~f:BlueprintName.to_value));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("kmsEncryptionContext",(Option.mapx.kmsEncryptionContext~f:KmsEncryptionContext.to_value));("optimizationSamples",(Option.mapx.optimizationSamples~f:BlueprintOptimizationSamples.to_value));("optimizationTime",(Option.mapx.optimizationTime~f:DateTimestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoptimizationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"optimizationTime")inletoptimizationSamples=(Option.map~f:BlueprintOptimizationSamples.of_xml)(Xml.childxml_arg0"optimizationSamples")inletkmsEncryptionContext=(Option.map~f:KmsEncryptionContext.of_xml)(Xml.childxml_arg0"kmsEncryptionContext")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inletblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintName=(Option.map~f:BlueprintName.of_xml)(Xml.childxml_arg0"blueprintName")inletlastModifiedTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"lastModifiedTime")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inlettype_=(Option.map~f:Type.of_xml)(Xml.childxml_arg0"type")inletschema=(Option.map~f:BlueprintSchema.of_xml)(Xml.childxml_arg0"schema")inletblueprintArn=(Option.map~f:BlueprintArn.of_xml)(Xml.childxml_arg0"blueprintArn")inmake?optimizationTime?optimizationSamples?kmsEncryptionContext?kmsKeyId?blueprintStage?blueprintVersion?blueprintName?lastModifiedTime?creationTime?type_?schema?blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoptimizationTime=field_mapjson__"optimizationTime"DateTimestamp.of_jsoninletoptimizationSamples=field_mapjson__"optimizationSamples"BlueprintOptimizationSamples.of_jsoninletkmsEncryptionContext=field_mapjson__"kmsEncryptionContext"KmsEncryptionContext.of_jsoninletkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninletblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintName=field_mapjson__"blueprintName"BlueprintName.of_jsoninletlastModifiedTime=field_mapjson__"lastModifiedTime"DateTimestamp.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninlettype_=field_mapjson__"type"Type.of_jsoninletschema=field_mapjson__"schema"BlueprintSchema.of_jsoninletblueprintArn=field_mapjson__"blueprintArn"BlueprintArn.of_jsoninmake?optimizationTime?optimizationSamples?kmsEncryptionContext?kmsKeyId?blueprintStage?blueprintVersion?blueprintName?lastModifiedTime?creationTime?type_?schema?blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the information of a Blueprint."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTaggableResourceArn=structtypenonrect=string[@@ocaml.doc"ARN of a taggable resource"]letcontext_="TaggableResourceArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-z0-9-]*:[0-9]{12}:(blueprint|data-automation-project|blueprint-optimization-invocation|data-automation-library|data-automation-library-ingestion-job)/[a-zA-Z0-9-]{12,36}")));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_valueend[@@ocaml.doc"ARN of a taggable resource"]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDataAutomationProjectSummaries=structtypenonrect=DataAutomationProjectSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DataAutomationProjectSummary.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:DataAutomationProjectSummary.of_xml)letof_jsonj=list_of_json~kind:"DataAutomationProjectSummaries"~of_json:DataAutomationProjectSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextToken=structtypenonrect=string[@@ocaml.doc"Pagination token"]letcontext_="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_valueend[@@ocaml.doc"Pagination token"]moduleBlueprintFilter=structtypenonrect={blueprintArn:BlueprintArn.t;blueprintVersion:BlueprintVersion.toption;blueprintStage:BlueprintStage.toption}letcontext_="BlueprintFilter"letmake?blueprintVersion=fun?blueprintStage->fun~blueprintArn->fun()->{blueprintVersion;blueprintStage;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?blueprintStage?blueprintVersion~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?blueprintStage?blueprintVersion~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Blueprint Filter"]moduleDataAutomationLibraryFilter=structtypenonrect={libraryArn:DataAutomationLibraryArn.t}letcontext_="DataAutomationLibraryFilter"letmake~libraryArn=fun()->{libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Data Automation Library Filter"]moduleDataAutomationProjectStageFilter=structtypenonrect=|DEVELOPMENT|LIVE|ALL|Non_static_idofstringletmakei=iletto_string=function|DEVELOPMENT->"DEVELOPMENT"|LIVE->"LIVE"|ALL->"ALL"|Non_static_ids->sletof_string=function|"DEVELOPMENT"->DEVELOPMENT|"LIVE"->LIVE|"ALL"->ALL|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DataAutomationProjectStageFilter"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataAutomationProjectStageFilter"j)letto_json=simple_to_jsonto_valueendmoduleMaxResults=structtypenonrect=int[@@ocaml.doc"Max Results"]letmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(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_valueend[@@ocaml.doc"Max Results"]moduleResourceOwner=structtypenonrect=|SERVICE|ACCOUNT|Non_static_idofstringletmakei=iletto_string=function|SERVICE->"SERVICE"|ACCOUNT->"ACCOUNT"|Non_static_ids->sletof_string=function|"SERVICE"->SERVICE|"ACCOUNT"->ACCOUNT|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 ResourceOwner"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceOwner"j)letto_json=simple_to_jsonto_valueendmoduleDataAutomationLibraryIngestionJobSummaries=structtypenonrect=DataAutomationLibraryIngestionJobSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DataAutomationLibraryIngestionJobSummary.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:DataAutomationLibraryIngestionJobSummary.of_xml)letof_jsonj=list_of_json~kind:"DataAutomationLibraryIngestionJobSummaries"~of_json:DataAutomationLibraryIngestionJobSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDataAutomationLibraryEntitySummaries=structtypenonrect=DataAutomationLibraryEntitySummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DataAutomationLibraryEntitySummary.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:DataAutomationLibraryEntitySummary.of_xml)letof_jsonj=list_of_json~kind:"DataAutomationLibraryEntitySummaries"~of_json:DataAutomationLibraryEntitySummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDataAutomationLibrarySummaries=structtypenonrect=DataAutomationLibrarySummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DataAutomationLibrarySummary.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:DataAutomationLibrarySummary.of_xml)letof_jsonj=list_of_json~kind:"DataAutomationLibrarySummaries"~of_json:DataAutomationLibrarySummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDataAutomationProjectFilter=structtypenonrect={projectArn:DataAutomationProjectArn.t;projectStage:DataAutomationProjectStage.toption}letcontext_="DataAutomationProjectFilter"letmake?projectStage=fun~projectArn->fun()->{projectStage;projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DataAutomationProjectArn.to_valuex.projectArn)));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=DataAutomationProjectArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?projectStage~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?projectStage~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Data Automation Project Filter"]moduleBlueprints=structtypenonrect=BlueprintSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlueprintSummary.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:BlueprintSummary.of_xml)letof_jsonj=list_of_json~kind:"Blueprints"~of_json:BlueprintSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlueprintStageFilter=structtypenonrect=|DEVELOPMENT|LIVE|ALL|Non_static_idofstringletmakei=iletto_string=function|DEVELOPMENT->"DEVELOPMENT"|LIVE->"LIVE"|ALL->"ALL"|Non_static_ids->sletof_string=function|"DEVELOPMENT"->DEVELOPMENT|"LIVE"->LIVE|"ALL"->ALL|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration BlueprintStageFilter"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlueprintStageFilter"j)letto_json=simple_to_jsonto_valueendmoduleInputConfiguration=structtypenonrect={s3Object:S3Object.toption[@ocaml.doc"S3 object"];inlinePayload:InlinePayload.toption[@ocaml.doc"Input Payload"]}letmake?s3Object=fun?inlinePayload->fun()->{s3Object;inlinePayload}letto_valuex=structure_to_value[("s3Object",(Option.mapx.s3Object~f:S3Object.to_value));("inlinePayload",(Option.mapx.inlinePayload~f:InlinePayload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinlinePayload=(Option.map~f:InlinePayload.of_xml)(Xml.childxml_arg0"inlinePayload")inlets3Object=(Option.map~f:S3Object.of_xml)(Xml.childxml_arg0"s3Object")inmake?inlinePayload?s3Object()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinlinePayload=field_mapjson__"inlinePayload"InlinePayload.of_jsoninlets3Object=field_mapjson__"s3Object"S3Object.of_jsoninmake?inlinePayload?s3Object()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input configuration for DataAutomationLibraryIngestionJob"]moduleNotificationConfiguration=structtypenonrect={eventBridgeConfiguration:EventBridgeConfiguration.t[@ocaml.doc"Event bridge configuration."]}letcontext_="NotificationConfiguration"letmake~eventBridgeConfiguration=fun()->{eventBridgeConfiguration}letto_valuex=structure_to_value[("eventBridgeConfiguration",(Some(EventBridgeConfiguration.to_valuex.eventBridgeConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventBridgeConfiguration=EventBridgeConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"eventBridgeConfiguration")inmake~eventBridgeConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventBridgeConfiguration=field_map_exnjson__"eventBridgeConfiguration"EventBridgeConfiguration.of_jsoninmake~eventBridgeConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Notification configuration."]moduleBlueprintOptimizationInvocationArn=structtypenonrect=string[@@ocaml.doc"Invocation arn."]letcontext_="BlueprintOptimizationInvocationArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:blueprint-optimization-invocation/[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:"BlueprintOptimizationInvocationArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Invocation arn."]moduleBlueprintOptimizationObject=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"Arn of blueprint."];stage:BlueprintStage.toption[@ocaml.doc"Stage of blueprint."]}letcontext_="BlueprintOptimizationObject"letmake?stage=fun~blueprintArn->fun()->{stage;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("stage",(Option.mapx.stage~f:BlueprintStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"stage")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?stage~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstage=field_mapjson__"stage"BlueprintStage.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?stage~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Structure for single blueprint entity."]moduleBlueprintOptimizationOutputConfiguration=structtypenonrect={s3Object:S3Object.t[@ocaml.doc"S3 object."]}letcontext_="BlueprintOptimizationOutputConfiguration"letmake~s3Object=fun()->{s3Object}letto_valuex=structure_to_value[("s3Object",(Some(S3Object.to_valuex.s3Object)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Object=S3Object.of_xml(Xml.child_exn~context:context_xml_arg0"s3Object")inmake~s3Object()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Object=field_map_exnjson__"s3Object"S3Object.of_jsoninmake~s3Object()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Blueprint Optimization Output configuration."]moduleDataAutomationProfileArn=structtypenonrect=string[@@ocaml.doc"Data automation profile arn."]letcontext_="DataAutomationProfileArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-profile/[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:"DataAutomationProfileArn"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Data automation profile arn."]moduleDataAutomationProject=structtypenonrect={projectArn:DataAutomationProjectArn.toption;creationTime:DateTimestamp.toption;lastModifiedTime:DateTimestamp.toption;projectName:DataAutomationProjectName.toption;projectStage:DataAutomationProjectStage.toption;projectType:DataAutomationProjectType.toption;projectDescription:DataAutomationProjectDescription.toption;standardOutputConfiguration:StandardOutputConfiguration.toption;customOutputConfiguration:CustomOutputConfiguration.toption;overrideConfiguration:OverrideConfiguration.toption;dataAutomationLibraryConfiguration:DataAutomationLibraryConfiguration.toption;status:DataAutomationProjectStatus.toption;kmsKeyId:KmsKeyId.toption;kmsEncryptionContext:KmsEncryptionContext.toption}letmake?projectArn=fun?creationTime->fun?lastModifiedTime->fun?projectName->fun?projectStage->fun?projectType->fun?projectDescription->fun?standardOutputConfiguration->fun?customOutputConfiguration->fun?overrideConfiguration->fun?dataAutomationLibraryConfiguration->fun?status->fun?kmsKeyId->fun?kmsEncryptionContext->fun()->{projectArn;creationTime;lastModifiedTime;projectName;projectStage;projectType;projectDescription;standardOutputConfiguration;customOutputConfiguration;overrideConfiguration;dataAutomationLibraryConfiguration;status;kmsKeyId;kmsEncryptionContext}letto_valuex=structure_to_value[("projectArn",(Option.mapx.projectArn~f:DataAutomationProjectArn.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("lastModifiedTime",(Option.mapx.lastModifiedTime~f:DateTimestamp.to_value));("projectName",(Option.mapx.projectName~f:DataAutomationProjectName.to_value));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("projectType",(Option.mapx.projectType~f:DataAutomationProjectType.to_value));("projectDescription",(Option.mapx.projectDescription~f:DataAutomationProjectDescription.to_value));("standardOutputConfiguration",(Option.mapx.standardOutputConfiguration~f:StandardOutputConfiguration.to_value));("customOutputConfiguration",(Option.mapx.customOutputConfiguration~f:CustomOutputConfiguration.to_value));("overrideConfiguration",(Option.mapx.overrideConfiguration~f:OverrideConfiguration.to_value));("dataAutomationLibraryConfiguration",(Option.mapx.dataAutomationLibraryConfiguration~f:DataAutomationLibraryConfiguration.to_value));("status",(Option.mapx.status~f:DataAutomationProjectStatus.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("kmsEncryptionContext",(Option.mapx.kmsEncryptionContext~f:KmsEncryptionContext.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsEncryptionContext=(Option.map~f:KmsEncryptionContext.of_xml)(Xml.childxml_arg0"kmsEncryptionContext")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inletstatus=(Option.map~f:DataAutomationProjectStatus.of_xml)(Xml.childxml_arg0"status")inletdataAutomationLibraryConfiguration=(Option.map~f:DataAutomationLibraryConfiguration.of_xml)(Xml.childxml_arg0"dataAutomationLibraryConfiguration")inletoverrideConfiguration=(Option.map~f:OverrideConfiguration.of_xml)(Xml.childxml_arg0"overrideConfiguration")inletcustomOutputConfiguration=(Option.map~f:CustomOutputConfiguration.of_xml)(Xml.childxml_arg0"customOutputConfiguration")inletstandardOutputConfiguration=(Option.map~f:StandardOutputConfiguration.of_xml)(Xml.childxml_arg0"standardOutputConfiguration")inletprojectDescription=(Option.map~f:DataAutomationProjectDescription.of_xml)(Xml.childxml_arg0"projectDescription")inletprojectType=(Option.map~f:DataAutomationProjectType.of_xml)(Xml.childxml_arg0"projectType")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectName=(Option.map~f:DataAutomationProjectName.of_xml)(Xml.childxml_arg0"projectName")inletlastModifiedTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"lastModifiedTime")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletprojectArn=(Option.map~f:DataAutomationProjectArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?kmsEncryptionContext?kmsKeyId?status?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration?standardOutputConfiguration?projectDescription?projectType?projectStage?projectName?lastModifiedTime?creationTime?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsEncryptionContext=field_mapjson__"kmsEncryptionContext"KmsEncryptionContext.of_jsoninletkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninletstatus=field_mapjson__"status"DataAutomationProjectStatus.of_jsoninletdataAutomationLibraryConfiguration=field_mapjson__"dataAutomationLibraryConfiguration"DataAutomationLibraryConfiguration.of_jsoninletoverrideConfiguration=field_mapjson__"overrideConfiguration"OverrideConfiguration.of_jsoninletcustomOutputConfiguration=field_mapjson__"customOutputConfiguration"CustomOutputConfiguration.of_jsoninletstandardOutputConfiguration=field_mapjson__"standardOutputConfiguration"StandardOutputConfiguration.of_jsoninletprojectDescription=field_mapjson__"projectDescription"DataAutomationProjectDescription.of_jsoninletprojectType=field_mapjson__"projectType"DataAutomationProjectType.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectName=field_mapjson__"projectName"DataAutomationProjectName.of_jsoninletlastModifiedTime=field_mapjson__"lastModifiedTime"DateTimestamp.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletprojectArn=field_mapjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?kmsEncryptionContext?kmsKeyId?status?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration?standardOutputConfiguration?projectDescription?projectType?projectStage?projectName?lastModifiedTime?creationTime?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the information of a DataAutomationProject."]moduleDataAutomationLibrary=structtypenonrect={libraryArn:DataAutomationLibraryArn.toption;creationTime:DateTimestamp.toption;libraryName:DataAutomationLibraryName.toption;libraryDescription:DataAutomationLibraryDescription.toption;status:DataAutomationLibraryStatus.toption;entityTypes:EntityTypeInfoList.toption;kmsKeyId:KmsKeyId.toption;kmsEncryptionContext:KmsEncryptionContext.toption}letmake?libraryArn=fun?creationTime->fun?libraryName->fun?libraryDescription->fun?status->fun?entityTypes->fun?kmsKeyId->fun?kmsEncryptionContext->fun()->{libraryArn;creationTime;libraryName;libraryDescription;status;entityTypes;kmsKeyId;kmsEncryptionContext}letto_valuex=structure_to_value[("libraryArn",(Option.mapx.libraryArn~f:DataAutomationLibraryArn.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("libraryName",(Option.mapx.libraryName~f:DataAutomationLibraryName.to_value));("libraryDescription",(Option.mapx.libraryDescription~f:DataAutomationLibraryDescription.to_value));("status",(Option.mapx.status~f:DataAutomationLibraryStatus.to_value));("entityTypes",(Option.mapx.entityTypes~f:EntityTypeInfoList.to_value));("kmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("kmsEncryptionContext",(Option.mapx.kmsEncryptionContext~f:KmsEncryptionContext.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsEncryptionContext=(Option.map~f:KmsEncryptionContext.of_xml)(Xml.childxml_arg0"kmsEncryptionContext")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"kmsKeyId")inletentityTypes=(Option.map~f:EntityTypeInfoList.of_xml)(Xml.childxml_arg0"entityTypes")inletstatus=(Option.map~f:DataAutomationLibraryStatus.of_xml)(Xml.childxml_arg0"status")inletlibraryDescription=(Option.map~f:DataAutomationLibraryDescription.of_xml)(Xml.childxml_arg0"libraryDescription")inletlibraryName=(Option.map~f:DataAutomationLibraryName.of_xml)(Xml.childxml_arg0"libraryName")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletlibraryArn=(Option.map~f:DataAutomationLibraryArn.of_xml)(Xml.childxml_arg0"libraryArn")inmake?kmsEncryptionContext?kmsKeyId?entityTypes?status?libraryDescription?libraryName?creationTime?libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsEncryptionContext=field_mapjson__"kmsEncryptionContext"KmsEncryptionContext.of_jsoninletkmsKeyId=field_mapjson__"kmsKeyId"KmsKeyId.of_jsoninletentityTypes=field_mapjson__"entityTypes"EntityTypeInfoList.of_jsoninletstatus=field_mapjson__"status"DataAutomationLibraryStatus.of_jsoninletlibraryDescription=field_mapjson__"libraryDescription"DataAutomationLibraryDescription.of_jsoninletlibraryName=field_mapjson__"libraryName"DataAutomationLibraryName.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletlibraryArn=field_mapjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?kmsEncryptionContext?kmsKeyId?entityTypes?status?libraryDescription?libraryName?creationTime?libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the information of a DataAutomationLibrary."]moduleDataAutomationLibraryIngestionJob=structtypenonrect={jobArn:DataAutomationLibraryIngestionJobArn.toption[@ocaml.doc"ARN of the DataAutomationLibraryIngestionJob"];creationTime:DateTimestamp.toption[@ocaml.doc"Timestamp when the DataAutomationLibraryIngestionJob was created"];entityType:EntityType.toption[@ocaml.doc"The entity type associated with DataAutomationLibraryIngestionJob"];operationType:LibraryIngestionJobOperationType.toption[@ocaml.doc"The operation associated with DataAutomationLibraryIngestionJob"];jobStatus:LibraryIngestionJobStatus.toption[@ocaml.doc"The status of the DataAutomationLibraryIngestionJob"];outputConfiguration:OutputConfiguration.toption[@ocaml.doc"Output configuration of DataAutomationLibraryIngestionJob"];completionTime:DateTimestamp.toption[@ocaml.doc"Timestamp when the DataAutomationLibraryIngestionJob was completed"];errorMessage:String_.toption[@ocaml.doc"Error message"];errorType:String_.toption[@ocaml.doc"Error type"]}letmake?jobArn=fun?creationTime->fun?entityType->fun?operationType->fun?jobStatus->fun?outputConfiguration->fun?completionTime->fun?errorMessage->fun?errorType->fun()->{jobArn;creationTime;entityType;operationType;jobStatus;outputConfiguration;completionTime;errorMessage;errorType}letto_valuex=structure_to_value[("jobArn",(Option.mapx.jobArn~f:DataAutomationLibraryIngestionJobArn.to_value));("creationTime",(Option.mapx.creationTime~f:DateTimestamp.to_value));("entityType",(Option.mapx.entityType~f:EntityType.to_value));("operationType",(Option.mapx.operationType~f:LibraryIngestionJobOperationType.to_value));("jobStatus",(Option.mapx.jobStatus~f:LibraryIngestionJobStatus.to_value));("outputConfiguration",(Option.mapx.outputConfiguration~f:OutputConfiguration.to_value));("completionTime",(Option.mapx.completionTime~f:DateTimestamp.to_value));("errorMessage",(Option.mapx.errorMessage~f:String_.to_value));("errorType",(Option.mapx.errorType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorType")inleterrorMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorMessage")inletcompletionTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"completionTime")inletoutputConfiguration=(Option.map~f:OutputConfiguration.of_xml)(Xml.childxml_arg0"outputConfiguration")inletjobStatus=(Option.map~f:LibraryIngestionJobStatus.of_xml)(Xml.childxml_arg0"jobStatus")inletoperationType=(Option.map~f:LibraryIngestionJobOperationType.of_xml)(Xml.childxml_arg0"operationType")inletentityType=(Option.map~f:EntityType.of_xml)(Xml.childxml_arg0"entityType")inletcreationTime=(Option.map~f:DateTimestamp.of_xml)(Xml.childxml_arg0"creationTime")inletjobArn=(Option.map~f:DataAutomationLibraryIngestionJobArn.of_xml)(Xml.childxml_arg0"jobArn")inmake?errorType?errorMessage?completionTime?outputConfiguration?jobStatus?operationType?entityType?creationTime?jobArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorType=field_mapjson__"errorType"String_.of_jsoninleterrorMessage=field_mapjson__"errorMessage"String_.of_jsoninletcompletionTime=field_mapjson__"completionTime"DateTimestamp.of_jsoninletoutputConfiguration=field_mapjson__"outputConfiguration"OutputConfiguration.of_jsoninletjobStatus=field_mapjson__"jobStatus"LibraryIngestionJobStatus.of_jsoninletoperationType=field_mapjson__"operationType"LibraryIngestionJobOperationType.of_jsoninletentityType=field_mapjson__"entityType"EntityType.of_jsoninletcreationTime=field_mapjson__"creationTime"DateTimestamp.of_jsoninletjobArn=field_mapjson__"jobArn"DataAutomationLibraryIngestionJobArn.of_jsoninmake?errorType?errorMessage?completionTime?outputConfiguration?jobStatus?operationType?entityType?creationTime?jobArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the information of a DataAutomationLibraryIngestionJob"]moduleEntityDetails=structtypenonrect={vocabulary:VocabularyEntity.toption}letmake?vocabulary=fun()->{vocabulary}letto_valuex=structure_to_value[("vocabulary",(Option.mapx.vocabulary~f:VocabularyEntity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvocabulary=(Option.map~f:VocabularyEntity.of_xml)(Xml.childxml_arg0"vocabulary")inmake?vocabulary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvocabulary=field_mapjson__"vocabulary"VocabularyEntity.of_jsoninmake?vocabulary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about an entity"]moduleBlueprintOptimizationJobStatus=structtypenonrect=|Created|InProgress|Success|ServiceError|ClientError|Non_static_idofstringletmakei=iletto_string=function|Created->"Created"|InProgress->"InProgress"|Success->"Success"|ServiceError->"ServiceError"|ClientError->"ClientError"|Non_static_ids->sletof_string=function|"Created"->Created|"InProgress"->InProgress|"Success"->Success|"ServiceError"->ServiceError|"ClientError"->ClientError|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 BlueprintOptimizationJobStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlueprintOptimizationJobStatus"j)letto_json=simple_to_jsonto_valueendmoduleUpdateDataAutomationProjectResponse=structtypenonrect={projectArn:DataAutomationProjectArn.toption;projectStage:DataAutomationProjectStage.toption;status:DataAutomationProjectStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projectArn=fun?projectStage->fun?status->fun()->{projectArn;projectStage;status}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[("projectArn",(Option.mapx.projectArn~f:DataAutomationProjectArn.to_value));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("status",(Option.mapx.status~f:DataAutomationProjectStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationProjectStatus.of_xml)(Xml.childxml_arg0"status")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=(Option.map~f:DataAutomationProjectArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?status?projectStage?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationProjectStatus.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_mapjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?status?projectStage?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update DataAutomationProject Response"]moduleUpdateDataAutomationProjectRequest=structtypenonrect={projectArn:DataAutomationProjectArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationProject is created"];projectStage:DataAutomationProjectStage.toption;projectDescription:DataAutomationProjectDescription.toption;standardOutputConfiguration:StandardOutputConfiguration.t;customOutputConfiguration:CustomOutputConfiguration.toption;overrideConfiguration:OverrideConfiguration.toption;dataAutomationLibraryConfiguration:DataAutomationLibraryConfiguration.toption;encryptionConfiguration:EncryptionConfiguration.toption}letcontext_="UpdateDataAutomationProjectRequest"letmake?projectStage=fun?projectDescription->fun?customOutputConfiguration->fun?overrideConfiguration->fun?dataAutomationLibraryConfiguration->fun?encryptionConfiguration->fun~projectArn->fun~standardOutputConfiguration->fun()->{projectStage;projectDescription;customOutputConfiguration;overrideConfiguration;dataAutomationLibraryConfiguration;encryptionConfiguration;projectArn;standardOutputConfiguration}letto_valuex=structure_to_value[("projectArn",(Some(DataAutomationProjectArn.to_valuex.projectArn)));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("projectDescription",(Option.mapx.projectDescription~f:DataAutomationProjectDescription.to_value));("standardOutputConfiguration",(Some(StandardOutputConfiguration.to_valuex.standardOutputConfiguration)));("customOutputConfiguration",(Option.mapx.customOutputConfiguration~f:CustomOutputConfiguration.to_value));("overrideConfiguration",(Option.mapx.overrideConfiguration~f:OverrideConfiguration.to_value));("dataAutomationLibraryConfiguration",(Option.mapx.dataAutomationLibraryConfiguration~f:DataAutomationLibraryConfiguration.to_value));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletdataAutomationLibraryConfiguration=(Option.map~f:DataAutomationLibraryConfiguration.of_xml)(Xml.childxml_arg0"dataAutomationLibraryConfiguration")inletoverrideConfiguration=(Option.map~f:OverrideConfiguration.of_xml)(Xml.childxml_arg0"overrideConfiguration")inletcustomOutputConfiguration=(Option.map~f:CustomOutputConfiguration.of_xml)(Xml.childxml_arg0"customOutputConfiguration")inletstandardOutputConfiguration=StandardOutputConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"standardOutputConfiguration")inletprojectDescription=(Option.map~f:DataAutomationProjectDescription.of_xml)(Xml.childxml_arg0"projectDescription")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=DataAutomationProjectArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?encryptionConfiguration?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration~standardOutputConfiguration?projectDescription?projectStage~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletdataAutomationLibraryConfiguration=field_mapjson__"dataAutomationLibraryConfiguration"DataAutomationLibraryConfiguration.of_jsoninletoverrideConfiguration=field_mapjson__"overrideConfiguration"OverrideConfiguration.of_jsoninletcustomOutputConfiguration=field_mapjson__"customOutputConfiguration"CustomOutputConfiguration.of_jsoninletstandardOutputConfiguration=field_map_exnjson__"standardOutputConfiguration"StandardOutputConfiguration.of_jsoninletprojectDescription=field_mapjson__"projectDescription"DataAutomationProjectDescription.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?encryptionConfiguration?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration~standardOutputConfiguration?projectDescription?projectStage~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update DataAutomationProject Request"]moduleUpdateDataAutomationLibraryResponse=structtypenonrect={libraryArn:DataAutomationLibraryArn.toption;status:DataAutomationLibraryStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?libraryArn=fun?status->fun()->{libraryArn;status}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[("libraryArn",(Option.mapx.libraryArn~f:DataAutomationLibraryArn.to_value));("status",(Option.mapx.status~f:DataAutomationLibraryStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationLibraryStatus.of_xml)(Xml.childxml_arg0"status")inletlibraryArn=(Option.map~f:DataAutomationLibraryArn.of_xml)(Xml.childxml_arg0"libraryArn")inmake?status?libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationLibraryStatus.of_jsoninletlibraryArn=field_mapjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?status?libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update DataAutomationLibrary Response"]moduleUpdateDataAutomationLibraryRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];libraryDescription:DataAutomationLibraryDescription.toption;clientToken:ClientToken.toption}letcontext_="UpdateDataAutomationLibraryRequest"letmake?libraryDescription=fun?clientToken->fun~libraryArn->fun()->{libraryDescription;clientToken;libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("libraryDescription",(Option.mapx.libraryDescription~f:DataAutomationLibraryDescription.to_value));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletlibraryDescription=(Option.map~f:DataAutomationLibraryDescription.of_xml)(Xml.childxml_arg0"libraryDescription")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake?clientToken?libraryDescription~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletlibraryDescription=field_mapjson__"libraryDescription"DataAutomationLibraryDescription.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?clientToken?libraryDescription~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update DataAutomationLibrary Request"]moduleUpdateBlueprintResponse=structtypenonrect={blueprint:Blueprint.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blueprint=fun()->{blueprint}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[("blueprint",(Option.mapx.blueprint~f:Blueprint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprint=(Option.map~f:Blueprint.of_xml)(Xml.childxml_arg0"blueprint")inmake?blueprint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprint=field_mapjson__"blueprint"Blueprint.of_jsoninmake?blueprint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update Blueprint Response"]moduleUpdateBlueprintRequest=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"ARN generated at the server side when a Blueprint is created"];schema:BlueprintSchema.t;blueprintStage:BlueprintStage.toption;encryptionConfiguration:EncryptionConfiguration.toption}letcontext_="UpdateBlueprintRequest"letmake?blueprintStage=fun?encryptionConfiguration->fun~blueprintArn->fun~schema->fun()->{blueprintStage;encryptionConfiguration;blueprintArn;schema}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("schema",(Some(BlueprintSchema.to_valuex.schema)));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletschema=BlueprintSchema.of_xml(Xml.child_exn~context:context_xml_arg0"schema")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?encryptionConfiguration?blueprintStage~schema~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletschema=field_map_exnjson__"schema"BlueprintSchema.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?encryptionConfiguration?blueprintStage~schema~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update Blueprint Request"]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.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)|"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))])))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"Untag an Amazon Bedrock Data Automation resource"]moduleUntagResourceRequest=structtypenonrect={resourceARN:TaggableResourceArn.t;tagKeys:TagKeyList.t}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"Untag an Amazon Bedrock Data Automation resource"]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.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)|"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))])))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"Tag an Amazon Bedrock Data Automation resource"]moduleTagResourceRequest=structtypenonrect={resourceARN:TaggableResourceArn.t;tags:TagList.t}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"Tag an Amazon Bedrock Data Automation resource"]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{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[("tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List tags for an Amazon Bedrock Data Automation resource"]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:TaggableResourceArn.t}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"List tags for an Amazon Bedrock Data Automation resource"]moduleListDataAutomationProjectsResponse=structtypenonrect={projects:DataAutomationProjectSummaries.toption;nextToken:NextToken.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projects=fun?nextToken->fun()->{projects;nextToken}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[("projects",(Option.mapx.projects~f:DataAutomationProjectSummaries.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")inletprojects=(Option.map~f:DataAutomationProjectSummaries.of_xml)(Xml.childxml_arg0"projects")inmake?nextToken?projects()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletprojects=field_mapjson__"projects"DataAutomationProjectSummaries.of_jsoninmake?nextToken?projects()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationProject Response"]moduleListDataAutomationProjectsRequest=structtypenonrect={maxResults:MaxResults.toption;nextToken:NextToken.toption;projectStageFilter:DataAutomationProjectStageFilter.toption;blueprintFilter:BlueprintFilter.toption;resourceOwner:ResourceOwner.toption;libraryFilter:DataAutomationLibraryFilter.toption}letmake?maxResults=fun?nextToken->fun?projectStageFilter->fun?blueprintFilter->fun?resourceOwner->fun?libraryFilter->fun()->{maxResults;nextToken;projectStageFilter;blueprintFilter;resourceOwner;libraryFilter}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("projectStageFilter",(Option.mapx.projectStageFilter~f:DataAutomationProjectStageFilter.to_value));("blueprintFilter",(Option.mapx.blueprintFilter~f:BlueprintFilter.to_value));("resourceOwner",(Option.mapx.resourceOwner~f:ResourceOwner.to_value));("libraryFilter",(Option.mapx.libraryFilter~f:DataAutomationLibraryFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraryFilter=(Option.map~f:DataAutomationLibraryFilter.of_xml)(Xml.childxml_arg0"libraryFilter")inletresourceOwner=(Option.map~f:ResourceOwner.of_xml)(Xml.childxml_arg0"resourceOwner")inletblueprintFilter=(Option.map~f:BlueprintFilter.of_xml)(Xml.childxml_arg0"blueprintFilter")inletprojectStageFilter=(Option.map~f:DataAutomationProjectStageFilter.of_xml)(Xml.childxml_arg0"projectStageFilter")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?libraryFilter?resourceOwner?blueprintFilter?projectStageFilter?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraryFilter=field_mapjson__"libraryFilter"DataAutomationLibraryFilter.of_jsoninletresourceOwner=field_mapjson__"resourceOwner"ResourceOwner.of_jsoninletblueprintFilter=field_mapjson__"blueprintFilter"BlueprintFilter.of_jsoninletprojectStageFilter=field_mapjson__"projectStageFilter"DataAutomationProjectStageFilter.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninmake?libraryFilter?resourceOwner?blueprintFilter?projectStageFilter?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationProject Request"]moduleListDataAutomationLibraryIngestionJobsResponse=structtypenonrect={jobs:DataAutomationLibraryIngestionJobSummaries.toption[@ocaml.doc"List of data automation library ingestion jobs"];nextToken:NextToken.toption[@ocaml.doc"Pagination token for retrieving the next set of results"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobs=fun?nextToken->fun()->{jobs;nextToken}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[("jobs",(Option.mapx.jobs~f:DataAutomationLibraryIngestionJobSummaries.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")inletjobs=(Option.map~f:DataAutomationLibraryIngestionJobSummaries.of_xml)(Xml.childxml_arg0"jobs")inmake?nextToken?jobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletjobs=field_mapjson__"jobs"DataAutomationLibraryIngestionJobSummaries.of_jsoninmake?nextToken?jobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraryIngestionJobs Response"]moduleListDataAutomationLibraryIngestionJobsRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];maxResults:MaxResults.toption;nextToken:NextToken.toption[@ocaml.doc"Pagination token for retrieving the next set of results"]}letcontext_="ListDataAutomationLibraryIngestionJobsRequest"letmake?maxResults=fun?nextToken->fun~libraryArn->fun()->{maxResults;nextToken;libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake?nextToken?maxResults~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?nextToken?maxResults~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraryIngestionJobs Request"]moduleListDataAutomationLibraryEntitiesResponse=structtypenonrect={entities:DataAutomationLibraryEntitySummaries.toption[@ocaml.doc"List of entities"];nextToken:NextToken.toption[@ocaml.doc"Pagination token for retrieving the next set of results"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?entities=fun?nextToken->fun()->{entities;nextToken}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[("entities",(Option.mapx.entities~f:DataAutomationLibraryEntitySummaries.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")inletentities=(Option.map~f:DataAutomationLibraryEntitySummaries.of_xml)(Xml.childxml_arg0"entities")inmake?nextToken?entities()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletentities=field_mapjson__"entities"DataAutomationLibraryEntitySummaries.of_jsoninmake?nextToken?entities()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraryEntities Response"]moduleListDataAutomationLibraryEntitiesRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];entityType:EntityType.t[@ocaml.doc"The entity type for which the entity list is requested"];maxResults:MaxResults.toption;nextToken:NextToken.toption[@ocaml.doc"Pagination token for retrieving the next set of results"]}letcontext_="ListDataAutomationLibraryEntitiesRequest"letmake?maxResults=fun?nextToken->fun~libraryArn->fun~entityType->fun()->{maxResults;nextToken;libraryArn;entityType}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("entityType",(Some(EntityType.to_valuex.entityType)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletentityType=EntityType.of_xml(Xml.child_exn~context:context_xml_arg0"entityType")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake?nextToken?maxResults~entityType~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletentityType=field_map_exnjson__"entityType"EntityType.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?nextToken?maxResults~entityType~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraryEntities Request"]moduleListDataAutomationLibrariesResponse=structtypenonrect={libraries:DataAutomationLibrarySummaries.toption;nextToken:NextToken.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?libraries=fun?nextToken->fun()->{libraries;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[("libraries",(Option.mapx.libraries~f:DataAutomationLibrarySummaries.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")inletlibraries=(Option.map~f:DataAutomationLibrarySummaries.of_xml)(Xml.childxml_arg0"libraries")inmake?nextToken?libraries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletlibraries=field_mapjson__"libraries"DataAutomationLibrarySummaries.of_jsoninmake?nextToken?libraries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraries Response"]moduleListDataAutomationLibrariesRequest=structtypenonrect={maxResults:MaxResults.toption;nextToken:NextToken.toption;projectFilter:DataAutomationProjectFilter.toption}letmake?maxResults=fun?nextToken->fun?projectFilter->fun()->{maxResults;nextToken;projectFilter}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("projectFilter",(Option.mapx.projectFilter~f:DataAutomationProjectFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectFilter=(Option.map~f:DataAutomationProjectFilter.of_xml)(Xml.childxml_arg0"projectFilter")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?projectFilter?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectFilter=field_mapjson__"projectFilter"DataAutomationProjectFilter.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninmake?projectFilter?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List DataAutomationLibraries Request"]moduleListBlueprintsResponse=structtypenonrect={blueprints:Blueprints.toption;nextToken:NextToken.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blueprints=fun?nextToken->fun()->{blueprints;nextToken}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[("blueprints",(Option.mapx.blueprints~f:Blueprints.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")inletblueprints=(Option.map~f:Blueprints.of_xml)(Xml.childxml_arg0"blueprints")inmake?nextToken?blueprints()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletblueprints=field_mapjson__"blueprints"Blueprints.of_jsoninmake?nextToken?blueprints()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List Blueprint Response"]moduleListBlueprintsRequest=structtypenonrect={blueprintArn:BlueprintArn.toption;resourceOwner:ResourceOwner.toption;blueprintStageFilter:BlueprintStageFilter.toption;maxResults:MaxResults.toption;nextToken:NextToken.toption;projectFilter:DataAutomationProjectFilter.toption}letmake?blueprintArn=fun?resourceOwner->fun?blueprintStageFilter->fun?maxResults->fun?nextToken->fun?projectFilter->fun()->{blueprintArn;resourceOwner;blueprintStageFilter;maxResults;nextToken;projectFilter}letto_valuex=structure_to_value[("blueprintArn",(Option.mapx.blueprintArn~f:BlueprintArn.to_value));("resourceOwner",(Option.mapx.resourceOwner~f:ResourceOwner.to_value));("blueprintStageFilter",(Option.mapx.blueprintStageFilter~f:BlueprintStageFilter.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("projectFilter",(Option.mapx.projectFilter~f:DataAutomationProjectFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectFilter=(Option.map~f:DataAutomationProjectFilter.of_xml)(Xml.childxml_arg0"projectFilter")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletblueprintStageFilter=(Option.map~f:BlueprintStageFilter.of_xml)(Xml.childxml_arg0"blueprintStageFilter")inletresourceOwner=(Option.map~f:ResourceOwner.of_xml)(Xml.childxml_arg0"resourceOwner")inletblueprintArn=(Option.map~f:BlueprintArn.of_xml)(Xml.childxml_arg0"blueprintArn")inmake?projectFilter?nextToken?maxResults?blueprintStageFilter?resourceOwner?blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectFilter=field_mapjson__"projectFilter"DataAutomationProjectFilter.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletblueprintStageFilter=field_mapjson__"blueprintStageFilter"BlueprintStageFilter.of_jsoninletresourceOwner=field_mapjson__"resourceOwner"ResourceOwner.of_jsoninletblueprintArn=field_mapjson__"blueprintArn"BlueprintArn.of_jsoninmake?projectFilter?nextToken?maxResults?blueprintStageFilter?resourceOwner?blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List Blueprint Request"]moduleInvokeDataAutomationLibraryIngestionJobResponse=structtypenonrect={jobArn:DataAutomationLibraryIngestionJobArn.toption[@ocaml.doc"ARN of the DataAutomationLibraryIngestionJob"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobArn=fun()->{jobArn}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[("jobArn",(Option.mapx.jobArn~f:DataAutomationLibraryIngestionJobArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobArn=(Option.map~f:DataAutomationLibraryIngestionJobArn.of_xml)(Xml.childxml_arg0"jobArn")inmake?jobArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobArn=field_mapjson__"jobArn"DataAutomationLibraryIngestionJobArn.of_jsoninmake?jobArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invoke DataAutomationLibraryIngestionJob Response"]moduleInvokeDataAutomationLibraryIngestionJobRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];clientToken:ClientToken.toption[@ocaml.doc"Idempotency token"];inputConfiguration:InputConfiguration.t[@ocaml.doc"Input configuration of DataAutomationLibraryIngestionJob request"];entityType:EntityType.t[@ocaml.doc"The entity type for which DataAutomationLibraryIngestionJob is being run"];operationType:LibraryIngestionJobOperationType.t[@ocaml.doc"The operation to be performed by DataAutomationLibraryIngestionJob"];outputConfiguration:OutputConfiguration.t[@ocaml.doc"Output configuration of DataAutomationLibraryIngestionJob"];notificationConfiguration:NotificationConfiguration.toption[@ocaml.doc"Notification configuration."];tags:TagList.toption[@ocaml.doc"List of tags"]}letcontext_="InvokeDataAutomationLibraryIngestionJobRequest"letmake?clientToken=fun?notificationConfiguration->fun?tags->fun~libraryArn->fun~inputConfiguration->fun~entityType->fun~operationType->fun~outputConfiguration->fun()->{clientToken;notificationConfiguration;tags;libraryArn;inputConfiguration;entityType;operationType;outputConfiguration}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("inputConfiguration",(Some(InputConfiguration.to_valuex.inputConfiguration)));("entityType",(Some(EntityType.to_valuex.entityType)));("operationType",(Some(LibraryIngestionJobOperationType.to_valuex.operationType)));("outputConfiguration",(Some(OutputConfiguration.to_valuex.outputConfiguration)));("notificationConfiguration",(Option.mapx.notificationConfiguration~f:NotificationConfiguration.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")inletnotificationConfiguration=(Option.map~f:NotificationConfiguration.of_xml)(Xml.childxml_arg0"notificationConfiguration")inletoutputConfiguration=OutputConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"outputConfiguration")inletoperationType=LibraryIngestionJobOperationType.of_xml(Xml.child_exn~context:context_xml_arg0"operationType")inletentityType=EntityType.of_xml(Xml.child_exn~context:context_xml_arg0"entityType")inletinputConfiguration=InputConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"inputConfiguration")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake?tags?notificationConfiguration~outputConfiguration~operationType~entityType~inputConfiguration?clientToken~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletnotificationConfiguration=field_mapjson__"notificationConfiguration"NotificationConfiguration.of_jsoninletoutputConfiguration=field_map_exnjson__"outputConfiguration"OutputConfiguration.of_jsoninletoperationType=field_map_exnjson__"operationType"LibraryIngestionJobOperationType.of_jsoninletentityType=field_map_exnjson__"entityType"EntityType.of_jsoninletinputConfiguration=field_map_exnjson__"inputConfiguration"InputConfiguration.of_jsoninletclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?tags?notificationConfiguration~outputConfiguration~operationType~entityType~inputConfiguration?clientToken~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invoke DataAutomationLibraryIngestionJob Request"]moduleInvokeBlueprintOptimizationAsyncResponse=structtypenonrect={invocationArn:BlueprintOptimizationInvocationArn.toption[@ocaml.doc"ARN of the blueprint optimization job"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?invocationArn=fun()->{invocationArn}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[("invocationArn",(Option.mapx.invocationArn~f:BlueprintOptimizationInvocationArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinvocationArn=(Option.map~f:BlueprintOptimizationInvocationArn.of_xml)(Xml.childxml_arg0"invocationArn")inmake?invocationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinvocationArn=field_mapjson__"invocationArn"BlueprintOptimizationInvocationArn.of_jsoninmake?invocationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invoke Blueprint Optimization Async Response"]moduleInvokeBlueprintOptimizationAsyncRequest=structtypenonrect={blueprint:BlueprintOptimizationObject.t[@ocaml.doc"Blueprint to be optimized"];samples:BlueprintOptimizationSamples.t[@ocaml.doc"List of Blueprint Optimization Samples"];outputConfiguration:BlueprintOptimizationOutputConfiguration.t[@ocaml.doc"Output configuration where the results should be placed"];dataAutomationProfileArn:DataAutomationProfileArn.t[@ocaml.doc"Data automation profile ARN"];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"Encryption configuration."];tags:TagList.toption[@ocaml.doc"List of tags."]}letcontext_="InvokeBlueprintOptimizationAsyncRequest"letmake?encryptionConfiguration=fun?tags->fun~blueprint->fun~samples->fun~outputConfiguration->fun~dataAutomationProfileArn->fun()->{encryptionConfiguration;tags;blueprint;samples;outputConfiguration;dataAutomationProfileArn}letto_valuex=structure_to_value[("blueprint",(Some(BlueprintOptimizationObject.to_valuex.blueprint)));("samples",(Some(BlueprintOptimizationSamples.to_valuex.samples)));("outputConfiguration",(Some(BlueprintOptimizationOutputConfiguration.to_valuex.outputConfiguration)));("dataAutomationProfileArn",(Some(DataAutomationProfileArn.to_valuex.dataAutomationProfileArn)));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.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")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletdataAutomationProfileArn=DataAutomationProfileArn.of_xml(Xml.child_exn~context:context_xml_arg0"dataAutomationProfileArn")inletoutputConfiguration=BlueprintOptimizationOutputConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"outputConfiguration")inletsamples=BlueprintOptimizationSamples.of_xml(Xml.child_exn~context:context_xml_arg0"samples")inletblueprint=BlueprintOptimizationObject.of_xml(Xml.child_exn~context:context_xml_arg0"blueprint")inmake?tags?encryptionConfiguration~dataAutomationProfileArn~outputConfiguration~samples~blueprint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletdataAutomationProfileArn=field_map_exnjson__"dataAutomationProfileArn"DataAutomationProfileArn.of_jsoninletoutputConfiguration=field_map_exnjson__"outputConfiguration"BlueprintOptimizationOutputConfiguration.of_jsoninletsamples=field_map_exnjson__"samples"BlueprintOptimizationSamples.of_jsoninletblueprint=field_map_exnjson__"blueprint"BlueprintOptimizationObject.of_jsoninmake?tags?encryptionConfiguration~dataAutomationProfileArn~outputConfiguration~samples~blueprint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invoke Blueprint Optimization Async Request"]moduleGetDataAutomationProjectResponse=structtypenonrect={project:DataAutomationProject.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}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[("project",(Option.mapx.project~f:DataAutomationProject.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:DataAutomationProject.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"DataAutomationProject.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationProject Response"]moduleGetDataAutomationProjectRequest=structtypenonrect={projectArn:DataAutomationProjectArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationProject is created"];projectStage:DataAutomationProjectStage.toption[@ocaml.doc"Optional field to delete a specific DataAutomationProject stage"]}letcontext_="GetDataAutomationProjectRequest"letmake?projectStage=fun~projectArn->fun()->{projectStage;projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DataAutomationProjectArn.to_valuex.projectArn)));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=DataAutomationProjectArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?projectStage~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?projectStage~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationProject Request"]moduleGetDataAutomationLibraryResponse=structtypenonrect={library:DataAutomationLibrary.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?library=fun()->{library}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[("library",(Option.mapx.library~f:DataAutomationLibrary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibrary=(Option.map~f:DataAutomationLibrary.of_xml)(Xml.childxml_arg0"library")inmake?library()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibrary=field_mapjson__"library"DataAutomationLibrary.of_jsoninmake?library()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibrary Response"]moduleGetDataAutomationLibraryRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"]}letcontext_="GetDataAutomationLibraryRequest"letmake~libraryArn=fun()->{libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibrary Request"]moduleGetDataAutomationLibraryIngestionJobResponse=structtypenonrect={job:DataAutomationLibraryIngestionJob.toption[@ocaml.doc"Contains the information of a library ingestion job"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?job=fun()->{job}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[("job",(Option.mapx.job~f:DataAutomationLibraryIngestionJob.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjob=(Option.map~f:DataAutomationLibraryIngestionJob.of_xml)(Xml.childxml_arg0"job")inmake?job()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjob=field_mapjson__"job"DataAutomationLibraryIngestionJob.of_jsoninmake?job()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibraryIngestionJob Response"]moduleGetDataAutomationLibraryIngestionJobRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];jobArn:DataAutomationLibraryIngestionJobArn.t[@ocaml.doc"ARN of the DataAutomationLibraryIngestionJob"]}letcontext_="GetDataAutomationLibraryIngestionJobRequest"letmake~libraryArn=fun~jobArn->fun()->{libraryArn;jobArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("jobArn",(Some(DataAutomationLibraryIngestionJobArn.to_valuex.jobArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobArn=DataAutomationLibraryIngestionJobArn.of_xml(Xml.child_exn~context:context_xml_arg0"jobArn")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~jobArn~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobArn=field_map_exnjson__"jobArn"DataAutomationLibraryIngestionJobArn.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~jobArn~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibraryIngestionJob Request"]moduleGetDataAutomationLibraryEntityResponse=structtypenonrect={entity:EntityDetails.toption[@ocaml.doc"Detailed information about the entity"]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?entity=fun()->{entity}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[("entity",(Option.mapx.entity~f:EntityDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letentity=(Option.map~f:EntityDetails.of_xml)(Xml.childxml_arg0"entity")inmake?entity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letentity=field_mapjson__"entity"EntityDetails.of_jsoninmake?entity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibraryEntity Response"]moduleGetDataAutomationLibraryEntityRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"];entityType:EntityType.t[@ocaml.doc"The entity type for which the entity is requested"];entityId:EntityId.t[@ocaml.doc"Unique identifier for the entity"]}letcontext_="GetDataAutomationLibraryEntityRequest"letmake~libraryArn=fun~entityType->fun~entityId->fun()->{libraryArn;entityType;entityId}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)));("entityType",(Some(EntityType.to_valuex.entityType)));("entityId",(Some(EntityId.to_valuex.entityId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letentityId=EntityId.of_xml(Xml.child_exn~context:context_xml_arg0"entityId")inletentityType=EntityType.of_xml(Xml.child_exn~context:context_xml_arg0"entityType")inletlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~entityId~entityType~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letentityId=field_map_exnjson__"entityId"EntityId.of_jsoninletentityType=field_map_exnjson__"entityType"EntityType.of_jsoninletlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~entityId~entityType~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get DataAutomationLibraryEntity Request"]moduleGetBlueprintResponse=structtypenonrect={blueprint:Blueprint.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blueprint=fun()->{blueprint}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[("blueprint",(Option.mapx.blueprint~f:Blueprint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprint=(Option.map~f:Blueprint.of_xml)(Xml.childxml_arg0"blueprint")inmake?blueprint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprint=field_mapjson__"blueprint"Blueprint.of_jsoninmake?blueprint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get Blueprint Response"]moduleGetBlueprintRequest=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"ARN generated at the server side when a Blueprint is created"];blueprintVersion:BlueprintVersion.toption[@ocaml.doc"Optional field to get a specific Blueprint version"];blueprintStage:BlueprintStage.toption[@ocaml.doc"Optional field to get a specific Blueprint stage"]}letcontext_="GetBlueprintRequest"letmake?blueprintVersion=fun?blueprintStage->fun~blueprintArn->fun()->{blueprintVersion;blueprintStage;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inletblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?blueprintStage?blueprintVersion~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninletblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?blueprintStage?blueprintVersion~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get Blueprint Request"]moduleGetBlueprintOptimizationStatusResponse=structtypenonrect={status:BlueprintOptimizationJobStatus.toption[@ocaml.doc"Job Status."];errorType:String_.toption[@ocaml.doc"Error Type."];errorMessage:String_.toption[@ocaml.doc"Error Message."];outputConfiguration:BlueprintOptimizationOutputConfiguration.toption[@ocaml.doc"Output configuration."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?status=fun?errorType->fun?errorMessage->fun?outputConfiguration->fun()->{status;errorType;errorMessage;outputConfiguration}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[("status",(Option.mapx.status~f:BlueprintOptimizationJobStatus.to_value));("errorType",(Option.mapx.errorType~f:String_.to_value));("errorMessage",(Option.mapx.errorMessage~f:String_.to_value));("outputConfiguration",(Option.mapx.outputConfiguration~f:BlueprintOptimizationOutputConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutputConfiguration=(Option.map~f:BlueprintOptimizationOutputConfiguration.of_xml)(Xml.childxml_arg0"outputConfiguration")inleterrorMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorType")inletstatus=(Option.map~f:BlueprintOptimizationJobStatus.of_xml)(Xml.childxml_arg0"status")inmake?outputConfiguration?errorMessage?errorType?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutputConfiguration=field_mapjson__"outputConfiguration"BlueprintOptimizationOutputConfiguration.of_jsoninleterrorMessage=field_mapjson__"errorMessage"String_.of_jsoninleterrorType=field_mapjson__"errorType"String_.of_jsoninletstatus=field_mapjson__"status"BlueprintOptimizationJobStatus.of_jsoninmake?outputConfiguration?errorMessage?errorType?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Response of GetBlueprintOptimizationStatus API."]moduleGetBlueprintOptimizationStatusRequest=structtypenonrect={invocationArn:BlueprintOptimizationInvocationArn.t[@ocaml.doc"Invocation arn."]}letcontext_="GetBlueprintOptimizationStatusRequest"letmake~invocationArn=fun()->{invocationArn}letto_valuex=structure_to_value[("invocationArn",(Some(BlueprintOptimizationInvocationArn.to_valuex.invocationArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinvocationArn=BlueprintOptimizationInvocationArn.of_xml(Xml.child_exn~context:context_xml_arg0"invocationArn")inmake~invocationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinvocationArn=field_map_exnjson__"invocationArn"BlueprintOptimizationInvocationArn.of_jsoninmake~invocationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Structure for request of GetBlueprintOptimizationStatus API."]moduleDeleteDataAutomationProjectResponse=structtypenonrect={projectArn:DataAutomationProjectArn.toption;status:DataAutomationProjectStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projectArn=fun?status->fun()->{projectArn;status}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[("projectArn",(Option.mapx.projectArn~f:DataAutomationProjectArn.to_value));("status",(Option.mapx.status~f:DataAutomationProjectStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationProjectStatus.of_xml)(Xml.childxml_arg0"status")inletprojectArn=(Option.map~f:DataAutomationProjectArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?status?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationProjectStatus.of_jsoninletprojectArn=field_mapjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?status?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete DataAutomationProject Response"]moduleDeleteDataAutomationProjectRequest=structtypenonrect={projectArn:DataAutomationProjectArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationProject is created"]}letcontext_="DeleteDataAutomationProjectRequest"letmake~projectArn=fun()->{projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DataAutomationProjectArn.to_valuex.projectArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectArn=DataAutomationProjectArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectArn=field_map_exnjson__"projectArn"DataAutomationProjectArn.of_jsoninmake~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete DataAutomationProject Request"]moduleDeleteDataAutomationLibraryResponse=structtypenonrect={libraryArn:DataAutomationLibraryArn.toption;status:DataAutomationLibraryStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?libraryArn=fun?status->fun()->{libraryArn;status}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[("libraryArn",(Option.mapx.libraryArn~f:DataAutomationLibraryArn.to_value));("status",(Option.mapx.status~f:DataAutomationLibraryStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationLibraryStatus.of_xml)(Xml.childxml_arg0"status")inletlibraryArn=(Option.map~f:DataAutomationLibraryArn.of_xml)(Xml.childxml_arg0"libraryArn")inmake?status?libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationLibraryStatus.of_jsoninletlibraryArn=field_mapjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?status?libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete DataAutomationLibrary Response"]moduleDeleteDataAutomationLibraryRequest=structtypenonrect={libraryArn:DataAutomationLibraryArn.t[@ocaml.doc"ARN generated at the server side when a DataAutomationLibrary is created"]}letcontext_="DeleteDataAutomationLibraryRequest"letmake~libraryArn=fun()->{libraryArn}letto_valuex=structure_to_value[("libraryArn",(Some(DataAutomationLibraryArn.to_valuex.libraryArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlibraryArn=DataAutomationLibraryArn.of_xml(Xml.child_exn~context:context_xml_arg0"libraryArn")inmake~libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlibraryArn=field_map_exnjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake~libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete DataAutomationLibrary Request"]moduleDeleteBlueprintResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.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)|"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))])))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"Delete Blueprint Response"]moduleDeleteBlueprintRequest=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"ARN generated at the server side when a Blueprint is created"];blueprintVersion:BlueprintVersion.toption[@ocaml.doc"Optional field to delete a specific Blueprint version"]}letcontext_="DeleteBlueprintRequest"letmake?blueprintVersion=fun~blueprintArn->fun()->{blueprintVersion;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("blueprintVersion",(Option.mapx.blueprintVersion~f:BlueprintVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprintVersion=(Option.map~f:BlueprintVersion.of_xml)(Xml.childxml_arg0"blueprintVersion")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?blueprintVersion~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprintVersion=field_mapjson__"blueprintVersion"BlueprintVersion.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?blueprintVersion~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete Blueprint Request"]moduleCreateDataAutomationProjectResponse=structtypenonrect={projectArn:DataAutomationProjectArn.toption;projectStage:DataAutomationProjectStage.toption;status:DataAutomationProjectStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projectArn=fun?projectStage->fun?status->fun()->{projectArn;projectStage;status}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[("projectArn",(Option.mapx.projectArn~f:DataAutomationProjectArn.to_value));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("status",(Option.mapx.status~f:DataAutomationProjectStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationProjectStatus.of_xml)(Xml.childxml_arg0"status")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectArn=(Option.map~f:DataAutomationProjectArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?status?projectStage?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationProjectStatus.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectArn=field_mapjson__"projectArn"DataAutomationProjectArn.of_jsoninmake?status?projectStage?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create DataAutomationProject Response"]moduleCreateDataAutomationProjectRequest=structtypenonrect={projectName:DataAutomationProjectName.t;projectDescription:DataAutomationProjectDescription.toption;projectStage:DataAutomationProjectStage.toption;projectType:DataAutomationProjectType.toption;standardOutputConfiguration:StandardOutputConfiguration.t;customOutputConfiguration:CustomOutputConfiguration.toption;overrideConfiguration:OverrideConfiguration.toption;dataAutomationLibraryConfiguration:DataAutomationLibraryConfiguration.toption;clientToken:ClientToken.toption;encryptionConfiguration:EncryptionConfiguration.toption;tags:TagList.toption}letcontext_="CreateDataAutomationProjectRequest"letmake?projectDescription=fun?projectStage->fun?projectType->fun?customOutputConfiguration->fun?overrideConfiguration->fun?dataAutomationLibraryConfiguration->fun?clientToken->fun?encryptionConfiguration->fun?tags->fun~projectName->fun~standardOutputConfiguration->fun()->{projectDescription;projectStage;projectType;customOutputConfiguration;overrideConfiguration;dataAutomationLibraryConfiguration;clientToken;encryptionConfiguration;tags;projectName;standardOutputConfiguration}letto_valuex=structure_to_value[("projectName",(Some(DataAutomationProjectName.to_valuex.projectName)));("projectDescription",(Option.mapx.projectDescription~f:DataAutomationProjectDescription.to_value));("projectStage",(Option.mapx.projectStage~f:DataAutomationProjectStage.to_value));("projectType",(Option.mapx.projectType~f:DataAutomationProjectType.to_value));("standardOutputConfiguration",(Some(StandardOutputConfiguration.to_valuex.standardOutputConfiguration)));("customOutputConfiguration",(Option.mapx.customOutputConfiguration~f:CustomOutputConfiguration.to_value));("overrideConfiguration",(Option.mapx.overrideConfiguration~f:OverrideConfiguration.to_value));("dataAutomationLibraryConfiguration",(Option.mapx.dataAutomationLibraryConfiguration~f:DataAutomationLibraryConfiguration.to_value));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.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")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletdataAutomationLibraryConfiguration=(Option.map~f:DataAutomationLibraryConfiguration.of_xml)(Xml.childxml_arg0"dataAutomationLibraryConfiguration")inletoverrideConfiguration=(Option.map~f:OverrideConfiguration.of_xml)(Xml.childxml_arg0"overrideConfiguration")inletcustomOutputConfiguration=(Option.map~f:CustomOutputConfiguration.of_xml)(Xml.childxml_arg0"customOutputConfiguration")inletstandardOutputConfiguration=StandardOutputConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"standardOutputConfiguration")inletprojectType=(Option.map~f:DataAutomationProjectType.of_xml)(Xml.childxml_arg0"projectType")inletprojectStage=(Option.map~f:DataAutomationProjectStage.of_xml)(Xml.childxml_arg0"projectStage")inletprojectDescription=(Option.map~f:DataAutomationProjectDescription.of_xml)(Xml.childxml_arg0"projectDescription")inletprojectName=DataAutomationProjectName.of_xml(Xml.child_exn~context:context_xml_arg0"projectName")inmake?tags?encryptionConfiguration?clientToken?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration~standardOutputConfiguration?projectType?projectStage?projectDescription~projectName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletdataAutomationLibraryConfiguration=field_mapjson__"dataAutomationLibraryConfiguration"DataAutomationLibraryConfiguration.of_jsoninletoverrideConfiguration=field_mapjson__"overrideConfiguration"OverrideConfiguration.of_jsoninletcustomOutputConfiguration=field_mapjson__"customOutputConfiguration"CustomOutputConfiguration.of_jsoninletstandardOutputConfiguration=field_map_exnjson__"standardOutputConfiguration"StandardOutputConfiguration.of_jsoninletprojectType=field_mapjson__"projectType"DataAutomationProjectType.of_jsoninletprojectStage=field_mapjson__"projectStage"DataAutomationProjectStage.of_jsoninletprojectDescription=field_mapjson__"projectDescription"DataAutomationProjectDescription.of_jsoninletprojectName=field_map_exnjson__"projectName"DataAutomationProjectName.of_jsoninmake?tags?encryptionConfiguration?clientToken?dataAutomationLibraryConfiguration?overrideConfiguration?customOutputConfiguration~standardOutputConfiguration?projectType?projectStage?projectDescription~projectName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create DataAutomationProject Request"]moduleCreateDataAutomationLibraryResponse=structtypenonrect={libraryArn:DataAutomationLibraryArn.toption;status:DataAutomationLibraryStatus.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?libraryArn=fun?status->fun()->{libraryArn;status}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[("libraryArn",(Option.mapx.libraryArn~f:DataAutomationLibraryArn.to_value));("status",(Option.mapx.status~f:DataAutomationLibraryStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DataAutomationLibraryStatus.of_xml)(Xml.childxml_arg0"status")inletlibraryArn=(Option.map~f:DataAutomationLibraryArn.of_xml)(Xml.childxml_arg0"libraryArn")inmake?status?libraryArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DataAutomationLibraryStatus.of_jsoninletlibraryArn=field_mapjson__"libraryArn"DataAutomationLibraryArn.of_jsoninmake?status?libraryArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create DataAutomationLibrary Response"]moduleCreateDataAutomationLibraryRequest=structtypenonrect={libraryName:DataAutomationLibraryName.t;libraryDescription:DataAutomationLibraryDescription.toption;clientToken:ClientToken.toption;encryptionConfiguration:EncryptionConfiguration.toption;tags:TagList.toption}letcontext_="CreateDataAutomationLibraryRequest"letmake?libraryDescription=fun?clientToken->fun?encryptionConfiguration->fun?tags->fun~libraryName->fun()->{libraryDescription;clientToken;encryptionConfiguration;tags;libraryName}letto_valuex=structure_to_value[("libraryName",(Some(DataAutomationLibraryName.to_valuex.libraryName)));("libraryDescription",(Option.mapx.libraryDescription~f:DataAutomationLibraryDescription.to_value));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.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")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletlibraryDescription=(Option.map~f:DataAutomationLibraryDescription.of_xml)(Xml.childxml_arg0"libraryDescription")inletlibraryName=DataAutomationLibraryName.of_xml(Xml.child_exn~context:context_xml_arg0"libraryName")inmake?tags?encryptionConfiguration?clientToken?libraryDescription~libraryName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletlibraryDescription=field_mapjson__"libraryDescription"DataAutomationLibraryDescription.of_jsoninletlibraryName=field_map_exnjson__"libraryName"DataAutomationLibraryName.of_jsoninmake?tags?encryptionConfiguration?clientToken?libraryDescription~libraryName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create DataAutomationLibrary Request"]moduleCreateBlueprintVersionResponse=structtypenonrect={blueprint:Blueprint.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blueprint=fun()->{blueprint}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[("blueprint",(Option.mapx.blueprint~f:Blueprint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprint=(Option.map~f:Blueprint.of_xml)(Xml.childxml_arg0"blueprint")inmake?blueprint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprint=field_mapjson__"blueprint"Blueprint.of_jsoninmake?blueprint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create Blueprint Version Response"]moduleCreateBlueprintVersionRequest=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"ARN generated at the server side when a Blueprint is created"];clientToken:ClientToken.toption}letcontext_="CreateBlueprintVersionRequest"letmake?clientToken=fun~blueprintArn->fun()->{clientToken;blueprintArn}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?clientToken~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?clientToken~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create Blueprint Version Request"]moduleCreateBlueprintResponse=structtypenonrect={blueprint:Blueprint.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blueprint=fun()->{blueprint}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[("blueprint",(Option.mapx.blueprint~f:Blueprint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblueprint=(Option.map~f:Blueprint.of_xml)(Xml.childxml_arg0"blueprint")inmake?blueprint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueprint=field_mapjson__"blueprint"Blueprint.of_jsoninmake?blueprint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create Blueprint Response"]moduleCreateBlueprintRequest=structtypenonrect={blueprintName:BlueprintName.t;type_:Type.t;blueprintStage:BlueprintStage.toption;schema:BlueprintSchema.t;clientToken:ClientToken.toption;encryptionConfiguration:EncryptionConfiguration.toption;tags:TagList.toption}letcontext_="CreateBlueprintRequest"letmake?blueprintStage=fun?clientToken->fun?encryptionConfiguration->fun?tags->fun~blueprintName->fun~type_->fun~schema->fun()->{blueprintStage;clientToken;encryptionConfiguration;tags;blueprintName;type_;schema}letto_valuex=structure_to_value[("blueprintName",(Some(BlueprintName.to_valuex.blueprintName)));("type",(Some(Type.to_valuex.type_)));("blueprintStage",(Option.mapx.blueprintStage~f:BlueprintStage.to_value));("schema",(Some(BlueprintSchema.to_valuex.schema)));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("encryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.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")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"encryptionConfiguration")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inletschema=BlueprintSchema.of_xml(Xml.child_exn~context:context_xml_arg0"schema")inletblueprintStage=(Option.map~f:BlueprintStage.of_xml)(Xml.childxml_arg0"blueprintStage")inlettype_=Type.of_xml(Xml.child_exn~context:context_xml_arg0"type")inletblueprintName=BlueprintName.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintName")inmake?tags?encryptionConfiguration?clientToken~schema?blueprintStage~type_~blueprintName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletencryptionConfiguration=field_mapjson__"encryptionConfiguration"EncryptionConfiguration.of_jsoninletclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninletschema=field_map_exnjson__"schema"BlueprintSchema.of_jsoninletblueprintStage=field_mapjson__"blueprintStage"BlueprintStage.of_jsoninlettype_=field_map_exnjson__"type"Type.of_jsoninletblueprintName=field_map_exnjson__"blueprintName"BlueprintName.of_jsoninmake?tags?encryptionConfiguration?clientToken~schema?blueprintStage~type_~blueprintName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create Blueprint Request"]moduleCopyBlueprintStageResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.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)|"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))])))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"CopyBlueprintStage Response"]moduleCopyBlueprintStageRequest=structtypenonrect={blueprintArn:BlueprintArn.t[@ocaml.doc"Blueprint to be copied"];sourceStage:BlueprintStage.t[@ocaml.doc"Source stage to copy from"];targetStage:BlueprintStage.t[@ocaml.doc"Target stage to copy to"];clientToken:ClientToken.toption[@ocaml.doc"Client token for idempotency"]}letcontext_="CopyBlueprintStageRequest"letmake?clientToken=fun~blueprintArn->fun~sourceStage->fun~targetStage->fun()->{clientToken;blueprintArn;sourceStage;targetStage}letto_valuex=structure_to_value[("blueprintArn",(Some(BlueprintArn.to_valuex.blueprintArn)));("sourceStage",(Some(BlueprintStage.to_valuex.sourceStage)));("targetStage",(Some(BlueprintStage.to_valuex.targetStage)));("clientToken",(Option.mapx.clientToken~f:ClientToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"clientToken")inlettargetStage=BlueprintStage.of_xml(Xml.child_exn~context:context_xml_arg0"targetStage")inletsourceStage=BlueprintStage.of_xml(Xml.child_exn~context:context_xml_arg0"sourceStage")inletblueprintArn=BlueprintArn.of_xml(Xml.child_exn~context:context_xml_arg0"blueprintArn")inmake?clientToken~targetStage~sourceStage~blueprintArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_mapjson__"clientToken"ClientToken.of_jsoninlettargetStage=field_map_exnjson__"targetStage"BlueprintStage.of_jsoninletsourceStage=field_map_exnjson__"sourceStage"BlueprintStage.of_jsoninletblueprintArn=field_map_exnjson__"blueprintArn"BlueprintArn.of_jsoninmake?clientToken~targetStage~sourceStage~blueprintArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"CopyBlueprintStage Request"]