12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723(* 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.appfabricletapiVersion="2023-05-19"letendpointPrefix="appfabric"letserviceFullName="AppFabric"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[]))])moduleString64=structtypenonrect=stringletcontext_="String64"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(fun()->check_string_mini~min:3));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String64"jletto_json=simple_to_jsonto_valueendmoduleString120=structtypenonrect=stringletcontext_="String120"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:120)>>=(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:"String120"jletto_json=simple_to_jsonto_valueendmoduleString63=structtypenonrect=stringletcontext_="String63"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:63)>>=(fun()->check_string_mini~min:3));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String63"jletto_json=simple_to_jsonto_valueendmoduleFirehoseStream=structtypenonrect={streamName:String64.t[@ocaml.doc"The name of the Amazon Kinesis Data Firehose delivery stream."]}letcontext_="FirehoseStream"letmake~streamName=fun()->{streamName}letto_valuex=structure_to_value[("streamName",(Some(String64.to_valuex.streamName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamName=String64.of_xml(Xml.child_exn~context:context_xml_arg0"streamName")inmake~streamName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamName=field_map_exnjson__"streamName"String64.of_jsoninmake~streamName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an Amazon Kinesis Data Firehose delivery stream."]moduleS3Bucket=structtypenonrect={bucketName:String63.t[@ocaml.doc"The name of the Amazon S3 bucket."];prefix:String120.toption[@ocaml.doc"The object key to use."]}letcontext_="S3Bucket"letmake?prefix=fun~bucketName->fun()->{prefix;bucketName}letto_valuex=structure_to_value[("bucketName",(Some(String63.to_valuex.bucketName)));("prefix",(Option.mapx.prefix~f:String120.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprefix=(Option.map~f:String120.of_xml)(Xml.childxml_arg0"prefix")inletbucketName=String63.of_xml(Xml.child_exn~context:context_xml_arg0"bucketName")inmake?prefix~bucketName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprefix=field_mapjson__"prefix"String120.of_jsoninletbucketName=field_map_exnjson__"bucketName"String63.of_jsoninmake?prefix~bucketName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an Amazon S3 bucket."]moduleDestination=structtypenonrect={s3Bucket:S3Bucket.toption[@ocaml.doc"Contains information about an Amazon S3 bucket."];firehoseStream:FirehoseStream.toption[@ocaml.doc"Contains information about an Amazon Kinesis Data Firehose delivery stream."]}letmake?s3Bucket=fun?firehoseStream->fun()->{s3Bucket;firehoseStream}letto_valuex=structure_to_value[("s3Bucket",(Option.mapx.s3Bucket~f:S3Bucket.to_value));("firehoseStream",(Option.mapx.firehoseStream~f:FirehoseStream.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirehoseStream=(Option.map~f:FirehoseStream.of_xml)(Xml.childxml_arg0"firehoseStream")inlets3Bucket=(Option.map~f:S3Bucket.of_xml)(Xml.childxml_arg0"s3Bucket")inmake?firehoseStream?s3Bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirehoseStream=field_mapjson__"firehoseStream"FirehoseStream.of_jsoninlets3Bucket=field_mapjson__"s3Bucket"S3Bucket.of_jsoninmake?firehoseStream?s3Bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an audit log destination."]moduleFormat_=structtypenonrect=|Json|Parquet|Non_static_idofstringletmakei=iletto_string=function|Json->"json"|Parquet->"parquet"|Non_static_ids->sletof_string=function|"json"->Json|"parquet"->Parquet|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 Format"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Format"j)letto_json=simple_to_jsonto_valueendmoduleSchema=structtypenonrect=|Ocsf|Raw|Non_static_idofstringletmakei=iletto_string=function|Ocsf->"ocsf"|Raw->"raw"|Non_static_ids->sletof_string=function|"ocsf"->Ocsf|"raw"->Raw|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 Schema"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Schema"j)letto_json=simple_to_jsonto_valueendmoduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleString2048=structtypenonrect=stringletcontext_="String2048"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"String2048"jletto_json=simple_to_jsonto_valueendmoduleTenantIdentifier=structtypenonrect=stringletcontext_="TenantIdentifier"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:"TenantIdentifier"jletto_json=simple_to_jsonto_valueendmoduleAuditLogDestinationConfiguration=structtypenonrect={destination:Destination.t[@ocaml.doc"Contains information about an audit log destination."]}letcontext_="AuditLogDestinationConfiguration"letmake~destination=fun()->{destination}letto_valuex=structure_to_value[("destination",(Some(Destination.to_valuex.destination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestination=Destination.of_xml(Xml.child_exn~context:context_xml_arg0"destination")inmake~destination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestination=field_map_exnjson__"destination"Destination.of_jsoninmake~destination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an audit log destination configuration."]moduleAuditLogProcessingConfiguration=structtypenonrect={schema:Schema.t[@ocaml.doc"The event schema in which the audit logs need to be formatted."];format:Format_.t[@ocaml.doc"The format in which the audit logs need to be formatted."]}letcontext_="AuditLogProcessingConfiguration"letmake~schema=fun~format->fun()->{schema;format}letto_valuex=structure_to_value[("schema",(Some(Schema.to_valuex.schema)));("format",(Some(Format_.to_valuex.format)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letformat=Format_.of_xml(Xml.child_exn~context:context_xml_arg0"format")inletschema=Schema.of_xml(Xml.child_exn~context:context_xml_arg0"schema")inmake~format~schema()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letformat=field_map_exnjson__"format"Format_.of_jsoninletschema=field_map_exnjson__"schema"Schema.of_jsoninmake~format~schema()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an audit log processing configuration."]moduleValidationExceptionField=structtypenonrect={name:String_.toption[@ocaml.doc"The field name where the invalid entry was detected."];message:String_.toption[@ocaml.doc"A message about the validation exception."]}letmake?name=fun?message->fun()->{name;message}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:String_.to_value));("message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inletname=(Option.map~f:String_.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"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninmake?message?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input failed to meet the constraints specified by the Amazon Web Services service in a specified field."]moduleSensitiveString2048=structtypenonrect=stringletcontext_="SensitiveString2048"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"SensitiveString2048"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleString255=structtypenonrect=stringletcontext_="String255"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String255"jletto_json=simple_to_jsonto_valueendmoduleTaskError=structtypenonrect={errorCode:String_.toption[@ocaml.doc"The code of the error."];errorMessage:String_.toption[@ocaml.doc"The message of the error."]}letmake?errorCode=fun?errorMessage->fun()->{errorCode;errorMessage}letto_valuex=structure_to_value[("errorCode",(Option.mapx.errorCode~f:String_.to_value));("errorMessage",(Option.mapx.errorMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorMessage")inleterrorCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"errorCode")inmake?errorMessage?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"errorMessage"String_.of_jsoninleterrorCode=field_mapjson__"errorCode"String_.of_jsoninmake?errorMessage?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an error returned from a user access task."]moduleUUID=structtypenonrect=stringletcontext_="UUID"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"UUID"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Arn"jletto_json=simple_to_jsonto_valueendmoduleIngestionState=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 IngestionState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IngestionState"j)letto_json=simple_to_jsonto_valueendmoduleAppAuthorizationStatus=structtypenonrect=|PendingConnect|Connected|ConnectionValidationFailed|TokenAutoRotationFailed|Non_static_idofstringletmakei=iletto_string=function|PendingConnect->"PendingConnect"|Connected->"Connected"|ConnectionValidationFailed->"ConnectionValidationFailed"|TokenAutoRotationFailed->"TokenAutoRotationFailed"|Non_static_ids->sletof_string=function|"PendingConnect"->PendingConnect|"Connected"->Connected|"ConnectionValidationFailed"->ConnectionValidationFailed|"TokenAutoRotationFailed"->TokenAutoRotationFailed|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 AppAuthorizationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AppAuthorizationStatus"j)letto_json=simple_to_jsonto_valueendmoduleDateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleTenant=structtypenonrect={tenantIdentifier:TenantIdentifier.t[@ocaml.doc"The ID of the application tenant."];tenantDisplayName:String2048.t[@ocaml.doc"The display name of the tenant."]}letcontext_="Tenant"letmake~tenantIdentifier=fun~tenantDisplayName->fun()->{tenantIdentifier;tenantDisplayName}letto_valuex=structure_to_value[("tenantIdentifier",(Some(TenantIdentifier.to_valuex.tenantIdentifier)));("tenantDisplayName",(Some(String2048.to_valuex.tenantDisplayName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenantDisplayName=String2048.of_xml(Xml.child_exn~context:context_xml_arg0"tenantDisplayName")inlettenantIdentifier=TenantIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"tenantIdentifier")inmake~tenantDisplayName~tenantIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantDisplayName=field_map_exnjson__"tenantDisplayName"String2048.of_jsoninlettenantIdentifier=field_map_exnjson__"tenantIdentifier"TenantIdentifier.of_jsoninmake~tenantDisplayName~tenantIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an application tenant."]moduleEmail=structtypenonrect=stringletcontext_="Email"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:320)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9.!#$%&\226\128\153*+/=?^_`{|}~-]+@[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:"Email"jletto_json=simple_to_jsonto_valueendmoduleResultStatus=structtypenonrect=|IN_PROGRESS|COMPLETED|FAILED|EXPIRED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|COMPLETED->"COMPLETED"|FAILED->"FAILED"|EXPIRED->"EXPIRED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"COMPLETED"->COMPLETED|"FAILED"->FAILED|"EXPIRED"->EXPIRED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ResultStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResultStatus"j)letto_json=simple_to_jsonto_valueendmoduleDestinationConfiguration=structtypenonrect={auditLog:AuditLogDestinationConfiguration.toption[@ocaml.doc"Contains information about an audit log destination configuration."]}letmake?auditLog=fun()->{auditLog}letto_valuex=structure_to_value[("auditLog",(Option.mapx.auditLog~f:AuditLogDestinationConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letauditLog=(Option.map~f:AuditLogDestinationConfiguration.of_xml)(Xml.childxml_arg0"auditLog")inmake?auditLog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letauditLog=field_mapjson__"auditLog"AuditLogDestinationConfiguration.of_jsoninmake?auditLog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the destination of ingested data."]moduleIngestionDestinationStatus=structtypenonrect=|Active|Failed|Non_static_idofstringletmakei=iletto_string=function|Active->"Active"|Failed->"Failed"|Non_static_ids->sletof_string=function|"Active"->Active|"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 IngestionDestinationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IngestionDestinationStatus"j)letto_json=simple_to_jsonto_valueendmoduleProcessingConfiguration=structtypenonrect={auditLog:AuditLogProcessingConfiguration.toption[@ocaml.doc"Contains information about an audit log processing configuration."]}letmake?auditLog=fun()->{auditLog}letto_valuex=structure_to_value[("auditLog",(Option.mapx.auditLog~f:AuditLogProcessingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letauditLog=(Option.map~f:AuditLogProcessingConfiguration.of_xml)(Xml.childxml_arg0"auditLog")inmake?auditLog()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letauditLog=field_mapjson__"auditLog"AuditLogProcessingConfiguration.of_jsoninmake?auditLog()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about how ingested data is processed."]moduleInteger=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleValidationExceptionFieldList=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_valuevendmoduleValidationExceptionReason=structtypenonrect=|UnknownOperation|CannotParse|FieldValidationFailed|Other|Non_static_idofstringletmakei=iletto_string=function|UnknownOperation->"unknownOperation"|CannotParse->"cannotParse"|FieldValidationFailed->"fieldValidationFailed"|Other->"other"|Non_static_ids->sletof_string=function|"unknownOperation"->UnknownOperation|"cannotParse"->CannotParse|"fieldValidationFailed"->FieldValidationFailed|"other"->Other|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ValidationExceptionReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ValidationExceptionReason"j)letto_json=simple_to_jsonto_valueendmoduleAuthType=structtypenonrect=|Oauth2|ApiKey|Non_static_idofstringletmakei=iletto_string=function|Oauth2->"oauth2"|ApiKey->"apiKey"|Non_static_ids->sletof_string=function|"oauth2"->Oauth2|"apiKey"->ApiKey|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration AuthType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuthType"j)letto_json=simple_to_jsonto_valueendmodulePersona=structtypenonrect=|Admin|EndUser|Non_static_idofstringletmakei=iletto_string=function|Admin->"admin"|EndUser->"endUser"|Non_static_ids->sletof_string=function|"admin"->Admin|"endUser"->EndUser|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 Persona"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Persona"j)letto_json=simple_to_jsonto_valueendmoduleApiKeyCredential=structtypenonrect={apiKey:SensitiveString2048.t[@ocaml.doc"An API key for an application."]}letcontext_="ApiKeyCredential"letmake~apiKey=fun()->{apiKey}letto_valuex=structure_to_value[("apiKey",(Some(SensitiveString2048.to_valuex.apiKey)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapiKey=SensitiveString2048.of_xml(Xml.child_exn~context:context_xml_arg0"apiKey")inmake~apiKey()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapiKey=field_map_exnjson__"apiKey"SensitiveString2048.of_jsoninmake~apiKey()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains API key credential information."]moduleOauth2Credential=structtypenonrect={clientId:String2048.t[@ocaml.doc"The client ID of the client application."];clientSecret:SensitiveString2048.t[@ocaml.doc"The client secret of the client application."]}letcontext_="Oauth2Credential"letmake~clientId=fun~clientSecret->fun()->{clientId;clientSecret}letto_valuex=structure_to_value[("clientId",(Some(String2048.to_valuex.clientId)));("clientSecret",(Some(SensitiveString2048.to_valuex.clientSecret)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientSecret=SensitiveString2048.of_xml(Xml.child_exn~context:context_xml_arg0"clientSecret")inletclientId=String2048.of_xml(Xml.child_exn~context:context_xml_arg0"clientId")inmake~clientSecret~clientId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientSecret=field_map_exnjson__"clientSecret"SensitiveString2048.of_jsoninletclientId=field_map_exnjson__"clientId"String2048.of_jsoninmake~clientSecret~clientId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains OAuth2 client credential information."]moduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"Tag key."];value:TagValue.t[@ocaml.doc"Tag value."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Some(TagKey.to_valuex.key)));("value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"value"TagValue.of_jsoninletkey=field_map_exnjson__"key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The key or keys of the key-value pairs for the tag or tags assigned to a resource."]moduleUserAccessTaskItem=structtypenonrect={app:String255.toption[@ocaml.doc"The name of the application."];tenantId:TenantIdentifier.toption[@ocaml.doc"The ID of the application tenant."];taskId:UUID.toption[@ocaml.doc"The unique ID of the task."];error:TaskError.toption[@ocaml.doc"Error from the task, if any."]}letmake?app=fun?tenantId->fun?taskId->fun?error->fun()->{app;tenantId;taskId;error}letto_valuex=structure_to_value[("app",(Option.mapx.app~f:String255.to_value));("tenantId",(Option.mapx.tenantId~f:TenantIdentifier.to_value));("taskId",(Option.mapx.taskId~f:UUID.to_value));("error",(Option.mapx.error~f:TaskError.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterror=(Option.map~f:TaskError.of_xml)(Xml.childxml_arg0"error")inlettaskId=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"taskId")inlettenantId=(Option.map~f:TenantIdentifier.of_xml)(Xml.childxml_arg0"tenantId")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inmake?error?taskId?tenantId?app()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterror=field_mapjson__"error"TaskError.of_jsoninlettaskId=field_mapjson__"taskId"UUID.of_jsoninlettenantId=field_mapjson__"tenantId"TenantIdentifier.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninmake?error?taskId?tenantId?app()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a user access task."]moduleIngestionSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the ingestion."];app:String255.toption[@ocaml.doc"The name of the application."];tenantId:TenantIdentifier.toption[@ocaml.doc"The ID of the application tenant."];state:IngestionState.toption[@ocaml.doc"The status of the ingestion."]}letmake?arn=fun?app->fun?tenantId->fun?state->fun()->{arn;app;tenantId;state}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("app",(Option.mapx.app~f:String255.to_value));("tenantId",(Option.mapx.tenantId~f:TenantIdentifier.to_value));("state",(Option.mapx.state~f:IngestionState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstate=(Option.map~f:IngestionState.of_xml)(Xml.childxml_arg0"state")inlettenantId=(Option.map~f:TenantIdentifier.of_xml)(Xml.childxml_arg0"tenantId")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?state?tenantId?app?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstate=field_mapjson__"state"IngestionState.of_jsoninlettenantId=field_mapjson__"tenantId"TenantIdentifier.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?state?tenantId?app?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a summary of an ingestion."]moduleIngestionDestinationSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the ingestion destination."]}letmake?arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"Arn.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a summary of an ingestion destination."]moduleAppBundleSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app bundle."]}letmake?arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"Arn.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a summary of an app bundle."]moduleAppAuthorizationSummary=structtypenonrect={appAuthorizationArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app authorization."];appBundleArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app bundle for the app authorization."];app:String255.toption[@ocaml.doc"The name of the application."];tenant:Tenant.toption[@ocaml.doc"Contains information about an application tenant, such as the application display name and identifier."];status:AppAuthorizationStatus.toption[@ocaml.doc"The state of the app authorization. The following states are possible: PendingConnect: The initial state of the app authorization. The app authorization is created but not yet connected. Connected: The app authorization is connected to the application, and is ready to be used. ConnectionValidationFailed: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. TokenAutoRotationFailed: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization."];updatedAt:DateTime.toption[@ocaml.doc"Timestamp for when the app authorization was last updated."]}letmake?appAuthorizationArn=fun?appBundleArn->fun?app->fun?tenant->fun?status->fun?updatedAt->fun()->{appAuthorizationArn;appBundleArn;app;tenant;status;updatedAt}letto_valuex=structure_to_value[("appAuthorizationArn",(Option.mapx.appAuthorizationArn~f:Arn.to_value));("appBundleArn",(Option.mapx.appBundleArn~f:Arn.to_value));("app",(Option.mapx.app~f:String255.to_value));("tenant",(Option.mapx.tenant~f:Tenant.to_value));("status",(Option.mapx.status~f:AppAuthorizationStatus.to_value));("updatedAt",(Option.mapx.updatedAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"updatedAt")inletstatus=(Option.map~f:AppAuthorizationStatus.of_xml)(Xml.childxml_arg0"status")inlettenant=(Option.map~f:Tenant.of_xml)(Xml.childxml_arg0"tenant")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inletappBundleArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"appBundleArn")inletappAuthorizationArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"appAuthorizationArn")inmake?updatedAt?status?tenant?app?appBundleArn?appAuthorizationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedAt=field_mapjson__"updatedAt"DateTime.of_jsoninletstatus=field_mapjson__"status"AppAuthorizationStatus.of_jsoninlettenant=field_mapjson__"tenant"Tenant.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninletappBundleArn=field_mapjson__"appBundleArn"Arn.of_jsoninletappAuthorizationArn=field_mapjson__"appAuthorizationArn"Arn.of_jsoninmake?updatedAt?status?tenant?app?appBundleArn?appAuthorizationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a summary of an app authorization."]moduleIngestionType=structtypenonrect=|AuditLog|Non_static_idofstringletmakei=iletto_string=function|AuditLog->"auditLog"|Non_static_ids->sletof_string=function|"auditLog"->AuditLog|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 IngestionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IngestionType"j)letto_json=simple_to_jsonto_valueendmoduleRedirectUri=structtypenonrect=stringletcontext_="RedirectUri"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"https://[-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:"RedirectUri"jletto_json=simple_to_jsonto_valueendmoduleUserAccessResultItem=structtypenonrect={app:String255.toption[@ocaml.doc"The name of the application."];tenantId:TenantIdentifier.toption[@ocaml.doc"The ID of the application tenant."];tenantDisplayName:String2048.toption[@ocaml.doc"The display name of the tenant."];taskId:UUID.toption[@ocaml.doc"The unique ID of the task."];resultStatus:ResultStatus.toption[@ocaml.doc"The status of the user access result item. The following states are possible: IN_PROGRESS: The user access task is in progress. COMPLETED: The user access task completed successfully. FAILED: The user access task failed. EXPIRED: The user access task expired."];email:Email.toption[@ocaml.doc"The email address of the target user."];userId:SensitiveString2048.toption[@ocaml.doc"The unique ID of user."];userFullName:SensitiveString2048.toption[@ocaml.doc"The full name of the user."];userFirstName:SensitiveString2048.toption[@ocaml.doc"The first name of the user."];userLastName:SensitiveString2048.toption[@ocaml.doc"The last name of the user."];userStatus:String_.toption[@ocaml.doc"The status of the user returned by the application."];taskError:TaskError.toption[@ocaml.doc"Contains information about an error returned from a user access task."]}letmake?app=fun?tenantId->fun?tenantDisplayName->fun?taskId->fun?resultStatus->fun?email->fun?userId->fun?userFullName->fun?userFirstName->fun?userLastName->fun?userStatus->fun?taskError->fun()->{app;tenantId;tenantDisplayName;taskId;resultStatus;email;userId;userFullName;userFirstName;userLastName;userStatus;taskError}letto_valuex=structure_to_value[("app",(Option.mapx.app~f:String255.to_value));("tenantId",(Option.mapx.tenantId~f:TenantIdentifier.to_value));("tenantDisplayName",(Option.mapx.tenantDisplayName~f:String2048.to_value));("taskId",(Option.mapx.taskId~f:UUID.to_value));("resultStatus",(Option.mapx.resultStatus~f:ResultStatus.to_value));("email",(Option.mapx.email~f:Email.to_value));("userId",(Option.mapx.userId~f:SensitiveString2048.to_value));("userFullName",(Option.mapx.userFullName~f:SensitiveString2048.to_value));("userFirstName",(Option.mapx.userFirstName~f:SensitiveString2048.to_value));("userLastName",(Option.mapx.userLastName~f:SensitiveString2048.to_value));("userStatus",(Option.mapx.userStatus~f:String_.to_value));("taskError",(Option.mapx.taskError~f:TaskError.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettaskError=(Option.map~f:TaskError.of_xml)(Xml.childxml_arg0"taskError")inletuserStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"userStatus")inletuserLastName=(Option.map~f:SensitiveString2048.of_xml)(Xml.childxml_arg0"userLastName")inletuserFirstName=(Option.map~f:SensitiveString2048.of_xml)(Xml.childxml_arg0"userFirstName")inletuserFullName=(Option.map~f:SensitiveString2048.of_xml)(Xml.childxml_arg0"userFullName")inletuserId=(Option.map~f:SensitiveString2048.of_xml)(Xml.childxml_arg0"userId")inletemail=(Option.map~f:Email.of_xml)(Xml.childxml_arg0"email")inletresultStatus=(Option.map~f:ResultStatus.of_xml)(Xml.childxml_arg0"resultStatus")inlettaskId=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"taskId")inlettenantDisplayName=(Option.map~f:String2048.of_xml)(Xml.childxml_arg0"tenantDisplayName")inlettenantId=(Option.map~f:TenantIdentifier.of_xml)(Xml.childxml_arg0"tenantId")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inmake?taskError?userStatus?userLastName?userFirstName?userFullName?userId?email?resultStatus?taskId?tenantDisplayName?tenantId?app()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettaskError=field_mapjson__"taskError"TaskError.of_jsoninletuserStatus=field_mapjson__"userStatus"String_.of_jsoninletuserLastName=field_mapjson__"userLastName"SensitiveString2048.of_jsoninletuserFirstName=field_mapjson__"userFirstName"SensitiveString2048.of_jsoninletuserFullName=field_mapjson__"userFullName"SensitiveString2048.of_jsoninletuserId=field_mapjson__"userId"SensitiveString2048.of_jsoninletemail=field_mapjson__"email"Email.of_jsoninletresultStatus=field_mapjson__"resultStatus"ResultStatus.of_jsoninlettaskId=field_mapjson__"taskId"UUID.of_jsoninlettenantDisplayName=field_mapjson__"tenantDisplayName"String2048.of_jsoninlettenantId=field_mapjson__"tenantId"TenantIdentifier.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninmake?taskError?userStatus?userLastName?userFirstName?userFullName?userId?email?resultStatus?taskId?tenantDisplayName?tenantId?app()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a user's access to an application."]moduleAccessDeniedException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You are not authorized to perform this operation."]moduleConflictException=structtypenonrect={message:String_.toption;resourceId:String_.toption[@ocaml.doc"The resource ID."];resourceType:String_.toption[@ocaml.doc"The resource type."]}letmake?message=fun?resourceId->fun?resourceType->fun()->{message;resourceId;resourceType}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("resourceId",(Option.mapx.resourceId~f:String_.to_value));("resourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceType")inletresourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceId")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?resourceType?resourceId?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"resourceType"String_.of_jsoninletresourceId=field_mapjson__"resourceId"String_.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?resourceType?resourceId?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request has created a conflict. Check the request parameters and try again."]moduleIngestionDestination=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the ingestion destination."];ingestionArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the ingestion."];processingConfiguration:ProcessingConfiguration.toption[@ocaml.doc"Contains information about how ingested data is processed."];destinationConfiguration:DestinationConfiguration.toption[@ocaml.doc"Contains information about the destination of ingested data."];status:IngestionDestinationStatus.toption[@ocaml.doc"The state of the ingestion destination. The following states are possible: Active: The ingestion destination is active and is ready to be used. Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again."];statusReason:String_.toption[@ocaml.doc"The reason for the current status of the ingestion destination. Only present when the status of ingestion destination is Failed."];createdAt:DateTime.toption[@ocaml.doc"The timestamp of when the ingestion destination was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp of when the ingestion destination was last updated."]}letmake?arn=fun?ingestionArn->fun?processingConfiguration->fun?destinationConfiguration->fun?status->fun?statusReason->fun?createdAt->fun?updatedAt->fun()->{arn;ingestionArn;processingConfiguration;destinationConfiguration;status;statusReason;createdAt;updatedAt}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("ingestionArn",(Option.mapx.ingestionArn~f:Arn.to_value));("processingConfiguration",(Option.mapx.processingConfiguration~f:ProcessingConfiguration.to_value));("destinationConfiguration",(Option.mapx.destinationConfiguration~f:DestinationConfiguration.to_value));("status",(Option.mapx.status~f:IngestionDestinationStatus.to_value));("statusReason",(Option.mapx.statusReason~f:String_.to_value));("createdAt",(Option.mapx.createdAt~f:DateTime.to_value));("updatedAt",(Option.mapx.updatedAt~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"updatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"createdAt")inletstatusReason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusReason")inletstatus=(Option.map~f:IngestionDestinationStatus.of_xml)(Xml.childxml_arg0"status")inletdestinationConfiguration=(Option.map~f:DestinationConfiguration.of_xml)(Xml.childxml_arg0"destinationConfiguration")inletprocessingConfiguration=(Option.map~f:ProcessingConfiguration.of_xml)(Xml.childxml_arg0"processingConfiguration")inletingestionArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"ingestionArn")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?updatedAt?createdAt?statusReason?status?destinationConfiguration?processingConfiguration?ingestionArn?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedAt=field_mapjson__"updatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"createdAt"DateTime.of_jsoninletstatusReason=field_mapjson__"statusReason"String_.of_jsoninletstatus=field_mapjson__"status"IngestionDestinationStatus.of_jsoninletdestinationConfiguration=field_mapjson__"destinationConfiguration"DestinationConfiguration.of_jsoninletprocessingConfiguration=field_mapjson__"processingConfiguration"ProcessingConfiguration.of_jsoninletingestionArn=field_mapjson__"ingestionArn"Arn.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?updatedAt?createdAt?statusReason?status?destinationConfiguration?processingConfiguration?ingestionArn?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an ingestion destination."]moduleInternalServerException=structtypenonrect={message:String_.toption;retryAfterSeconds:Integer.toption[@ocaml.doc"The period of time after which you should retry your request."]}letmake?message=fun?retryAfterSeconds->fun()->{message;retryAfterSeconds}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("Retry-After",(Option.mapx.retryAfterSeconds~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretryAfterSeconds=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Retry-After")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?retryAfterSeconds?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretryAfterSeconds=field_mapjson__"retryAfterSeconds"Integer.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?retryAfterSeconds?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request processing has failed because of an unknown error, exception, or failure with an internal server."]moduleResourceNotFoundException=structtypenonrect={message:String_.toption;resourceId:String_.toption[@ocaml.doc"The resource ID."];resourceType:String_.toption[@ocaml.doc"The resource type."]}letmake?message=fun?resourceId->fun?resourceType->fun()->{message;resourceId;resourceType}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("resourceId",(Option.mapx.resourceId~f:String_.to_value));("resourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceType")inletresourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceId")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?resourceType?resourceId?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"resourceType"String_.of_jsoninletresourceId=field_mapjson__"resourceId"String_.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?resourceType?resourceId?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource does not exist."]moduleServiceQuotaExceededException=structtypenonrect={message:String_.toption;resourceId:String_.toption[@ocaml.doc"The resource ID."];resourceType:String_.toption[@ocaml.doc"The resource type."];serviceCode:String_.toption[@ocaml.doc"The code of the service."];quotaCode:String_.toption[@ocaml.doc"The code for the quota exceeded."]}letmake?message=fun?resourceId->fun?resourceType->fun?serviceCode->fun?quotaCode->fun()->{message;resourceId;resourceType;serviceCode;quotaCode}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("resourceId",(Option.mapx.resourceId~f:String_.to_value));("resourceType",(Option.mapx.resourceType~f:String_.to_value));("serviceCode",(Option.mapx.serviceCode~f:String_.to_value));("quotaCode",(Option.mapx.quotaCode~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"quotaCode")inletserviceCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"serviceCode")inletresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceType")inletresourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceId")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?quotaCode?serviceCode?resourceType?resourceId?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaCode=field_mapjson__"quotaCode"String_.of_jsoninletserviceCode=field_mapjson__"serviceCode"String_.of_jsoninletresourceType=field_mapjson__"resourceType"String_.of_jsoninletresourceId=field_mapjson__"resourceId"String_.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?quotaCode?serviceCode?resourceType?resourceId?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request exceeds a service quota."]moduleThrottlingException=structtypenonrect={message:String_.toption;serviceCode:String_.toption[@ocaml.doc"The code of the service."];quotaCode:String_.toption[@ocaml.doc"The code for the quota exceeded."];retryAfterSeconds:Integer.toption[@ocaml.doc"The period of time after which you should retry your request."]}letmake?message=fun?serviceCode->fun?quotaCode->fun?retryAfterSeconds->fun()->{message;serviceCode;quotaCode;retryAfterSeconds}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("serviceCode",(Option.mapx.serviceCode~f:String_.to_value));("quotaCode",(Option.mapx.quotaCode~f:String_.to_value));("Retry-After",(Option.mapx.retryAfterSeconds~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretryAfterSeconds=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Retry-After")inletquotaCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"quotaCode")inletserviceCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"serviceCode")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?retryAfterSeconds?quotaCode?serviceCode?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretryAfterSeconds=field_mapjson__"retryAfterSeconds"Integer.of_jsoninletquotaCode=field_mapjson__"quotaCode"String_.of_jsoninletserviceCode=field_mapjson__"serviceCode"String_.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?retryAfterSeconds?quotaCode?serviceCode?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request rate exceeds the limit."]moduleValidationException=structtypenonrect={message:String_.toption;reason:ValidationExceptionReason.toption[@ocaml.doc"The reason for the exception."];fieldList:ValidationExceptionFieldList.toption[@ocaml.doc"The field list."]}letmake?message=fun?reason->fun?fieldList->fun()->{message;reason;fieldList}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("reason",(Option.mapx.reason~f:ValidationExceptionReason.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")inletreason=(Option.map~f:ValidationExceptionReason.of_xml)(Xml.childxml_arg0"reason")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?fieldList?reason?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfieldList=field_mapjson__"fieldList"ValidationExceptionFieldList.of_jsoninletreason=field_mapjson__"reason"ValidationExceptionReason.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?fieldList?reason?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request has invalid or missing parameters."]moduleIdentifier=structtypenonrect=stringletcontext_="Identifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:.+$|^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Identifier"jletto_json=simple_to_jsonto_valueendmoduleAppAuthorization=structtypenonrect={appAuthorizationArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app authorization."];appBundleArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app bundle for the app authorization."];app:String255.toption[@ocaml.doc"The name of the application."];tenant:Tenant.toption[@ocaml.doc"Contains information about an application tenant, such as the application display name and identifier."];authType:AuthType.toption[@ocaml.doc"The authorization type."];status:AppAuthorizationStatus.toption[@ocaml.doc"The state of the app authorization. The following states are possible: PendingConnect: The initial state of the app authorization. The app authorization is created but not yet connected. Connected: The app authorization is connected to the application, and is ready to be used. ConnectionValidationFailed: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. TokenAutoRotationFailed: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization."];createdAt:DateTime.toption[@ocaml.doc"The timestamp of when the app authorization was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp of when the app authorization was last updated."];persona:Persona.toption[@ocaml.doc"The user persona of the app authorization. This field should always be admin."];authUrl:String_.toption[@ocaml.doc"The application URL for the OAuth flow."]}letmake?appAuthorizationArn=fun?appBundleArn->fun?app->fun?tenant->fun?authType->fun?status->fun?createdAt->fun?updatedAt->fun?persona->fun?authUrl->fun()->{appAuthorizationArn;appBundleArn;app;tenant;authType;status;createdAt;updatedAt;persona;authUrl}letto_valuex=structure_to_value[("appAuthorizationArn",(Option.mapx.appAuthorizationArn~f:Arn.to_value));("appBundleArn",(Option.mapx.appBundleArn~f:Arn.to_value));("app",(Option.mapx.app~f:String255.to_value));("tenant",(Option.mapx.tenant~f:Tenant.to_value));("authType",(Option.mapx.authType~f:AuthType.to_value));("status",(Option.mapx.status~f:AppAuthorizationStatus.to_value));("createdAt",(Option.mapx.createdAt~f:DateTime.to_value));("updatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("persona",(Option.mapx.persona~f:Persona.to_value));("authUrl",(Option.mapx.authUrl~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letauthUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"authUrl")inletpersona=(Option.map~f:Persona.of_xml)(Xml.childxml_arg0"persona")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"updatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"createdAt")inletstatus=(Option.map~f:AppAuthorizationStatus.of_xml)(Xml.childxml_arg0"status")inletauthType=(Option.map~f:AuthType.of_xml)(Xml.childxml_arg0"authType")inlettenant=(Option.map~f:Tenant.of_xml)(Xml.childxml_arg0"tenant")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inletappBundleArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"appBundleArn")inletappAuthorizationArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"appAuthorizationArn")inmake?authUrl?persona?updatedAt?createdAt?status?authType?tenant?app?appBundleArn?appAuthorizationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letauthUrl=field_mapjson__"authUrl"String_.of_jsoninletpersona=field_mapjson__"persona"Persona.of_jsoninletupdatedAt=field_mapjson__"updatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"createdAt"DateTime.of_jsoninletstatus=field_mapjson__"status"AppAuthorizationStatus.of_jsoninletauthType=field_mapjson__"authType"AuthType.of_jsoninlettenant=field_mapjson__"tenant"Tenant.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninletappBundleArn=field_mapjson__"appBundleArn"Arn.of_jsoninletappAuthorizationArn=field_mapjson__"appAuthorizationArn"Arn.of_jsoninmake?authUrl?persona?updatedAt?createdAt?status?authType?tenant?app?appBundleArn?appAuthorizationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an app authorization."]moduleCredential=structtypenonrect={oauth2Credential:Oauth2Credential.toption[@ocaml.doc"Contains OAuth2 client credential information."];apiKeyCredential:ApiKeyCredential.toption[@ocaml.doc"Contains API key credential information."]}letmake?oauth2Credential=fun?apiKeyCredential->fun()->{oauth2Credential;apiKeyCredential}letto_valuex=structure_to_value[("oauth2Credential",(Option.mapx.oauth2Credential~f:Oauth2Credential.to_value));("apiKeyCredential",(Option.mapx.apiKeyCredential~f:ApiKeyCredential.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapiKeyCredential=(Option.map~f:ApiKeyCredential.of_xml)(Xml.childxml_arg0"apiKeyCredential")inletoauth2Credential=(Option.map~f:Oauth2Credential.of_xml)(Xml.childxml_arg0"oauth2Credential")inmake?apiKeyCredential?oauth2Credential()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapiKeyCredential=field_mapjson__"apiKeyCredential"ApiKeyCredential.of_jsoninletoauth2Credential=field_mapjson__"oauth2Credential"Oauth2Credential.of_jsoninmake?apiKeyCredential?oauth2Credential()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains credential information for an application."]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_valuevendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUserAccessTasksList=structtypenonrect=UserAccessTaskItem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UserAccessTaskItem.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:UserAccessTaskItem.of_xml)letof_jsonj=list_of_json~kind:"UserAccessTasksList"~of_json:UserAccessTaskItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIngestionList=structtypenonrect=IngestionSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IngestionSummary.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:IngestionSummary.of_xml)letof_jsonj=list_of_json~kind:"IngestionList"~of_json:IngestionSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleIngestionDestinationList=structtypenonrect=IngestionDestinationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IngestionDestinationSummary.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:IngestionDestinationSummary.of_xml)letof_jsonj=list_of_json~kind:"IngestionDestinationList"~of_json:IngestionDestinationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAppBundleSummaryList=structtypenonrect=AppBundleSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AppBundleSummary.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:AppBundleSummary.of_xml)letof_jsonj=list_of_json~kind:"AppBundleSummaryList"~of_json:AppBundleSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAppAuthorizationSummaryList=structtypenonrect=AppAuthorizationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AppAuthorizationSummary.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:AppAuthorizationSummary.of_xml)letof_jsonj=list_of_json~kind:"AppAuthorizationSummaryList"~of_json:AppAuthorizationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIngestion=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the ingestion."];appBundleArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app bundle for the ingestion."];app:String255.toption[@ocaml.doc"The name of the application."];tenantId:TenantIdentifier.toption[@ocaml.doc"The ID of the application tenant."];createdAt:DateTime.toption[@ocaml.doc"The timestamp of when the ingestion was created."];updatedAt:DateTime.toption[@ocaml.doc"The timestamp of when the ingestion was last updated."];state:IngestionState.toption[@ocaml.doc"The status of the ingestion."];ingestionType:IngestionType.toption[@ocaml.doc"The type of the ingestion."]}letmake?arn=fun?appBundleArn->fun?app->fun?tenantId->fun?createdAt->fun?updatedAt->fun?state->fun?ingestionType->fun()->{arn;appBundleArn;app;tenantId;createdAt;updatedAt;state;ingestionType}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("appBundleArn",(Option.mapx.appBundleArn~f:Arn.to_value));("app",(Option.mapx.app~f:String255.to_value));("tenantId",(Option.mapx.tenantId~f:TenantIdentifier.to_value));("createdAt",(Option.mapx.createdAt~f:DateTime.to_value));("updatedAt",(Option.mapx.updatedAt~f:DateTime.to_value));("state",(Option.mapx.state~f:IngestionState.to_value));("ingestionType",(Option.mapx.ingestionType~f:IngestionType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionType=(Option.map~f:IngestionType.of_xml)(Xml.childxml_arg0"ingestionType")inletstate=(Option.map~f:IngestionState.of_xml)(Xml.childxml_arg0"state")inletupdatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"updatedAt")inletcreatedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"createdAt")inlettenantId=(Option.map~f:TenantIdentifier.of_xml)(Xml.childxml_arg0"tenantId")inletapp=(Option.map~f:String255.of_xml)(Xml.childxml_arg0"app")inletappBundleArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"appBundleArn")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?ingestionType?state?updatedAt?createdAt?tenantId?app?appBundleArn?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionType=field_mapjson__"ingestionType"IngestionType.of_jsoninletstate=field_mapjson__"state"IngestionState.of_jsoninletupdatedAt=field_mapjson__"updatedAt"DateTime.of_jsoninletcreatedAt=field_mapjson__"createdAt"DateTime.of_jsoninlettenantId=field_mapjson__"tenantId"TenantIdentifier.of_jsoninletapp=field_mapjson__"app"String255.of_jsoninletappBundleArn=field_mapjson__"appBundleArn"Arn.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?ingestionType?state?updatedAt?createdAt?tenantId?app?appBundleArn?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an ingestion."]moduleAppBundle=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app bundle."];customerManagedKeyArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the application data."]}letmake?arn=fun?customerManagedKeyArn->fun()->{arn;customerManagedKeyArn}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("customerManagedKeyArn",(Option.mapx.customerManagedKeyArn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcustomerManagedKeyArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"customerManagedKeyArn")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?customerManagedKeyArn?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcustomerManagedKeyArn=field_mapjson__"customerManagedKeyArn"Arn.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?customerManagedKeyArn?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an app bundle."]moduleAuthRequest=structtypenonrect={redirectUri:RedirectUri.t[@ocaml.doc"The redirect URL that is specified in the AuthURL and the application client."];code:SensitiveString2048.t[@ocaml.doc"The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL)."]}letcontext_="AuthRequest"letmake~redirectUri=fun~code->fun()->{redirectUri;code}letto_valuex=structure_to_value[("redirectUri",(Some(RedirectUri.to_valuex.redirectUri)));("code",(Some(SensitiveString2048.to_valuex.code)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcode=SensitiveString2048.of_xml(Xml.child_exn~context:context_xml_arg0"code")inletredirectUri=RedirectUri.of_xml(Xml.child_exn~context:context_xml_arg0"redirectUri")inmake~code~redirectUri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcode=field_map_exnjson__"code"SensitiveString2048.of_jsoninletredirectUri=field_map_exnjson__"redirectUri"RedirectUri.of_jsoninmake~code~redirectUri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains authorization request information, which is required for Amazon Web Services AppFabric to get the OAuth2 access token for an application."]moduleUserAccessResultsList=structtypenonrect=UserAccessResultItem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UserAccessResultItem.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:UserAccessResultItem.of_xml)letof_jsonj=list_of_json~kind:"UserAccessResultsList"~of_json:UserAccessResultItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTaskIdList=structtypenonrect=UUID.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UUID.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:UUID.of_xml)letof_jsonj=list_of_json~kind:"TaskIdList"~of_json:UUID.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateIngestionDestinationResponse=structtypenonrect={ingestionDestination:IngestionDestination.toption[@ocaml.doc"Contains information about an ingestion destination."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestionDestination=fun()->{ingestionDestination}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[("ingestionDestination",(Option.mapx.ingestionDestination~f:IngestionDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionDestination=(Option.map~f:IngestionDestination.of_xml)(Xml.childxml_arg0"ingestionDestination")inmake?ingestionDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionDestination=field_mapjson__"ingestionDestination"IngestionDestination.of_jsoninmake?ingestionDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered."]moduleUpdateIngestionDestinationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];ingestionDestinationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request."];destinationConfiguration:DestinationConfiguration.t[@ocaml.doc"Contains information about the destination of ingested data."]}letcontext_="UpdateIngestionDestinationRequest"letmake~appBundleIdentifier=fun~ingestionIdentifier->fun~ingestionDestinationIdentifier->fun~destinationConfiguration->fun()->{appBundleIdentifier;ingestionIdentifier;ingestionDestinationIdentifier;destinationConfiguration}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("ingestionDestinationIdentifier",(Some(Identifier.to_valuex.ingestionDestinationIdentifier)));("destinationConfiguration",(Some(DestinationConfiguration.to_valuex.destinationConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationConfiguration=DestinationConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"destinationConfiguration")inletingestionDestinationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionDestinationIdentifier")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~destinationConfiguration~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationConfiguration=field_map_exnjson__"destinationConfiguration"DestinationConfiguration.of_jsoninletingestionDestinationIdentifier=field_map_exnjson__"ingestionDestinationIdentifier"Identifier.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~destinationConfiguration~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered."]moduleUpdateAppAuthorizationResponse=structtypenonrect={appAuthorization:AppAuthorization.toption[@ocaml.doc"Contains information about an app authorization."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appAuthorization=fun()->{appAuthorization}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[("appAuthorization",(Option.mapx.appAuthorization~f:AppAuthorization.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorization=(Option.map~f:AppAuthorization.of_xml)(Xml.childxml_arg0"appAuthorization")inmake?appAuthorization()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorization=field_mapjson__"appAuthorization"AppAuthorization.of_jsoninmake?appAuthorization()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an app authorization within an app bundle, which allows AppFabric to connect to an application. If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state."]moduleUpdateAppAuthorizationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];appAuthorizationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request."];credential:Credential.toption[@ocaml.doc"Contains credentials for the application, such as an API key or OAuth2 client ID and secret. Specify credentials that match the authorization type of the app authorization to update. For example, if the authorization type of the app authorization is OAuth2 (oauth2), then you should provide only the OAuth2 credentials."];tenant:Tenant.toption[@ocaml.doc"Contains information about an application tenant, such as the application display name and identifier."]}letcontext_="UpdateAppAuthorizationRequest"letmake?credential=fun?tenant->fun~appBundleIdentifier->fun~appAuthorizationIdentifier->fun()->{credential;tenant;appBundleIdentifier;appAuthorizationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("appAuthorizationIdentifier",(Some(Identifier.to_valuex.appAuthorizationIdentifier)));("credential",(Option.mapx.credential~f:Credential.to_value));("tenant",(Option.mapx.tenant~f:Tenant.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenant=(Option.map~f:Tenant.of_xml)(Xml.childxml_arg0"tenant")inletcredential=(Option.map~f:Credential.of_xml)(Xml.childxml_arg0"credential")inletappAuthorizationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appAuthorizationIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?tenant?credential~appAuthorizationIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenant=field_mapjson__"tenant"Tenant.of_jsoninletcredential=field_mapjson__"credential"Credential.of_jsoninletappAuthorizationIdentifier=field_map_exnjson__"appAuthorizationIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?tenant?credential~appAuthorizationIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an app authorization within an app bundle, which allows AppFabric to connect to an application. If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state."]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"Removes a tag or tags from a resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you want to untag."];tagKeys:TagKeyList.t[@ocaml.doc"The keys of the key-value pairs for the tag or tags you want to remove from the specified resource."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.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=Arn.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"Arn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes a tag or tags from a resource."]moduleTagResourceResponse=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"Assigns one or more tags (key-value pairs) to the specified resource."]moduleTagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you want to tag."];tags:TagList.t[@ocaml.doc"A map of the key-value pairs of the tag or tags to assign to the resource."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.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=Arn.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"Arn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Assigns one or more tags (key-value pairs) to the specified resource."]moduleStopIngestionResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops (disables) an ingestion."]moduleStopIngestionRequest=structtypenonrect={ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."]}letcontext_="StopIngestionRequest"letmake~ingestionIdentifier=fun~appBundleIdentifier->fun()->{ingestionIdentifier;appBundleIdentifier}letto_valuex=structure_to_value[("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inmake~appBundleIdentifier~ingestionIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninmake~appBundleIdentifier~ingestionIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops (disables) an ingestion."]moduleStartUserAccessTasksResponse=structtypenonrect={userAccessTasksList:UserAccessTasksList.toption[@ocaml.doc"Contains a list of user access task information."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?userAccessTasksList=fun()->{userAccessTasksList}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[("userAccessTasksList",(Option.mapx.userAccessTasksList~f:UserAccessTasksList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letuserAccessTasksList=(Option.map~f:UserAccessTasksList.of_xml)(Xml.childxml_arg0"userAccessTasksList")inmake?userAccessTasksList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letuserAccessTasksList=field_mapjson__"userAccessTasksList"UserAccessTasksList.of_jsoninmake?userAccessTasksList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts the tasks to search user access status for a specific email address. The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out."]moduleStartUserAccessTasksRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];email:Email.t[@ocaml.doc"The email address of the target user."]}letcontext_="StartUserAccessTasksRequest"letmake~appBundleIdentifier=fun~email->fun()->{appBundleIdentifier;email}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("email",(Some(Email.to_valuex.email)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemail=Email.of_xml(Xml.child_exn~context:context_xml_arg0"email")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~email~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemail=field_map_exnjson__"email"Email.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~email~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts the tasks to search user access status for a specific email address. The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out."]moduleStartIngestionResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts (enables) an ingestion, which collects data from an application."]moduleStartIngestionRequest=structtypenonrect={ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."]}letcontext_="StartIngestionRequest"letmake~ingestionIdentifier=fun~appBundleIdentifier->fun()->{ingestionIdentifier;appBundleIdentifier}letto_valuex=structure_to_value[("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inmake~appBundleIdentifier~ingestionIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninmake~appBundleIdentifier~ingestionIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts (enables) an ingestion, which collects data from an application."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"A map of the key-value pairs for the tag or tags assigned to the specified resource."]}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"Returns a list of tags for a resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Arn.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"Arn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of tags for a resource."]moduleListIngestionsResponse=structtypenonrect={ingestions:IngestionList.toption[@ocaml.doc"Contains a list of ingestion summaries."];nextToken:String_.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestions=fun?nextToken->fun()->{ingestions;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[("ingestions",(Option.mapx.ingestions~f:IngestionList.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletingestions=(Option.map~f:IngestionList.of_xml)(Xml.childxml_arg0"ingestions")inmake?nextToken?ingestions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletingestions=field_mapjson__"ingestions"IngestionList.of_jsoninmake?nextToken?ingestions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all ingestions configured for an app bundle."]moduleListIngestionsRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum."];nextToken:String_.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}letcontext_="ListIngestionsRequest"letmake?maxResults=fun?nextToken->fun~appBundleIdentifier->fun()->{maxResults;nextToken;appBundleIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?nextToken?maxResults~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?nextToken?maxResults~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all ingestions configured for an app bundle."]moduleListIngestionDestinationsResponse=structtypenonrect={ingestionDestinations:IngestionDestinationList.toption[@ocaml.doc"Contains a list of ingestion destination summaries."];nextToken:String_.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestionDestinations=fun?nextToken->fun()->{ingestionDestinations;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[("ingestionDestinations",(Option.mapx.ingestionDestinations~f:IngestionDestinationList.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletingestionDestinations=(Option.map~f:IngestionDestinationList.of_xml)(Xml.childxml_arg0"ingestionDestinations")inmake?nextToken?ingestionDestinations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletingestionDestinations=field_mapjson__"ingestionDestinations"IngestionDestinationList.of_jsoninmake?nextToken?ingestionDestinations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all ingestion destinations configured for an ingestion."]moduleListIngestionDestinationsRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum."];nextToken:String_.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}letcontext_="ListIngestionDestinationsRequest"letmake?maxResults=fun?nextToken->fun~appBundleIdentifier->fun~ingestionIdentifier->fun()->{maxResults;nextToken;appBundleIdentifier;ingestionIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?nextToken?maxResults~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?nextToken?maxResults~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all ingestion destinations configured for an ingestion."]moduleListAppBundlesResponse=structtypenonrect={appBundleSummaryList:AppBundleSummaryList.toption[@ocaml.doc"Contains a list of app bundle summaries."];nextToken:String2048.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appBundleSummaryList=fun?nextToken->fun()->{appBundleSummaryList;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[("appBundleSummaryList",(Option.mapx.appBundleSummaryList~f:AppBundleSummaryList.to_value));("nextToken",(Option.mapx.nextToken~f:String2048.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String2048.of_xml)(Xml.childxml_arg0"nextToken")inletappBundleSummaryList=(Option.map~f:AppBundleSummaryList.of_xml)(Xml.childxml_arg0"appBundleSummaryList")inmake?nextToken?appBundleSummaryList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String2048.of_jsoninletappBundleSummaryList=field_mapjson__"appBundleSummaryList"AppBundleSummaryList.of_jsoninmake?nextToken?appBundleSummaryList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of app bundles."]moduleListAppBundlesRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum."];nextToken:String2048.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:String2048.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String2048.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String2048.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of app bundles."]moduleListAppAuthorizationsResponse=structtypenonrect={appAuthorizationSummaryList:AppAuthorizationSummaryList.toption[@ocaml.doc"Contains a list of app authorization summaries."];nextToken:String2048.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appAuthorizationSummaryList=fun?nextToken->fun()->{appAuthorizationSummaryList;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[("appAuthorizationSummaryList",(Option.mapx.appAuthorizationSummaryList~f:AppAuthorizationSummaryList.to_value));("nextToken",(Option.mapx.nextToken~f:String2048.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String2048.of_xml)(Xml.childxml_arg0"nextToken")inletappAuthorizationSummaryList=(Option.map~f:AppAuthorizationSummaryList.of_xml)(Xml.childxml_arg0"appAuthorizationSummaryList")inmake?nextToken?appAuthorizationSummaryList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String2048.of_jsoninletappAuthorizationSummaryList=field_mapjson__"appAuthorizationSummaryList"AppAuthorizationSummaryList.of_jsoninmake?nextToken?appAuthorizationSummaryList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all app authorizations configured for an app bundle."]moduleListAppAuthorizationsRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum."];nextToken:String2048.toption[@ocaml.doc"If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error."]}letcontext_="ListAppAuthorizationsRequest"letmake?maxResults=fun?nextToken->fun~appBundleIdentifier->fun()->{maxResults;nextToken;appBundleIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:String2048.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String2048.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?nextToken?maxResults~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String2048.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?nextToken?maxResults~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all app authorizations configured for an app bundle."]moduleGetIngestionResponse=structtypenonrect={ingestion:Ingestion.toption[@ocaml.doc"Contains information about an ingestion."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestion=fun()->{ingestion}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[("ingestion",(Option.mapx.ingestion~f:Ingestion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestion=(Option.map~f:Ingestion.of_xml)(Xml.childxml_arg0"ingestion")inmake?ingestion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestion=field_mapjson__"ingestion"Ingestion.of_jsoninmake?ingestion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an ingestion."]moduleGetIngestionRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."]}letcontext_="GetIngestionRequest"letmake~appBundleIdentifier=fun~ingestionIdentifier->fun()->{appBundleIdentifier;ingestionIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an ingestion."]moduleGetIngestionDestinationResponse=structtypenonrect={ingestionDestination:IngestionDestination.toption[@ocaml.doc"Contains information about an ingestion destination."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestionDestination=fun()->{ingestionDestination}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[("ingestionDestination",(Option.mapx.ingestionDestination~f:IngestionDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionDestination=(Option.map~f:IngestionDestination.of_xml)(Xml.childxml_arg0"ingestionDestination")inmake?ingestionDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionDestination=field_mapjson__"ingestionDestination"IngestionDestination.of_jsoninmake?ingestionDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an ingestion destination."]moduleGetIngestionDestinationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];ingestionDestinationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request."]}letcontext_="GetIngestionDestinationRequest"letmake~appBundleIdentifier=fun~ingestionIdentifier->fun~ingestionDestinationIdentifier->fun()->{appBundleIdentifier;ingestionIdentifier;ingestionDestinationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("ingestionDestinationIdentifier",(Some(Identifier.to_valuex.ingestionDestinationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionDestinationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionDestinationIdentifier")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionDestinationIdentifier=field_map_exnjson__"ingestionDestinationIdentifier"Identifier.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an ingestion destination."]moduleGetAppBundleResponse=structtypenonrect={appBundle:AppBundle.toption[@ocaml.doc"Contains information about an app bundle."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appBundle=fun()->{appBundle}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[("appBundle",(Option.mapx.appBundle~f:AppBundle.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundle=(Option.map~f:AppBundle.of_xml)(Xml.childxml_arg0"appBundle")inmake?appBundle()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundle=field_mapjson__"appBundle"AppBundle.of_jsoninmake?appBundle()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an app bundle."]moduleGetAppBundleRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."]}letcontext_="GetAppBundleRequest"letmake~appBundleIdentifier=fun()->{appBundleIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an app bundle."]moduleGetAppAuthorizationResponse=structtypenonrect={appAuthorization:AppAuthorization.toption[@ocaml.doc"Contains information about an app authorization."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appAuthorization=fun()->{appAuthorization}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[("appAuthorization",(Option.mapx.appAuthorization~f:AppAuthorization.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorization=(Option.map~f:AppAuthorization.of_xml)(Xml.childxml_arg0"appAuthorization")inmake?appAuthorization()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorization=field_mapjson__"appAuthorization"AppAuthorization.of_jsoninmake?appAuthorization()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an app authorization."]moduleGetAppAuthorizationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];appAuthorizationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request."]}letcontext_="GetAppAuthorizationRequest"letmake~appBundleIdentifier=fun~appAuthorizationIdentifier->fun()->{appBundleIdentifier;appAuthorizationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("appAuthorizationIdentifier",(Some(Identifier.to_valuex.appAuthorizationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorizationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appAuthorizationIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~appAuthorizationIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorizationIdentifier=field_map_exnjson__"appAuthorizationIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~appAuthorizationIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about an app authorization."]moduleDeleteIngestionResponse=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"Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion."]moduleDeleteIngestionRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."]}letcontext_="DeleteIngestionRequest"letmake~appBundleIdentifier=fun~ingestionIdentifier->fun()->{appBundleIdentifier;ingestionIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion."]moduleDeleteIngestionDestinationResponse=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"Deletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled."]moduleDeleteIngestionDestinationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];ingestionDestinationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request."]}letcontext_="DeleteIngestionDestinationRequest"letmake~appBundleIdentifier=fun~ingestionIdentifier->fun~ingestionDestinationIdentifier->fun()->{appBundleIdentifier;ingestionIdentifier;ingestionDestinationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("ingestionDestinationIdentifier",(Some(Identifier.to_valuex.ingestionDestinationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionDestinationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionDestinationIdentifier")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionDestinationIdentifier=field_map_exnjson__"ingestionDestinationIdentifier"Identifier.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~ingestionDestinationIdentifier~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled."]moduleDeleteAppBundleResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle."]moduleDeleteAppBundleRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The ID or Amazon Resource Name (ARN) of the app bundle that needs to be deleted."]}letcontext_="DeleteAppBundleRequest"letmake~appBundleIdentifier=fun()->{appBundleIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle."]moduleDeleteAppAuthorizationResponse=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"Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization."]moduleDeleteAppAuthorizationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];appAuthorizationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request."]}letcontext_="DeleteAppAuthorizationRequest"letmake~appBundleIdentifier=fun~appAuthorizationIdentifier->fun()->{appBundleIdentifier;appAuthorizationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("appAuthorizationIdentifier",(Some(Identifier.to_valuex.appAuthorizationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorizationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appAuthorizationIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~appAuthorizationIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorizationIdentifier=field_map_exnjson__"appAuthorizationIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~appAuthorizationIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization."]moduleCreateIngestionResponse=structtypenonrect={ingestion:Ingestion.toption[@ocaml.doc"Contains information about an ingestion."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestion=fun()->{ingestion}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[("ingestion",(Option.mapx.ingestion~f:Ingestion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestion=(Option.map~f:Ingestion.of_xml)(Xml.childxml_arg0"ingestion")inmake?ingestion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestion=field_mapjson__"ingestion"Ingestion.of_jsoninmake?ingestion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a data ingestion for an application."]moduleCreateIngestionRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];app:String255.t[@ocaml.doc"The name of the application. Valid values are: SLACK ASANA JIRA M365 M365AUDITLOGS ZOOM ZENDESK OKTA GOOGLE DROPBOX SMARTSHEET CISCO"];tenantId:TenantIdentifier.t[@ocaml.doc"The ID of the application tenant."];ingestionType:IngestionType.t[@ocaml.doc"The ingestion type."];clientToken:UUID.toption[@ocaml.doc"Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error."];tags:TagList.toption[@ocaml.doc"A map of the key-value pairs of the tag or tags to assign to the resource."]}letcontext_="CreateIngestionRequest"letmake?clientToken=fun?tags->fun~appBundleIdentifier->fun~app->fun~tenantId->fun~ingestionType->fun()->{clientToken;tags;appBundleIdentifier;app;tenantId;ingestionType}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("app",(Some(String255.to_valuex.app)));("tenantId",(Some(TenantIdentifier.to_valuex.tenantId)));("ingestionType",(Some(IngestionType.to_valuex.ingestionType)));("clientToken",(Option.mapx.clientToken~f:UUID.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")inletclientToken=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"clientToken")inletingestionType=IngestionType.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionType")inlettenantId=TenantIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"tenantId")inletapp=String255.of_xml(Xml.child_exn~context:context_xml_arg0"app")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?tags?clientToken~ingestionType~tenantId~app~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletclientToken=field_mapjson__"clientToken"UUID.of_jsoninletingestionType=field_map_exnjson__"ingestionType"IngestionType.of_jsoninlettenantId=field_map_exnjson__"tenantId"TenantIdentifier.of_jsoninletapp=field_map_exnjson__"app"String255.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?tags?clientToken~ingestionType~tenantId~app~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a data ingestion for an application."]moduleCreateIngestionDestinationResponse=structtypenonrect={ingestionDestination:IngestionDestination.toption[@ocaml.doc"Contains information about an ingestion destination."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ingestionDestination=fun()->{ingestionDestination}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[("ingestionDestination",(Option.mapx.ingestionDestination~f:IngestionDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letingestionDestination=(Option.map~f:IngestionDestination.of_xml)(Xml.childxml_arg0"ingestionDestination")inmake?ingestionDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letingestionDestination=field_mapjson__"ingestionDestination"IngestionDestination.of_jsoninmake?ingestionDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered."]moduleCreateIngestionDestinationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];ingestionIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request."];processingConfiguration:ProcessingConfiguration.t[@ocaml.doc"Contains information about how ingested data is processed."];destinationConfiguration:DestinationConfiguration.t[@ocaml.doc"Contains information about the destination of ingested data."];clientToken:UUID.toption[@ocaml.doc"Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error."];tags:TagList.toption[@ocaml.doc"A map of the key-value pairs of the tag or tags to assign to the resource."]}letcontext_="CreateIngestionDestinationRequest"letmake?clientToken=fun?tags->fun~appBundleIdentifier->fun~ingestionIdentifier->fun~processingConfiguration->fun~destinationConfiguration->fun()->{clientToken;tags;appBundleIdentifier;ingestionIdentifier;processingConfiguration;destinationConfiguration}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("ingestionIdentifier",(Some(Identifier.to_valuex.ingestionIdentifier)));("processingConfiguration",(Some(ProcessingConfiguration.to_valuex.processingConfiguration)));("destinationConfiguration",(Some(DestinationConfiguration.to_valuex.destinationConfiguration)));("clientToken",(Option.mapx.clientToken~f:UUID.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")inletclientToken=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"clientToken")inletdestinationConfiguration=DestinationConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"destinationConfiguration")inletprocessingConfiguration=ProcessingConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"processingConfiguration")inletingestionIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"ingestionIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?tags?clientToken~destinationConfiguration~processingConfiguration~ingestionIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletclientToken=field_mapjson__"clientToken"UUID.of_jsoninletdestinationConfiguration=field_map_exnjson__"destinationConfiguration"DestinationConfiguration.of_jsoninletprocessingConfiguration=field_map_exnjson__"processingConfiguration"ProcessingConfiguration.of_jsoninletingestionIdentifier=field_map_exnjson__"ingestionIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?tags?clientToken~destinationConfiguration~processingConfiguration~ingestionIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered."]moduleCreateAppBundleResponse=structtypenonrect={appBundle:AppBundle.toption[@ocaml.doc"Contains information about an app bundle."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appBundle=fun()->{appBundle}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[("appBundle",(Option.mapx.appBundle~f:AppBundle.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappBundle=(Option.map~f:AppBundle.of_xml)(Xml.childxml_arg0"appBundle")inmake?appBundle()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappBundle=field_mapjson__"appBundle"AppBundle.of_jsoninmake?appBundle()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an app bundle to collect data from an application using AppFabric."]moduleCreateAppBundleRequest=structtypenonrect={clientToken:UUID.toption[@ocaml.doc"Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error."];customerManagedKeyIdentifier:Identifier.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption."];tags:TagList.toption[@ocaml.doc"A map of the key-value pairs of the tag or tags to assign to the resource."]}letmake?clientToken=fun?customerManagedKeyIdentifier->fun?tags->fun()->{clientToken;customerManagedKeyIdentifier;tags}letto_valuex=structure_to_value[("clientToken",(Option.mapx.clientToken~f:UUID.to_value));("customerManagedKeyIdentifier",(Option.mapx.customerManagedKeyIdentifier~f:Identifier.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")inletcustomerManagedKeyIdentifier=(Option.map~f:Identifier.of_xml)(Xml.childxml_arg0"customerManagedKeyIdentifier")inletclientToken=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"clientToken")inmake?tags?customerManagedKeyIdentifier?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletcustomerManagedKeyIdentifier=field_mapjson__"customerManagedKeyIdentifier"Identifier.of_jsoninletclientToken=field_mapjson__"clientToken"UUID.of_jsoninmake?tags?customerManagedKeyIdentifier?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an app bundle to collect data from an application using AppFabric."]moduleCreateAppAuthorizationResponse=structtypenonrect={appAuthorization:AppAuthorization.toption[@ocaml.doc"Contains information about an app authorization."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appAuthorization=fun()->{appAuthorization}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[("appAuthorization",(Option.mapx.appAuthorization~f:AppAuthorization.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorization=(Option.map~f:AppAuthorization.of_xml)(Xml.childxml_arg0"appAuthorization")inmake?appAuthorization()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorization=field_mapjson__"appAuthorization"AppAuthorization.of_jsoninmake?appAuthorization()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an app authorization within an app bundle, which allows AppFabric to connect to an application."]moduleCreateAppAuthorizationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];app:String255.t[@ocaml.doc"The name of the application. Valid values are: SLACK ASANA JIRA M365 M365AUDITLOGS ZOOM ZENDESK OKTA GOOGLE DROPBOX SMARTSHEET CISCO"];credential:Credential.t[@ocaml.doc"Contains credentials for the application, such as an API key or OAuth2 client ID and secret. Specify credentials that match the authorization type for your request. For example, if the authorization type for your request is OAuth2 (oauth2), then you should provide only the OAuth2 credentials."];tenant:Tenant.t[@ocaml.doc"Contains information about an application tenant, such as the application display name and identifier."];authType:AuthType.t[@ocaml.doc"The authorization type for the app authorization."];clientToken:UUID.toption[@ocaml.doc"Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error."];tags:TagList.toption[@ocaml.doc"A map of the key-value pairs of the tag or tags to assign to the resource."]}letcontext_="CreateAppAuthorizationRequest"letmake?clientToken=fun?tags->fun~appBundleIdentifier->fun~app->fun~credential->fun~tenant->fun~authType->fun()->{clientToken;tags;appBundleIdentifier;app;credential;tenant;authType}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("app",(Some(String255.to_valuex.app)));("credential",(Some(Credential.to_valuex.credential)));("tenant",(Some(Tenant.to_valuex.tenant)));("authType",(Some(AuthType.to_valuex.authType)));("clientToken",(Option.mapx.clientToken~f:UUID.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")inletclientToken=(Option.map~f:UUID.of_xml)(Xml.childxml_arg0"clientToken")inletauthType=AuthType.of_xml(Xml.child_exn~context:context_xml_arg0"authType")inlettenant=Tenant.of_xml(Xml.child_exn~context:context_xml_arg0"tenant")inletcredential=Credential.of_xml(Xml.child_exn~context:context_xml_arg0"credential")inletapp=String255.of_xml(Xml.child_exn~context:context_xml_arg0"app")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?tags?clientToken~authType~tenant~credential~app~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagList.of_jsoninletclientToken=field_mapjson__"clientToken"UUID.of_jsoninletauthType=field_map_exnjson__"authType"AuthType.of_jsoninlettenant=field_map_exnjson__"tenant"Tenant.of_jsoninletcredential=field_map_exnjson__"credential"Credential.of_jsoninletapp=field_map_exnjson__"app"String255.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?tags?clientToken~authType~tenant~credential~app~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an app authorization within an app bundle, which allows AppFabric to connect to an application."]moduleConnectAppAuthorizationResponse=structtypenonrect={appAuthorizationSummary:AppAuthorizationSummary.toption[@ocaml.doc"Contains a summary of the app authorization."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appAuthorizationSummary=fun()->{appAuthorizationSummary}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[("appAuthorizationSummary",(Option.mapx.appAuthorizationSummary~f:AppAuthorizationSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappAuthorizationSummary=(Option.map~f:AppAuthorizationSummary.of_xml)(Xml.childxml_arg0"appAuthorizationSummary")inmake?appAuthorizationSummary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappAuthorizationSummary=field_mapjson__"appAuthorizationSummary"AppAuthorizationSummary.of_jsoninmake?appAuthorizationSummary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application."]moduleConnectAppAuthorizationRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request."];appAuthorizationIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request."];authRequest:AuthRequest.toption[@ocaml.doc"Contains OAuth2 authorization information. This is required if the app authorization for the request is configured with an OAuth2 (oauth2) authorization type."]}letcontext_="ConnectAppAuthorizationRequest"letmake?authRequest=fun~appBundleIdentifier->fun~appAuthorizationIdentifier->fun()->{authRequest;appBundleIdentifier;appAuthorizationIdentifier}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("appAuthorizationIdentifier",(Some(Identifier.to_valuex.appAuthorizationIdentifier)));("authRequest",(Option.mapx.authRequest~f:AuthRequest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letauthRequest=(Option.map~f:AuthRequest.of_xml)(Xml.childxml_arg0"authRequest")inletappAuthorizationIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appAuthorizationIdentifier")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake?authRequest~appAuthorizationIdentifier~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letauthRequest=field_mapjson__"authRequest"AuthRequest.of_jsoninletappAuthorizationIdentifier=field_map_exnjson__"appAuthorizationIdentifier"Identifier.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake?authRequest~appAuthorizationIdentifier~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application."]moduleBatchGetUserAccessTasksResponse=structtypenonrect={userAccessResultsList:UserAccessResultsList.toption[@ocaml.doc"Contains a list of user access results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?userAccessResultsList=fun()->{userAccessResultsList}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[("userAccessResultsList",(Option.mapx.userAccessResultsList~f:UserAccessResultsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letuserAccessResultsList=(Option.map~f:UserAccessResultsList.of_xml)(Xml.childxml_arg0"userAccessResultsList")inmake?userAccessResultsList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letuserAccessResultsList=field_mapjson__"userAccessResultsList"UserAccessResultsList.of_jsoninmake?userAccessResultsList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets user access details in a batch request. This action polls data from the tasks that are kicked off by the StartUserAccessTasks action."]moduleBatchGetUserAccessTasksRequest=structtypenonrect={appBundleIdentifier:Identifier.t[@ocaml.doc"The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request."];taskIdList:TaskIdList.t[@ocaml.doc"The tasks IDs to use for the request."]}letcontext_="BatchGetUserAccessTasksRequest"letmake~appBundleIdentifier=fun~taskIdList->fun()->{appBundleIdentifier;taskIdList}letto_valuex=structure_to_value[("appBundleIdentifier",(Some(Identifier.to_valuex.appBundleIdentifier)));("taskIdList",(Some(TaskIdList.to_valuex.taskIdList)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettaskIdList=TaskIdList.of_xml(Xml.child_exn~context:context_xml_arg0"taskIdList")inletappBundleIdentifier=Identifier.of_xml(Xml.child_exn~context:context_xml_arg0"appBundleIdentifier")inmake~taskIdList~appBundleIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettaskIdList=field_map_exnjson__"taskIdList"TaskIdList.of_jsoninletappBundleIdentifier=field_map_exnjson__"appBundleIdentifier"Identifier.of_jsoninmake~taskIdList~appBundleIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets user access details in a batch request. This action polls data from the tasks that are kicked off by the StartUserAccessTasks action."]