123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344(* 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.devicefarmletapiVersion="2015-06-23"letendpointPrefix="devicefarm"letserviceFullName="AWS Device Farm"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"lettargetPrefix="DeviceFarm_20150623"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[]))])moduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:32)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"^arn:aws:devicefarm:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleMessage=structtypenonrect=stringletcontext_="Message"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16384)>>=(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:"Message"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"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:"Name"jletto_json=simple_to_jsonto_valueendmodulePackageIds=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"PackageIds"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInstanceLabels=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"InstanceLabels"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInstanceProfile=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the instance profile."];packageCleanup:Boolean.toption[@ocaml.doc"When set to true, Device Farm removes app packages after a test run. The default value is false for private devices."];excludeAppPackagesFromCleanup:PackageIds.toption[@ocaml.doc"An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes. The list of packages is considered only if you set packageCleanup to true."];rebootAfterUse:Boolean.toption[@ocaml.doc"When set to true, Device Farm reboots the instance after a test run. The default value is true."];name:Name.toption[@ocaml.doc"The name of the instance profile."];description:Message.toption[@ocaml.doc"The description of the instance profile."]}letmake?arn=fun?packageCleanup->fun?excludeAppPackagesFromCleanup->fun?rebootAfterUse->fun?name->fun?description->fun()->{arn;packageCleanup;excludeAppPackagesFromCleanup;rebootAfterUse;name;description}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("packageCleanup",(Option.mapx.packageCleanup~f:Boolean.to_value));("excludeAppPackagesFromCleanup",(Option.mapx.excludeAppPackagesFromCleanup~f:PackageIds.to_value));("rebootAfterUse",(Option.mapx.rebootAfterUse~f:Boolean.to_value));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletrebootAfterUse=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"rebootAfterUse")inletexcludeAppPackagesFromCleanup=(Option.map~f:PackageIds.of_xml)(Xml.childxml_arg0"excludeAppPackagesFromCleanup")inletpackageCleanup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"packageCleanup")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?description?name?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletrebootAfterUse=field_mapjson__"rebootAfterUse"Boolean.of_jsoninletexcludeAppPackagesFromCleanup=field_mapjson__"excludeAppPackagesFromCleanup"PackageIds.of_jsoninletpackageCleanup=field_mapjson__"packageCleanup"Boolean.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?description?name?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the instance profile."]moduleInstanceStatus=structtypenonrect=|IN_USE|PREPARING|AVAILABLE|NOT_AVAILABLE|Non_static_idofstringletmakei=iletto_string=function|IN_USE->"IN_USE"|PREPARING->"PREPARING"|AVAILABLE->"AVAILABLE"|NOT_AVAILABLE->"NOT_AVAILABLE"|Non_static_ids->sletof_string=function|"IN_USE"->IN_USE|"PREPARING"->PREPARING|"AVAILABLE"->AVAILABLE|"NOT_AVAILABLE"->NOT_AVAILABLE|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 InstanceStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"InstanceStatus"j)letto_json=simple_to_jsonto_valueendmoduleDouble=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleDeviceInstance=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the device instance."];deviceArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the device."];labels:InstanceLabels.toption[@ocaml.doc"An array of strings that describe the device instance."];status:InstanceStatus.toption[@ocaml.doc"The status of the device instance. Valid values are listed here."];udid:String_.toption[@ocaml.doc"Unique device identifier for the device instance."];instanceProfile:InstanceProfile.toption[@ocaml.doc"A object that contains information about the instance profile."]}letmake?arn=fun?deviceArn->fun?labels->fun?status->fun?udid->fun?instanceProfile->fun()->{arn;deviceArn;labels;status;udid;instanceProfile}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("deviceArn",(Option.mapx.deviceArn~f:AmazonResourceName.to_value));("labels",(Option.mapx.labels~f:InstanceLabels.to_value));("status",(Option.mapx.status~f:InstanceStatus.to_value));("udid",(Option.mapx.udid~f:String_.to_value));("instanceProfile",(Option.mapx.instanceProfile~f:InstanceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceProfile=(Option.map~f:InstanceProfile.of_xml)(Xml.childxml_arg0"instanceProfile")inletudid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"udid")inletstatus=(Option.map~f:InstanceStatus.of_xml)(Xml.childxml_arg0"status")inletlabels=(Option.map~f:InstanceLabels.of_xml)(Xml.childxml_arg0"labels")inletdeviceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"deviceArn")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?instanceProfile?udid?status?labels?deviceArn?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceProfile=field_mapjson__"instanceProfile"InstanceProfile.of_jsoninletudid=field_mapjson__"udid"String_.of_jsoninletstatus=field_mapjson__"status"InstanceStatus.of_jsoninletlabels=field_mapjson__"labels"InstanceLabels.of_jsoninletdeviceArn=field_mapjson__"deviceArn"AmazonResourceName.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?instanceProfile?udid?status?labels?deviceArn?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the device instance."]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_valueendmoduleCurrencyCode=structtypenonrect=|USD|Non_static_idofstringletmakei=iletto_string=function|USD->"USD"|Non_static_ids->sletof_string=function|"USD"->USD|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 CurrencyCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CurrencyCode"j)letto_json=simple_to_jsonto_valueendmoduleCPU=structtypenonrect={frequency:String_.toption[@ocaml.doc"The CPU's frequency."];architecture:String_.toption[@ocaml.doc"The CPU's architecture (for example, x86 or ARM)."];clock:Double.toption[@ocaml.doc"The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000."]}letmake?frequency=fun?architecture->fun?clock->fun()->{frequency;architecture;clock}letto_valuex=structure_to_value[("frequency",(Option.mapx.frequency~f:String_.to_value));("architecture",(Option.mapx.architecture~f:String_.to_value));("clock",(Option.mapx.clock~f:Double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclock=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"clock")inletarchitecture=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"architecture")inletfrequency=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"frequency")inmake?clock?architecture?frequency()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclock=field_mapjson__"clock"Double.of_jsoninletarchitecture=field_mapjson__"architecture"String_.of_jsoninletfrequency=field_mapjson__"frequency"String_.of_jsoninmake?clock?architecture?frequency()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the amount of CPU that an app is using on a physical device. Does not represent system-wide CPU usage."]moduleDeviceAvailability=structtypenonrect=|TEMPORARY_NOT_AVAILABLE|BUSY|AVAILABLE|HIGHLY_AVAILABLE|Non_static_idofstringletmakei=iletto_string=function|TEMPORARY_NOT_AVAILABLE->"TEMPORARY_NOT_AVAILABLE"|BUSY->"BUSY"|AVAILABLE->"AVAILABLE"|HIGHLY_AVAILABLE->"HIGHLY_AVAILABLE"|Non_static_ids->sletof_string=function|"TEMPORARY_NOT_AVAILABLE"->TEMPORARY_NOT_AVAILABLE|"BUSY"->BUSY|"AVAILABLE"->AVAILABLE|"HIGHLY_AVAILABLE"->HIGHLY_AVAILABLE|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 DeviceAvailability"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeviceAvailability"j)letto_json=simple_to_jsonto_valueendmoduleDeviceFormFactor=structtypenonrect=|PHONE|TABLET|Non_static_idofstringletmakei=iletto_string=function|PHONE->"PHONE"|TABLET->"TABLET"|Non_static_ids->sletof_string=function|"PHONE"->PHONE|"TABLET"->TABLET|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 DeviceFormFactor"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeviceFormFactor"j)letto_json=simple_to_jsonto_valueendmoduleDeviceInstances=structtypenonrect=DeviceInstance.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DeviceInstance.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:DeviceInstance.of_xml)letof_jsonj=list_of_json~kind:"DeviceInstances"~of_json:DeviceInstance.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDevicePlatform=structtypenonrect=|ANDROID|IOS|Non_static_idofstringletmakei=iletto_string=function|ANDROID->"ANDROID"|IOS->"IOS"|Non_static_ids->sletof_string=function|"ANDROID"->ANDROID|"IOS"->IOS|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 DevicePlatform"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DevicePlatform"j)letto_json=simple_to_jsonto_valueendmoduleLong=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleResolution=structtypenonrect={width:Integer.toption[@ocaml.doc"The screen resolution's width, expressed in pixels."];height:Integer.toption[@ocaml.doc"The screen resolution's height, expressed in pixels."]}letmake?width=fun?height->fun()->{width;height}letto_valuex=structure_to_value[("width",(Option.mapx.width~f:Integer.to_value));("height",(Option.mapx.height~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letheight=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"height")inletwidth=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"width")inmake?height?width()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letheight=field_mapjson__"height"Integer.of_jsoninletwidth=field_mapjson__"width"Integer.of_jsoninmake?height?width()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the screen resolution of a device in height and width, expressed in pixels."]moduleMonetaryAmount=structtypenonrect={amount:Double.toption[@ocaml.doc"The numerical amount of an offering or transaction."];currencyCode:CurrencyCode.toption[@ocaml.doc"The currency code of a monetary amount. For example, USD means U.S. dollars."]}letmake?amount=fun?currencyCode->fun()->{amount;currencyCode}letto_valuex=structure_to_value[("amount",(Option.mapx.amount~f:Double.to_value));("currencyCode",(Option.mapx.currencyCode~f:CurrencyCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcurrencyCode=(Option.map~f:CurrencyCode.of_xml)(Xml.childxml_arg0"currencyCode")inletamount=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"amount")inmake?currencyCode?amount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcurrencyCode=field_mapjson__"currencyCode"CurrencyCode.of_jsoninletamount=field_mapjson__"amount"Double.of_jsoninmake?currencyCode?amount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A number that represents the monetary amount for an offering or transaction."]moduleRecurringChargeFrequency=structtypenonrect=|MONTHLY|Non_static_idofstringletmakei=iletto_string=function|MONTHLY->"MONTHLY"|Non_static_ids->sletof_string=function|"MONTHLY"->MONTHLY|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 RecurringChargeFrequency"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecurringChargeFrequency"j)letto_json=simple_to_jsonto_valueendmoduleDevice=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The device's ARN."];name:Name.toption[@ocaml.doc"The device's display name."];manufacturer:String_.toption[@ocaml.doc"The device's manufacturer name."];model:String_.toption[@ocaml.doc"The device's model name."];modelId:String_.toption[@ocaml.doc"The device's model ID."];formFactor:DeviceFormFactor.toption[@ocaml.doc"The device's form factor. Allowed values include: PHONE TABLET"];platform:DevicePlatform.toption[@ocaml.doc"The device's platform. Allowed values include: ANDROID IOS"];os:String_.toption[@ocaml.doc"The device's operating system type."];cpu:CPU.toption[@ocaml.doc"Information about the device's CPU."];resolution:Resolution.toption[@ocaml.doc"The resolution of the device."];heapSize:Long.toption[@ocaml.doc"The device's heap size, expressed in bytes."];memory:Long.toption[@ocaml.doc"The device's total memory size, expressed in bytes."];image:String_.toption[@ocaml.doc"The device's image name."];carrier:String_.toption[@ocaml.doc"The device's carrier."];radio:String_.toption[@ocaml.doc"The device's radio."];remoteAccessEnabled:Boolean.toption[@ocaml.doc"Specifies whether remote access has been enabled for the specified device."];remoteDebugEnabled:Boolean.toption[@ocaml.doc"This flag is set to true if remote debugging is enabled for the device. Remote debugging is no longer supported."];fleetType:String_.toption[@ocaml.doc"The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC."];fleetName:String_.toption[@ocaml.doc"The name of the fleet to which this device belongs."];instances:DeviceInstances.toption[@ocaml.doc"The instances that belong to this device."];availability:DeviceAvailability.toption[@ocaml.doc"Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods."]}letmake?arn=fun?name->fun?manufacturer->fun?model->fun?modelId->fun?formFactor->fun?platform->fun?os->fun?cpu->fun?resolution->fun?heapSize->fun?memory->fun?image->fun?carrier->fun?radio->fun?remoteAccessEnabled->fun?remoteDebugEnabled->fun?fleetType->fun?fleetName->fun?instances->fun?availability->fun()->{arn;name;manufacturer;model;modelId;formFactor;platform;os;cpu;resolution;heapSize;memory;image;carrier;radio;remoteAccessEnabled;remoteDebugEnabled;fleetType;fleetName;instances;availability}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("manufacturer",(Option.mapx.manufacturer~f:String_.to_value));("model",(Option.mapx.model~f:String_.to_value));("modelId",(Option.mapx.modelId~f:String_.to_value));("formFactor",(Option.mapx.formFactor~f:DeviceFormFactor.to_value));("platform",(Option.mapx.platform~f:DevicePlatform.to_value));("os",(Option.mapx.os~f:String_.to_value));("cpu",(Option.mapx.cpu~f:CPU.to_value));("resolution",(Option.mapx.resolution~f:Resolution.to_value));("heapSize",(Option.mapx.heapSize~f:Long.to_value));("memory",(Option.mapx.memory~f:Long.to_value));("image",(Option.mapx.image~f:String_.to_value));("carrier",(Option.mapx.carrier~f:String_.to_value));("radio",(Option.mapx.radio~f:String_.to_value));("remoteAccessEnabled",(Option.mapx.remoteAccessEnabled~f:Boolean.to_value));("remoteDebugEnabled",(Option.mapx.remoteDebugEnabled~f:Boolean.to_value));("fleetType",(Option.mapx.fleetType~f:String_.to_value));("fleetName",(Option.mapx.fleetName~f:String_.to_value));("instances",(Option.mapx.instances~f:DeviceInstances.to_value));("availability",(Option.mapx.availability~f:DeviceAvailability.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailability=(Option.map~f:DeviceAvailability.of_xml)(Xml.childxml_arg0"availability")inletinstances=(Option.map~f:DeviceInstances.of_xml)(Xml.childxml_arg0"instances")inletfleetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"fleetName")inletfleetType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"fleetType")inletremoteDebugEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"remoteDebugEnabled")inletremoteAccessEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"remoteAccessEnabled")inletradio=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"radio")inletcarrier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"carrier")inletimage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"image")inletmemory=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"memory")inletheapSize=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"heapSize")inletresolution=(Option.map~f:Resolution.of_xml)(Xml.childxml_arg0"resolution")inletcpu=(Option.map~f:CPU.of_xml)(Xml.childxml_arg0"cpu")inletos=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"os")inletplatform=(Option.map~f:DevicePlatform.of_xml)(Xml.childxml_arg0"platform")inletformFactor=(Option.map~f:DeviceFormFactor.of_xml)(Xml.childxml_arg0"formFactor")inletmodelId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"modelId")inletmodel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"model")inletmanufacturer=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"manufacturer")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?availability?instances?fleetName?fleetType?remoteDebugEnabled?remoteAccessEnabled?radio?carrier?image?memory?heapSize?resolution?cpu?os?platform?formFactor?modelId?model?manufacturer?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailability=field_mapjson__"availability"DeviceAvailability.of_jsoninletinstances=field_mapjson__"instances"DeviceInstances.of_jsoninletfleetName=field_mapjson__"fleetName"String_.of_jsoninletfleetType=field_mapjson__"fleetType"String_.of_jsoninletremoteDebugEnabled=field_mapjson__"remoteDebugEnabled"Boolean.of_jsoninletremoteAccessEnabled=field_mapjson__"remoteAccessEnabled"Boolean.of_jsoninletradio=field_mapjson__"radio"String_.of_jsoninletcarrier=field_mapjson__"carrier"String_.of_jsoninletimage=field_mapjson__"image"String_.of_jsoninletmemory=field_mapjson__"memory"Long.of_jsoninletheapSize=field_mapjson__"heapSize"Long.of_jsoninletresolution=field_mapjson__"resolution"Resolution.of_jsoninletcpu=field_mapjson__"cpu"CPU.of_jsoninletos=field_mapjson__"os"String_.of_jsoninletplatform=field_mapjson__"platform"DevicePlatform.of_jsoninletformFactor=field_mapjson__"formFactor"DeviceFormFactor.of_jsoninletmodelId=field_mapjson__"modelId"String_.of_jsoninletmodel=field_mapjson__"model"String_.of_jsoninletmanufacturer=field_mapjson__"manufacturer"String_.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?availability?instances?fleetName?fleetType?remoteDebugEnabled?remoteAccessEnabled?radio?carrier?image?memory?heapSize?resolution?cpu?os?platform?formFactor?modelId?model?manufacturer?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a device type that an app is tested against."]moduleExecutionResult=structtypenonrect=|PENDING|PASSED|WARNED|FAILED|SKIPPED|ERRORED|STOPPED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|PASSED->"PASSED"|WARNED->"WARNED"|FAILED->"FAILED"|SKIPPED->"SKIPPED"|ERRORED->"ERRORED"|STOPPED->"STOPPED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"PASSED"->PASSED|"WARNED"->WARNED|"FAILED"->FAILED|"SKIPPED"->SKIPPED|"ERRORED"->ERRORED|"STOPPED"->STOPPED|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 ExecutionResult"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExecutionResult"j)letto_json=simple_to_jsonto_valueendmoduleProblemDetail=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The problem detail's ARN."];name:Name.toption[@ocaml.doc"The problem detail's name."]}letmake?arn=fun?name->fun()->{arn;name}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a problem detail."]moduleDeviceFilterAttribute=structtypenonrect=|ARN|PLATFORM|OS_VERSION|MODEL|AVAILABILITY|FORM_FACTOR|MANUFACTURER|REMOTE_ACCESS_ENABLED|REMOTE_DEBUG_ENABLED|INSTANCE_ARN|INSTANCE_LABELS|FLEET_TYPE|Non_static_idofstringletmakei=iletto_string=function|ARN->"ARN"|PLATFORM->"PLATFORM"|OS_VERSION->"OS_VERSION"|MODEL->"MODEL"|AVAILABILITY->"AVAILABILITY"|FORM_FACTOR->"FORM_FACTOR"|MANUFACTURER->"MANUFACTURER"|REMOTE_ACCESS_ENABLED->"REMOTE_ACCESS_ENABLED"|REMOTE_DEBUG_ENABLED->"REMOTE_DEBUG_ENABLED"|INSTANCE_ARN->"INSTANCE_ARN"|INSTANCE_LABELS->"INSTANCE_LABELS"|FLEET_TYPE->"FLEET_TYPE"|Non_static_ids->sletof_string=function|"ARN"->ARN|"PLATFORM"->PLATFORM|"OS_VERSION"->OS_VERSION|"MODEL"->MODEL|"AVAILABILITY"->AVAILABILITY|"FORM_FACTOR"->FORM_FACTOR|"MANUFACTURER"->MANUFACTURER|"REMOTE_ACCESS_ENABLED"->REMOTE_ACCESS_ENABLED|"REMOTE_DEBUG_ENABLED"->REMOTE_DEBUG_ENABLED|"INSTANCE_ARN"->INSTANCE_ARN|"INSTANCE_LABELS"->INSTANCE_LABELS|"FLEET_TYPE"->FLEET_TYPE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DeviceFilterAttribute"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeviceFilterAttribute"j)letto_json=simple_to_jsonto_valueendmoduleDeviceFilterValues=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"DeviceFilterValues"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRuleOperator=structtypenonrect=|EQUALS|LESS_THAN|LESS_THAN_OR_EQUALS|GREATER_THAN|GREATER_THAN_OR_EQUALS|IN|NOT_IN|CONTAINS|Non_static_idofstringletmakei=iletto_string=function|EQUALS->"EQUALS"|LESS_THAN->"LESS_THAN"|LESS_THAN_OR_EQUALS->"LESS_THAN_OR_EQUALS"|GREATER_THAN->"GREATER_THAN"|GREATER_THAN_OR_EQUALS->"GREATER_THAN_OR_EQUALS"|IN->"IN"|NOT_IN->"NOT_IN"|CONTAINS->"CONTAINS"|Non_static_ids->sletof_string=function|"EQUALS"->EQUALS|"LESS_THAN"->LESS_THAN|"LESS_THAN_OR_EQUALS"->LESS_THAN_OR_EQUALS|"GREATER_THAN"->GREATER_THAN|"GREATER_THAN_OR_EQUALS"->GREATER_THAN_OR_EQUALS|"IN"->IN|"NOT_IN"->NOT_IN|"CONTAINS"->CONTAINS|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 RuleOperator"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleOperator"j)letto_json=simple_to_jsonto_valueendmoduleRecurringCharge=structtypenonrect={cost:MonetaryAmount.toption[@ocaml.doc"The cost of the recurring charge."];frequency:RecurringChargeFrequency.toption[@ocaml.doc"The frequency in which charges recur."]}letmake?cost=fun?frequency->fun()->{cost;frequency}letto_valuex=structure_to_value[("cost",(Option.mapx.cost~f:MonetaryAmount.to_value));("frequency",(Option.mapx.frequency~f:RecurringChargeFrequency.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfrequency=(Option.map~f:RecurringChargeFrequency.of_xml)(Xml.childxml_arg0"frequency")inletcost=(Option.map~f:MonetaryAmount.of_xml)(Xml.childxml_arg0"cost")inmake?frequency?cost()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfrequency=field_mapjson__"frequency"RecurringChargeFrequency.of_jsoninletcost=field_mapjson__"cost"MonetaryAmount.of_jsoninmake?frequency?cost()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies whether charges for devices are recurring."]moduleProblem=structtypenonrect={run:ProblemDetail.toption[@ocaml.doc"Information about the associated run."];job:ProblemDetail.toption[@ocaml.doc"Information about the associated job."];suite:ProblemDetail.toption[@ocaml.doc"Information about the associated suite."];test:ProblemDetail.toption[@ocaml.doc"Information about the associated test."];device:Device.toption[@ocaml.doc"Information about the associated device."];result:ExecutionResult.toption[@ocaml.doc"The problem's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];message:Message.toption[@ocaml.doc"A message about the problem's result."]}letmake?run=fun?job->fun?suite->fun?test->fun?device->fun?result->fun?message->fun()->{run;job;suite;test;device;result;message}letto_valuex=structure_to_value[("run",(Option.mapx.run~f:ProblemDetail.to_value));("job",(Option.mapx.job~f:ProblemDetail.to_value));("suite",(Option.mapx.suite~f:ProblemDetail.to_value));("test",(Option.mapx.test~f:ProblemDetail.to_value));("device",(Option.mapx.device~f:Device.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletdevice=(Option.map~f:Device.of_xml)(Xml.childxml_arg0"device")inlettest=(Option.map~f:ProblemDetail.of_xml)(Xml.childxml_arg0"test")inletsuite=(Option.map~f:ProblemDetail.of_xml)(Xml.childxml_arg0"suite")inletjob=(Option.map~f:ProblemDetail.of_xml)(Xml.childxml_arg0"job")inletrun=(Option.map~f:ProblemDetail.of_xml)(Xml.childxml_arg0"run")inmake?message?result?device?test?suite?job?run()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletdevice=field_mapjson__"device"Device.of_jsoninlettest=field_mapjson__"test"ProblemDetail.of_jsoninletsuite=field_mapjson__"suite"ProblemDetail.of_jsoninletjob=field_mapjson__"job"ProblemDetail.of_jsoninletrun=field_mapjson__"run"ProblemDetail.of_jsoninmake?message?result?device?test?suite?job?run()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a specific warning or failure."]moduleNonEmptyString=structtypenonrect=stringletcontext_="NonEmptyString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:4096)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NonEmptyString"jletto_json=simple_to_jsonto_valueendmoduleDeviceFilter=structtypenonrect={attribute:DeviceFilterAttribute.t[@ocaml.doc"The aspect of a device such as platform or model used as the selection criteria in a device filter. The supported operators for each attribute are provided in the following list. ARN The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example). Supported operators: EQUALS, IN, NOT_IN PLATFORM The device platform. Valid values are ANDROID or IOS. Supported operators: EQUALS OS_VERSION The operating system version (for example, 10.3.2). Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN MODEL The device model (for example, iPad 5th Gen). Supported operators: CONTAINS, EQUALS, IN, NOT_IN AVAILABILITY The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. Supported operators: EQUALS FORM_FACTOR The device form factor. Valid values are PHONE or TABLET. Supported operators: EQUALS MANUFACTURER The device manufacturer (for example, Apple). Supported operators: EQUALS, IN, NOT_IN REMOTE_ACCESS_ENABLED Whether the device is enabled for remote access. Valid values are TRUE or FALSE. Supported operators: EQUALS REMOTE_DEBUG_ENABLED Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE. Supported operators: EQUALS Because remote debugging is no longer supported, this filter is ignored. INSTANCE_ARN The Amazon Resource Name (ARN) of the device instance. Supported operators: EQUALS, IN, NOT_IN INSTANCE_LABELS The label of the device instance. Supported operators: CONTAINS FLEET_TYPE The fleet type. Valid values are PUBLIC or PRIVATE. Supported operators: EQUALS"];operator:RuleOperator.t[@ocaml.doc"Specifies how Device Farm compares the filter's attribute to the value. See the attribute descriptions."];values:DeviceFilterValues.t[@ocaml.doc"An array of one or more filter values used in a device filter. Operator Values The IN and NOT_IN operators can take a values array that has more than one element. The other operators require an array with a single element. Attribute Values The PLATFORM attribute can be set to ANDROID or IOS. The AVAILABILITY attribute can be set to AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. The FORM_FACTOR attribute can be set to PHONE or TABLET. The FLEET_TYPE attribute can be set to PUBLIC or PRIVATE."]}letcontext_="DeviceFilter"letmake~attribute=fun~operator->fun~values->fun()->{attribute;operator;values}letto_valuex=structure_to_value[("attribute",(Some(DeviceFilterAttribute.to_valuex.attribute)));("operator",(Some(RuleOperator.to_valuex.operator)));("values",(Some(DeviceFilterValues.to_valuex.values)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=DeviceFilterValues.of_xml(Xml.child_exn~context:context_xml_arg0"values")inletoperator=RuleOperator.of_xml(Xml.child_exn~context:context_xml_arg0"operator")inletattribute=DeviceFilterAttribute.of_xml(Xml.child_exn~context:context_xml_arg0"attribute")inmake~values~operator~attribute()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_map_exnjson__"values"DeviceFilterValues.of_jsoninletoperator=field_map_exnjson__"operator"RuleOperator.of_jsoninletattribute=field_map_exnjson__"attribute"DeviceFilterAttribute.of_jsoninmake~values~operator~attribute()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a device filter used to select a set of devices to be included in a test run. This data structure is passed in as the deviceSelectionConfiguration parameter to ScheduleRun. For an example of the JSON request syntax, see ScheduleRun. It is also passed in as the filters parameter to ListDevices. For an example of the JSON request syntax, see ListDevices."]moduleEnvironmentVariableName=structtypenonrect=stringletcontext_="EnvironmentVariableName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z_][a-zA-Z_0-9]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EnvironmentVariableName"jletto_json=simple_to_jsonto_valueendmoduleEnvironmentVariableValue=structtypenonrect=stringletcontext_="EnvironmentVariableValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"EnvironmentVariableValue"jletto_json=simple_to_jsonto_valueendmoduleSecurityGroupId=structtypenonrect=stringletcontext_="SecurityGroupId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:4096)>>=(fun()->check_patterni~pattern:"^sg-[0-9a-fA-F]{8,}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SecurityGroupId"jletto_json=simple_to_jsonto_valueendmoduleSubnetId=structtypenonrect=stringletcontext_="SubnetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:4096)>>=(fun()->check_patterni~pattern:"^subnet-[0-9a-fA-F]{8,}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SubnetId"jletto_json=simple_to_jsonto_valueendmoduleOfferingIdentifier=structtypenonrect=stringletcontext_="OfferingIdentifier"letmakei=letopenResultinok_or_failwith(check_string_mini~min:32);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OfferingIdentifier"jletto_json=simple_to_jsonto_valueendmoduleOfferingType=structtypenonrect=|RECURRING|Non_static_idofstringletmakei=iletto_string=function|RECURRING->"RECURRING"|Non_static_ids->sletof_string=function|"RECURRING"->RECURRING|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 OfferingType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OfferingType"j)letto_json=simple_to_jsonto_valueendmoduleRecurringCharges=structtypenonrect=RecurringCharge.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RecurringCharge.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:RecurringCharge.of_xml)letof_jsonj=list_of_json~kind:"RecurringCharges"~of_json:RecurringCharge.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeviceAttribute=structtypenonrect=|ARN|PLATFORM|FORM_FACTOR|MANUFACTURER|REMOTE_ACCESS_ENABLED|REMOTE_DEBUG_ENABLED|APPIUM_VERSION|INSTANCE_ARN|INSTANCE_LABELS|FLEET_TYPE|OS_VERSION|MODEL|AVAILABILITY|Non_static_idofstringletmakei=iletto_string=function|ARN->"ARN"|PLATFORM->"PLATFORM"|FORM_FACTOR->"FORM_FACTOR"|MANUFACTURER->"MANUFACTURER"|REMOTE_ACCESS_ENABLED->"REMOTE_ACCESS_ENABLED"|REMOTE_DEBUG_ENABLED->"REMOTE_DEBUG_ENABLED"|APPIUM_VERSION->"APPIUM_VERSION"|INSTANCE_ARN->"INSTANCE_ARN"|INSTANCE_LABELS->"INSTANCE_LABELS"|FLEET_TYPE->"FLEET_TYPE"|OS_VERSION->"OS_VERSION"|MODEL->"MODEL"|AVAILABILITY->"AVAILABILITY"|Non_static_ids->sletof_string=function|"ARN"->ARN|"PLATFORM"->PLATFORM|"FORM_FACTOR"->FORM_FACTOR|"MANUFACTURER"->MANUFACTURER|"REMOTE_ACCESS_ENABLED"->REMOTE_ACCESS_ENABLED|"REMOTE_DEBUG_ENABLED"->REMOTE_DEBUG_ENABLED|"APPIUM_VERSION"->APPIUM_VERSION|"INSTANCE_ARN"->INSTANCE_ARN|"INSTANCE_LABELS"->INSTANCE_LABELS|"FLEET_TYPE"->FLEET_TYPE|"OS_VERSION"->OS_VERSION|"MODEL"->MODEL|"AVAILABILITY"->AVAILABILITY|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 DeviceAttribute"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeviceAttribute"j)letto_json=simple_to_jsonto_valueendmoduleProblems=structtypenonrect=Problem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Problem.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:Problem.of_xml)letof_jsonj=list_of_json~kind:"Problems"~of_json:Problem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSecurityGroupIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:5)>>=(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:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroupIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubnetIds=structtypenonrect=NonEmptyString.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:8)>>=(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:NonEmptyString.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:NonEmptyString.of_xml)letof_jsonj=list_of_json~kind:"SubnetIds"~of_json:NonEmptyString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAndroidPaths=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"AndroidPaths"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeviceHostPaths=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"DeviceHostPaths"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIosPaths=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"IosPaths"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeviceProxyHost=structtypenonrect=stringletcontext_="DeviceProxyHost"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^([a-zA-Z0-9])([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:"DeviceProxyHost"jletto_json=simple_to_jsonto_valueendmoduleDeviceProxyPort=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(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 DeviceProxyPort"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDeviceFilters=structtypenonrect=DeviceFilter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DeviceFilter.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:DeviceFilter.of_xml)letof_jsonj=list_of_json~kind:"DeviceFilters"~of_json:DeviceFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnvironmentVariable=structtypenonrect={name:EnvironmentVariableName.t[@ocaml.doc"The name of the environment variable."];value:EnvironmentVariableValue.t[@ocaml.doc"The value of the environment variable."]}letcontext_="EnvironmentVariable"letmake~name=fun~value->fun()->{name;value}letto_valuex=structure_to_value[("name",(Some(EnvironmentVariableName.to_valuex.name)));("value",(Some(EnvironmentVariableValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=EnvironmentVariableValue.of_xml(Xml.child_exn~context:context_xml_arg0"value")inletname=EnvironmentVariableName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake~value~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"value"EnvironmentVariableValue.of_jsoninletname=field_map_exnjson__"name"EnvironmentVariableName.of_jsoninmake~value~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an environment variable for a project or a run."]moduleNetworkProfileType=structtypenonrect=|CURATED|PRIVATE|Non_static_idofstringletmakei=iletto_string=function|CURATED->"CURATED"|PRIVATE->"PRIVATE"|Non_static_ids->sletof_string=function|"CURATED"->CURATED|"PRIVATE"->PRIVATE|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 NetworkProfileType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NetworkProfileType"j)letto_json=simple_to_jsonto_valueendmodulePercentInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PercentInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleVpcSecurityGroupIds=structtypenonrect=SecurityGroupId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:5)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SecurityGroupId.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SecurityGroupId.of_xml)letof_jsonj=list_of_json~kind:"VpcSecurityGroupIds"~of_json:SecurityGroupId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcSubnetIds=structtypenonrect=SubnetId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:8)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SubnetId.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SubnetId.of_xml)letof_jsonj=list_of_json~kind:"VpcSubnetIds"~of_json:SubnetId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSensitiveURL=structtypenonrect=stringletcontext_="SensitiveURL"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:4096)>>=(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:"SensitiveURL"jletto_json=simple_to_jsonto_valueendmoduleDateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleOffering=structtypenonrect={id:OfferingIdentifier.toption[@ocaml.doc"The ID that corresponds to a device offering."];description:Message.toption[@ocaml.doc"A string that describes the offering."];type_:OfferingType.toption[@ocaml.doc"The type of offering (for example, RECURRING) for a device."];platform:DevicePlatform.toption[@ocaml.doc"The platform of the device (for example, ANDROID or IOS)."];recurringCharges:RecurringCharges.toption[@ocaml.doc"Specifies whether there are recurring charges for the offering."]}letmake?id=fun?description->fun?type_->fun?platform->fun?recurringCharges->fun()->{id;description;type_;platform;recurringCharges}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:OfferingIdentifier.to_value));("description",(Option.mapx.description~f:Message.to_value));("type",(Option.mapx.type_~f:OfferingType.to_value));("platform",(Option.mapx.platform~f:DevicePlatform.to_value));("recurringCharges",(Option.mapx.recurringCharges~f:RecurringCharges.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrecurringCharges=(Option.map~f:RecurringCharges.of_xml)(Xml.childxml_arg0"recurringCharges")inletplatform=(Option.map~f:DevicePlatform.of_xml)(Xml.childxml_arg0"platform")inlettype_=(Option.map~f:OfferingType.of_xml)(Xml.childxml_arg0"type")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletid=(Option.map~f:OfferingIdentifier.of_xml)(Xml.childxml_arg0"id")inmake?recurringCharges?platform?type_?description?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrecurringCharges=field_mapjson__"recurringCharges"RecurringCharges.of_jsoninletplatform=field_mapjson__"platform"DevicePlatform.of_jsoninlettype_=field_mapjson__"type"OfferingType.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletid=field_mapjson__"id"OfferingIdentifier.of_jsoninmake?recurringCharges?platform?type_?description?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the metadata of a device offering."]moduleOfferingTransactionType=structtypenonrect=|PURCHASE|RENEW|SYSTEM|Non_static_idofstringletmakei=iletto_string=function|PURCHASE->"PURCHASE"|RENEW->"RENEW"|SYSTEM->"SYSTEM"|Non_static_ids->sletof_string=function|"PURCHASE"->PURCHASE|"RENEW"->RENEW|"SYSTEM"->SYSTEM|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 OfferingTransactionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OfferingTransactionType"j)letto_json=simple_to_jsonto_valueendmoduleRule=structtypenonrect={attribute:DeviceAttribute.toption[@ocaml.doc"The rule's stringified attribute. For example, specify the value as \"\\\"abc\\\"\". The supported operators for each attribute are provided in the following list. APPIUM_VERSION The Appium version for the test. Supported operators: CONTAINS ARN The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example. Supported operators: EQUALS, IN, NOT_IN AVAILABILITY The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. Supported operators: EQUALS FLEET_TYPE The fleet type. Valid values are PUBLIC or PRIVATE. Supported operators: EQUALS FORM_FACTOR The device form factor. Valid values are PHONE or TABLET. Supported operators: EQUALS, IN, NOT_IN INSTANCE_ARN The Amazon Resource Name (ARN) of the device instance. Supported operators: IN, NOT_IN INSTANCE_LABELS The label of the device instance. Supported operators: CONTAINS MANUFACTURER The device manufacturer (for example, Apple). Supported operators: EQUALS, IN, NOT_IN MODEL The device model, such as Apple iPad Air 2 or Google Pixel. Supported operators: CONTAINS, EQUALS, IN, NOT_IN OS_VERSION The operating system version (for example, 10.3.2). Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN PLATFORM The device platform. Valid values are ANDROID or IOS. Supported operators: EQUALS, IN, NOT_IN REMOTE_ACCESS_ENABLED Whether the device is enabled for remote access. Valid values are TRUE or FALSE. Supported operators: EQUALS REMOTE_DEBUG_ENABLED Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE. Supported operators: EQUALS Because remote debugging is no longer supported, this filter is ignored."];operator:RuleOperator.toption[@ocaml.doc"Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions."];value:String_.toption[@ocaml.doc"The rule's value."]}letmake?attribute=fun?operator->fun?value->fun()->{attribute;operator;value}letto_valuex=structure_to_value[("attribute",(Option.mapx.attribute~f:DeviceAttribute.to_value));("operator",(Option.mapx.operator~f:RuleOperator.to_value));("value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"value")inletoperator=(Option.map~f:RuleOperator.of_xml)(Xml.childxml_arg0"operator")inletattribute=(Option.map~f:DeviceAttribute.of_xml)(Xml.childxml_arg0"attribute")inmake?value?operator?attribute()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"String_.of_jsoninletoperator=field_mapjson__"operator"RuleOperator.of_jsoninletattribute=field_mapjson__"attribute"DeviceAttribute.of_jsoninmake?value?operator?attribute()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a condition for a device pool."]moduleIncompatibilityMessage=structtypenonrect={message:Message.toption[@ocaml.doc"A message about the incompatibility."];type_:DeviceAttribute.toption[@ocaml.doc"The type of incompatibility. Allowed values include: ARN FORM_FACTOR (for example, phone or tablet) MANUFACTURER PLATFORM (for example, Android or iOS) REMOTE_ACCESS_ENABLED APPIUM_VERSION"]}letmake?message=fun?type_->fun()->{message;type_}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value));("type",(Option.mapx.type_~f:DeviceAttribute.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:DeviceAttribute.of_xml)(Xml.childxml_arg0"type")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?type_?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"type"DeviceAttribute.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninmake?type_?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents information about incompatibility."]moduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleServiceDnsName=structtypenonrect=stringletcontext_="ServiceDnsName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"ServiceDnsName"jletto_json=simple_to_jsonto_valueendmoduleVPCEConfigurationDescription=structtypenonrect=stringletcontext_="VPCEConfigurationDescription"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"VPCEConfigurationDescription"jletto_json=simple_to_jsonto_valueendmoduleVPCEConfigurationName=structtypenonrect=stringletcontext_="VPCEConfigurationName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"VPCEConfigurationName"jletto_json=simple_to_jsonto_valueendmoduleVPCEServiceName=structtypenonrect=stringletcontext_="VPCEServiceName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"VPCEServiceName"jletto_json=simple_to_jsonto_valueendmoduleContentType=structtypenonrect=stringletcontext_="ContentType"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(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:"ContentType"jletto_json=simple_to_jsonto_valueendmoduleMetadata=structtypenonrect=stringletcontext_="Metadata"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:8192)>>=(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:"Metadata"jletto_json=simple_to_jsonto_valueendmoduleUploadCategory=structtypenonrect=|CURATED|PRIVATE|Non_static_idofstringletmakei=iletto_string=function|CURATED->"CURATED"|PRIVATE->"PRIVATE"|Non_static_ids->sletof_string=function|"CURATED"->CURATED|"PRIVATE"->PRIVATE|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 UploadCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UploadCategory"j)letto_json=simple_to_jsonto_valueendmoduleUploadStatus=structtypenonrect=|INITIALIZED|PROCESSING|SUCCEEDED|FAILED|Non_static_idofstringletmakei=iletto_string=function|INITIALIZED->"INITIALIZED"|PROCESSING->"PROCESSING"|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"INITIALIZED"->INITIALIZED|"PROCESSING"->PROCESSING|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration UploadStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UploadStatus"j)letto_json=simple_to_jsonto_valueendmoduleUploadType=structtypenonrect=|ANDROID_APP|IOS_APP|WEB_APP|EXTERNAL_DATA|APPIUM_JAVA_JUNIT_TEST_PACKAGE|APPIUM_JAVA_TESTNG_TEST_PACKAGE|APPIUM_PYTHON_TEST_PACKAGE|APPIUM_NODE_TEST_PACKAGE|APPIUM_RUBY_TEST_PACKAGE|APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE|APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE|APPIUM_WEB_PYTHON_TEST_PACKAGE|APPIUM_WEB_NODE_TEST_PACKAGE|APPIUM_WEB_RUBY_TEST_PACKAGE|CALABASH_TEST_PACKAGE|INSTRUMENTATION_TEST_PACKAGE|UIAUTOMATION_TEST_PACKAGE|UIAUTOMATOR_TEST_PACKAGE|XCTEST_TEST_PACKAGE|XCTEST_UI_TEST_PACKAGE|APPIUM_JAVA_JUNIT_TEST_SPEC|APPIUM_JAVA_TESTNG_TEST_SPEC|APPIUM_PYTHON_TEST_SPEC|APPIUM_NODE_TEST_SPEC|APPIUM_RUBY_TEST_SPEC|APPIUM_WEB_JAVA_JUNIT_TEST_SPEC|APPIUM_WEB_JAVA_TESTNG_TEST_SPEC|APPIUM_WEB_PYTHON_TEST_SPEC|APPIUM_WEB_NODE_TEST_SPEC|APPIUM_WEB_RUBY_TEST_SPEC|INSTRUMENTATION_TEST_SPEC|XCTEST_UI_TEST_SPEC|Non_static_idofstringletmakei=iletto_string=function|ANDROID_APP->"ANDROID_APP"|IOS_APP->"IOS_APP"|WEB_APP->"WEB_APP"|EXTERNAL_DATA->"EXTERNAL_DATA"|APPIUM_JAVA_JUNIT_TEST_PACKAGE->"APPIUM_JAVA_JUNIT_TEST_PACKAGE"|APPIUM_JAVA_TESTNG_TEST_PACKAGE->"APPIUM_JAVA_TESTNG_TEST_PACKAGE"|APPIUM_PYTHON_TEST_PACKAGE->"APPIUM_PYTHON_TEST_PACKAGE"|APPIUM_NODE_TEST_PACKAGE->"APPIUM_NODE_TEST_PACKAGE"|APPIUM_RUBY_TEST_PACKAGE->"APPIUM_RUBY_TEST_PACKAGE"|APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE->"APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE"|APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE->"APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE"|APPIUM_WEB_PYTHON_TEST_PACKAGE->"APPIUM_WEB_PYTHON_TEST_PACKAGE"|APPIUM_WEB_NODE_TEST_PACKAGE->"APPIUM_WEB_NODE_TEST_PACKAGE"|APPIUM_WEB_RUBY_TEST_PACKAGE->"APPIUM_WEB_RUBY_TEST_PACKAGE"|CALABASH_TEST_PACKAGE->"CALABASH_TEST_PACKAGE"|INSTRUMENTATION_TEST_PACKAGE->"INSTRUMENTATION_TEST_PACKAGE"|UIAUTOMATION_TEST_PACKAGE->"UIAUTOMATION_TEST_PACKAGE"|UIAUTOMATOR_TEST_PACKAGE->"UIAUTOMATOR_TEST_PACKAGE"|XCTEST_TEST_PACKAGE->"XCTEST_TEST_PACKAGE"|XCTEST_UI_TEST_PACKAGE->"XCTEST_UI_TEST_PACKAGE"|APPIUM_JAVA_JUNIT_TEST_SPEC->"APPIUM_JAVA_JUNIT_TEST_SPEC"|APPIUM_JAVA_TESTNG_TEST_SPEC->"APPIUM_JAVA_TESTNG_TEST_SPEC"|APPIUM_PYTHON_TEST_SPEC->"APPIUM_PYTHON_TEST_SPEC"|APPIUM_NODE_TEST_SPEC->"APPIUM_NODE_TEST_SPEC"|APPIUM_RUBY_TEST_SPEC->"APPIUM_RUBY_TEST_SPEC"|APPIUM_WEB_JAVA_JUNIT_TEST_SPEC->"APPIUM_WEB_JAVA_JUNIT_TEST_SPEC"|APPIUM_WEB_JAVA_TESTNG_TEST_SPEC->"APPIUM_WEB_JAVA_TESTNG_TEST_SPEC"|APPIUM_WEB_PYTHON_TEST_SPEC->"APPIUM_WEB_PYTHON_TEST_SPEC"|APPIUM_WEB_NODE_TEST_SPEC->"APPIUM_WEB_NODE_TEST_SPEC"|APPIUM_WEB_RUBY_TEST_SPEC->"APPIUM_WEB_RUBY_TEST_SPEC"|INSTRUMENTATION_TEST_SPEC->"INSTRUMENTATION_TEST_SPEC"|XCTEST_UI_TEST_SPEC->"XCTEST_UI_TEST_SPEC"|Non_static_ids->sletof_string=function|"ANDROID_APP"->ANDROID_APP|"IOS_APP"->IOS_APP|"WEB_APP"->WEB_APP|"EXTERNAL_DATA"->EXTERNAL_DATA|"APPIUM_JAVA_JUNIT_TEST_PACKAGE"->APPIUM_JAVA_JUNIT_TEST_PACKAGE|"APPIUM_JAVA_TESTNG_TEST_PACKAGE"->APPIUM_JAVA_TESTNG_TEST_PACKAGE|"APPIUM_PYTHON_TEST_PACKAGE"->APPIUM_PYTHON_TEST_PACKAGE|"APPIUM_NODE_TEST_PACKAGE"->APPIUM_NODE_TEST_PACKAGE|"APPIUM_RUBY_TEST_PACKAGE"->APPIUM_RUBY_TEST_PACKAGE|"APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE"->APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE|"APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE"->APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE|"APPIUM_WEB_PYTHON_TEST_PACKAGE"->APPIUM_WEB_PYTHON_TEST_PACKAGE|"APPIUM_WEB_NODE_TEST_PACKAGE"->APPIUM_WEB_NODE_TEST_PACKAGE|"APPIUM_WEB_RUBY_TEST_PACKAGE"->APPIUM_WEB_RUBY_TEST_PACKAGE|"CALABASH_TEST_PACKAGE"->CALABASH_TEST_PACKAGE|"INSTRUMENTATION_TEST_PACKAGE"->INSTRUMENTATION_TEST_PACKAGE|"UIAUTOMATION_TEST_PACKAGE"->UIAUTOMATION_TEST_PACKAGE|"UIAUTOMATOR_TEST_PACKAGE"->UIAUTOMATOR_TEST_PACKAGE|"XCTEST_TEST_PACKAGE"->XCTEST_TEST_PACKAGE|"XCTEST_UI_TEST_PACKAGE"->XCTEST_UI_TEST_PACKAGE|"APPIUM_JAVA_JUNIT_TEST_SPEC"->APPIUM_JAVA_JUNIT_TEST_SPEC|"APPIUM_JAVA_TESTNG_TEST_SPEC"->APPIUM_JAVA_TESTNG_TEST_SPEC|"APPIUM_PYTHON_TEST_SPEC"->APPIUM_PYTHON_TEST_SPEC|"APPIUM_NODE_TEST_SPEC"->APPIUM_NODE_TEST_SPEC|"APPIUM_RUBY_TEST_SPEC"->APPIUM_RUBY_TEST_SPEC|"APPIUM_WEB_JAVA_JUNIT_TEST_SPEC"->APPIUM_WEB_JAVA_JUNIT_TEST_SPEC|"APPIUM_WEB_JAVA_TESTNG_TEST_SPEC"->APPIUM_WEB_JAVA_TESTNG_TEST_SPEC|"APPIUM_WEB_PYTHON_TEST_SPEC"->APPIUM_WEB_PYTHON_TEST_SPEC|"APPIUM_WEB_NODE_TEST_SPEC"->APPIUM_WEB_NODE_TEST_SPEC|"APPIUM_WEB_RUBY_TEST_SPEC"->APPIUM_WEB_RUBY_TEST_SPEC|"INSTRUMENTATION_TEST_SPEC"->INSTRUMENTATION_TEST_SPEC|"XCTEST_UI_TEST_SPEC"->XCTEST_UI_TEST_SPEC|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 UploadType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UploadType"j)letto_json=simple_to_jsonto_valueendmoduleUniqueProblem=structtypenonrect={message:Message.toption[@ocaml.doc"A message about the unique problems' result."];problems:Problems.toption[@ocaml.doc"Information about the problems."]}letmake?message=fun?problems->fun()->{message;problems}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value));("problems",(Option.mapx.problems~f:Problems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproblems=(Option.map~f:Problems.of_xml)(Xml.childxml_arg0"problems")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?problems?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproblems=field_mapjson__"problems"Problems.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninmake?problems?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A collection of one or more problems, grouped by their result."]moduleCounters=structtypenonrect={total:Integer.toption[@ocaml.doc"The total number of entities."];passed:Integer.toption[@ocaml.doc"The number of passed entities."];failed:Integer.toption[@ocaml.doc"The number of failed entities."];warned:Integer.toption[@ocaml.doc"The number of warned entities."];errored:Integer.toption[@ocaml.doc"The number of errored entities."];stopped:Integer.toption[@ocaml.doc"The number of stopped entities."];skipped:Integer.toption[@ocaml.doc"The number of skipped entities."]}letmake?total=fun?passed->fun?failed->fun?warned->fun?errored->fun?stopped->fun?skipped->fun()->{total;passed;failed;warned;errored;stopped;skipped}letto_valuex=structure_to_value[("total",(Option.mapx.total~f:Integer.to_value));("passed",(Option.mapx.passed~f:Integer.to_value));("failed",(Option.mapx.failed~f:Integer.to_value));("warned",(Option.mapx.warned~f:Integer.to_value));("errored",(Option.mapx.errored~f:Integer.to_value));("stopped",(Option.mapx.stopped~f:Integer.to_value));("skipped",(Option.mapx.skipped~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letskipped=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"skipped")inletstopped=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"stopped")inleterrored=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"errored")inletwarned=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"warned")inletfailed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"failed")inletpassed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"passed")inlettotal=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"total")inmake?skipped?stopped?errored?warned?failed?passed?total()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letskipped=field_mapjson__"skipped"Integer.of_jsoninletstopped=field_mapjson__"stopped"Integer.of_jsoninleterrored=field_mapjson__"errored"Integer.of_jsoninletwarned=field_mapjson__"warned"Integer.of_jsoninletfailed=field_mapjson__"failed"Integer.of_jsoninletpassed=field_mapjson__"passed"Integer.of_jsoninlettotal=field_mapjson__"total"Integer.of_jsoninmake?skipped?stopped?errored?warned?failed?passed?total()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents entity counters."]moduleDeviceMinutes=structtypenonrect={total:Double.toption[@ocaml.doc"When specified, represents the total minutes used by the resource to run tests."];metered:Double.toption[@ocaml.doc"When specified, represents only the sum of metered minutes used by the resource to run tests."];unmetered:Double.toption[@ocaml.doc"When specified, represents only the sum of unmetered minutes used by the resource to run tests."]}letmake?total=fun?metered->fun?unmetered->fun()->{total;metered;unmetered}letto_valuex=structure_to_value[("total",(Option.mapx.total~f:Double.to_value));("metered",(Option.mapx.metered~f:Double.to_value));("unmetered",(Option.mapx.unmetered~f:Double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunmetered=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"unmetered")inletmetered=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"metered")inlettotal=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"total")inmake?unmetered?metered?total()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunmetered=field_mapjson__"unmetered"Double.of_jsoninletmetered=field_mapjson__"metered"Double.of_jsoninlettotal=field_mapjson__"total"Double.of_jsoninmake?unmetered?metered?total()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children."]moduleExecutionStatus=structtypenonrect=|PENDING|PENDING_CONCURRENCY|PENDING_DEVICE|PROCESSING|SCHEDULING|PREPARING|RUNNING|COMPLETED|STOPPING|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|PENDING_CONCURRENCY->"PENDING_CONCURRENCY"|PENDING_DEVICE->"PENDING_DEVICE"|PROCESSING->"PROCESSING"|SCHEDULING->"SCHEDULING"|PREPARING->"PREPARING"|RUNNING->"RUNNING"|COMPLETED->"COMPLETED"|STOPPING->"STOPPING"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"PENDING_CONCURRENCY"->PENDING_CONCURRENCY|"PENDING_DEVICE"->PENDING_DEVICE|"PROCESSING"->PROCESSING|"SCHEDULING"->SCHEDULING|"PREPARING"->PREPARING|"RUNNING"->RUNNING|"COMPLETED"->COMPLETED|"STOPPING"->STOPPING|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 ExecutionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExecutionStatus"j)letto_json=simple_to_jsonto_valueendmoduleTestType=structtypenonrect=|BUILTIN_FUZZ|APPIUM_JAVA_JUNIT|APPIUM_JAVA_TESTNG|APPIUM_PYTHON|APPIUM_NODE|APPIUM_RUBY|APPIUM_WEB_JAVA_JUNIT|APPIUM_WEB_JAVA_TESTNG|APPIUM_WEB_PYTHON|APPIUM_WEB_NODE|APPIUM_WEB_RUBY|INSTRUMENTATION|XCTEST|XCTEST_UI|Non_static_idofstringletmakei=iletto_string=function|BUILTIN_FUZZ->"BUILTIN_FUZZ"|APPIUM_JAVA_JUNIT->"APPIUM_JAVA_JUNIT"|APPIUM_JAVA_TESTNG->"APPIUM_JAVA_TESTNG"|APPIUM_PYTHON->"APPIUM_PYTHON"|APPIUM_NODE->"APPIUM_NODE"|APPIUM_RUBY->"APPIUM_RUBY"|APPIUM_WEB_JAVA_JUNIT->"APPIUM_WEB_JAVA_JUNIT"|APPIUM_WEB_JAVA_TESTNG->"APPIUM_WEB_JAVA_TESTNG"|APPIUM_WEB_PYTHON->"APPIUM_WEB_PYTHON"|APPIUM_WEB_NODE->"APPIUM_WEB_NODE"|APPIUM_WEB_RUBY->"APPIUM_WEB_RUBY"|INSTRUMENTATION->"INSTRUMENTATION"|XCTEST->"XCTEST"|XCTEST_UI->"XCTEST_UI"|Non_static_ids->sletof_string=function|"BUILTIN_FUZZ"->BUILTIN_FUZZ|"APPIUM_JAVA_JUNIT"->APPIUM_JAVA_JUNIT|"APPIUM_JAVA_TESTNG"->APPIUM_JAVA_TESTNG|"APPIUM_PYTHON"->APPIUM_PYTHON|"APPIUM_NODE"->APPIUM_NODE|"APPIUM_RUBY"->APPIUM_RUBY|"APPIUM_WEB_JAVA_JUNIT"->APPIUM_WEB_JAVA_JUNIT|"APPIUM_WEB_JAVA_TESTNG"->APPIUM_WEB_JAVA_TESTNG|"APPIUM_WEB_PYTHON"->APPIUM_WEB_PYTHON|"APPIUM_WEB_NODE"->APPIUM_WEB_NODE|"APPIUM_WEB_RUBY"->APPIUM_WEB_RUBY|"INSTRUMENTATION"->INSTRUMENTATION|"XCTEST"->XCTEST|"XCTEST_UI"->XCTEST_UI|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 TestType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TestType"j)letto_json=simple_to_jsonto_valueendmoduleDeviceFarmArn=structtypenonrect=stringletcontext_="DeviceFarmArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:32)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"^arn:aws:devicefarm:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DeviceFarmArn"jletto_json=simple_to_jsonto_valueendmoduleTestGridSessionStatus=structtypenonrect=|ACTIVE|CLOSED|ERRORED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|CLOSED->"CLOSED"|ERRORED->"ERRORED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"CLOSED"->CLOSED|"ERRORED"->ERRORED|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 TestGridSessionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TestGridSessionStatus"j)letto_json=simple_to_jsonto_valueendmoduleSensitiveString=structtypenonrect=stringletcontext_="SensitiveString"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:"SensitiveString"jletto_json=simple_to_jsonto_valueendmoduleTestGridSessionArtifactType=structtypenonrect=|UNKNOWN|VIDEO|SELENIUM_LOG|Non_static_idofstringletmakei=iletto_string=function|UNKNOWN->"UNKNOWN"|VIDEO->"VIDEO"|SELENIUM_LOG->"SELENIUM_LOG"|Non_static_ids->sletof_string=function|"UNKNOWN"->UNKNOWN|"VIDEO"->VIDEO|"SELENIUM_LOG"->SELENIUM_LOG|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 TestGridSessionArtifactType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TestGridSessionArtifactType"j)letto_json=simple_to_jsonto_valueendmoduleTestGridVpcConfig=structtypenonrect={securityGroupIds:SecurityGroupIds.t[@ocaml.doc"A list of VPC security group IDs in your Amazon VPC."];subnetIds:SubnetIds.t[@ocaml.doc"A list of VPC subnet IDs in your Amazon VPC."];vpcId:NonEmptyString.t[@ocaml.doc"The ID of the Amazon VPC."]}letcontext_="TestGridVpcConfig"letmake~securityGroupIds=fun~subnetIds->fun~vpcId->fun()->{securityGroupIds;subnetIds;vpcId}letto_valuex=structure_to_value[("securityGroupIds",(Some(SecurityGroupIds.to_valuex.securityGroupIds)));("subnetIds",(Some(SubnetIds.to_valuex.subnetIds)));("vpcId",(Some(NonEmptyString.to_valuex.vpcId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"vpcId")inletsubnetIds=SubnetIds.of_xml(Xml.child_exn~context:context_xml_arg0"subnetIds")inletsecurityGroupIds=SecurityGroupIds.of_xml(Xml.child_exn~context:context_xml_arg0"securityGroupIds")inmake~vpcId~subnetIds~securityGroupIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcId=field_map_exnjson__"vpcId"NonEmptyString.of_jsoninletsubnetIds=field_map_exnjson__"subnetIds"SubnetIds.of_jsoninletsecurityGroupIds=field_map_exnjson__"securityGroupIds"SecurityGroupIds.of_jsoninmake~vpcId~subnetIds~securityGroupIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The VPC security groups and subnets that are attached to a project."]moduleSampleType=structtypenonrect=|CPU|MEMORY|THREADS|RX_RATE|TX_RATE|RX|TX|NATIVE_FRAMES|NATIVE_FPS|NATIVE_MIN_DRAWTIME|NATIVE_AVG_DRAWTIME|NATIVE_MAX_DRAWTIME|OPENGL_FRAMES|OPENGL_FPS|OPENGL_MIN_DRAWTIME|OPENGL_AVG_DRAWTIME|OPENGL_MAX_DRAWTIME|Non_static_idofstringletmakei=iletto_string=function|CPU->"CPU"|MEMORY->"MEMORY"|THREADS->"THREADS"|RX_RATE->"RX_RATE"|TX_RATE->"TX_RATE"|RX->"RX"|TX->"TX"|NATIVE_FRAMES->"NATIVE_FRAMES"|NATIVE_FPS->"NATIVE_FPS"|NATIVE_MIN_DRAWTIME->"NATIVE_MIN_DRAWTIME"|NATIVE_AVG_DRAWTIME->"NATIVE_AVG_DRAWTIME"|NATIVE_MAX_DRAWTIME->"NATIVE_MAX_DRAWTIME"|OPENGL_FRAMES->"OPENGL_FRAMES"|OPENGL_FPS->"OPENGL_FPS"|OPENGL_MIN_DRAWTIME->"OPENGL_MIN_DRAWTIME"|OPENGL_AVG_DRAWTIME->"OPENGL_AVG_DRAWTIME"|OPENGL_MAX_DRAWTIME->"OPENGL_MAX_DRAWTIME"|Non_static_ids->sletof_string=function|"CPU"->CPU|"MEMORY"->MEMORY|"THREADS"->THREADS|"RX_RATE"->RX_RATE|"TX_RATE"->TX_RATE|"RX"->RX|"TX"->TX|"NATIVE_FRAMES"->NATIVE_FRAMES|"NATIVE_FPS"->NATIVE_FPS|"NATIVE_MIN_DRAWTIME"->NATIVE_MIN_DRAWTIME|"NATIVE_AVG_DRAWTIME"->NATIVE_AVG_DRAWTIME|"NATIVE_MAX_DRAWTIME"->NATIVE_MAX_DRAWTIME|"OPENGL_FRAMES"->OPENGL_FRAMES|"OPENGL_FPS"->OPENGL_FPS|"OPENGL_MIN_DRAWTIME"->OPENGL_MIN_DRAWTIME|"OPENGL_AVG_DRAWTIME"->OPENGL_AVG_DRAWTIME|"OPENGL_MAX_DRAWTIME"->OPENGL_MAX_DRAWTIME|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 SampleType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SampleType"j)letto_json=simple_to_jsonto_valueendmoduleURL=structtypenonrect=stringletcontext_="URL"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(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:"URL"jletto_json=simple_to_jsonto_valueendmoduleAmazonRoleResourceName=structtypenonrect=stringletcontext_="AmazonRoleResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"^arn:aws:iam::[0-9]{12}:role/.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonRoleResourceName"jletto_json=simple_to_jsonto_valueendmoduleBillingMethod=structtypenonrect=|METERED|UNMETERED|Non_static_idofstringletmakei=iletto_string=function|METERED->"METERED"|UNMETERED->"UNMETERED"|Non_static_ids->sletof_string=function|"METERED"->METERED|"UNMETERED"->UNMETERED|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 BillingMethod"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BillingMethod"j)letto_json=simple_to_jsonto_valueendmoduleCustomerArtifactPaths=structtypenonrect={iosPaths:IosPaths.toption[@ocaml.doc"Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled from."];androidPaths:AndroidPaths.toption[@ocaml.doc"Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are pulled from."];deviceHostPaths:DeviceHostPaths.toption[@ocaml.doc"Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's tests are pulled from."]}letmake?iosPaths=fun?androidPaths->fun?deviceHostPaths->fun()->{iosPaths;androidPaths;deviceHostPaths}letto_valuex=structure_to_value[("iosPaths",(Option.mapx.iosPaths~f:IosPaths.to_value));("androidPaths",(Option.mapx.androidPaths~f:AndroidPaths.to_value));("deviceHostPaths",(Option.mapx.deviceHostPaths~f:DeviceHostPaths.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceHostPaths=(Option.map~f:DeviceHostPaths.of_xml)(Xml.childxml_arg0"deviceHostPaths")inletandroidPaths=(Option.map~f:AndroidPaths.of_xml)(Xml.childxml_arg0"androidPaths")inletiosPaths=(Option.map~f:IosPaths.of_xml)(Xml.childxml_arg0"iosPaths")inmake?deviceHostPaths?androidPaths?iosPaths()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceHostPaths=field_mapjson__"deviceHostPaths"DeviceHostPaths.of_jsoninletandroidPaths=field_mapjson__"androidPaths"AndroidPaths.of_jsoninletiosPaths=field_mapjson__"iosPaths"IosPaths.of_jsoninmake?deviceHostPaths?androidPaths?iosPaths()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A JSON object that specifies the paths where the artifacts generated by the customer's tests, on the device or in the test environment, are pulled from. Specify deviceHostPaths and optionally specify either iosPaths or androidPaths. For web app tests, you can specify both iosPaths and androidPaths."]moduleDeviceProxy=structtypenonrect={host:DeviceProxyHost.t[@ocaml.doc"Hostname or IPv4 address of the proxy."];port:DeviceProxyPort.t[@ocaml.doc"The port number on which the http/s proxy is listening."]}letcontext_="DeviceProxy"letmake~host=fun~port->fun()->{host;port}letto_valuex=structure_to_value[("host",(Some(DeviceProxyHost.to_valuex.host)));("port",(Some(DeviceProxyPort.to_valuex.port)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letport=DeviceProxyPort.of_xml(Xml.child_exn~context:context_xml_arg0"port")inlethost=DeviceProxyHost.of_xml(Xml.child_exn~context:context_xml_arg0"host")inmake~port~host()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letport=field_map_exnjson__"port"DeviceProxyPort.of_jsoninlethost=field_map_exnjson__"host"DeviceProxyHost.of_jsoninmake~port~host()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the http/s proxy configuration that will be applied to a device during a run."]moduleDeviceSelectionResult=structtypenonrect={filters:DeviceFilters.toption[@ocaml.doc"The filters in a device selection result."];matchedDevicesCount:Integer.toption[@ocaml.doc"The number of devices that matched the device filter selection criteria."];maxDevices:Integer.toption[@ocaml.doc"The maximum number of devices to be selected by a device filter and included in a test run."]}letmake?filters=fun?matchedDevicesCount->fun?maxDevices->fun()->{filters;matchedDevicesCount;maxDevices}letto_valuex=structure_to_value[("filters",(Option.mapx.filters~f:DeviceFilters.to_value));("matchedDevicesCount",(Option.mapx.matchedDevicesCount~f:Integer.to_value));("maxDevices",(Option.mapx.maxDevices~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDevices=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxDevices")inletmatchedDevicesCount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"matchedDevicesCount")inletfilters=(Option.map~f:DeviceFilters.of_xml)(Xml.childxml_arg0"filters")inmake?maxDevices?matchedDevicesCount?filters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDevices=field_mapjson__"maxDevices"Integer.of_jsoninletmatchedDevicesCount=field_mapjson__"matchedDevicesCount"Integer.of_jsoninletfilters=field_mapjson__"filters"DeviceFilters.of_jsoninmake?maxDevices?matchedDevicesCount?filters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the run results requested by the device selection configuration and how many devices were returned. For an example of the JSON response syntax, see ScheduleRun."]moduleEnvironmentVariables=structtypenonrect=EnvironmentVariable.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:32)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnvironmentVariable.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:EnvironmentVariable.of_xml)letof_jsonj=list_of_json~kind:"EnvironmentVariables"~of_json:EnvironmentVariable.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExecutionResultCode=structtypenonrect=|PARSING_FAILED|VPC_ENDPOINT_SETUP_FAILED|Non_static_idofstringletmakei=iletto_string=function|PARSING_FAILED->"PARSING_FAILED"|VPC_ENDPOINT_SETUP_FAILED->"VPC_ENDPOINT_SETUP_FAILED"|Non_static_ids->sletof_string=function|"PARSING_FAILED"->PARSING_FAILED|"VPC_ENDPOINT_SETUP_FAILED"->VPC_ENDPOINT_SETUP_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 ExecutionResultCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExecutionResultCode"j)letto_json=simple_to_jsonto_valueendmoduleJobTimeoutMinutes=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 JobTimeoutMinutes"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleLocation=structtypenonrect={latitude:Double.t[@ocaml.doc"The latitude."];longitude:Double.t[@ocaml.doc"The longitude."]}letcontext_="Location"letmake~latitude=fun~longitude->fun()->{latitude;longitude}letto_valuex=structure_to_value[("latitude",(Some(Double.to_valuex.latitude)));("longitude",(Some(Double.to_valuex.longitude)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlongitude=Double.of_xml(Xml.child_exn~context:context_xml_arg0"longitude")inletlatitude=Double.of_xml(Xml.child_exn~context:context_xml_arg0"latitude")inmake~longitude~latitude()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlongitude=field_map_exnjson__"longitude"Double.of_jsoninletlatitude=field_map_exnjson__"latitude"Double.of_jsoninmake~longitude~latitude()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example, 47.6204, -122.3491). Elevation is currently not supported."]moduleNetworkProfile=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the network profile."];name:Name.toption[@ocaml.doc"The name of the network profile."];description:Message.toption[@ocaml.doc"The description of the network profile."];type_:NetworkProfileType.toption[@ocaml.doc"The type of network profile. Valid values are listed here."];uplinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];downlinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];uplinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];downlinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];uplinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];downlinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];uplinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of transmitted packets that fail to arrive from 0 to 100 percent."];downlinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of received packets that fail to arrive from 0 to 100 percent."]}letmake?arn=fun?name->fun?description->fun?type_->fun?uplinkBandwidthBits->fun?downlinkBandwidthBits->fun?uplinkDelayMs->fun?downlinkDelayMs->fun?uplinkJitterMs->fun?downlinkJitterMs->fun?uplinkLossPercent->fun?downlinkLossPercent->fun()->{arn;name;description;type_;uplinkBandwidthBits;downlinkBandwidthBits;uplinkDelayMs;downlinkDelayMs;uplinkJitterMs;downlinkJitterMs;uplinkLossPercent;downlinkLossPercent}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value));("type",(Option.mapx.type_~f:NetworkProfileType.to_value));("uplinkBandwidthBits",(Option.mapx.uplinkBandwidthBits~f:Long.to_value));("downlinkBandwidthBits",(Option.mapx.downlinkBandwidthBits~f:Long.to_value));("uplinkDelayMs",(Option.mapx.uplinkDelayMs~f:Long.to_value));("downlinkDelayMs",(Option.mapx.downlinkDelayMs~f:Long.to_value));("uplinkJitterMs",(Option.mapx.uplinkJitterMs~f:Long.to_value));("downlinkJitterMs",(Option.mapx.downlinkJitterMs~f:Long.to_value));("uplinkLossPercent",(Option.mapx.uplinkLossPercent~f:PercentInteger.to_value));("downlinkLossPercent",(Option.mapx.downlinkLossPercent~f:PercentInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdownlinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"downlinkLossPercent")inletuplinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"uplinkLossPercent")inletdownlinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkJitterMs")inletuplinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkJitterMs")inletdownlinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkDelayMs")inletuplinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkDelayMs")inletdownlinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkBandwidthBits")inletuplinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkBandwidthBits")inlettype_=(Option.map~f:NetworkProfileType.of_xml)(Xml.childxml_arg0"type")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdownlinkLossPercent=field_mapjson__"downlinkLossPercent"PercentInteger.of_jsoninletuplinkLossPercent=field_mapjson__"uplinkLossPercent"PercentInteger.of_jsoninletdownlinkJitterMs=field_mapjson__"downlinkJitterMs"Long.of_jsoninletuplinkJitterMs=field_mapjson__"uplinkJitterMs"Long.of_jsoninletdownlinkDelayMs=field_mapjson__"downlinkDelayMs"Long.of_jsoninletuplinkDelayMs=field_mapjson__"uplinkDelayMs"Long.of_jsoninletdownlinkBandwidthBits=field_mapjson__"downlinkBandwidthBits"Long.of_jsoninletuplinkBandwidthBits=field_mapjson__"uplinkBandwidthBits"Long.of_jsoninlettype_=field_mapjson__"type"NetworkProfileType.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An array of settings that describes characteristics of a network profile."]moduleRadios=structtypenonrect={wifi:Boolean.toption[@ocaml.doc"True if Wi-Fi is enabled at the beginning of the test. Otherwise, false."];bluetooth:Boolean.toption[@ocaml.doc"True if Bluetooth is enabled at the beginning of the test. Otherwise, false."];nfc:Boolean.toption[@ocaml.doc"True if NFC is enabled at the beginning of the test. Otherwise, false."];gps:Boolean.toption[@ocaml.doc"True if GPS is enabled at the beginning of the test. Otherwise, false."]}letmake?wifi=fun?bluetooth->fun?nfc->fun?gps->fun()->{wifi;bluetooth;nfc;gps}letto_valuex=structure_to_value[("wifi",(Option.mapx.wifi~f:Boolean.to_value));("bluetooth",(Option.mapx.bluetooth~f:Boolean.to_value));("nfc",(Option.mapx.nfc~f:Boolean.to_value));("gps",(Option.mapx.gps~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgps=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"gps")inletnfc=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"nfc")inletbluetooth=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"bluetooth")inletwifi=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"wifi")inmake?gps?nfc?bluetooth?wifi()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgps=field_mapjson__"gps"Boolean.of_jsoninletnfc=field_mapjson__"nfc"Boolean.of_jsoninletbluetooth=field_mapjson__"bluetooth"Boolean.of_jsoninletwifi=field_mapjson__"wifi"Boolean.of_jsoninmake?gps?nfc?bluetooth?wifi()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC."]moduleSkipAppResign=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleVpcConfig=structtypenonrect={securityGroupIds:VpcSecurityGroupIds.t[@ocaml.doc"An array of one or more security groups IDs in your Amazon VPC."];subnetIds:VpcSubnetIds.t[@ocaml.doc"An array of one or more subnet IDs in your Amazon VPC."];vpcId:NonEmptyString.t[@ocaml.doc"The ID of the Amazon VPC."]}letcontext_="VpcConfig"letmake~securityGroupIds=fun~subnetIds->fun~vpcId->fun()->{securityGroupIds;subnetIds;vpcId}letto_valuex=structure_to_value[("securityGroupIds",(Some(VpcSecurityGroupIds.to_valuex.securityGroupIds)));("subnetIds",(Some(VpcSubnetIds.to_valuex.subnetIds)));("vpcId",(Some(NonEmptyString.to_valuex.vpcId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"vpcId")inletsubnetIds=VpcSubnetIds.of_xml(Xml.child_exn~context:context_xml_arg0"subnetIds")inletsecurityGroupIds=VpcSecurityGroupIds.of_xml(Xml.child_exn~context:context_xml_arg0"securityGroupIds")inmake~vpcId~subnetIds~securityGroupIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcId=field_map_exnjson__"vpcId"NonEmptyString.of_jsoninletsubnetIds=field_map_exnjson__"subnetIds"VpcSubnetIds.of_jsoninletsecurityGroupIds=field_map_exnjson__"securityGroupIds"VpcSecurityGroupIds.of_jsoninmake~vpcId~subnetIds~securityGroupIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the VPC configuration data necessary to interface with AWS Device Farm's services."]moduleInteractionMode=structtypenonrect=|INTERACTIVE|NO_VIDEO|VIDEO_ONLY|Non_static_idofstringletmakei=iletto_string=function|INTERACTIVE->"INTERACTIVE"|NO_VIDEO->"NO_VIDEO"|VIDEO_ONLY->"VIDEO_ONLY"|Non_static_ids->sletof_string=function|"INTERACTIVE"->INTERACTIVE|"NO_VIDEO"->NO_VIDEO|"VIDEO_ONLY"->VIDEO_ONLY|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 InteractionMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"InteractionMode"j)letto_json=simple_to_jsonto_valueendmoduleRemoteAccessEndpoints=structtypenonrect={remoteDriverEndpoint:SensitiveURL.toption[@ocaml.doc"URL for controlling the device using WebDriver-compliant clients, like Appium, during the remote access session."];interactiveEndpoint:SensitiveURL.toption[@ocaml.doc"URL for viewing and interacting with the device during the remote access session."]}letmake?remoteDriverEndpoint=fun?interactiveEndpoint->fun()->{remoteDriverEndpoint;interactiveEndpoint}letto_valuex=structure_to_value[("remoteDriverEndpoint",(Option.mapx.remoteDriverEndpoint~f:SensitiveURL.to_value));("interactiveEndpoint",(Option.mapx.interactiveEndpoint~f:SensitiveURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinteractiveEndpoint=(Option.map~f:SensitiveURL.of_xml)(Xml.childxml_arg0"interactiveEndpoint")inletremoteDriverEndpoint=(Option.map~f:SensitiveURL.of_xml)(Xml.childxml_arg0"remoteDriverEndpoint")inmake?interactiveEndpoint?remoteDriverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinteractiveEndpoint=field_mapjson__"interactiveEndpoint"SensitiveURL.of_jsoninletremoteDriverEndpoint=field_mapjson__"remoteDriverEndpoint"SensitiveURL.of_jsoninmake?interactiveEndpoint?remoteDriverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the remote endpoints for viewing and controlling a device during a remote access session."]moduleOfferingPromotionIdentifier=structtypenonrect=stringletcontext_="OfferingPromotionIdentifier"letmakei=letopenResultinok_or_failwith(check_string_mini~min:4);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OfferingPromotionIdentifier"jletto_json=simple_to_jsonto_valueendmoduleOfferingStatus=structtypenonrect={type_:OfferingTransactionType.toption[@ocaml.doc"The type specified for the offering status."];offering:Offering.toption[@ocaml.doc"Represents the metadata of an offering status."];quantity:Integer.toption[@ocaml.doc"The number of available devices in the offering."];effectiveOn:DateTime.toption[@ocaml.doc"The date on which the offering is effective."]}letmake?type_=fun?offering->fun?quantity->fun?effectiveOn->fun()->{type_;offering;quantity;effectiveOn}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:OfferingTransactionType.to_value));("offering",(Option.mapx.offering~f:Offering.to_value));("quantity",(Option.mapx.quantity~f:Integer.to_value));("effectiveOn",(Option.mapx.effectiveOn~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteffectiveOn=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"effectiveOn")inletquantity=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"quantity")inletoffering=(Option.map~f:Offering.of_xml)(Xml.childxml_arg0"offering")inlettype_=(Option.map~f:OfferingTransactionType.of_xml)(Xml.childxml_arg0"type")inmake?effectiveOn?quantity?offering?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteffectiveOn=field_mapjson__"effectiveOn"DateTime.of_jsoninletquantity=field_mapjson__"quantity"Integer.of_jsoninletoffering=field_mapjson__"offering"Offering.of_jsoninlettype_=field_mapjson__"type"OfferingTransactionType.of_jsoninmake?effectiveOn?quantity?offering?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status of the offering."]moduleTransactionIdentifier=structtypenonrect=stringletcontext_="TransactionIdentifier"letmakei=letopenResultinok_or_failwith(check_string_mini~min:32);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TransactionIdentifier"jletto_json=simple_to_jsonto_valueendmoduleVideoCapture=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleDevicePoolType=structtypenonrect=|CURATED|PRIVATE|Non_static_idofstringletmakei=iletto_string=function|CURATED->"CURATED"|PRIVATE->"PRIVATE"|Non_static_ids->sletof_string=function|"CURATED"->CURATED|"PRIVATE"->PRIVATE|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 DevicePoolType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DevicePoolType"j)letto_json=simple_to_jsonto_valueendmoduleRules=structtypenonrect=Rule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Rule.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:Rule.of_xml)letof_jsonj=list_of_json~kind:"Rules"~of_json:Rule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleArtifactType=structtypenonrect=|UNKNOWN|SCREENSHOT|DEVICE_LOG|MESSAGE_LOG|VIDEO_LOG|RESULT_LOG|SERVICE_LOG|WEBKIT_LOG|INSTRUMENTATION_OUTPUT|EXERCISER_MONKEY_OUTPUT|CALABASH_JSON_OUTPUT|CALABASH_PRETTY_OUTPUT|CALABASH_STANDARD_OUTPUT|CALABASH_JAVA_XML_OUTPUT|AUTOMATION_OUTPUT|APPIUM_SERVER_OUTPUT|APPIUM_JAVA_OUTPUT|APPIUM_JAVA_XML_OUTPUT|APPIUM_PYTHON_OUTPUT|APPIUM_PYTHON_XML_OUTPUT|EXPLORER_EVENT_LOG|EXPLORER_SUMMARY_LOG|APPLICATION_CRASH_REPORT|XCTEST_LOG|VIDEO|CUSTOMER_ARTIFACT|CUSTOMER_ARTIFACT_LOG|TESTSPEC_OUTPUT|Non_static_idofstringletmakei=iletto_string=function|UNKNOWN->"UNKNOWN"|SCREENSHOT->"SCREENSHOT"|DEVICE_LOG->"DEVICE_LOG"|MESSAGE_LOG->"MESSAGE_LOG"|VIDEO_LOG->"VIDEO_LOG"|RESULT_LOG->"RESULT_LOG"|SERVICE_LOG->"SERVICE_LOG"|WEBKIT_LOG->"WEBKIT_LOG"|INSTRUMENTATION_OUTPUT->"INSTRUMENTATION_OUTPUT"|EXERCISER_MONKEY_OUTPUT->"EXERCISER_MONKEY_OUTPUT"|CALABASH_JSON_OUTPUT->"CALABASH_JSON_OUTPUT"|CALABASH_PRETTY_OUTPUT->"CALABASH_PRETTY_OUTPUT"|CALABASH_STANDARD_OUTPUT->"CALABASH_STANDARD_OUTPUT"|CALABASH_JAVA_XML_OUTPUT->"CALABASH_JAVA_XML_OUTPUT"|AUTOMATION_OUTPUT->"AUTOMATION_OUTPUT"|APPIUM_SERVER_OUTPUT->"APPIUM_SERVER_OUTPUT"|APPIUM_JAVA_OUTPUT->"APPIUM_JAVA_OUTPUT"|APPIUM_JAVA_XML_OUTPUT->"APPIUM_JAVA_XML_OUTPUT"|APPIUM_PYTHON_OUTPUT->"APPIUM_PYTHON_OUTPUT"|APPIUM_PYTHON_XML_OUTPUT->"APPIUM_PYTHON_XML_OUTPUT"|EXPLORER_EVENT_LOG->"EXPLORER_EVENT_LOG"|EXPLORER_SUMMARY_LOG->"EXPLORER_SUMMARY_LOG"|APPLICATION_CRASH_REPORT->"APPLICATION_CRASH_REPORT"|XCTEST_LOG->"XCTEST_LOG"|VIDEO->"VIDEO"|CUSTOMER_ARTIFACT->"CUSTOMER_ARTIFACT"|CUSTOMER_ARTIFACT_LOG->"CUSTOMER_ARTIFACT_LOG"|TESTSPEC_OUTPUT->"TESTSPEC_OUTPUT"|Non_static_ids->sletof_string=function|"UNKNOWN"->UNKNOWN|"SCREENSHOT"->SCREENSHOT|"DEVICE_LOG"->DEVICE_LOG|"MESSAGE_LOG"->MESSAGE_LOG|"VIDEO_LOG"->VIDEO_LOG|"RESULT_LOG"->RESULT_LOG|"SERVICE_LOG"->SERVICE_LOG|"WEBKIT_LOG"->WEBKIT_LOG|"INSTRUMENTATION_OUTPUT"->INSTRUMENTATION_OUTPUT|"EXERCISER_MONKEY_OUTPUT"->EXERCISER_MONKEY_OUTPUT|"CALABASH_JSON_OUTPUT"->CALABASH_JSON_OUTPUT|"CALABASH_PRETTY_OUTPUT"->CALABASH_PRETTY_OUTPUT|"CALABASH_STANDARD_OUTPUT"->CALABASH_STANDARD_OUTPUT|"CALABASH_JAVA_XML_OUTPUT"->CALABASH_JAVA_XML_OUTPUT|"AUTOMATION_OUTPUT"->AUTOMATION_OUTPUT|"APPIUM_SERVER_OUTPUT"->APPIUM_SERVER_OUTPUT|"APPIUM_JAVA_OUTPUT"->APPIUM_JAVA_OUTPUT|"APPIUM_JAVA_XML_OUTPUT"->APPIUM_JAVA_XML_OUTPUT|"APPIUM_PYTHON_OUTPUT"->APPIUM_PYTHON_OUTPUT|"APPIUM_PYTHON_XML_OUTPUT"->APPIUM_PYTHON_XML_OUTPUT|"EXPLORER_EVENT_LOG"->EXPLORER_EVENT_LOG|"EXPLORER_SUMMARY_LOG"->EXPLORER_SUMMARY_LOG|"APPLICATION_CRASH_REPORT"->APPLICATION_CRASH_REPORT|"XCTEST_LOG"->XCTEST_LOG|"VIDEO"->VIDEO|"CUSTOMER_ARTIFACT"->CUSTOMER_ARTIFACT|"CUSTOMER_ARTIFACT_LOG"->CUSTOMER_ARTIFACT_LOG|"TESTSPEC_OUTPUT"->TESTSPEC_OUTPUT|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 ArtifactType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ArtifactType"j)letto_json=simple_to_jsonto_valueendmoduleIncompatibilityMessages=structtypenonrect=IncompatibilityMessage.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IncompatibilityMessage.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:IncompatibilityMessage.of_xml)letof_jsonj=list_of_json~kind:"IncompatibilityMessages"~of_json:IncompatibilityMessage.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"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:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values."];value:TagValue.t[@ocaml.doc"The optional part of a key-value pair that makes up a tag. A value acts as a descriptor in a tag category (key)."]}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 metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters."]moduleAccountsCleanup=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleAppPackagesCleanup=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleAmazonResourceNames=structtypenonrect=AmazonResourceName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AmazonResourceName.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:AmazonResourceName.of_xml)letof_jsonj=list_of_json~kind:"AmazonResourceNames"~of_json:AmazonResourceName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilter=structtypenonrect=stringletcontext_="Filter"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:8192)>>=(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:"Filter"jletto_json=simple_to_jsonto_valueendmoduleTestParameters=structtypenonrect=(String_.t*String_.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((String_.of_stringchopped),(String_.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(String_.to_valuex)|>(funx->(String_.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:String_.of_string~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVPCEConfiguration=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC endpoint configuration."];vpceConfigurationName:VPCEConfigurationName.toption[@ocaml.doc"The friendly name you give to your VPC endpoint configuration to manage your configurations more easily."];vpceServiceName:VPCEServiceName.toption[@ocaml.doc"The name of the VPC endpoint service running in your AWS account that you want Device Farm to test."];serviceDnsName:ServiceDnsName.toption[@ocaml.doc"The DNS name that maps to the private IP address of the service you want to access."];vpceConfigurationDescription:VPCEConfigurationDescription.toption[@ocaml.doc"An optional description that provides details about your VPC endpoint configuration."]}letmake?arn=fun?vpceConfigurationName->fun?vpceServiceName->fun?serviceDnsName->fun?vpceConfigurationDescription->fun()->{arn;vpceConfigurationName;vpceServiceName;serviceDnsName;vpceConfigurationDescription}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("vpceConfigurationName",(Option.mapx.vpceConfigurationName~f:VPCEConfigurationName.to_value));("vpceServiceName",(Option.mapx.vpceServiceName~f:VPCEServiceName.to_value));("serviceDnsName",(Option.mapx.serviceDnsName~f:ServiceDnsName.to_value));("vpceConfigurationDescription",(Option.mapx.vpceConfigurationDescription~f:VPCEConfigurationDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfigurationDescription=(Option.map~f:VPCEConfigurationDescription.of_xml)(Xml.childxml_arg0"vpceConfigurationDescription")inletserviceDnsName=(Option.map~f:ServiceDnsName.of_xml)(Xml.childxml_arg0"serviceDnsName")inletvpceServiceName=(Option.map~f:VPCEServiceName.of_xml)(Xml.childxml_arg0"vpceServiceName")inletvpceConfigurationName=(Option.map~f:VPCEConfigurationName.of_xml)(Xml.childxml_arg0"vpceConfigurationName")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?vpceConfigurationDescription?serviceDnsName?vpceServiceName?vpceConfigurationName?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfigurationDescription=field_mapjson__"vpceConfigurationDescription"VPCEConfigurationDescription.of_jsoninletserviceDnsName=field_mapjson__"serviceDnsName"ServiceDnsName.of_jsoninletvpceServiceName=field_mapjson__"vpceServiceName"VPCEServiceName.of_jsoninletvpceConfigurationName=field_mapjson__"vpceConfigurationName"VPCEConfigurationName.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?vpceConfigurationDescription?serviceDnsName?vpceServiceName?vpceConfigurationName?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents an Amazon Virtual Private Cloud (VPC) endpoint configuration."]moduleUpload=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The upload's ARN."];name:Name.toption[@ocaml.doc"The upload's file name."];created:DateTime.toption[@ocaml.doc"When the upload was created."];type_:UploadType.toption[@ocaml.doc"The upload's type. Must be one of the following values: ANDROID_APP IOS_APP WEB_APP EXTERNAL_DATA APPIUM_JAVA_JUNIT_TEST_PACKAGE APPIUM_JAVA_TESTNG_TEST_PACKAGE APPIUM_PYTHON_TEST_PACKAGE APPIUM_NODE_TEST_PACKAGE APPIUM_RUBY_TEST_PACKAGE APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE APPIUM_WEB_PYTHON_TEST_PACKAGE APPIUM_WEB_NODE_TEST_PACKAGE APPIUM_WEB_RUBY_TEST_PACKAGE INSTRUMENTATION_TEST_PACKAGE XCTEST_TEST_PACKAGE XCTEST_UI_TEST_PACKAGE APPIUM_JAVA_JUNIT_TEST_SPEC APPIUM_JAVA_TESTNG_TEST_SPEC APPIUM_PYTHON_TEST_SPEC APPIUM_NODE_TEST_SPEC APPIUM_RUBY_TEST_SPEC APPIUM_WEB_JAVA_JUNIT_TEST_SPEC APPIUM_WEB_JAVA_TESTNG_TEST_SPEC APPIUM_WEB_PYTHON_TEST_SPEC APPIUM_WEB_NODE_TEST_SPEC APPIUM_WEB_RUBY_TEST_SPEC INSTRUMENTATION_TEST_SPEC XCTEST_UI_TEST_SPEC"];status:UploadStatus.toption[@ocaml.doc"The upload's status. Must be one of the following values: FAILED INITIALIZED PROCESSING SUCCEEDED"];url:SensitiveURL.toption[@ocaml.doc"The presigned Amazon S3 URL that was used to store a file using a PUT request."];metadata:Metadata.toption[@ocaml.doc"The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded."];contentType:ContentType.toption[@ocaml.doc"The upload's content type (for example, application/octet-stream)."];message:Message.toption[@ocaml.doc"A message about the upload's result."];category:UploadCategory.toption[@ocaml.doc"The upload's category. Allowed values include: CURATED: An upload managed by AWS Device Farm. PRIVATE: An upload managed by the AWS Device Farm customer."]}letmake?arn=fun?name->fun?created->fun?type_->fun?status->fun?url->fun?metadata->fun?contentType->fun?message->fun?category->fun()->{arn;name;created;type_;status;url;metadata;contentType;message;category}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("type",(Option.mapx.type_~f:UploadType.to_value));("status",(Option.mapx.status~f:UploadStatus.to_value));("url",(Option.mapx.url~f:SensitiveURL.to_value));("metadata",(Option.mapx.metadata~f:Metadata.to_value));("contentType",(Option.mapx.contentType~f:ContentType.to_value));("message",(Option.mapx.message~f:Message.to_value));("category",(Option.mapx.category~f:UploadCategory.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcategory=(Option.map~f:UploadCategory.of_xml)(Xml.childxml_arg0"category")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletcontentType=(Option.map~f:ContentType.of_xml)(Xml.childxml_arg0"contentType")inletmetadata=(Option.map~f:Metadata.of_xml)(Xml.childxml_arg0"metadata")inleturl=(Option.map~f:SensitiveURL.of_xml)(Xml.childxml_arg0"url")inletstatus=(Option.map~f:UploadStatus.of_xml)(Xml.childxml_arg0"status")inlettype_=(Option.map~f:UploadType.of_xml)(Xml.childxml_arg0"type")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?category?message?contentType?metadata?url?status?type_?created?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcategory=field_mapjson__"category"UploadCategory.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletcontentType=field_mapjson__"contentType"ContentType.of_jsoninletmetadata=field_mapjson__"metadata"Metadata.of_jsoninleturl=field_mapjson__"url"SensitiveURL.of_jsoninletstatus=field_mapjson__"status"UploadStatus.of_jsoninlettype_=field_mapjson__"type"UploadType.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?category?message?contentType?metadata?url?status?type_?created?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An app or a set of one or more tests to upload or that have been uploaded."]moduleUniqueProblems=structtypenonrect=UniqueProblem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UniqueProblem.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:UniqueProblem.of_xml)letof_jsonj=list_of_json~kind:"UniqueProblems"~of_json:UniqueProblem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTest=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The test's ARN."];name:Name.toption[@ocaml.doc"The test's name."];type_:TestType.toption[@ocaml.doc"The test's type. Must be one of the following values: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI"];created:DateTime.toption[@ocaml.doc"When the test was created."];status:ExecutionStatus.toption[@ocaml.doc"The test's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING"];result:ExecutionResult.toption[@ocaml.doc"The test's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];started:DateTime.toption[@ocaml.doc"The test's start time."];stopped:DateTime.toption[@ocaml.doc"The test's stop time."];counters:Counters.toption[@ocaml.doc"The test's result counters."];message:Message.toption[@ocaml.doc"A message about the test's result."];deviceMinutes:DeviceMinutes.toption[@ocaml.doc"Represents the total (metered or unmetered) minutes used by the test."]}letmake?arn=fun?name->fun?type_->fun?created->fun?status->fun?result->fun?started->fun?stopped->fun?counters->fun?message->fun?deviceMinutes->fun()->{arn;name;type_;created;status;result;started;stopped;counters;message;deviceMinutes}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("type",(Option.mapx.type_~f:TestType.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("status",(Option.mapx.status~f:ExecutionStatus.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("stopped",(Option.mapx.stopped~f:DateTime.to_value));("counters",(Option.mapx.counters~f:Counters.to_value));("message",(Option.mapx.message~f:Message.to_value));("deviceMinutes",(Option.mapx.deviceMinutes~f:DeviceMinutes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceMinutes=(Option.map~f:DeviceMinutes.of_xml)(Xml.childxml_arg0"deviceMinutes")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletcounters=(Option.map~f:Counters.of_xml)(Xml.childxml_arg0"counters")inletstopped=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"stopped")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletstatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"status")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inlettype_=(Option.map~f:TestType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?deviceMinutes?message?counters?stopped?started?result?status?created?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceMinutes=field_mapjson__"deviceMinutes"DeviceMinutes.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletcounters=field_mapjson__"counters"Counters.of_jsoninletstopped=field_mapjson__"stopped"DateTime.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletstatus=field_mapjson__"status"ExecutionStatus.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninlettype_=field_mapjson__"type"TestType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?deviceMinutes?message?counters?stopped?started?result?status?created?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a condition that is evaluated."]moduleTestGridSession=structtypenonrect={arn:DeviceFarmArn.toption[@ocaml.doc"The ARN of the session."];status:TestGridSessionStatus.toption[@ocaml.doc"The state of the session."];created:DateTime.toption[@ocaml.doc"The time that the session was started."];ended:DateTime.toption[@ocaml.doc"The time the session ended."];billingMinutes:Double.toption[@ocaml.doc"The number of billed minutes that were used for this session."];seleniumProperties:String_.toption[@ocaml.doc"A JSON object of options and parameters passed to the Selenium WebDriver."]}letmake?arn=fun?status->fun?created->fun?ended->fun?billingMinutes->fun?seleniumProperties->fun()->{arn;status;created;ended;billingMinutes;seleniumProperties}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:DeviceFarmArn.to_value));("status",(Option.mapx.status~f:TestGridSessionStatus.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("ended",(Option.mapx.ended~f:DateTime.to_value));("billingMinutes",(Option.mapx.billingMinutes~f:Double.to_value));("seleniumProperties",(Option.mapx.seleniumProperties~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letseleniumProperties=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"seleniumProperties")inletbillingMinutes=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"billingMinutes")inletended=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"ended")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletstatus=(Option.map~f:TestGridSessionStatus.of_xml)(Xml.childxml_arg0"status")inletarn=(Option.map~f:DeviceFarmArn.of_xml)(Xml.childxml_arg0"arn")inmake?seleniumProperties?billingMinutes?ended?created?status?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letseleniumProperties=field_mapjson__"seleniumProperties"String_.of_jsoninletbillingMinutes=field_mapjson__"billingMinutes"Double.of_jsoninletended=field_mapjson__"ended"DateTime.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninletstatus=field_mapjson__"status"TestGridSessionStatus.of_jsoninletarn=field_mapjson__"arn"DeviceFarmArn.of_jsoninmake?seleniumProperties?billingMinutes?ended?created?status?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A TestGridSession is a single instance of a browser launched from the URL provided by a call to CreateTestGridUrl."]moduleTestGridSessionArtifact=structtypenonrect={filename:String_.toption[@ocaml.doc"The file name of the artifact."];type_:TestGridSessionArtifactType.toption[@ocaml.doc"The kind of artifact."];url:SensitiveString.toption[@ocaml.doc"A semi-stable URL to the content of the object."]}letmake?filename=fun?type_->fun?url->fun()->{filename;type_;url}letto_valuex=structure_to_value[("filename",(Option.mapx.filename~f:String_.to_value));("type",(Option.mapx.type_~f:TestGridSessionArtifactType.to_value));("url",(Option.mapx.url~f:SensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leturl=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"url")inlettype_=(Option.map~f:TestGridSessionArtifactType.of_xml)(Xml.childxml_arg0"type")inletfilename=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"filename")inmake?url?type_?filename()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leturl=field_mapjson__"url"SensitiveString.of_jsoninlettype_=field_mapjson__"type"TestGridSessionArtifactType.of_jsoninletfilename=field_mapjson__"filename"String_.of_jsoninmake?url?type_?filename()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Artifacts are video and other files that are produced in the process of running a browser in an automated context. Video elements might be broken up into multiple artifacts as they grow in size during creation."]moduleTestGridSessionAction=structtypenonrect={action:String_.toption[@ocaml.doc"The action taken by the session."];started:DateTime.toption[@ocaml.doc"The time that the session invoked the action."];duration:Long.toption[@ocaml.doc"The time, in milliseconds, that the action took to complete in the browser."];statusCode:String_.toption[@ocaml.doc"HTTP status code returned to the browser when the action was taken."];requestMethod:String_.toption[@ocaml.doc"HTTP method that the browser used to make the request."]}letmake?action=fun?started->fun?duration->fun?statusCode->fun?requestMethod->fun()->{action;started;duration;statusCode;requestMethod}letto_valuex=structure_to_value[("action",(Option.mapx.action~f:String_.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("duration",(Option.mapx.duration~f:Long.to_value));("statusCode",(Option.mapx.statusCode~f:String_.to_value));("requestMethod",(Option.mapx.requestMethod~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestMethod=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"requestMethod")inletstatusCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusCode")inletduration=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"duration")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletaction=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"action")inmake?requestMethod?statusCode?duration?started?action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestMethod=field_mapjson__"requestMethod"String_.of_jsoninletstatusCode=field_mapjson__"statusCode"String_.of_jsoninletduration=field_mapjson__"duration"Long.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletaction=field_mapjson__"action"String_.of_jsoninmake?requestMethod?statusCode?duration?started?action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An action taken by a TestGridSession browser instance."]moduleTestGridProject=structtypenonrect={arn:DeviceFarmArn.toption[@ocaml.doc"The ARN for the project."];name:String_.toption[@ocaml.doc"A human-readable name for the project."];description:String_.toption[@ocaml.doc"A human-readable description for the project."];vpcConfig:TestGridVpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];created:DateTime.toption[@ocaml.doc"When the project was created."]}letmake?arn=fun?name->fun?description->fun?vpcConfig->fun?created->fun()->{arn;name;description;vpcConfig;created}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:DeviceFarmArn.to_value));("name",(Option.mapx.name~f:String_.to_value));("description",(Option.mapx.description~f:String_.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:TestGridVpcConfig.to_value));("created",(Option.mapx.created~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletvpcConfig=(Option.map~f:TestGridVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:DeviceFarmArn.of_xml)(Xml.childxml_arg0"arn")inmake?created?vpcConfig?description?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreated=field_mapjson__"created"DateTime.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"TestGridVpcConfig.of_jsoninletdescription=field_mapjson__"description"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninletarn=field_mapjson__"arn"DeviceFarmArn.of_jsoninmake?created?vpcConfig?description?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A Selenium testing project. Projects are used to collect and collate sessions."]moduleSuite=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The suite's ARN."];name:Name.toption[@ocaml.doc"The suite's name."];type_:TestType.toption[@ocaml.doc"The suite's type. Must be one of the following values: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI"];created:DateTime.toption[@ocaml.doc"When the suite was created."];status:ExecutionStatus.toption[@ocaml.doc"The suite's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING"];result:ExecutionResult.toption[@ocaml.doc"The suite's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];started:DateTime.toption[@ocaml.doc"The suite's start time."];stopped:DateTime.toption[@ocaml.doc"The suite's stop time."];counters:Counters.toption[@ocaml.doc"The suite's result counters."];message:Message.toption[@ocaml.doc"A message about the suite's result."];deviceMinutes:DeviceMinutes.toption[@ocaml.doc"Represents the total (metered or unmetered) minutes used by the test suite."]}letmake?arn=fun?name->fun?type_->fun?created->fun?status->fun?result->fun?started->fun?stopped->fun?counters->fun?message->fun?deviceMinutes->fun()->{arn;name;type_;created;status;result;started;stopped;counters;message;deviceMinutes}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("type",(Option.mapx.type_~f:TestType.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("status",(Option.mapx.status~f:ExecutionStatus.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("stopped",(Option.mapx.stopped~f:DateTime.to_value));("counters",(Option.mapx.counters~f:Counters.to_value));("message",(Option.mapx.message~f:Message.to_value));("deviceMinutes",(Option.mapx.deviceMinutes~f:DeviceMinutes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceMinutes=(Option.map~f:DeviceMinutes.of_xml)(Xml.childxml_arg0"deviceMinutes")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletcounters=(Option.map~f:Counters.of_xml)(Xml.childxml_arg0"counters")inletstopped=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"stopped")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletstatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"status")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inlettype_=(Option.map~f:TestType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?deviceMinutes?message?counters?stopped?started?result?status?created?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceMinutes=field_mapjson__"deviceMinutes"DeviceMinutes.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletcounters=field_mapjson__"counters"Counters.of_jsoninletstopped=field_mapjson__"stopped"DateTime.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletstatus=field_mapjson__"status"ExecutionStatus.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninlettype_=field_mapjson__"type"TestType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?deviceMinutes?message?counters?stopped?started?result?status?created?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a collection of one or more tests."]moduleSample=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The sample's ARN."];type_:SampleType.toption[@ocaml.doc"The sample's type. Must be one of the following values: CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage. MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes. NATIVE_AVG_DRAWTIME NATIVE_FPS NATIVE_FRAMES NATIVE_MAX_DRAWTIME NATIVE_MIN_DRAWTIME OPENGL_AVG_DRAWTIME OPENGL_FPS OPENGL_FRAMES OPENGL_MAX_DRAWTIME OPENGL_MIN_DRAWTIME RX RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process. THREADS: A threads sample type. This is expressed as the total number of threads per app process. TX TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process."];url:URL.toption[@ocaml.doc"The presigned Amazon S3 URL that can be used with a GET request to download the sample's file."]}letmake?arn=fun?type_->fun?url->fun()->{arn;type_;url}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("type",(Option.mapx.type_~f:SampleType.to_value));("url",(Option.mapx.url~f:URL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leturl=(Option.map~f:URL.of_xml)(Xml.childxml_arg0"url")inlettype_=(Option.map~f:SampleType.of_xml)(Xml.childxml_arg0"type")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?url?type_?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leturl=field_mapjson__"url"URL.of_jsoninlettype_=field_mapjson__"type"SampleType.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?url?type_?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a sample of performance data."]moduleRun=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The run's ARN."];name:Name.toption[@ocaml.doc"The run's name."];type_:TestType.toption[@ocaml.doc"The run's type. Must be one of the following values: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI"];platform:DevicePlatform.toption[@ocaml.doc"The run's platform. Allowed values include: ANDROID IOS"];created:DateTime.toption[@ocaml.doc"When the run was created."];status:ExecutionStatus.toption[@ocaml.doc"The run's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING"];result:ExecutionResult.toption[@ocaml.doc"The run's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];started:DateTime.toption[@ocaml.doc"The run's start time."];stopped:DateTime.toption[@ocaml.doc"The run's stop time."];counters:Counters.toption[@ocaml.doc"The run's result counters."];message:Message.toption[@ocaml.doc"A message about the run's result."];totalJobs:Integer.toption[@ocaml.doc"The total number of jobs for the run."];completedJobs:Integer.toption[@ocaml.doc"The total number of completed jobs."];billingMethod:BillingMethod.toption[@ocaml.doc"Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered. If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run is counted toward metered device minutes."];deviceMinutes:DeviceMinutes.toption[@ocaml.doc"Represents the total (metered or unmetered) minutes used by the test run."];networkProfile:NetworkProfile.toption[@ocaml.doc"The network profile being used for a test run."];deviceProxy:DeviceProxy.toption[@ocaml.doc"The device proxy configured for the devices in the run."];parsingResultUrl:String_.toption[@ocaml.doc"Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to."];resultCode:ExecutionResultCode.toption[@ocaml.doc"Supporting field for the result field. Set only if result is SKIPPED. PARSING_FAILED if the result is skipped because of test package parsing failure."];seed:Integer.toption[@ocaml.doc"For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences."];appUpload:AmazonResourceName.toption[@ocaml.doc"An app to upload or that has been uploaded."];eventCount:Integer.toption[@ocaml.doc"For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform."];jobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The number of minutes the job executes before it times out."];devicePoolArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the device pool for the run."];locale:String_.toption[@ocaml.doc"Information about the locale that is used for the run."];radios:Radios.toption[@ocaml.doc"Information about the radio states for the run."];location:Location.toption[@ocaml.doc"Information about the location that is used for the run."];customerArtifactPaths:CustomerArtifactPaths.toption[@ocaml.doc"Output CustomerArtifactPaths object for the test run."];webUrl:String_.toption[@ocaml.doc"The Device Farm console URL for the recording of the run."];skipAppResign:SkipAppResign.toption[@ocaml.doc"When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again. For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs."];testSpecArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the YAML-formatted test specification for the run."];deviceSelectionResult:DeviceSelectionResult.toption[@ocaml.doc"The results of a device filter used to select the devices for a test run."];vpcConfig:VpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];executionRoleArn:AmazonRoleResourceName.toption[@ocaml.doc"The IAM role associated with the run."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"Environment variables associated with the run."]}letmake?arn=fun?name->fun?type_->fun?platform->fun?created->fun?status->fun?result->fun?started->fun?stopped->fun?counters->fun?message->fun?totalJobs->fun?completedJobs->fun?billingMethod->fun?deviceMinutes->fun?networkProfile->fun?deviceProxy->fun?parsingResultUrl->fun?resultCode->fun?seed->fun?appUpload->fun?eventCount->fun?jobTimeoutMinutes->fun?devicePoolArn->fun?locale->fun?radios->fun?location->fun?customerArtifactPaths->fun?webUrl->fun?skipAppResign->fun?testSpecArn->fun?deviceSelectionResult->fun?vpcConfig->fun?executionRoleArn->fun?environmentVariables->fun()->{arn;name;type_;platform;created;status;result;started;stopped;counters;message;totalJobs;completedJobs;billingMethod;deviceMinutes;networkProfile;deviceProxy;parsingResultUrl;resultCode;seed;appUpload;eventCount;jobTimeoutMinutes;devicePoolArn;locale;radios;location;customerArtifactPaths;webUrl;skipAppResign;testSpecArn;deviceSelectionResult;vpcConfig;executionRoleArn;environmentVariables}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("type",(Option.mapx.type_~f:TestType.to_value));("platform",(Option.mapx.platform~f:DevicePlatform.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("status",(Option.mapx.status~f:ExecutionStatus.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("stopped",(Option.mapx.stopped~f:DateTime.to_value));("counters",(Option.mapx.counters~f:Counters.to_value));("message",(Option.mapx.message~f:Message.to_value));("totalJobs",(Option.mapx.totalJobs~f:Integer.to_value));("completedJobs",(Option.mapx.completedJobs~f:Integer.to_value));("billingMethod",(Option.mapx.billingMethod~f:BillingMethod.to_value));("deviceMinutes",(Option.mapx.deviceMinutes~f:DeviceMinutes.to_value));("networkProfile",(Option.mapx.networkProfile~f:NetworkProfile.to_value));("deviceProxy",(Option.mapx.deviceProxy~f:DeviceProxy.to_value));("parsingResultUrl",(Option.mapx.parsingResultUrl~f:String_.to_value));("resultCode",(Option.mapx.resultCode~f:ExecutionResultCode.to_value));("seed",(Option.mapx.seed~f:Integer.to_value));("appUpload",(Option.mapx.appUpload~f:AmazonResourceName.to_value));("eventCount",(Option.mapx.eventCount~f:Integer.to_value));("jobTimeoutMinutes",(Option.mapx.jobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("devicePoolArn",(Option.mapx.devicePoolArn~f:AmazonResourceName.to_value));("locale",(Option.mapx.locale~f:String_.to_value));("radios",(Option.mapx.radios~f:Radios.to_value));("location",(Option.mapx.location~f:Location.to_value));("customerArtifactPaths",(Option.mapx.customerArtifactPaths~f:CustomerArtifactPaths.to_value));("webUrl",(Option.mapx.webUrl~f:String_.to_value));("skipAppResign",(Option.mapx.skipAppResign~f:SkipAppResign.to_value));("testSpecArn",(Option.mapx.testSpecArn~f:AmazonResourceName.to_value));("deviceSelectionResult",(Option.mapx.deviceSelectionResult~f:DeviceSelectionResult.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("executionRoleArn",(Option.mapx.executionRoleArn~f:AmazonRoleResourceName.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletexecutionRoleArn=(Option.map~f:AmazonRoleResourceName.of_xml)(Xml.childxml_arg0"executionRoleArn")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdeviceSelectionResult=(Option.map~f:DeviceSelectionResult.of_xml)(Xml.childxml_arg0"deviceSelectionResult")inlettestSpecArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"testSpecArn")inletskipAppResign=(Option.map~f:SkipAppResign.of_xml)(Xml.childxml_arg0"skipAppResign")inletwebUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"webUrl")inletcustomerArtifactPaths=(Option.map~f:CustomerArtifactPaths.of_xml)(Xml.childxml_arg0"customerArtifactPaths")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletradios=(Option.map~f:Radios.of_xml)(Xml.childxml_arg0"radios")inletlocale=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"locale")inletdevicePoolArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"devicePoolArn")inletjobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"jobTimeoutMinutes")inleteventCount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"eventCount")inletappUpload=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"appUpload")inletseed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"seed")inletresultCode=(Option.map~f:ExecutionResultCode.of_xml)(Xml.childxml_arg0"resultCode")inletparsingResultUrl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"parsingResultUrl")inletdeviceProxy=(Option.map~f:DeviceProxy.of_xml)(Xml.childxml_arg0"deviceProxy")inletnetworkProfile=(Option.map~f:NetworkProfile.of_xml)(Xml.childxml_arg0"networkProfile")inletdeviceMinutes=(Option.map~f:DeviceMinutes.of_xml)(Xml.childxml_arg0"deviceMinutes")inletbillingMethod=(Option.map~f:BillingMethod.of_xml)(Xml.childxml_arg0"billingMethod")inletcompletedJobs=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"completedJobs")inlettotalJobs=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"totalJobs")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletcounters=(Option.map~f:Counters.of_xml)(Xml.childxml_arg0"counters")inletstopped=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"stopped")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletstatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"status")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletplatform=(Option.map~f:DevicePlatform.of_xml)(Xml.childxml_arg0"platform")inlettype_=(Option.map~f:TestType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?environmentVariables?executionRoleArn?vpcConfig?deviceSelectionResult?testSpecArn?skipAppResign?webUrl?customerArtifactPaths?location?radios?locale?devicePoolArn?jobTimeoutMinutes?eventCount?appUpload?seed?resultCode?parsingResultUrl?deviceProxy?networkProfile?deviceMinutes?billingMethod?completedJobs?totalJobs?message?counters?stopped?started?result?status?created?platform?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletexecutionRoleArn=field_mapjson__"executionRoleArn"AmazonRoleResourceName.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletdeviceSelectionResult=field_mapjson__"deviceSelectionResult"DeviceSelectionResult.of_jsoninlettestSpecArn=field_mapjson__"testSpecArn"AmazonResourceName.of_jsoninletskipAppResign=field_mapjson__"skipAppResign"SkipAppResign.of_jsoninletwebUrl=field_mapjson__"webUrl"String_.of_jsoninletcustomerArtifactPaths=field_mapjson__"customerArtifactPaths"CustomerArtifactPaths.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletradios=field_mapjson__"radios"Radios.of_jsoninletlocale=field_mapjson__"locale"String_.of_jsoninletdevicePoolArn=field_mapjson__"devicePoolArn"AmazonResourceName.of_jsoninletjobTimeoutMinutes=field_mapjson__"jobTimeoutMinutes"JobTimeoutMinutes.of_jsoninleteventCount=field_mapjson__"eventCount"Integer.of_jsoninletappUpload=field_mapjson__"appUpload"AmazonResourceName.of_jsoninletseed=field_mapjson__"seed"Integer.of_jsoninletresultCode=field_mapjson__"resultCode"ExecutionResultCode.of_jsoninletparsingResultUrl=field_mapjson__"parsingResultUrl"String_.of_jsoninletdeviceProxy=field_mapjson__"deviceProxy"DeviceProxy.of_jsoninletnetworkProfile=field_mapjson__"networkProfile"NetworkProfile.of_jsoninletdeviceMinutes=field_mapjson__"deviceMinutes"DeviceMinutes.of_jsoninletbillingMethod=field_mapjson__"billingMethod"BillingMethod.of_jsoninletcompletedJobs=field_mapjson__"completedJobs"Integer.of_jsoninlettotalJobs=field_mapjson__"totalJobs"Integer.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletcounters=field_mapjson__"counters"Counters.of_jsoninletstopped=field_mapjson__"stopped"DateTime.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletstatus=field_mapjson__"status"ExecutionStatus.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninletplatform=field_mapjson__"platform"DevicePlatform.of_jsoninlettype_=field_mapjson__"type"TestType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?environmentVariables?executionRoleArn?vpcConfig?deviceSelectionResult?testSpecArn?skipAppResign?webUrl?customerArtifactPaths?location?radios?locale?devicePoolArn?jobTimeoutMinutes?eventCount?appUpload?seed?resultCode?parsingResultUrl?deviceProxy?networkProfile?deviceMinutes?billingMethod?completedJobs?totalJobs?message?counters?stopped?started?result?status?created?platform?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a test run on a set of devices with a given app package, test parameters, and so on."]moduleRemoteAccessSession=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the remote access session."];name:Name.toption[@ocaml.doc"The name of the remote access session."];created:DateTime.toption[@ocaml.doc"The date and time the remote access session was created."];status:ExecutionStatus.toption[@ocaml.doc"The status of the remote access session. Can be any of the following: PENDING. PENDING_CONCURRENCY. PENDING_DEVICE. PROCESSING. SCHEDULING. PREPARING. RUNNING. COMPLETED. STOPPING."];result:ExecutionResult.toption[@ocaml.doc"The result of the remote access session. Can be any of the following: PENDING. PASSED. WARNED. FAILED. SKIPPED. ERRORED. STOPPED."];message:Message.toption[@ocaml.doc"A message about the remote access session."];started:DateTime.toption[@ocaml.doc"The date and time the remote access session was started."];stopped:DateTime.toption[@ocaml.doc"The date and time the remote access session was stopped."];device:Device.toption[@ocaml.doc"The device (phone or tablet) used in the remote access session."];instanceArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the instance."];billingMethod:BillingMethod.toption[@ocaml.doc"The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology."];deviceMinutes:DeviceMinutes.toption[@ocaml.doc"The number of minutes a device is used in a remote access session (including setup and teardown minutes)."];endpoint:String_.toption[@ocaml.doc"The endpoint for the remote access session. This field is deprecated, and is replaced by the new endpoints.interactiveEndpoint field."];deviceUdid:String_.toption[@ocaml.doc"Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session. Remote debugging is no longer supported."];interactionMode:InteractionMode.toption[@ocaml.doc"The interaction mode of the remote access session. Changing the interactive mode of remote access sessions is no longer available."];skipAppResign:SkipAppResign.toption[@ocaml.doc"When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again. For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs."];vpcConfig:VpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];deviceProxy:DeviceProxy.toption[@ocaml.doc"The device proxy configured for the remote access session."];appUpload:AmazonResourceName.toption[@ocaml.doc"The ARN for the app to be installed onto your device."];endpoints:RemoteAccessEndpoints.toption}letmake?arn=fun?name->fun?created->fun?status->fun?result->fun?message->fun?started->fun?stopped->fun?device->fun?instanceArn->fun?billingMethod->fun?deviceMinutes->fun?endpoint->fun?deviceUdid->fun?interactionMode->fun?skipAppResign->fun?vpcConfig->fun?deviceProxy->fun?appUpload->fun?endpoints->fun()->{arn;name;created;status;result;message;started;stopped;device;instanceArn;billingMethod;deviceMinutes;endpoint;deviceUdid;interactionMode;skipAppResign;vpcConfig;deviceProxy;appUpload;endpoints}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("status",(Option.mapx.status~f:ExecutionStatus.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("message",(Option.mapx.message~f:Message.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("stopped",(Option.mapx.stopped~f:DateTime.to_value));("device",(Option.mapx.device~f:Device.to_value));("instanceArn",(Option.mapx.instanceArn~f:AmazonResourceName.to_value));("billingMethod",(Option.mapx.billingMethod~f:BillingMethod.to_value));("deviceMinutes",(Option.mapx.deviceMinutes~f:DeviceMinutes.to_value));("endpoint",(Option.mapx.endpoint~f:String_.to_value));("deviceUdid",(Option.mapx.deviceUdid~f:String_.to_value));("interactionMode",(Option.mapx.interactionMode~f:InteractionMode.to_value));("skipAppResign",(Option.mapx.skipAppResign~f:SkipAppResign.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("deviceProxy",(Option.mapx.deviceProxy~f:DeviceProxy.to_value));("appUpload",(Option.mapx.appUpload~f:AmazonResourceName.to_value));("endpoints",(Option.mapx.endpoints~f:RemoteAccessEndpoints.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpoints=(Option.map~f:RemoteAccessEndpoints.of_xml)(Xml.childxml_arg0"endpoints")inletappUpload=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"appUpload")inletdeviceProxy=(Option.map~f:DeviceProxy.of_xml)(Xml.childxml_arg0"deviceProxy")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletskipAppResign=(Option.map~f:SkipAppResign.of_xml)(Xml.childxml_arg0"skipAppResign")inletinteractionMode=(Option.map~f:InteractionMode.of_xml)(Xml.childxml_arg0"interactionMode")inletdeviceUdid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"deviceUdid")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"endpoint")inletdeviceMinutes=(Option.map~f:DeviceMinutes.of_xml)(Xml.childxml_arg0"deviceMinutes")inletbillingMethod=(Option.map~f:BillingMethod.of_xml)(Xml.childxml_arg0"billingMethod")inletinstanceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"instanceArn")inletdevice=(Option.map~f:Device.of_xml)(Xml.childxml_arg0"device")inletstopped=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"stopped")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletstatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"status")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?endpoints?appUpload?deviceProxy?vpcConfig?skipAppResign?interactionMode?deviceUdid?endpoint?deviceMinutes?billingMethod?instanceArn?device?stopped?started?message?result?status?created?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpoints=field_mapjson__"endpoints"RemoteAccessEndpoints.of_jsoninletappUpload=field_mapjson__"appUpload"AmazonResourceName.of_jsoninletdeviceProxy=field_mapjson__"deviceProxy"DeviceProxy.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletskipAppResign=field_mapjson__"skipAppResign"SkipAppResign.of_jsoninletinteractionMode=field_mapjson__"interactionMode"InteractionMode.of_jsoninletdeviceUdid=field_mapjson__"deviceUdid"String_.of_jsoninletendpoint=field_mapjson__"endpoint"String_.of_jsoninletdeviceMinutes=field_mapjson__"deviceMinutes"DeviceMinutes.of_jsoninletbillingMethod=field_mapjson__"billingMethod"BillingMethod.of_jsoninletinstanceArn=field_mapjson__"instanceArn"AmazonResourceName.of_jsoninletdevice=field_mapjson__"device"Device.of_jsoninletstopped=field_mapjson__"stopped"DateTime.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletstatus=field_mapjson__"status"ExecutionStatus.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?endpoints?appUpload?deviceProxy?vpcConfig?skipAppResign?interactionMode?deviceUdid?endpoint?deviceMinutes?billingMethod?instanceArn?device?stopped?started?message?result?status?created?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents information about the remote access session."]moduleProject=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The project's ARN."];name:Name.toption[@ocaml.doc"The project's name."];defaultJobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The default number of minutes (at the project level) a test run executes before it times out. The default value is 150 minutes."];created:DateTime.toption[@ocaml.doc"When the project was created."];vpcConfig:VpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"Environment variables associated with the project."];executionRoleArn:AmazonRoleResourceName.toption[@ocaml.doc"The IAM execution role associated with the project."]}letmake?arn=fun?name->fun?defaultJobTimeoutMinutes->fun?created->fun?vpcConfig->fun?environmentVariables->fun?executionRoleArn->fun()->{arn;name;defaultJobTimeoutMinutes;created;vpcConfig;environmentVariables;executionRoleArn}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("defaultJobTimeoutMinutes",(Option.mapx.defaultJobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value));("executionRoleArn",(Option.mapx.executionRoleArn~f:AmazonRoleResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexecutionRoleArn=(Option.map~f:AmazonRoleResourceName.of_xml)(Xml.childxml_arg0"executionRoleArn")inletenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inletdefaultJobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"defaultJobTimeoutMinutes")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?executionRoleArn?environmentVariables?vpcConfig?created?defaultJobTimeoutMinutes?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexecutionRoleArn=field_mapjson__"executionRoleArn"AmazonRoleResourceName.of_jsoninletenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninletdefaultJobTimeoutMinutes=field_mapjson__"defaultJobTimeoutMinutes"JobTimeoutMinutes.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?executionRoleArn?environmentVariables?vpcConfig?created?defaultJobTimeoutMinutes?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents an operating-system neutral workspace for running and managing tests."]moduleOfferingTransaction=structtypenonrect={offeringStatus:OfferingStatus.toption[@ocaml.doc"The status of an offering transaction."];transactionId:TransactionIdentifier.toption[@ocaml.doc"The transaction ID of the offering transaction."];offeringPromotionId:OfferingPromotionIdentifier.toption[@ocaml.doc"The ID that corresponds to a device offering promotion."];createdOn:DateTime.toption[@ocaml.doc"The date on which an offering transaction was created."];cost:MonetaryAmount.toption[@ocaml.doc"The cost of an offering transaction."]}letmake?offeringStatus=fun?transactionId->fun?offeringPromotionId->fun?createdOn->fun?cost->fun()->{offeringStatus;transactionId;offeringPromotionId;createdOn;cost}letto_valuex=structure_to_value[("offeringStatus",(Option.mapx.offeringStatus~f:OfferingStatus.to_value));("transactionId",(Option.mapx.transactionId~f:TransactionIdentifier.to_value));("offeringPromotionId",(Option.mapx.offeringPromotionId~f:OfferingPromotionIdentifier.to_value));("createdOn",(Option.mapx.createdOn~f:DateTime.to_value));("cost",(Option.mapx.cost~f:MonetaryAmount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcost=(Option.map~f:MonetaryAmount.of_xml)(Xml.childxml_arg0"cost")inletcreatedOn=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"createdOn")inletofferingPromotionId=(Option.map~f:OfferingPromotionIdentifier.of_xml)(Xml.childxml_arg0"offeringPromotionId")inlettransactionId=(Option.map~f:TransactionIdentifier.of_xml)(Xml.childxml_arg0"transactionId")inletofferingStatus=(Option.map~f:OfferingStatus.of_xml)(Xml.childxml_arg0"offeringStatus")inmake?cost?createdOn?offeringPromotionId?transactionId?offeringStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcost=field_mapjson__"cost"MonetaryAmount.of_jsoninletcreatedOn=field_mapjson__"createdOn"DateTime.of_jsoninletofferingPromotionId=field_mapjson__"offeringPromotionId"OfferingPromotionIdentifier.of_jsoninlettransactionId=field_mapjson__"transactionId"TransactionIdentifier.of_jsoninletofferingStatus=field_mapjson__"offeringStatus"OfferingStatus.of_jsoninmake?cost?createdOn?offeringPromotionId?transactionId?offeringStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the metadata of an offering transaction."]moduleOfferingPromotion=structtypenonrect={id:OfferingPromotionIdentifier.toption[@ocaml.doc"The ID of the offering promotion."];description:Message.toption[@ocaml.doc"A string that describes the offering promotion."]}letmake?id=fun?description->fun()->{id;description}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:OfferingPromotionIdentifier.to_value));("description",(Option.mapx.description~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletid=(Option.map~f:OfferingPromotionIdentifier.of_xml)(Xml.childxml_arg0"id")inmake?description?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"description"Message.of_jsoninletid=field_mapjson__"id"OfferingPromotionIdentifier.of_jsoninmake?description?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents information about an offering promotion."]moduleJob=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The job's ARN."];name:Name.toption[@ocaml.doc"The job's name."];type_:TestType.toption[@ocaml.doc"The job's type. Allowed values include the following: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI"];created:DateTime.toption[@ocaml.doc"When the job was created."];status:ExecutionStatus.toption[@ocaml.doc"The job's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING"];result:ExecutionResult.toption[@ocaml.doc"The job's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];started:DateTime.toption[@ocaml.doc"The job's start time."];stopped:DateTime.toption[@ocaml.doc"The job's stop time."];counters:Counters.toption[@ocaml.doc"The job's result counters."];message:Message.toption[@ocaml.doc"A message about the job's result."];device:Device.toption[@ocaml.doc"The device (phone or tablet)."];instanceArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the instance."];deviceMinutes:DeviceMinutes.toption[@ocaml.doc"Represents the total (metered or unmetered) minutes used by the job."];videoEndpoint:String_.toption[@ocaml.doc"The endpoint for streaming device video."];videoCapture:VideoCapture.toption[@ocaml.doc"This value is set to true if video capture is enabled. Otherwise, it is set to false."]}letmake?arn=fun?name->fun?type_->fun?created->fun?status->fun?result->fun?started->fun?stopped->fun?counters->fun?message->fun?device->fun?instanceArn->fun?deviceMinutes->fun?videoEndpoint->fun?videoCapture->fun()->{arn;name;type_;created;status;result;started;stopped;counters;message;device;instanceArn;deviceMinutes;videoEndpoint;videoCapture}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("type",(Option.mapx.type_~f:TestType.to_value));("created",(Option.mapx.created~f:DateTime.to_value));("status",(Option.mapx.status~f:ExecutionStatus.to_value));("result",(Option.mapx.result~f:ExecutionResult.to_value));("started",(Option.mapx.started~f:DateTime.to_value));("stopped",(Option.mapx.stopped~f:DateTime.to_value));("counters",(Option.mapx.counters~f:Counters.to_value));("message",(Option.mapx.message~f:Message.to_value));("device",(Option.mapx.device~f:Device.to_value));("instanceArn",(Option.mapx.instanceArn~f:AmazonResourceName.to_value));("deviceMinutes",(Option.mapx.deviceMinutes~f:DeviceMinutes.to_value));("videoEndpoint",(Option.mapx.videoEndpoint~f:String_.to_value));("videoCapture",(Option.mapx.videoCapture~f:VideoCapture.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvideoCapture=(Option.map~f:VideoCapture.of_xml)(Xml.childxml_arg0"videoCapture")inletvideoEndpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"videoEndpoint")inletdeviceMinutes=(Option.map~f:DeviceMinutes.of_xml)(Xml.childxml_arg0"deviceMinutes")inletinstanceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"instanceArn")inletdevice=(Option.map~f:Device.of_xml)(Xml.childxml_arg0"device")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inletcounters=(Option.map~f:Counters.of_xml)(Xml.childxml_arg0"counters")inletstopped=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"stopped")inletstarted=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"started")inletresult=(Option.map~f:ExecutionResult.of_xml)(Xml.childxml_arg0"result")inletstatus=(Option.map~f:ExecutionStatus.of_xml)(Xml.childxml_arg0"status")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"created")inlettype_=(Option.map~f:TestType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?videoCapture?videoEndpoint?deviceMinutes?instanceArn?device?message?counters?stopped?started?result?status?created?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvideoCapture=field_mapjson__"videoCapture"VideoCapture.of_jsoninletvideoEndpoint=field_mapjson__"videoEndpoint"String_.of_jsoninletdeviceMinutes=field_mapjson__"deviceMinutes"DeviceMinutes.of_jsoninletinstanceArn=field_mapjson__"instanceArn"AmazonResourceName.of_jsoninletdevice=field_mapjson__"device"Device.of_jsoninletmessage=field_mapjson__"message"Message.of_jsoninletcounters=field_mapjson__"counters"Counters.of_jsoninletstopped=field_mapjson__"stopped"DateTime.of_jsoninletstarted=field_mapjson__"started"DateTime.of_jsoninletresult=field_mapjson__"result"ExecutionResult.of_jsoninletstatus=field_mapjson__"status"ExecutionStatus.of_jsoninletcreated=field_mapjson__"created"DateTime.of_jsoninlettype_=field_mapjson__"type"TestType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?videoCapture?videoEndpoint?deviceMinutes?instanceArn?device?message?counters?stopped?started?result?status?created?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a device."]moduleDevicePool=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The device pool's ARN."];name:Name.toption[@ocaml.doc"The device pool's name."];description:Message.toption[@ocaml.doc"The device pool's description."];type_:DevicePoolType.toption[@ocaml.doc"The device pool's type. Allowed values include: CURATED: A device pool that is created and managed by AWS Device Farm. PRIVATE: A device pool that is created and managed by the device pool developer."];rules:Rules.toption[@ocaml.doc"Information about the device pool's rules."];maxDevices:Integer.toption[@ocaml.doc"The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter. By specifying the maximum number of devices, you can control the costs that you incur by running tests."]}letmake?arn=fun?name->fun?description->fun?type_->fun?rules->fun?maxDevices->fun()->{arn;name;description;type_;rules;maxDevices}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value));("type",(Option.mapx.type_~f:DevicePoolType.to_value));("rules",(Option.mapx.rules~f:Rules.to_value));("maxDevices",(Option.mapx.maxDevices~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDevices=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxDevices")inletrules=(Option.map~f:Rules.of_xml)(Xml.childxml_arg0"rules")inlettype_=(Option.map~f:DevicePoolType.of_xml)(Xml.childxml_arg0"type")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?maxDevices?rules?type_?description?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDevices=field_mapjson__"maxDevices"Integer.of_jsoninletrules=field_mapjson__"rules"Rules.of_jsoninlettype_=field_mapjson__"type"DevicePoolType.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?maxDevices?rules?type_?description?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a collection of device types."]moduleArtifact=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The artifact's ARN."];name:Name.toption[@ocaml.doc"The artifact's name."];type_:ArtifactType.toption[@ocaml.doc"The artifact's type. Allowed values include the following: UNKNOWN SCREENSHOT DEVICE_LOG MESSAGE_LOG VIDEO_LOG RESULT_LOG SERVICE_LOG WEBKIT_LOG INSTRUMENTATION_OUTPUT EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test. APPIUM_SERVER_OUTPUT APPIUM_JAVA_OUTPUT APPIUM_JAVA_XML_OUTPUT APPIUM_PYTHON_OUTPUT APPIUM_PYTHON_XML_OUTPUT APPLICATION_CRASH_REPORT XCTEST_LOG VIDEO CUSTOMER_ARTIFACT CUSTOMER_ARTIFACT_LOG TESTSPEC_OUTPUT"];extension:String_.toption[@ocaml.doc"The artifact's file extension."];url:URL.toption[@ocaml.doc"The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file."]}letmake?arn=fun?name->fun?type_->fun?extension->fun?url->fun()->{arn;name;type_;extension;url}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("type",(Option.mapx.type_~f:ArtifactType.to_value));("extension",(Option.mapx.extension~f:String_.to_value));("url",(Option.mapx.url~f:URL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leturl=(Option.map~f:URL.of_xml)(Xml.childxml_arg0"url")inletextension=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"extension")inlettype_=(Option.map~f:ArtifactType.of_xml)(Xml.childxml_arg0"type")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?url?extension?type_?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leturl=field_mapjson__"url"URL.of_jsoninletextension=field_mapjson__"extension"String_.of_jsoninlettype_=field_mapjson__"type"ArtifactType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?url?extension?type_?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the output of a test. Examples of artifacts include logs and screenshots."]moduleDevicePoolCompatibilityResult=structtypenonrect={device:Device.toption[@ocaml.doc"The device (phone or tablet) to return information about."];compatible:Boolean.toption[@ocaml.doc"Whether the result was compatible with the device pool."];incompatibilityMessages:IncompatibilityMessages.toption[@ocaml.doc"Information about the compatibility."]}letmake?device=fun?compatible->fun?incompatibilityMessages->fun()->{device;compatible;incompatibilityMessages}letto_valuex=structure_to_value[("device",(Option.mapx.device~f:Device.to_value));("compatible",(Option.mapx.compatible~f:Boolean.to_value));("incompatibilityMessages",(Option.mapx.incompatibilityMessages~f:IncompatibilityMessages.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letincompatibilityMessages=(Option.map~f:IncompatibilityMessages.of_xml)(Xml.childxml_arg0"incompatibilityMessages")inletcompatible=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"compatible")inletdevice=(Option.map~f:Device.of_xml)(Xml.childxml_arg0"device")inmake?incompatibilityMessages?compatible?device()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letincompatibilityMessages=field_mapjson__"incompatibilityMessages"IncompatibilityMessages.of_jsoninletcompatible=field_mapjson__"compatible"Boolean.of_jsoninletdevice=field_mapjson__"device"Device.of_jsoninmake?incompatibilityMessages?compatible?device()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a device pool compatibility result."]moduleAWSAccountNumber=structtypenonrect=stringletcontext_="AWSAccountNumber"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16)>>=(fun()->check_string_mini~min:2));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AWSAccountNumber"jletto_json=simple_to_jsonto_valueendmoduleMaxSlotMap=structtypenonrect=(String_.t*Integer.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((String_.of_stringchopped),(Integer.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(String_.to_valuex)|>(funx->(Integer.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:String_.of_string~of_json:Integer.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePurchasedDevicesMap=structtypenonrect=(DevicePlatform.t*Integer.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((DevicePlatform.of_stringchopped),(Integer.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(DevicePlatform.to_valuex)|>(funx->(Integer.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:DevicePlatform.of_string~of_json:Integer.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTrialMinutes=structtypenonrect={total:Double.toption[@ocaml.doc"The total number of free trial minutes that the account started with."];remaining:Double.toption[@ocaml.doc"The number of free trial minutes remaining in the account."]}letmake?total=fun?remaining->fun()->{total;remaining}letto_valuex=structure_to_value[("total",(Option.mapx.total~f:Double.to_value));("remaining",(Option.mapx.remaining~f:Double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letremaining=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"remaining")inlettotal=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"total")inmake?remaining?total()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letremaining=field_mapjson__"remaining"Double.of_jsoninlettotal=field_mapjson__"total"Double.of_jsoninmake?remaining?total()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents information about free trial device minutes for an AWS account."]moduleAuxiliaryAppArnList=structtypenonrect=AmazonResourceName.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:3)>>=(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:AmazonResourceName.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:AmazonResourceName.of_xml)letof_jsonj=list_of_json~kind:"AuxiliaryAppArnList"~of_json:AmazonResourceName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleArgumentException=structtypenonrect={message:Message.toption[@ocaml.doc"Any additional information about the exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An invalid argument was specified."]moduleInvalidOperationException=structtypenonrect={message:Message.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration."]moduleNotFoundException=structtypenonrect={message:Message.toption[@ocaml.doc"Any additional information about the exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified entity was not found."]moduleServiceAccountException=structtypenonrect={message:Message.toption[@ocaml.doc"Any additional information about the exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"There was a problem with the service account."]moduleLimitExceededException=structtypenonrect={message:Message.toption[@ocaml.doc"Any additional information about the exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A limit was exceeded."]moduleInternalServiceException=structtypenonrect={message:Message.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An internal exception was raised in the service. Contact aws-devicefarm-support\\@amazon.com if you see this error."]moduleResourceDescription=structtypenonrect=stringletcontext_="ResourceDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceDescription"jletto_json=simple_to_jsonto_valueendmoduleResourceName=structtypenonrect=stringletcontext_="ResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceName"jletto_json=simple_to_jsonto_valueendmoduleTagOperationException=structtypenonrect={message:ExceptionMessage.toption;resourceName:AmazonResourceName.toption}letmake?message=fun?resourceName->fun()->{message;resourceName}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value));("resourceName",(Option.mapx.resourceName~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"resourceName")inletmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?resourceName?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_mapjson__"resourceName"AmazonResourceName.of_jsoninletmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?resourceName?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation was not successful. Try again."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:150);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_valuevendmoduleTagPolicyException=structtypenonrect={message:ExceptionMessage.toption;resourceName:AmazonResourceName.toption}letmake?message=fun?resourceName->fun()->{message;resourceName}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value));("resourceName",(Option.mapx.resourceName~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"resourceName")inletmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?resourceName?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_mapjson__"resourceName"AmazonResourceName.of_jsoninletmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?resourceName?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy. Correct your request and then retry it."]moduleTooManyTagsException=structtypenonrect={message:ExceptionMessage.toption;resourceName:AmazonResourceName.toption}letmake?message=fun?resourceName->fun()->{message;resourceName}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ExceptionMessage.to_value));("resourceName",(Option.mapx.resourceName~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceName=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"resourceName")inletmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"message")inmake?resourceName?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceName=field_mapjson__"resourceName"AmazonResourceName.of_jsoninletmessage=field_mapjson__"message"ExceptionMessage.of_jsoninmake?resourceName?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50."]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:150);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_valuevendmoduleIdempotencyException=structtypenonrect={message:Message.toption[@ocaml.doc"Any additional information about the exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An entity with the same name already exists."]moduleDeviceSelectionConfiguration=structtypenonrect={filters:DeviceFilters.t[@ocaml.doc"Used to dynamically select a set of devices for a test run. A filter is made up of an attribute, an operator, and one or more values. Attribute The aspect of a device such as platform or model used as the selection criteria in a device filter. Allowed values include: ARN: The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example). PLATFORM: The device platform. Valid values are ANDROID or IOS. OS_VERSION: The operating system version (for example, 10.3.2). MODEL: The device model (for example, iPad 5th Gen). AVAILABILITY: The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. FORM_FACTOR: The device form factor. Valid values are PHONE or TABLET. MANUFACTURER: The device manufacturer (for example, Apple). REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access. Valid values are TRUE or FALSE. REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE. Because remote debugging is no longer supported, this filter is ignored. INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance. INSTANCE_LABELS: The label of the device instance. FLEET_TYPE: The fleet type. Valid values are PUBLIC or PRIVATE. Operator The filter operator. The EQUALS operator is available for every attribute except INSTANCE_LABELS. The CONTAINS operator is available for the INSTANCE_LABELS and MODEL attributes. The IN and NOT_IN operators are available for the ARN, OS_VERSION, MODEL, MANUFACTURER, and INSTANCE_ARN attributes. The LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUALS, and GREATER_THAN_OR_EQUALS operators are also available for the OS_VERSION attribute. Values An array of one or more filter values. Operator Values The IN and NOT_IN operators can take a values array that has more than one element. The other operators require an array with a single element. Attribute Values The PLATFORM attribute can be set to ANDROID or IOS. The AVAILABILITY attribute can be set to AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. The FORM_FACTOR attribute can be set to PHONE or TABLET. The FLEET_TYPE attribute can be set to PUBLIC or PRIVATE."];maxDevices:Integer.t[@ocaml.doc"The maximum number of devices to be included in a test run."]}letcontext_="DeviceSelectionConfiguration"letmake~filters=fun~maxDevices->fun()->{filters;maxDevices}letto_valuex=structure_to_value[("filters",(Some(DeviceFilters.to_valuex.filters)));("maxDevices",(Some(Integer.to_valuex.maxDevices)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDevices=Integer.of_xml(Xml.child_exn~context:context_xml_arg0"maxDevices")inletfilters=DeviceFilters.of_xml(Xml.child_exn~context:context_xml_arg0"filters")inmake~maxDevices~filters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDevices=field_map_exnjson__"maxDevices"Integer.of_jsoninletfilters=field_map_exnjson__"filters"DeviceFilters.of_jsoninmake~maxDevices~filters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the device filters used in a test run and the maximum number of devices to be included in the run. It is passed in as the deviceSelectionConfiguration request parameter in ScheduleRun."]moduleExecutionConfiguration=structtypenonrect={jobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The number of minutes a test run executes before it times out."];accountsCleanup:AccountsCleanup.toption[@ocaml.doc"True if account cleanup is enabled at the beginning of the test. Otherwise, false."];appPackagesCleanup:AppPackagesCleanup.toption[@ocaml.doc"True if app package cleanup is enabled at the beginning of the test. Otherwise, false."];videoCapture:VideoCapture.toption[@ocaml.doc"Set to true to enable video capture. Otherwise, set to false. The default is true."];skipAppResign:SkipAppResign.toption[@ocaml.doc"When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again. For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs."]}letmake?jobTimeoutMinutes=fun?accountsCleanup->fun?appPackagesCleanup->fun?videoCapture->fun?skipAppResign->fun()->{jobTimeoutMinutes;accountsCleanup;appPackagesCleanup;videoCapture;skipAppResign}letto_valuex=structure_to_value[("jobTimeoutMinutes",(Option.mapx.jobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("accountsCleanup",(Option.mapx.accountsCleanup~f:AccountsCleanup.to_value));("appPackagesCleanup",(Option.mapx.appPackagesCleanup~f:AppPackagesCleanup.to_value));("videoCapture",(Option.mapx.videoCapture~f:VideoCapture.to_value));("skipAppResign",(Option.mapx.skipAppResign~f:SkipAppResign.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letskipAppResign=(Option.map~f:SkipAppResign.of_xml)(Xml.childxml_arg0"skipAppResign")inletvideoCapture=(Option.map~f:VideoCapture.of_xml)(Xml.childxml_arg0"videoCapture")inletappPackagesCleanup=(Option.map~f:AppPackagesCleanup.of_xml)(Xml.childxml_arg0"appPackagesCleanup")inletaccountsCleanup=(Option.map~f:AccountsCleanup.of_xml)(Xml.childxml_arg0"accountsCleanup")inletjobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"jobTimeoutMinutes")inmake?skipAppResign?videoCapture?appPackagesCleanup?accountsCleanup?jobTimeoutMinutes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letskipAppResign=field_mapjson__"skipAppResign"SkipAppResign.of_jsoninletvideoCapture=field_mapjson__"videoCapture"VideoCapture.of_jsoninletappPackagesCleanup=field_mapjson__"appPackagesCleanup"AppPackagesCleanup.of_jsoninletaccountsCleanup=field_mapjson__"accountsCleanup"AccountsCleanup.of_jsoninletjobTimeoutMinutes=field_mapjson__"jobTimeoutMinutes"JobTimeoutMinutes.of_jsoninmake?skipAppResign?videoCapture?appPackagesCleanup?accountsCleanup?jobTimeoutMinutes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents configuration information about a test run, such as the execution timeout (in minutes)."]moduleScheduleRunConfiguration=structtypenonrect={extraDataPackageArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm extracts to external data for Android or the app's sandbox for iOS."];networkProfileArn:AmazonResourceName.toption[@ocaml.doc"Reserved for internal use."];locale:String_.toption[@ocaml.doc"Information about the locale that is used for the run."];location:Location.toption[@ocaml.doc"Information about the location that is used for the run."];vpceConfigurationArns:AmazonResourceNames.toption[@ocaml.doc"An array of ARNs for your VPC endpoint configurations."];deviceProxy:DeviceProxy.toption[@ocaml.doc"The device proxy to be configured on the device for the run."];customerArtifactPaths:CustomerArtifactPaths.toption[@ocaml.doc"Input CustomerArtifactPaths object for the scheduled run configuration."];radios:Radios.toption[@ocaml.doc"Information about the radio states for the run."];auxiliaryApps:AmazonResourceNames.toption[@ocaml.doc"A list of upload ARNs for app packages to be installed with your app."];billingMethod:BillingMethod.toption[@ocaml.doc"Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered. If you have purchased unmetered device slots, you must set this parameter to unmetered to make use of them. Otherwise, your run counts against your metered time."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"Environment variables associated with the run."];executionRoleArn:AmazonRoleResourceName.toption[@ocaml.doc"An IAM role to be assumed by the test host for the run."]}letmake?extraDataPackageArn=fun?networkProfileArn->fun?locale->fun?location->fun?vpceConfigurationArns->fun?deviceProxy->fun?customerArtifactPaths->fun?radios->fun?auxiliaryApps->fun?billingMethod->fun?environmentVariables->fun?executionRoleArn->fun()->{extraDataPackageArn;networkProfileArn;locale;location;vpceConfigurationArns;deviceProxy;customerArtifactPaths;radios;auxiliaryApps;billingMethod;environmentVariables;executionRoleArn}letto_valuex=structure_to_value[("extraDataPackageArn",(Option.mapx.extraDataPackageArn~f:AmazonResourceName.to_value));("networkProfileArn",(Option.mapx.networkProfileArn~f:AmazonResourceName.to_value));("locale",(Option.mapx.locale~f:String_.to_value));("location",(Option.mapx.location~f:Location.to_value));("vpceConfigurationArns",(Option.mapx.vpceConfigurationArns~f:AmazonResourceNames.to_value));("deviceProxy",(Option.mapx.deviceProxy~f:DeviceProxy.to_value));("customerArtifactPaths",(Option.mapx.customerArtifactPaths~f:CustomerArtifactPaths.to_value));("radios",(Option.mapx.radios~f:Radios.to_value));("auxiliaryApps",(Option.mapx.auxiliaryApps~f:AmazonResourceNames.to_value));("billingMethod",(Option.mapx.billingMethod~f:BillingMethod.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value));("executionRoleArn",(Option.mapx.executionRoleArn~f:AmazonRoleResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexecutionRoleArn=(Option.map~f:AmazonRoleResourceName.of_xml)(Xml.childxml_arg0"executionRoleArn")inletenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletbillingMethod=(Option.map~f:BillingMethod.of_xml)(Xml.childxml_arg0"billingMethod")inletauxiliaryApps=(Option.map~f:AmazonResourceNames.of_xml)(Xml.childxml_arg0"auxiliaryApps")inletradios=(Option.map~f:Radios.of_xml)(Xml.childxml_arg0"radios")inletcustomerArtifactPaths=(Option.map~f:CustomerArtifactPaths.of_xml)(Xml.childxml_arg0"customerArtifactPaths")inletdeviceProxy=(Option.map~f:DeviceProxy.of_xml)(Xml.childxml_arg0"deviceProxy")inletvpceConfigurationArns=(Option.map~f:AmazonResourceNames.of_xml)(Xml.childxml_arg0"vpceConfigurationArns")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inletlocale=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"locale")inletnetworkProfileArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"networkProfileArn")inletextraDataPackageArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"extraDataPackageArn")inmake?executionRoleArn?environmentVariables?billingMethod?auxiliaryApps?radios?customerArtifactPaths?deviceProxy?vpceConfigurationArns?location?locale?networkProfileArn?extraDataPackageArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexecutionRoleArn=field_mapjson__"executionRoleArn"AmazonRoleResourceName.of_jsoninletenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletbillingMethod=field_mapjson__"billingMethod"BillingMethod.of_jsoninletauxiliaryApps=field_mapjson__"auxiliaryApps"AmazonResourceNames.of_jsoninletradios=field_mapjson__"radios"Radios.of_jsoninletcustomerArtifactPaths=field_mapjson__"customerArtifactPaths"CustomerArtifactPaths.of_jsoninletdeviceProxy=field_mapjson__"deviceProxy"DeviceProxy.of_jsoninletvpceConfigurationArns=field_mapjson__"vpceConfigurationArns"AmazonResourceNames.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninletlocale=field_mapjson__"locale"String_.of_jsoninletnetworkProfileArn=field_mapjson__"networkProfileArn"AmazonResourceName.of_jsoninletextraDataPackageArn=field_mapjson__"extraDataPackageArn"AmazonResourceName.of_jsoninmake?executionRoleArn?environmentVariables?billingMethod?auxiliaryApps?radios?customerArtifactPaths?deviceProxy?vpceConfigurationArns?location?locale?networkProfileArn?extraDataPackageArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles."]moduleScheduleRunTest=structtypenonrect={type_:TestType.t[@ocaml.doc"The test's type. Must be one of the following values: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI"];testPackageArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the uploaded test to be run."];testSpecArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the YAML-formatted test specification."];filter:Filter.toption[@ocaml.doc"The test's filter."];parameters:TestParameters.toption[@ocaml.doc"The test's parameters, such as test framework parameters and fixture settings. Parameters are represented by name-value pairs of strings. For all tests: app_performance_monitoring: Performance monitoring is enabled by default. Set this parameter to false to disable it. For Appium tests (all types): appium_version: The Appium version. Currently supported values are 1.6.5 (and later), latest, and default. latest runs the latest Appium version supported by Device Farm (1.9.1). For default, Device Farm selects a compatible version of Appium for the device. The current behavior is to run 1.7.2 on Android devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later. This behavior is subject to change. For fuzz tests (Android only): event_count: The number of events, between 1 and 10000, that the UI fuzz test should perform. throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should wait between events. seed: A seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences. For Instrumentation: filter: A test filter string. Examples: Running a single test case: com.android.abc.Test1 Running a single test: com.android.abc.Test1#smoke Running multiple tests: com.android.abc.Test1,com.android.abc.Test2 For XCTest and XCTestUI: filter: A test filter string. Examples: Running a single test class: LoginTests Running a multiple test classes: LoginTests,SmokeTests Running a single test: LoginTests/testValid Running multiple tests: LoginTests/testValid,LoginTests/testInvalid"]}letcontext_="ScheduleRunTest"letmake?testPackageArn=fun?testSpecArn->fun?filter->fun?parameters->fun~type_->fun()->{testPackageArn;testSpecArn;filter;parameters;type_}letto_valuex=structure_to_value[("type",(Some(TestType.to_valuex.type_)));("testPackageArn",(Option.mapx.testPackageArn~f:AmazonResourceName.to_value));("testSpecArn",(Option.mapx.testSpecArn~f:AmazonResourceName.to_value));("filter",(Option.mapx.filter~f:Filter.to_value));("parameters",(Option.mapx.parameters~f:TestParameters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:TestParameters.of_xml)(Xml.childxml_arg0"parameters")inletfilter=(Option.map~f:Filter.of_xml)(Xml.childxml_arg0"filter")inlettestSpecArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"testSpecArn")inlettestPackageArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"testPackageArn")inlettype_=TestType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inmake?parameters?filter?testSpecArn?testPackageArn~type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"parameters"TestParameters.of_jsoninletfilter=field_mapjson__"filter"Filter.of_jsoninlettestSpecArn=field_mapjson__"testSpecArn"AmazonResourceName.of_jsoninlettestPackageArn=field_mapjson__"testPackageArn"AmazonResourceName.of_jsoninlettype_=field_map_exnjson__"type"TestType.of_jsoninmake?parameters?filter?testSpecArn?testPackageArn~type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents test settings. This data structure is passed in as the test parameter to ScheduleRun. For an example of the JSON request syntax, see ScheduleRun."]moduleNotEligibleException=structtypenonrect={message:Message.toption[@ocaml.doc"The HTTP response code of a Not Eligible exception."]}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Exception gets thrown when a user is not eligible to perform the specified transaction."]modulePaginationToken=structtypenonrect=stringletcontext_="PaginationToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_string_mini~min:4));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PaginationToken"jletto_json=simple_to_jsonto_valueendmoduleVPCEConfigurations=structtypenonrect=VPCEConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VPCEConfiguration.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:VPCEConfiguration.of_xml)letof_jsonj=list_of_json~kind:"VPCEConfigurations"~of_json:VPCEConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUploads=structtypenonrect=Upload.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Upload.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:Upload.of_xml)letof_jsonj=list_of_json~kind:"Uploads"~of_json:Upload.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUniqueProblemsByExecutionResultMap=structtypenonrect=(ExecutionResult.t*UniqueProblems.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ExecutionResult UniqueProblems"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ExecutionResult.to_valuex)|>(funx->(UniqueProblems.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:ExecutionResult.of_string~of_json:UniqueProblems.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTests=structtypenonrect=Test.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Test.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:Test.of_xml)letof_jsonj=list_of_json~kind:"Tests"~of_json:Test.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTestGridSessions=structtypenonrect=TestGridSession.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TestGridSession.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:TestGridSession.of_xml)letof_jsonj=list_of_json~kind:"TestGridSessions"~of_json:TestGridSession.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxPageSize=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxPageSize"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTestGridSessionArtifacts=structtypenonrect=TestGridSessionArtifact.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TestGridSessionArtifact.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:TestGridSessionArtifact.of_xml)letof_jsonj=list_of_json~kind:"TestGridSessionArtifacts"~of_json:TestGridSessionArtifact.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTestGridSessionArtifactCategory=structtypenonrect=|VIDEO|LOG|Non_static_idofstringletmakei=iletto_string=function|VIDEO->"VIDEO"|LOG->"LOG"|Non_static_ids->sletof_string=function|"VIDEO"->VIDEO|"LOG"->LOG|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 TestGridSessionArtifactCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TestGridSessionArtifactCategory"j)letto_json=simple_to_jsonto_valueendmoduleTestGridSessionActions=structtypenonrect=TestGridSessionAction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TestGridSessionAction.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:TestGridSessionAction.of_xml)letof_jsonj=list_of_json~kind:"TestGridSessionActions"~of_json:TestGridSessionAction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTestGridProjects=structtypenonrect=TestGridProject.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TestGridProject.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:TestGridProject.of_xml)letof_jsonj=list_of_json~kind:"TestGridProjects"~of_json:TestGridProject.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSuites=structtypenonrect=Suite.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Suite.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:Suite.of_xml)letof_jsonj=list_of_json~kind:"Suites"~of_json:Suite.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSamples=structtypenonrect=Sample.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Sample.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:Sample.of_xml)letof_jsonj=list_of_json~kind:"Samples"~of_json:Sample.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRuns=structtypenonrect=Run.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Run.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:Run.of_xml)letof_jsonj=list_of_json~kind:"Runs"~of_json:Run.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRemoteAccessSessions=structtypenonrect=RemoteAccessSession.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RemoteAccessSession.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:RemoteAccessSession.of_xml)letof_jsonj=list_of_json~kind:"RemoteAccessSessions"~of_json:RemoteAccessSession.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProjects=structtypenonrect=Project.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Project.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:Project.of_xml)letof_jsonj=list_of_json~kind:"Projects"~of_json:Project.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOfferings=structtypenonrect=Offering.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Offering.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:Offering.of_xml)letof_jsonj=list_of_json~kind:"Offerings"~of_json:Offering.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOfferingTransactions=structtypenonrect=OfferingTransaction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OfferingTransaction.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:OfferingTransaction.of_xml)letof_jsonj=list_of_json~kind:"OfferingTransactions"~of_json:OfferingTransaction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOfferingPromotions=structtypenonrect=OfferingPromotion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OfferingPromotion.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:OfferingPromotion.of_xml)letof_jsonj=list_of_json~kind:"OfferingPromotions"~of_json:OfferingPromotion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNetworkProfiles=structtypenonrect=NetworkProfile.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NetworkProfile.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:NetworkProfile.of_xml)letof_jsonj=list_of_json~kind:"NetworkProfiles"~of_json:NetworkProfile.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleJobs=structtypenonrect=Job.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Job.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:Job.of_xml)letof_jsonj=list_of_json~kind:"Jobs"~of_json:Job.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInstanceProfiles=structtypenonrect=InstanceProfile.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:InstanceProfile.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:InstanceProfile.of_xml)letof_jsonj=list_of_json~kind:"InstanceProfiles"~of_json:InstanceProfile.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDevices=structtypenonrect=Device.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Device.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:Device.of_xml)letof_jsonj=list_of_json~kind:"Devices"~of_json:Device.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDevicePools=structtypenonrect=DevicePool.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DevicePool.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:DevicePool.of_xml)letof_jsonj=list_of_json~kind:"DevicePools"~of_json:DevicePool.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleArtifacts=structtypenonrect=Artifact.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Artifact.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:Artifact.of_xml)letof_jsonj=list_of_json~kind:"Artifacts"~of_json:Artifact.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleArtifactCategory=structtypenonrect=|SCREENSHOT|FILE|LOG|Non_static_idofstringletmakei=iletto_string=function|SCREENSHOT->"SCREENSHOT"|FILE->"FILE"|LOG->"LOG"|Non_static_ids->sletof_string=function|"SCREENSHOT"->SCREENSHOT|"FILE"->FILE|"LOG"->LOG|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 ArtifactCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ArtifactCategory"j)letto_json=simple_to_jsonto_valueendmoduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceId"jletto_json=simple_to_jsonto_valueendmoduleOfferingStatusMap=structtypenonrect=(OfferingIdentifier.t*OfferingStatus.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types OfferingIdentifier OfferingStatus"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(OfferingIdentifier.to_valuex)|>(funx->(OfferingStatus.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:OfferingIdentifier.of_string~of_json:OfferingStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDevicePoolCompatibilityResults=structtypenonrect=DevicePoolCompatibilityResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DevicePoolCompatibilityResult.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:DevicePoolCompatibilityResult.of_xml)letof_jsonj=list_of_json~kind:"DevicePoolCompatibilityResults"~of_json:DevicePoolCompatibilityResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccountSettings=structtypenonrect={awsAccountNumber:AWSAccountNumber.toption[@ocaml.doc"The AWS account number specified in the AccountSettings container."];unmeteredDevices:PurchasedDevicesMap.toption[@ocaml.doc"Returns the unmetered devices you have purchased or want to purchase."];unmeteredRemoteAccessDevices:PurchasedDevicesMap.toption[@ocaml.doc"Returns the unmetered remote access devices you have purchased or want to purchase."];maxJobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The maximum number of minutes a test run executes before it times out."];trialMinutes:TrialMinutes.toption[@ocaml.doc"Information about an AWS account's usage of free trial device minutes."];maxSlots:MaxSlotMap.toption[@ocaml.doc"The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command."];defaultJobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes."];skipAppResign:SkipAppResign.toption[@ocaml.doc"When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again. For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs."]}letmake?awsAccountNumber=fun?unmeteredDevices->fun?unmeteredRemoteAccessDevices->fun?maxJobTimeoutMinutes->fun?trialMinutes->fun?maxSlots->fun?defaultJobTimeoutMinutes->fun?skipAppResign->fun()->{awsAccountNumber;unmeteredDevices;unmeteredRemoteAccessDevices;maxJobTimeoutMinutes;trialMinutes;maxSlots;defaultJobTimeoutMinutes;skipAppResign}letto_valuex=structure_to_value[("awsAccountNumber",(Option.mapx.awsAccountNumber~f:AWSAccountNumber.to_value));("unmeteredDevices",(Option.mapx.unmeteredDevices~f:PurchasedDevicesMap.to_value));("unmeteredRemoteAccessDevices",(Option.mapx.unmeteredRemoteAccessDevices~f:PurchasedDevicesMap.to_value));("maxJobTimeoutMinutes",(Option.mapx.maxJobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("trialMinutes",(Option.mapx.trialMinutes~f:TrialMinutes.to_value));("maxSlots",(Option.mapx.maxSlots~f:MaxSlotMap.to_value));("defaultJobTimeoutMinutes",(Option.mapx.defaultJobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("skipAppResign",(Option.mapx.skipAppResign~f:SkipAppResign.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letskipAppResign=(Option.map~f:SkipAppResign.of_xml)(Xml.childxml_arg0"skipAppResign")inletdefaultJobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"defaultJobTimeoutMinutes")inletmaxSlots=(Option.map~f:MaxSlotMap.of_xml)(Xml.childxml_arg0"maxSlots")inlettrialMinutes=(Option.map~f:TrialMinutes.of_xml)(Xml.childxml_arg0"trialMinutes")inletmaxJobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"maxJobTimeoutMinutes")inletunmeteredRemoteAccessDevices=(Option.map~f:PurchasedDevicesMap.of_xml)(Xml.childxml_arg0"unmeteredRemoteAccessDevices")inletunmeteredDevices=(Option.map~f:PurchasedDevicesMap.of_xml)(Xml.childxml_arg0"unmeteredDevices")inletawsAccountNumber=(Option.map~f:AWSAccountNumber.of_xml)(Xml.childxml_arg0"awsAccountNumber")inmake?skipAppResign?defaultJobTimeoutMinutes?maxSlots?trialMinutes?maxJobTimeoutMinutes?unmeteredRemoteAccessDevices?unmeteredDevices?awsAccountNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letskipAppResign=field_mapjson__"skipAppResign"SkipAppResign.of_jsoninletdefaultJobTimeoutMinutes=field_mapjson__"defaultJobTimeoutMinutes"JobTimeoutMinutes.of_jsoninletmaxSlots=field_mapjson__"maxSlots"MaxSlotMap.of_jsoninlettrialMinutes=field_mapjson__"trialMinutes"TrialMinutes.of_jsoninletmaxJobTimeoutMinutes=field_mapjson__"maxJobTimeoutMinutes"JobTimeoutMinutes.of_jsoninletunmeteredRemoteAccessDevices=field_mapjson__"unmeteredRemoteAccessDevices"PurchasedDevicesMap.of_jsoninletunmeteredDevices=field_mapjson__"unmeteredDevices"PurchasedDevicesMap.of_jsoninletawsAccountNumber=field_mapjson__"awsAccountNumber"AWSAccountNumber.of_jsoninmake?skipAppResign?defaultJobTimeoutMinutes?maxSlots?trialMinutes?maxJobTimeoutMinutes?unmeteredRemoteAccessDevices?unmeteredDevices?awsAccountNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A container for account-level settings in AWS Device Farm."]moduleCannotDeleteException=structtypenonrect={message:Message.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"Message.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested object could not be deleted."]moduleTestGridUrlExpiresInSecondsInput=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:86400)>>=(fun()->check_int_mini~min:60));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 TestGridUrlExpiresInSecondsInput"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleCreateRemoteAccessSessionConfiguration=structtypenonrect={auxiliaryApps:AuxiliaryAppArnList.toption[@ocaml.doc"A list of upload ARNs for app packages to be installed onto your device. (Maximum 3)"];billingMethod:BillingMethod.toption[@ocaml.doc"The billing method for the remote access session."];vpceConfigurationArns:AmazonResourceNames.toption[@ocaml.doc"An array of ARNs included in the VPC endpoint configuration."];deviceProxy:DeviceProxy.toption[@ocaml.doc"The device proxy to be configured on the device for the remote access session."]}letmake?auxiliaryApps=fun?billingMethod->fun?vpceConfigurationArns->fun?deviceProxy->fun()->{auxiliaryApps;billingMethod;vpceConfigurationArns;deviceProxy}letto_valuex=structure_to_value[("auxiliaryApps",(Option.mapx.auxiliaryApps~f:AuxiliaryAppArnList.to_value));("billingMethod",(Option.mapx.billingMethod~f:BillingMethod.to_value));("vpceConfigurationArns",(Option.mapx.vpceConfigurationArns~f:AmazonResourceNames.to_value));("deviceProxy",(Option.mapx.deviceProxy~f:DeviceProxy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceProxy=(Option.map~f:DeviceProxy.of_xml)(Xml.childxml_arg0"deviceProxy")inletvpceConfigurationArns=(Option.map~f:AmazonResourceNames.of_xml)(Xml.childxml_arg0"vpceConfigurationArns")inletbillingMethod=(Option.map~f:BillingMethod.of_xml)(Xml.childxml_arg0"billingMethod")inletauxiliaryApps=(Option.map~f:AuxiliaryAppArnList.of_xml)(Xml.childxml_arg0"auxiliaryApps")inmake?deviceProxy?vpceConfigurationArns?billingMethod?auxiliaryApps()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceProxy=field_mapjson__"deviceProxy"DeviceProxy.of_jsoninletvpceConfigurationArns=field_mapjson__"vpceConfigurationArns"AmazonResourceNames.of_jsoninletbillingMethod=field_mapjson__"billingMethod"BillingMethod.of_jsoninletauxiliaryApps=field_mapjson__"auxiliaryApps"AuxiliaryAppArnList.of_jsoninmake?deviceProxy?vpceConfigurationArns?billingMethod?auxiliaryApps()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration settings for a remote access session, including billing method."]moduleUpdateVPCEConfigurationResult=structtypenonrect={vpceConfiguration:VPCEConfiguration.toption[@ocaml.doc"An object that contains information about your VPC endpoint configuration."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InvalidOperationExceptionofInvalidOperationException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpceConfiguration=fun()->{vpceConfiguration}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpceConfiguration",(Option.mapx.vpceConfiguration~f:VPCEConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfiguration=(Option.map~f:VPCEConfiguration.of_xml)(Xml.childxml_arg0"vpceConfiguration")inmake?vpceConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfiguration=field_mapjson__"vpceConfiguration"VPCEConfiguration.of_jsoninmake?vpceConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration."]moduleUpdateVPCEConfigurationRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update."];vpceConfigurationName:VPCEConfigurationName.toption[@ocaml.doc"The friendly name you give to your VPC endpoint configuration to manage your configurations more easily."];vpceServiceName:VPCEServiceName.toption[@ocaml.doc"The name of the VPC endpoint service running in your AWS account that you want Device Farm to test."];serviceDnsName:ServiceDnsName.toption[@ocaml.doc"The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in use on the internet."];vpceConfigurationDescription:VPCEConfigurationDescription.toption[@ocaml.doc"An optional description that provides details about your VPC endpoint configuration."]}letcontext_="UpdateVPCEConfigurationRequest"letmake?vpceConfigurationName=fun?vpceServiceName->fun?serviceDnsName->fun?vpceConfigurationDescription->fun~arn->fun()->{vpceConfigurationName;vpceServiceName;serviceDnsName;vpceConfigurationDescription;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("vpceConfigurationName",(Option.mapx.vpceConfigurationName~f:VPCEConfigurationName.to_value));("vpceServiceName",(Option.mapx.vpceServiceName~f:VPCEServiceName.to_value));("serviceDnsName",(Option.mapx.serviceDnsName~f:ServiceDnsName.to_value));("vpceConfigurationDescription",(Option.mapx.vpceConfigurationDescription~f:VPCEConfigurationDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfigurationDescription=(Option.map~f:VPCEConfigurationDescription.of_xml)(Xml.childxml_arg0"vpceConfigurationDescription")inletserviceDnsName=(Option.map~f:ServiceDnsName.of_xml)(Xml.childxml_arg0"serviceDnsName")inletvpceServiceName=(Option.map~f:VPCEServiceName.of_xml)(Xml.childxml_arg0"vpceServiceName")inletvpceConfigurationName=(Option.map~f:VPCEConfigurationName.of_xml)(Xml.childxml_arg0"vpceConfigurationName")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?vpceConfigurationDescription?serviceDnsName?vpceServiceName?vpceConfigurationName~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfigurationDescription=field_mapjson__"vpceConfigurationDescription"VPCEConfigurationDescription.of_jsoninletserviceDnsName=field_mapjson__"serviceDnsName"ServiceDnsName.of_jsoninletvpceServiceName=field_mapjson__"vpceServiceName"VPCEServiceName.of_jsoninletvpceConfigurationName=field_mapjson__"vpceConfigurationName"VPCEConfigurationName.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?vpceConfigurationDescription?serviceDnsName?vpceServiceName?vpceConfigurationName~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration."]moduleUpdateUploadResult=structtypenonrect={upload:Upload.toption[@ocaml.doc"A test spec uploaded to Device Farm."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?upload=fun()->{upload}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("upload",(Option.mapx.upload~f:Upload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupload=(Option.map~f:Upload.of_xml)(Xml.childxml_arg0"upload")inmake?upload()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupload=field_mapjson__"upload"Upload.of_jsoninmake?upload()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an uploaded test spec."]moduleUpdateUploadRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the uploaded test spec."];name:Name.toption[@ocaml.doc"The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension."];contentType:ContentType.toption[@ocaml.doc"The upload's content type (for example, application/x-yaml)."];editContent:Boolean.toption[@ocaml.doc"Set to true if the YAML file has changed and must be updated. Otherwise, set to false."]}letcontext_="UpdateUploadRequest"letmake?name=fun?contentType->fun?editContent->fun~arn->fun()->{name;contentType;editContent;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("name",(Option.mapx.name~f:Name.to_value));("contentType",(Option.mapx.contentType~f:ContentType.to_value));("editContent",(Option.mapx.editContent~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteditContent=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"editContent")inletcontentType=(Option.map~f:ContentType.of_xml)(Xml.childxml_arg0"contentType")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?editContent?contentType?name~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteditContent=field_mapjson__"editContent"Boolean.of_jsoninletcontentType=field_mapjson__"contentType"ContentType.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?editContent?contentType?name~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an uploaded test spec."]moduleUpdateTestGridProjectResult=structtypenonrect={testGridProject:TestGridProject.toption[@ocaml.doc"The project, including updated information."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridProject=fun()->{testGridProject}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridProject",(Option.mapx.testGridProject~f:TestGridProject.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestGridProject=(Option.map~f:TestGridProject.of_xml)(Xml.childxml_arg0"testGridProject")inmake?testGridProject()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestGridProject=field_mapjson__"testGridProject"TestGridProject.of_jsoninmake?testGridProject()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Change details of a project."]moduleUpdateTestGridProjectRequest=structtypenonrect={projectArn:DeviceFarmArn.t[@ocaml.doc"ARN of the project to update."];name:ResourceName.toption[@ocaml.doc"Human-readable name for the project."];description:ResourceDescription.toption[@ocaml.doc"Human-readable description for the project."];vpcConfig:TestGridVpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."]}letcontext_="UpdateTestGridProjectRequest"letmake?name=fun?description->fun?vpcConfig->fun~projectArn->fun()->{name;description;vpcConfig;projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DeviceFarmArn.to_valuex.projectArn)));("name",(Option.mapx.name~f:ResourceName.to_value));("description",(Option.mapx.description~f:ResourceDescription.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:TestGridVpcConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConfig=(Option.map~f:TestGridVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdescription=(Option.map~f:ResourceDescription.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"name")inletprojectArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?vpcConfig?description?name~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConfig=field_mapjson__"vpcConfig"TestGridVpcConfig.of_jsoninletdescription=field_mapjson__"description"ResourceDescription.of_jsoninletname=field_mapjson__"name"ResourceName.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DeviceFarmArn.of_jsoninmake?vpcConfig?description?name~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Change details of a project."]moduleUpdateProjectResult=structtypenonrect={project:Project.toption[@ocaml.doc"The project to update."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("project",(Option.mapx.project~f:Project.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:Project.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"Project.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of an update project request."]moduleUpdateProjectRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project whose name to update."];name:Name.toption[@ocaml.doc"A string that represents the new name of the project that you are updating."];defaultJobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"The number of minutes a test run in the project executes before it times out."];vpcConfig:VpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file. For more information about using test spec files, please see Custom test environments in AWS Device Farm."];executionRoleArn:AmazonRoleResourceName.toption[@ocaml.doc"An IAM role to be assumed by the test host for all runs in the project."]}letcontext_="UpdateProjectRequest"letmake?name=fun?defaultJobTimeoutMinutes->fun?vpcConfig->fun?environmentVariables->fun?executionRoleArn->fun~arn->fun()->{name;defaultJobTimeoutMinutes;vpcConfig;environmentVariables;executionRoleArn;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("name",(Option.mapx.name~f:Name.to_value));("defaultJobTimeoutMinutes",(Option.mapx.defaultJobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value));("executionRoleArn",(Option.mapx.executionRoleArn~f:AmazonRoleResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexecutionRoleArn=(Option.map~f:AmazonRoleResourceName.of_xml)(Xml.childxml_arg0"executionRoleArn")inletenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdefaultJobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"defaultJobTimeoutMinutes")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?executionRoleArn?environmentVariables?vpcConfig?defaultJobTimeoutMinutes?name~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexecutionRoleArn=field_mapjson__"executionRoleArn"AmazonRoleResourceName.of_jsoninletenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletdefaultJobTimeoutMinutes=field_mapjson__"defaultJobTimeoutMinutes"JobTimeoutMinutes.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?executionRoleArn?environmentVariables?vpcConfig?defaultJobTimeoutMinutes?name~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the update project operation."]moduleUpdateNetworkProfileResult=structtypenonrect={networkProfile:NetworkProfile.toption[@ocaml.doc"A list of the available network profiles."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?networkProfile=fun()->{networkProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("networkProfile",(Option.mapx.networkProfile~f:NetworkProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkProfile=(Option.map~f:NetworkProfile.of_xml)(Xml.childxml_arg0"networkProfile")inmake?networkProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkProfile=field_mapjson__"networkProfile"NetworkProfile.of_jsoninmake?networkProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the network profile."]moduleUpdateNetworkProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to update network profile settings."];name:Name.toption[@ocaml.doc"The name of the network profile about which you are returning information."];description:Message.toption[@ocaml.doc"The description of the network profile about which you are returning information."];type_:NetworkProfileType.toption[@ocaml.doc"The type of network profile to return information about. Valid values are listed here."];uplinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];downlinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];uplinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];downlinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];uplinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];downlinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];uplinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of transmitted packets that fail to arrive from 0 to 100 percent."];downlinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of received packets that fail to arrive from 0 to 100 percent."]}letcontext_="UpdateNetworkProfileRequest"letmake?name=fun?description->fun?type_->fun?uplinkBandwidthBits->fun?downlinkBandwidthBits->fun?uplinkDelayMs->fun?downlinkDelayMs->fun?uplinkJitterMs->fun?downlinkJitterMs->fun?uplinkLossPercent->fun?downlinkLossPercent->fun~arn->fun()->{name;description;type_;uplinkBandwidthBits;downlinkBandwidthBits;uplinkDelayMs;downlinkDelayMs;uplinkJitterMs;downlinkJitterMs;uplinkLossPercent;downlinkLossPercent;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value));("type",(Option.mapx.type_~f:NetworkProfileType.to_value));("uplinkBandwidthBits",(Option.mapx.uplinkBandwidthBits~f:Long.to_value));("downlinkBandwidthBits",(Option.mapx.downlinkBandwidthBits~f:Long.to_value));("uplinkDelayMs",(Option.mapx.uplinkDelayMs~f:Long.to_value));("downlinkDelayMs",(Option.mapx.downlinkDelayMs~f:Long.to_value));("uplinkJitterMs",(Option.mapx.uplinkJitterMs~f:Long.to_value));("downlinkJitterMs",(Option.mapx.downlinkJitterMs~f:Long.to_value));("uplinkLossPercent",(Option.mapx.uplinkLossPercent~f:PercentInteger.to_value));("downlinkLossPercent",(Option.mapx.downlinkLossPercent~f:PercentInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdownlinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"downlinkLossPercent")inletuplinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"uplinkLossPercent")inletdownlinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkJitterMs")inletuplinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkJitterMs")inletdownlinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkDelayMs")inletuplinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkDelayMs")inletdownlinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkBandwidthBits")inletuplinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkBandwidthBits")inlettype_=(Option.map~f:NetworkProfileType.of_xml)(Xml.childxml_arg0"type")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description?name~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdownlinkLossPercent=field_mapjson__"downlinkLossPercent"PercentInteger.of_jsoninletuplinkLossPercent=field_mapjson__"uplinkLossPercent"PercentInteger.of_jsoninletdownlinkJitterMs=field_mapjson__"downlinkJitterMs"Long.of_jsoninletuplinkJitterMs=field_mapjson__"uplinkJitterMs"Long.of_jsoninletdownlinkDelayMs=field_mapjson__"downlinkDelayMs"Long.of_jsoninletuplinkDelayMs=field_mapjson__"uplinkDelayMs"Long.of_jsoninletdownlinkBandwidthBits=field_mapjson__"downlinkBandwidthBits"Long.of_jsoninletuplinkBandwidthBits=field_mapjson__"uplinkBandwidthBits"Long.of_jsoninlettype_=field_mapjson__"type"NetworkProfileType.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description?name~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the network profile."]moduleUpdateInstanceProfileResult=structtypenonrect={instanceProfile:InstanceProfile.toption[@ocaml.doc"An object that contains information about your instance profile."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?instanceProfile=fun()->{instanceProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("instanceProfile",(Option.mapx.instanceProfile~f:InstanceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceProfile=(Option.map~f:InstanceProfile.of_xml)(Xml.childxml_arg0"instanceProfile")inmake?instanceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceProfile=field_mapjson__"instanceProfile"InstanceProfile.of_jsoninmake?instanceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about an existing private device instance profile."]moduleUpdateInstanceProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the instance profile."];name:Name.toption[@ocaml.doc"The updated name for your instance profile."];description:Message.toption[@ocaml.doc"The updated description for your instance profile."];packageCleanup:Boolean.toption[@ocaml.doc"The updated choice for whether you want to specify package cleanup. The default value is false for private devices."];excludeAppPackagesFromCleanup:PackageIds.toption[@ocaml.doc"An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over. The list of packages is only considered if you set packageCleanup to true."];rebootAfterUse:Boolean.toption[@ocaml.doc"The updated choice for whether you want to reboot the device after use. The default value is true."]}letcontext_="UpdateInstanceProfileRequest"letmake?name=fun?description->fun?packageCleanup->fun?excludeAppPackagesFromCleanup->fun?rebootAfterUse->fun~arn->fun()->{name;description;packageCleanup;excludeAppPackagesFromCleanup;rebootAfterUse;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value));("packageCleanup",(Option.mapx.packageCleanup~f:Boolean.to_value));("excludeAppPackagesFromCleanup",(Option.mapx.excludeAppPackagesFromCleanup~f:PackageIds.to_value));("rebootAfterUse",(Option.mapx.rebootAfterUse~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrebootAfterUse=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"rebootAfterUse")inletexcludeAppPackagesFromCleanup=(Option.map~f:PackageIds.of_xml)(Xml.childxml_arg0"excludeAppPackagesFromCleanup")inletpackageCleanup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"packageCleanup")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?description?name~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrebootAfterUse=field_mapjson__"rebootAfterUse"Boolean.of_jsoninletexcludeAppPackagesFromCleanup=field_mapjson__"excludeAppPackagesFromCleanup"PackageIds.of_jsoninletpackageCleanup=field_mapjson__"packageCleanup"Boolean.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?description?name~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about an existing private device instance profile."]moduleUpdateDevicePoolResult=structtypenonrect={devicePool:DevicePool.toption[@ocaml.doc"The device pool you just updated."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?devicePool=fun()->{devicePool}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("devicePool",(Option.mapx.devicePool~f:DevicePool.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdevicePool=(Option.map~f:DevicePool.of_xml)(Xml.childxml_arg0"devicePool")inmake?devicePool()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdevicePool=field_mapjson__"devicePool"DevicePool.of_jsoninmake?devicePool()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of an update device pool request."]moduleUpdateDevicePoolRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Device Farm device pool to update."];name:Name.toption[@ocaml.doc"A string that represents the name of the device pool to update."];description:Message.toption[@ocaml.doc"A description of the device pool to update."];rules:Rules.toption[@ocaml.doc"Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules."];maxDevices:Integer.toption[@ocaml.doc"The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter. By specifying the maximum number of devices, you can control the costs that you incur by running tests. If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same request."];clearMaxDevices:Boolean.toption[@ocaml.doc"Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to true, the maxDevices parameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in the rules parameter. If you use this parameter in your request, you cannot use the maxDevices parameter in the same request."]}letcontext_="UpdateDevicePoolRequest"letmake?name=fun?description->fun?rules->fun?maxDevices->fun?clearMaxDevices->fun~arn->fun()->{name;description;rules;maxDevices;clearMaxDevices;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("name",(Option.mapx.name~f:Name.to_value));("description",(Option.mapx.description~f:Message.to_value));("rules",(Option.mapx.rules~f:Rules.to_value));("maxDevices",(Option.mapx.maxDevices~f:Integer.to_value));("clearMaxDevices",(Option.mapx.clearMaxDevices~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclearMaxDevices=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"clearMaxDevices")inletmaxDevices=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxDevices")inletrules=(Option.map~f:Rules.of_xml)(Xml.childxml_arg0"rules")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?clearMaxDevices?maxDevices?rules?description?name~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclearMaxDevices=field_mapjson__"clearMaxDevices"Boolean.of_jsoninletmaxDevices=field_mapjson__"maxDevices"Integer.of_jsoninletrules=field_mapjson__"rules"Rules.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?clearMaxDevices?maxDevices?rules?description?name~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the update device pool operation."]moduleUpdateDeviceInstanceResult=structtypenonrect={deviceInstance:DeviceInstance.toption[@ocaml.doc"An object that contains information about your device instance."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deviceInstance=fun()->{deviceInstance}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("deviceInstance",(Option.mapx.deviceInstance~f:DeviceInstance.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceInstance=(Option.map~f:DeviceInstance.of_xml)(Xml.childxml_arg0"deviceInstance")inmake?deviceInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceInstance=field_mapjson__"deviceInstance"DeviceInstance.of_jsoninmake?deviceInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about a private device instance."]moduleUpdateDeviceInstanceRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the device instance."];profileArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the profile that you want to associate with the device instance."];labels:InstanceLabels.toption[@ocaml.doc"An array of strings that you want to associate with the device instance."]}letcontext_="UpdateDeviceInstanceRequest"letmake?profileArn=fun?labels->fun~arn->fun()->{profileArn;labels;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("profileArn",(Option.mapx.profileArn~f:AmazonResourceName.to_value));("labels",(Option.mapx.labels~f:InstanceLabels.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlabels=(Option.map~f:InstanceLabels.of_xml)(Xml.childxml_arg0"labels")inletprofileArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"profileArn")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?labels?profileArn~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlabels=field_mapjson__"labels"InstanceLabels.of_jsoninletprofileArn=field_mapjson__"profileArn"AmazonResourceName.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?labels?profileArn~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates information about a private device instance."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`NotFoundExceptionofNotFoundException.t|`TagOperationExceptionofTagOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TagOperationException"->`TagOperationException(TagOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TagOperationException"->`TagOperationException(TagOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TagOperationExceptione->`Assoc[("error",(`String"TagOperationException"));("details",(TagOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified tags from a resource."]moduleUntagResourceRequest=structtypenonrect={resourceARN:DeviceFarmArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate tags with the following Device Farm resources: PROJECT, TESTGRID_PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION."];tagKeys:TagKeyList.t[@ocaml.doc"The keys of the tags to be removed."]}letcontext_="UntagResourceRequest"letmake~resourceARN=fun~tagKeys->fun()->{resourceARN;tagKeys}letto_valuex=structure_to_value[("ResourceARN",(Some(DeviceFarmArn.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=DeviceFarmArn.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"DeviceFarmArn.of_jsoninmake~tagKeys~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified tags from a resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`NotFoundExceptionofNotFoundException.t|`TagOperationExceptionofTagOperationException.t|`TagPolicyExceptionofTagPolicyException.t|`TooManyTagsExceptionofTooManyTagsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TagOperationException"->`TagOperationException(TagOperationException.of_jsonjson)|"TagPolicyException"->`TagPolicyException(TagPolicyException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TagOperationException"->`TagOperationException(TagOperationException.of_xmlxml)|"TagPolicyException"->`TagPolicyException(TagPolicyException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TagOperationExceptione->`Assoc[("error",(`String"TagOperationException"));("details",(TagOperationException.to_jsone))]|`TagPolicyExceptione->`Assoc[("error",(`String"TagPolicyException"));("details",(TagPolicyException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted."]moduleTagResourceRequest=structtypenonrect={resourceARN:DeviceFarmArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags with the following Device Farm resources: PROJECT, TESTGRID_PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION."];tags:TagList.t[@ocaml.doc"The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters."]}letcontext_="TagResourceRequest"letmake~resourceARN=fun~tags->fun()->{resourceARN;tags}letto_valuex=structure_to_value[("ResourceARN",(Some(DeviceFarmArn.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=DeviceFarmArn.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"DeviceFarmArn.of_jsoninmake~tags~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted."]moduleStopRunResult=structtypenonrect={run:Run.toption[@ocaml.doc"The run that was stopped."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?run=fun()->{run}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("run",(Option.mapx.run~f:Run.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrun=(Option.map~f:Run.of_xml)(Xml.childxml_arg0"run")inmake?run()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrun=field_mapjson__"run"Run.of_jsoninmake?run()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the results of your stop run attempt."]moduleStopRunRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"Represents the Amazon Resource Name (ARN) of the Device Farm run to stop."]}letcontext_="StopRunRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to stop a specific run."]moduleStopRemoteAccessSessionResult=structtypenonrect={remoteAccessSession:RemoteAccessSession.toption[@ocaml.doc"A container that represents the metadata from the service about the remote access session you are stopping."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?remoteAccessSession=fun()->{remoteAccessSession}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("remoteAccessSession",(Option.mapx.remoteAccessSession~f:RemoteAccessSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letremoteAccessSession=(Option.map~f:RemoteAccessSession.of_xml)(Xml.childxml_arg0"remoteAccessSession")inmake?remoteAccessSession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letremoteAccessSession=field_mapjson__"remoteAccessSession"RemoteAccessSession.of_jsoninmake?remoteAccessSession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the response from the server that describes the remote access session when AWS Device Farm stops the session."]moduleStopRemoteAccessSessionRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the remote access session to stop."]}letcontext_="StopRemoteAccessSessionRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to stop the remote access session."]moduleStopJobResult=structtypenonrect={job:Job.toption[@ocaml.doc"The job that was stopped."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?job=fun()->{job}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("job",(Option.mapx.job~f:Job.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjob=(Option.map~f:Job.of_xml)(Xml.childxml_arg0"job")inmake?job()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjob=field_mapjson__"job"Job.of_jsoninmake?job()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests have not started. You are not billed for this device. On the device where tests have started, setup suite and teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were in progress or already completed."]moduleStopJobRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"Represents the Amazon Resource Name (ARN) of the Device Farm job to stop."]}letcontext_="StopJobRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests have not started. You are not billed for this device. On the device where tests have started, setup suite and teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were in progress or already completed."]moduleScheduleRunResult=structtypenonrect={run:Run.toption[@ocaml.doc"Information about the scheduled run."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`IdempotencyExceptionofIdempotencyException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?run=fun()->{run}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"IdempotencyException"->`IdempotencyException(IdempotencyException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"IdempotencyException"->`IdempotencyException(IdempotencyException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`IdempotencyExceptione->`Assoc[("error",(`String"IdempotencyException"));("details",(IdempotencyException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("run",(Option.mapx.run~f:Run.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrun=(Option.map~f:Run.of_xml)(Xml.childxml_arg0"run")inmake?run()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrun=field_mapjson__"run"Run.of_jsoninmake?run()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a schedule run request."]moduleScheduleRunRequest=structtypenonrect={projectArn:AmazonResourceName.t[@ocaml.doc"The ARN of the project for the run to be scheduled."];appArn:AmazonResourceName.toption[@ocaml.doc"The ARN of an application package to run tests against, created with CreateUpload. See ListUploads."];devicePoolArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the device pool for the run to be scheduled."];deviceSelectionConfiguration:DeviceSelectionConfiguration.toption[@ocaml.doc"The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run. Either devicePoolArn or deviceSelectionConfiguration is required in a request."];name:Name.toption[@ocaml.doc"The name for the run to be scheduled."];test:ScheduleRunTest.t[@ocaml.doc"Information about the test for the run to be scheduled."];configuration:ScheduleRunConfiguration.toption[@ocaml.doc"Information about the settings for the run to be scheduled."];executionConfiguration:ExecutionConfiguration.toption[@ocaml.doc"Specifies configuration information about a test run, such as the execution timeout (in minutes)."]}letcontext_="ScheduleRunRequest"letmake?appArn=fun?devicePoolArn->fun?deviceSelectionConfiguration->fun?name->fun?configuration->fun?executionConfiguration->fun~projectArn->fun~test->fun()->{appArn;devicePoolArn;deviceSelectionConfiguration;name;configuration;executionConfiguration;projectArn;test}letto_valuex=structure_to_value[("projectArn",(Some(AmazonResourceName.to_valuex.projectArn)));("appArn",(Option.mapx.appArn~f:AmazonResourceName.to_value));("devicePoolArn",(Option.mapx.devicePoolArn~f:AmazonResourceName.to_value));("deviceSelectionConfiguration",(Option.mapx.deviceSelectionConfiguration~f:DeviceSelectionConfiguration.to_value));("name",(Option.mapx.name~f:Name.to_value));("test",(Some(ScheduleRunTest.to_valuex.test)));("configuration",(Option.mapx.configuration~f:ScheduleRunConfiguration.to_value));("executionConfiguration",(Option.mapx.executionConfiguration~f:ExecutionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexecutionConfiguration=(Option.map~f:ExecutionConfiguration.of_xml)(Xml.childxml_arg0"executionConfiguration")inletconfiguration=(Option.map~f:ScheduleRunConfiguration.of_xml)(Xml.childxml_arg0"configuration")inlettest=ScheduleRunTest.of_xml(Xml.child_exn~context:context_xml_arg0"test")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletdeviceSelectionConfiguration=(Option.map~f:DeviceSelectionConfiguration.of_xml)(Xml.childxml_arg0"deviceSelectionConfiguration")inletdevicePoolArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"devicePoolArn")inletappArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"appArn")inletprojectArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?executionConfiguration?configuration~test?name?deviceSelectionConfiguration?devicePoolArn?appArn~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexecutionConfiguration=field_mapjson__"executionConfiguration"ExecutionConfiguration.of_jsoninletconfiguration=field_mapjson__"configuration"ScheduleRunConfiguration.of_jsoninlettest=field_map_exnjson__"test"ScheduleRunTest.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletdeviceSelectionConfiguration=field_mapjson__"deviceSelectionConfiguration"DeviceSelectionConfiguration.of_jsoninletdevicePoolArn=field_mapjson__"devicePoolArn"AmazonResourceName.of_jsoninletappArn=field_mapjson__"appArn"AmazonResourceName.of_jsoninletprojectArn=field_map_exnjson__"projectArn"AmazonResourceName.of_jsoninmake?executionConfiguration?configuration~test?name?deviceSelectionConfiguration?devicePoolArn?appArn~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the schedule run operation."]moduleRenewOfferingResult=structtypenonrect={offeringTransaction:OfferingTransaction.toption[@ocaml.doc"Represents the status of the offering transaction for the renewal."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?offeringTransaction=fun()->{offeringTransaction}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("offeringTransaction",(Option.mapx.offeringTransaction~f:OfferingTransaction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letofferingTransaction=(Option.map~f:OfferingTransaction.of_xml)(Xml.childxml_arg0"offeringTransaction")inmake?offeringTransaction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letofferingTransaction=field_mapjson__"offeringTransaction"OfferingTransaction.of_jsoninmake?offeringTransaction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The result of a renewal offering."]moduleRenewOfferingRequest=structtypenonrect={offeringId:OfferingIdentifier.t[@ocaml.doc"The ID of a request to renew an offering."];quantity:Integer.t[@ocaml.doc"The quantity requested in an offering renewal."]}letcontext_="RenewOfferingRequest"letmake~offeringId=fun~quantity->fun()->{offeringId;quantity}letto_valuex=structure_to_value[("offeringId",(Some(OfferingIdentifier.to_valuex.offeringId)));("quantity",(Some(Integer.to_valuex.quantity)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquantity=Integer.of_xml(Xml.child_exn~context:context_xml_arg0"quantity")inletofferingId=OfferingIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"offeringId")inmake~quantity~offeringId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquantity=field_map_exnjson__"quantity"Integer.of_jsoninletofferingId=field_map_exnjson__"offeringId"OfferingIdentifier.of_jsoninmake~quantity~offeringId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request that represents an offering renewal."]modulePurchaseOfferingResult=structtypenonrect={offeringTransaction:OfferingTransaction.toption[@ocaml.doc"Represents the offering transaction for the purchase result."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?offeringTransaction=fun()->{offeringTransaction}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("offeringTransaction",(Option.mapx.offeringTransaction~f:OfferingTransaction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letofferingTransaction=(Option.map~f:OfferingTransaction.of_xml)(Xml.childxml_arg0"offeringTransaction")inmake?offeringTransaction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letofferingTransaction=field_mapjson__"offeringTransaction"OfferingTransaction.of_jsoninmake?offeringTransaction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The result of the purchase offering (for example, success or failure)."]modulePurchaseOfferingRequest=structtypenonrect={offeringId:OfferingIdentifier.t[@ocaml.doc"The ID of the offering."];quantity:Integer.t[@ocaml.doc"The number of device slots to purchase in an offering request."];offeringPromotionId:OfferingPromotionIdentifier.toption[@ocaml.doc"The ID of the offering promotion to be applied to the purchase."]}letcontext_="PurchaseOfferingRequest"letmake?offeringPromotionId=fun~offeringId->fun~quantity->fun()->{offeringPromotionId;offeringId;quantity}letto_valuex=structure_to_value[("offeringId",(Some(OfferingIdentifier.to_valuex.offeringId)));("quantity",(Some(Integer.to_valuex.quantity)));("offeringPromotionId",(Option.mapx.offeringPromotionId~f:OfferingPromotionIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letofferingPromotionId=(Option.map~f:OfferingPromotionIdentifier.of_xml)(Xml.childxml_arg0"offeringPromotionId")inletquantity=Integer.of_xml(Xml.child_exn~context:context_xml_arg0"quantity")inletofferingId=OfferingIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"offeringId")inmake?offeringPromotionId~quantity~offeringId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letofferingPromotionId=field_mapjson__"offeringPromotionId"OfferingPromotionIdentifier.of_jsoninletquantity=field_map_exnjson__"quantity"Integer.of_jsoninletofferingId=field_map_exnjson__"offeringId"OfferingIdentifier.of_jsoninmake?offeringPromotionId~quantity~offeringId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request for a purchase offering."]moduleListVPCEConfigurationsResult=structtypenonrect={vpceConfigurations:VPCEConfigurations.toption[@ocaml.doc"An array of VPCEConfiguration objects that contain information about your VPC endpoint configuration."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpceConfigurations=fun?nextToken->fun()->{vpceConfigurations;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpceConfigurations",(Option.mapx.vpceConfigurations~f:VPCEConfigurations.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletvpceConfigurations=(Option.map~f:VPCEConfigurations.of_xml)(Xml.childxml_arg0"vpceConfigurations")inmake?nextToken?vpceConfigurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletvpceConfigurations=field_mapjson__"vpceConfigurations"VPCEConfigurations.of_jsoninmake?nextToken?vpceConfigurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account."]moduleListVPCEConfigurationsRequest=structtypenonrect={maxResults:Integer.toption[@ocaml.doc"An integer that specifies the maximum number of items you want to return in the API response."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:Integer.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:Integer.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"PaginationToken.of_jsoninletmaxResults=field_mapjson__"maxResults"Integer.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account."]moduleListUploadsResult=structtypenonrect={uploads:Uploads.toption[@ocaml.doc"Information about the uploads."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?uploads=fun?nextToken->fun()->{uploads;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("uploads",(Option.mapx.uploads~f:Uploads.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletuploads=(Option.map~f:Uploads.of_xml)(Xml.childxml_arg0"uploads")inmake?nextToken?uploads()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletuploads=field_mapjson__"uploads"Uploads.of_jsoninmake?nextToken?uploads()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list uploads request."]moduleListUploadsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to list uploads."];type_:UploadType.toption[@ocaml.doc"The type of upload. Must be one of the following values: ANDROID_APP IOS_APP WEB_APP EXTERNAL_DATA APPIUM_JAVA_JUNIT_TEST_PACKAGE APPIUM_JAVA_TESTNG_TEST_PACKAGE APPIUM_PYTHON_TEST_PACKAGE APPIUM_NODE_TEST_PACKAGE APPIUM_RUBY_TEST_PACKAGE APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE APPIUM_WEB_PYTHON_TEST_PACKAGE APPIUM_WEB_NODE_TEST_PACKAGE APPIUM_WEB_RUBY_TEST_PACKAGE INSTRUMENTATION_TEST_PACKAGE XCTEST_TEST_PACKAGE XCTEST_UI_TEST_PACKAGE APPIUM_JAVA_JUNIT_TEST_SPEC APPIUM_JAVA_TESTNG_TEST_SPEC APPIUM_PYTHON_TEST_SPEC APPIUM_NODE_TEST_SPEC APPIUM_RUBY_TEST_SPEC APPIUM_WEB_JAVA_JUNIT_TEST_SPEC APPIUM_WEB_JAVA_TESTNG_TEST_SPEC APPIUM_WEB_PYTHON_TEST_SPEC APPIUM_WEB_NODE_TEST_SPEC APPIUM_WEB_RUBY_TEST_SPEC INSTRUMENTATION_TEST_SPEC XCTEST_UI_TEST_SPEC"];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListUploadsRequest"letmake?type_=fun?nextToken->fun~arn->fun()->{type_;nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("type",(Option.mapx.type_~f:UploadType.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettype_=(Option.map~f:UploadType.of_xml)(Xml.childxml_arg0"type")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken?type_~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettype_=field_mapjson__"type"UploadType.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken?type_~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list uploads operation."]moduleListUniqueProblemsResult=structtypenonrect={uniqueProblems:UniqueProblemsByExecutionResultMap.toption[@ocaml.doc"Information about the unique problems. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED"];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?uniqueProblems=fun?nextToken->fun()->{uniqueProblems;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("uniqueProblems",(Option.mapx.uniqueProblems~f:UniqueProblemsByExecutionResultMap.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletuniqueProblems=(Option.map~f:UniqueProblemsByExecutionResultMap.of_xml)(Xml.childxml_arg0"uniqueProblems")inmake?nextToken?uniqueProblems()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletuniqueProblems=field_mapjson__"uniqueProblems"UniqueProblemsByExecutionResultMap.of_jsoninmake?nextToken?uniqueProblems()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list unique problems request."]moduleListUniqueProblemsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The unique problems' ARNs."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListUniqueProblemsRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list unique problems operation."]moduleListTestsResult=structtypenonrect={tests:Tests.toption[@ocaml.doc"Information about the tests."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tests=fun?nextToken->fun()->{tests;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("tests",(Option.mapx.tests~f:Tests.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettests=(Option.map~f:Tests.of_xml)(Xml.childxml_arg0"tests")inmake?nextToken?tests()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettests=field_mapjson__"tests"Tests.of_jsoninmake?nextToken?tests()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list tests request."]moduleListTestsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The test suite's Amazon Resource Name (ARN)."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListTestsRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list tests operation."]moduleListTestGridSessionsResult=structtypenonrect={testGridSessions:TestGridSessions.toption[@ocaml.doc"The sessions that match the criteria in a ListTestGridSessionsRequest."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridSessions=fun?nextToken->fun()->{testGridSessions;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridSessions",(Option.mapx.testGridSessions~f:TestGridSessions.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettestGridSessions=(Option.map~f:TestGridSessions.of_xml)(Xml.childxml_arg0"testGridSessions")inmake?nextToken?testGridSessions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettestGridSessions=field_mapjson__"testGridSessions"TestGridSessions.of_jsoninmake?nextToken?testGridSessions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of sessions for a TestGridProject."]moduleListTestGridSessionsRequest=structtypenonrect={projectArn:DeviceFarmArn.t[@ocaml.doc"ARN of a TestGridProject."];status:TestGridSessionStatus.toption[@ocaml.doc"Return only sessions in this state."];creationTimeAfter:DateTime.toption[@ocaml.doc"Return only sessions created after this time."];creationTimeBefore:DateTime.toption[@ocaml.doc"Return only sessions created before this time."];endTimeAfter:DateTime.toption[@ocaml.doc"Return only sessions that ended after this time."];endTimeBefore:DateTime.toption[@ocaml.doc"Return only sessions that ended before this time."];maxResult:MaxPageSize.toption[@ocaml.doc"Return only this many results at a time."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}letcontext_="ListTestGridSessionsRequest"letmake?status=fun?creationTimeAfter->fun?creationTimeBefore->fun?endTimeAfter->fun?endTimeBefore->fun?maxResult->fun?nextToken->fun~projectArn->fun()->{status;creationTimeAfter;creationTimeBefore;endTimeAfter;endTimeBefore;maxResult;nextToken;projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DeviceFarmArn.to_valuex.projectArn)));("status",(Option.mapx.status~f:TestGridSessionStatus.to_value));("creationTimeAfter",(Option.mapx.creationTimeAfter~f:DateTime.to_value));("creationTimeBefore",(Option.mapx.creationTimeBefore~f:DateTime.to_value));("endTimeAfter",(Option.mapx.endTimeAfter~f:DateTime.to_value));("endTimeBefore",(Option.mapx.endTimeBefore~f:DateTime.to_value));("maxResult",(Option.mapx.maxResult~f:MaxPageSize.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResult=(Option.map~f:MaxPageSize.of_xml)(Xml.childxml_arg0"maxResult")inletendTimeBefore=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"endTimeBefore")inletendTimeAfter=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"endTimeAfter")inletcreationTimeBefore=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"creationTimeBefore")inletcreationTimeAfter=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"creationTimeAfter")inletstatus=(Option.map~f:TestGridSessionStatus.of_xml)(Xml.childxml_arg0"status")inletprojectArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?nextToken?maxResult?endTimeBefore?endTimeAfter?creationTimeBefore?creationTimeAfter?status~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletmaxResult=field_mapjson__"maxResult"MaxPageSize.of_jsoninletendTimeBefore=field_mapjson__"endTimeBefore"DateTime.of_jsoninletendTimeAfter=field_mapjson__"endTimeAfter"DateTime.of_jsoninletcreationTimeBefore=field_mapjson__"creationTimeBefore"DateTime.of_jsoninletcreationTimeAfter=field_mapjson__"creationTimeAfter"DateTime.of_jsoninletstatus=field_mapjson__"status"TestGridSessionStatus.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DeviceFarmArn.of_jsoninmake?nextToken?maxResult?endTimeBefore?endTimeAfter?creationTimeBefore?creationTimeAfter?status~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of sessions for a TestGridProject."]moduleListTestGridSessionArtifactsResult=structtypenonrect={artifacts:TestGridSessionArtifacts.toption[@ocaml.doc"A list of test grid session artifacts for a TestGridSession."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?artifacts=fun?nextToken->fun()->{artifacts;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("artifacts",(Option.mapx.artifacts~f:TestGridSessionArtifacts.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletartifacts=(Option.map~f:TestGridSessionArtifacts.of_xml)(Xml.childxml_arg0"artifacts")inmake?nextToken?artifacts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletartifacts=field_mapjson__"artifacts"TestGridSessionArtifacts.of_jsoninmake?nextToken?artifacts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of artifacts created during the session."]moduleListTestGridSessionArtifactsRequest=structtypenonrect={sessionArn:DeviceFarmArn.t[@ocaml.doc"The ARN of a TestGridSession."];type_:TestGridSessionArtifactCategory.toption[@ocaml.doc"Limit results to a specified type of artifact."];maxResult:MaxPageSize.toption[@ocaml.doc"The maximum number of results to be returned by a request."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}letcontext_="ListTestGridSessionArtifactsRequest"letmake?type_=fun?maxResult->fun?nextToken->fun~sessionArn->fun()->{type_;maxResult;nextToken;sessionArn}letto_valuex=structure_to_value[("sessionArn",(Some(DeviceFarmArn.to_valuex.sessionArn)));("type",(Option.mapx.type_~f:TestGridSessionArtifactCategory.to_value));("maxResult",(Option.mapx.maxResult~f:MaxPageSize.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResult=(Option.map~f:MaxPageSize.of_xml)(Xml.childxml_arg0"maxResult")inlettype_=(Option.map~f:TestGridSessionArtifactCategory.of_xml)(Xml.childxml_arg0"type")inletsessionArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"sessionArn")inmake?nextToken?maxResult?type_~sessionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletmaxResult=field_mapjson__"maxResult"MaxPageSize.of_jsoninlettype_=field_mapjson__"type"TestGridSessionArtifactCategory.of_jsoninletsessionArn=field_map_exnjson__"sessionArn"DeviceFarmArn.of_jsoninmake?nextToken?maxResult?type_~sessionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of artifacts created during the session."]moduleListTestGridSessionActionsResult=structtypenonrect={actions:TestGridSessionActions.toption[@ocaml.doc"The action taken by the session."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?actions=fun?nextToken->fun()->{actions;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("actions",(Option.mapx.actions~f:TestGridSessionActions.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletactions=(Option.map~f:TestGridSessionActions.of_xml)(Xml.childxml_arg0"actions")inmake?nextToken?actions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletactions=field_mapjson__"actions"TestGridSessionActions.of_jsoninmake?nextToken?actions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the actions taken in a TestGridSession."]moduleListTestGridSessionActionsRequest=structtypenonrect={sessionArn:DeviceFarmArn.t[@ocaml.doc"The ARN of the session to retrieve."];maxResult:MaxPageSize.toption[@ocaml.doc"The maximum number of sessions to return per response."];nextToken:PaginationToken.toption[@ocaml.doc"Pagination token."]}letcontext_="ListTestGridSessionActionsRequest"letmake?maxResult=fun?nextToken->fun~sessionArn->fun()->{maxResult;nextToken;sessionArn}letto_valuex=structure_to_value[("sessionArn",(Some(DeviceFarmArn.to_valuex.sessionArn)));("maxResult",(Option.mapx.maxResult~f:MaxPageSize.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResult=(Option.map~f:MaxPageSize.of_xml)(Xml.childxml_arg0"maxResult")inletsessionArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"sessionArn")inmake?nextToken?maxResult~sessionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletmaxResult=field_mapjson__"maxResult"MaxPageSize.of_jsoninletsessionArn=field_map_exnjson__"sessionArn"DeviceFarmArn.of_jsoninmake?nextToken?maxResult~sessionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the actions taken in a TestGridSession."]moduleListTestGridProjectsResult=structtypenonrect={testGridProjects:TestGridProjects.toption[@ocaml.doc"The list of TestGridProjects, based on a ListTestGridProjectsRequest."];nextToken:PaginationToken.toption[@ocaml.doc"Used for pagination. Pass into ListTestGridProjects to get more results in a paginated request."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridProjects=fun?nextToken->fun()->{testGridProjects;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridProjects",(Option.mapx.testGridProjects~f:TestGridProjects.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettestGridProjects=(Option.map~f:TestGridProjects.of_xml)(Xml.childxml_arg0"testGridProjects")inmake?nextToken?testGridProjects()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettestGridProjects=field_mapjson__"testGridProjects"TestGridProjects.of_jsoninmake?nextToken?testGridProjects()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of all Selenium testing projects in your account."]moduleListTestGridProjectsRequest=structtypenonrect={maxResult:MaxPageSize.toption[@ocaml.doc"Return no more than this number of results."];nextToken:PaginationToken.toption[@ocaml.doc"From a response, used to continue a paginated listing."]}letmake?maxResult=fun?nextToken->fun()->{maxResult;nextToken}letto_valuex=structure_to_value[("maxResult",(Option.mapx.maxResult~f:MaxPageSize.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResult=(Option.map~f:MaxPageSize.of_xml)(Xml.childxml_arg0"maxResult")inmake?nextToken?maxResult()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletmaxResult=field_mapjson__"maxResult"MaxPageSize.of_jsoninmake?nextToken?maxResult()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets a list of all Selenium testing projects in your account."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`NotFoundExceptionofNotFoundException.t|`TagOperationExceptionofTagOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TagOperationException"->`TagOperationException(TagOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TagOperationException"->`TagOperationException(TagOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TagOperationExceptione->`Assoc[("error",(`String"TagOperationException"));("details",(TagOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the tags for an AWS Device Farm resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:DeviceFarmArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource or resources for which to list tags. You can associate tags with the following Device Farm resources: PROJECT, TESTGRID_PROJECT, RUN, NETWORK_PROFILE, INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION."]}letcontext_="ListTagsForResourceRequest"letmake~resourceARN=fun()->{resourceARN}letto_valuex=structure_to_value[("ResourceARN",(Some(DeviceFarmArn.to_valuex.resourceARN)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceARN=DeviceFarmArn.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"DeviceFarmArn.of_jsoninmake~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the tags for an AWS Device Farm resource."]moduleListSuitesResult=structtypenonrect={suites:Suites.toption[@ocaml.doc"Information about the suites."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?suites=fun?nextToken->fun()->{suites;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("suites",(Option.mapx.suites~f:Suites.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletsuites=(Option.map~f:Suites.of_xml)(Xml.childxml_arg0"suites")inmake?nextToken?suites()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletsuites=field_mapjson__"suites"Suites.of_jsoninmake?nextToken?suites()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list suites request."]moduleListSuitesRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The job's Amazon Resource Name (ARN)."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListSuitesRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list suites operation."]moduleListSamplesResult=structtypenonrect={samples:Samples.toption[@ocaml.doc"Information about the samples."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?samples=fun?nextToken->fun()->{samples;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("samples",(Option.mapx.samples~f:Samples.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletsamples=(Option.map~f:Samples.of_xml)(Xml.childxml_arg0"samples")inmake?nextToken?samples()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletsamples=field_mapjson__"samples"Samples.of_jsoninmake?nextToken?samples()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list samples request."]moduleListSamplesRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the job used to list samples."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListSamplesRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list samples operation."]moduleListRunsResult=structtypenonrect={runs:Runs.toption[@ocaml.doc"Information about the runs."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?runs=fun?nextToken->fun()->{runs;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("runs",(Option.mapx.runs~f:Runs.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletruns=(Option.map~f:Runs.of_xml)(Xml.childxml_arg0"runs")inmake?nextToken?runs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletruns=field_mapjson__"runs"Runs.of_jsoninmake?nextToken?runs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list runs request."]moduleListRunsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to list runs."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListRunsRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list runs operation."]moduleListRemoteAccessSessionsResult=structtypenonrect={remoteAccessSessions:RemoteAccessSessions.toption[@ocaml.doc"A container that represents the metadata from the service about each remote access session you are requesting."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?remoteAccessSessions=fun?nextToken->fun()->{remoteAccessSessions;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("remoteAccessSessions",(Option.mapx.remoteAccessSessions~f:RemoteAccessSessions.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletremoteAccessSessions=(Option.map~f:RemoteAccessSessions.of_xml)(Xml.childxml_arg0"remoteAccessSessions")inmake?nextToken?remoteAccessSessions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletremoteAccessSessions=field_mapjson__"remoteAccessSessions"RemoteAccessSessions.of_jsoninmake?nextToken?remoteAccessSessions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the response from the server after AWS Device Farm makes a request to return information about the remote access session."]moduleListRemoteAccessSessionsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project about which you are requesting information."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListRemoteAccessSessionsRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to return information about the remote access session."]moduleListProjectsResult=structtypenonrect={projects:Projects.toption[@ocaml.doc"Information about the projects."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?projects=fun?nextToken->fun()->{projects;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("projects",(Option.mapx.projects~f:Projects.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletprojects=(Option.map~f:Projects.of_xml)(Xml.childxml_arg0"projects")inmake?nextToken?projects()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletprojects=field_mapjson__"projects"Projects.of_jsoninmake?nextToken?projects()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list projects request."]moduleListProjectsRequest=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?arn=fun?nextToken->fun()->{arn;nextToken}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?nextToken?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?nextToken?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list projects operation."]moduleListOfferingsResult=structtypenonrect={offerings:Offerings.toption[@ocaml.doc"A value that represents the list offering results."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?offerings=fun?nextToken->fun()->{offerings;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("offerings",(Option.mapx.offerings~f:Offerings.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletofferings=(Option.map~f:Offerings.of_xml)(Xml.childxml_arg0"offerings")inmake?nextToken?offerings()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletofferings=field_mapjson__"offerings"Offerings.of_jsoninmake?nextToken?offerings()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the return values of the list of offerings."]moduleListOfferingsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to list all offerings."]moduleListOfferingTransactionsResult=structtypenonrect={offeringTransactions:OfferingTransactions.toption[@ocaml.doc"The audit log of subscriptions you have purchased and modified through AWS Device Farm."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?offeringTransactions=fun?nextToken->fun()->{offeringTransactions;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("offeringTransactions",(Option.mapx.offeringTransactions~f:OfferingTransactions.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletofferingTransactions=(Option.map~f:OfferingTransactions.of_xml)(Xml.childxml_arg0"offeringTransactions")inmake?nextToken?offeringTransactions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletofferingTransactions=field_mapjson__"offeringTransactions"OfferingTransactions.of_jsoninmake?nextToken?offeringTransactions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the transaction log of the specified offerings."]moduleListOfferingTransactionsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to list the offering transaction history."]moduleListOfferingPromotionsResult=structtypenonrect={offeringPromotions:OfferingPromotions.toption[@ocaml.doc"Information about the offering promotions."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier to be used in the next call to this operation, to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?offeringPromotions=fun?nextToken->fun()->{offeringPromotions;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("offeringPromotions",(Option.mapx.offeringPromotions~f:OfferingPromotions.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletofferingPromotions=(Option.map~f:OfferingPromotions.of_xml)(Xml.childxml_arg0"offeringPromotions")inmake?nextToken?offeringPromotions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletofferingPromotions=field_mapjson__"offeringPromotions"OfferingPromotions.of_jsoninmake?nextToken?offeringPromotions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support\\@amazon.com if you must be able to invoke this operation."]moduleListOfferingPromotionsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support\\@amazon.com if you must be able to invoke this operation."]moduleListNetworkProfilesResult=structtypenonrect={networkProfiles:NetworkProfiles.toption[@ocaml.doc"A list of the available network profiles."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?networkProfiles=fun?nextToken->fun()->{networkProfiles;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("networkProfiles",(Option.mapx.networkProfiles~f:NetworkProfiles.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletnetworkProfiles=(Option.map~f:NetworkProfiles.of_xml)(Xml.childxml_arg0"networkProfiles")inmake?nextToken?networkProfiles()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletnetworkProfiles=field_mapjson__"networkProfiles"NetworkProfiles.of_jsoninmake?nextToken?networkProfiles()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the list of available network profiles."]moduleListNetworkProfilesRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to list network profiles."];type_:NetworkProfileType.toption[@ocaml.doc"The type of network profile to return information about. Valid values are listed here."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListNetworkProfilesRequest"letmake?type_=fun?nextToken->fun~arn->fun()->{type_;nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("type",(Option.mapx.type_~f:NetworkProfileType.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettype_=(Option.map~f:NetworkProfileType.of_xml)(Xml.childxml_arg0"type")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken?type_~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettype_=field_mapjson__"type"NetworkProfileType.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken?type_~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the list of available network profiles."]moduleListJobsResult=structtypenonrect={jobs:Jobs.toption[@ocaml.doc"Information about the jobs."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobs=fun?nextToken->fun()->{jobs;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("jobs",(Option.mapx.jobs~f:Jobs.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletjobs=(Option.map~f:Jobs.of_xml)(Xml.childxml_arg0"jobs")inmake?nextToken?jobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletjobs=field_mapjson__"jobs"Jobs.of_jsoninmake?nextToken?jobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list jobs request."]moduleListJobsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The run's Amazon Resource Name (ARN)."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListJobsRequest"letmake?nextToken=fun~arn->fun()->{nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list jobs operation."]moduleListInstanceProfilesResult=structtypenonrect={instanceProfiles:InstanceProfiles.toption[@ocaml.doc"An object that contains information about your instance profiles."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that can be used in the next call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?instanceProfiles=fun?nextToken->fun()->{instanceProfiles;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("instanceProfiles",(Option.mapx.instanceProfiles~f:InstanceProfiles.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletinstanceProfiles=(Option.map~f:InstanceProfiles.of_xml)(Xml.childxml_arg0"instanceProfiles")inmake?nextToken?instanceProfiles()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletinstanceProfiles=field_mapjson__"instanceProfiles"InstanceProfiles.of_jsoninmake?nextToken?instanceProfiles()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about all the instance profiles in an AWS account."]moduleListInstanceProfilesRequest=structtypenonrect={maxResults:Integer.toption[@ocaml.doc"An integer that specifies the maximum number of items you want to return in the API response."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:Integer.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:Integer.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"PaginationToken.of_jsoninletmaxResults=field_mapjson__"maxResults"Integer.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about all the instance profiles in an AWS account."]moduleListDevicesResult=structtypenonrect={devices:Devices.toption[@ocaml.doc"Information about the devices."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?devices=fun?nextToken->fun()->{devices;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("devices",(Option.mapx.devices~f:Devices.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletdevices=(Option.map~f:Devices.of_xml)(Xml.childxml_arg0"devices")inmake?nextToken?devices()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletdevices=field_mapjson__"devices"Devices.of_jsoninmake?nextToken?devices()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list devices operation."]moduleListDevicesRequest=structtypenonrect={arn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the project."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."];filters:DeviceFilters.toption[@ocaml.doc"Used to select a set of devices. A filter is made up of an attribute, an operator, and one or more values. Attribute: The aspect of a device such as platform or model used as the selection criteria in a device filter. Allowed values include: ARN: The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example). PLATFORM: The device platform. Valid values are ANDROID or IOS. OS_VERSION: The operating system version (for example, 10.3.2). MODEL: The device model (for example, iPad 5th Gen). AVAILABILITY: The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. FORM_FACTOR: The device form factor. Valid values are PHONE or TABLET. MANUFACTURER: The device manufacturer (for example, Apple). REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access. Valid values are TRUE or FALSE. REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE. Because remote debugging is no longer supported, this attribute is ignored. INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance. INSTANCE_LABELS: The label of the device instance. FLEET_TYPE: The fleet type. Valid values are PUBLIC or PRIVATE. Operator: The filter operator. The EQUALS operator is available for every attribute except INSTANCE_LABELS. The CONTAINS operator is available for the INSTANCE_LABELS and MODEL attributes. The IN and NOT_IN operators are available for the ARN, OS_VERSION, MODEL, MANUFACTURER, and INSTANCE_ARN attributes. The LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUALS, and GREATER_THAN_OR_EQUALS operators are also available for the OS_VERSION attribute. Values: An array of one or more filter values. The IN and NOT_IN operators take a values array that has one or more elements. The other operators require an array with a single element. In a request, the AVAILABILITY attribute takes the following values: AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE."]}letmake?arn=fun?nextToken->fun?filters->fun()->{arn;nextToken;filters}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:AmazonResourceName.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("filters",(Option.mapx.filters~f:DeviceFilters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:DeviceFilters.of_xml)(Xml.childxml_arg0"filters")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletarn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"arn")inmake?filters?nextToken?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"filters"DeviceFilters.of_jsoninletnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletarn=field_mapjson__"arn"AmazonResourceName.of_jsoninmake?filters?nextToken?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list devices request."]moduleListDevicePoolsResult=structtypenonrect={devicePools:DevicePools.toption[@ocaml.doc"Information about the device pools."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?devicePools=fun?nextToken->fun()->{devicePools;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("devicePools",(Option.mapx.devicePools~f:DevicePools.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletdevicePools=(Option.map~f:DevicePools.of_xml)(Xml.childxml_arg0"devicePools")inmake?nextToken?devicePools()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletdevicePools=field_mapjson__"devicePools"DevicePools.of_jsoninmake?nextToken?devicePools()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list device pools request."]moduleListDevicePoolsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The project ARN."];type_:DevicePoolType.toption[@ocaml.doc"The device pools' type. Allowed values include: CURATED: A device pool that is created and managed by AWS Device Farm. PRIVATE: A device pool that is created and managed by the device pool developer."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListDevicePoolsRequest"letmake?type_=fun?nextToken->fun~arn->fun()->{type_;nextToken;arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("type",(Option.mapx.type_~f:DevicePoolType.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettype_=(Option.map~f:DevicePoolType.of_xml)(Xml.childxml_arg0"type")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken?type_~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettype_=field_mapjson__"type"DevicePoolType.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken?type_~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list device pools request."]moduleListDeviceInstancesResult=structtypenonrect={deviceInstances:DeviceInstances.toption[@ocaml.doc"An object that contains information about your device instances."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that can be used in the next call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deviceInstances=fun?nextToken->fun()->{deviceInstances;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("deviceInstances",(Option.mapx.deviceInstances~f:DeviceInstances.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletdeviceInstances=(Option.map~f:DeviceInstances.of_xml)(Xml.childxml_arg0"deviceInstances")inmake?nextToken?deviceInstances()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletdeviceInstances=field_mapjson__"deviceInstances"DeviceInstances.of_jsoninmake?nextToken?deviceInstances()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the private device instances associated with one or more AWS accounts."]moduleListDeviceInstancesRequest=structtypenonrect={maxResults:Integer.toption[@ocaml.doc"An integer that specifies the maximum number of items you want to return in the API response."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:Integer.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:Integer.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"PaginationToken.of_jsoninletmaxResults=field_mapjson__"maxResults"Integer.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the private device instances associated with one or more AWS accounts."]moduleListArtifactsResult=structtypenonrect={artifacts:Artifacts.toption[@ocaml.doc"Information about the artifacts."];nextToken:PaginationToken.toption[@ocaml.doc"If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?artifacts=fun?nextToken->fun()->{artifacts;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("artifacts",(Option.mapx.artifacts~f:Artifacts.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletartifacts=(Option.map~f:Artifacts.of_xml)(Xml.childxml_arg0"artifacts")inmake?nextToken?artifacts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletartifacts=field_mapjson__"artifacts"Artifacts.of_jsoninmake?nextToken?artifacts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a list artifacts operation."]moduleListArtifactsRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The run, job, suite, or test ARN."];type_:ArtifactCategory.t[@ocaml.doc"The artifacts' type. Allowed values include: FILE LOG SCREENSHOT"];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letcontext_="ListArtifactsRequest"letmake?nextToken=fun~arn->fun~type_->fun()->{nextToken;arn;type_}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)));("type",(Some(ArtifactCategory.to_valuex.type_)));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inlettype_=ArtifactCategory.of_xml(Xml.child_exn~context:context_xml_arg0"type")inletarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake?nextToken~type_~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninlettype_=field_map_exnjson__"type"ArtifactCategory.of_jsoninletarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake?nextToken~type_~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the list artifacts operation."]moduleInstallToRemoteAccessSessionResult=structtypenonrect={appUpload:Upload.toption[@ocaml.doc"An app to upload or that has been uploaded."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?appUpload=fun()->{appUpload}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("appUpload",(Option.mapx.appUpload~f:Upload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappUpload=(Option.map~f:Upload.of_xml)(Xml.childxml_arg0"appUpload")inmake?appUpload()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappUpload=field_mapjson__"appUpload"Upload.of_jsoninmake?appUpload()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the response from the server after AWS Device Farm makes a request to install to a remote access session."]moduleInstallToRemoteAccessSessionRequest=structtypenonrect={remoteAccessSessionArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the remote access session about which you are requesting information."];appArn:AmazonResourceName.t[@ocaml.doc"The ARN of the app about which you are requesting information."]}letcontext_="InstallToRemoteAccessSessionRequest"letmake~remoteAccessSessionArn=fun~appArn->fun()->{remoteAccessSessionArn;appArn}letto_valuex=structure_to_value[("remoteAccessSessionArn",(Some(AmazonResourceName.to_valuex.remoteAccessSessionArn)));("appArn",(Some(AmazonResourceName.to_valuex.appArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"appArn")inletremoteAccessSessionArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"remoteAccessSessionArn")inmake~appArn~remoteAccessSessionArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappArn=field_map_exnjson__"appArn"AmazonResourceName.of_jsoninletremoteAccessSessionArn=field_map_exnjson__"remoteAccessSessionArn"AmazonResourceName.of_jsoninmake~appArn~remoteAccessSessionArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to install an Android application (in .apk format) or an iOS application (in .ipa format) as part of a remote access session."]moduleGetVPCEConfigurationResult=structtypenonrect={vpceConfiguration:VPCEConfiguration.toption[@ocaml.doc"An object that contains information about your VPC endpoint configuration."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpceConfiguration=fun()->{vpceConfiguration}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpceConfiguration",(Option.mapx.vpceConfiguration~f:VPCEConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfiguration=(Option.map~f:VPCEConfiguration.of_xml)(Xml.childxml_arg0"vpceConfiguration")inmake?vpceConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfiguration=field_mapjson__"vpceConfiguration"VPCEConfiguration.of_jsoninmake?vpceConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleGetVPCEConfigurationRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to describe."]}letcontext_="GetVPCEConfigurationRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleGetUploadResult=structtypenonrect={upload:Upload.toption[@ocaml.doc"An app or a set of one or more tests to upload or that have been uploaded."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?upload=fun()->{upload}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("upload",(Option.mapx.upload~f:Upload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupload=(Option.map~f:Upload.of_xml)(Xml.childxml_arg0"upload")inmake?upload()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupload=field_mapjson__"upload"Upload.of_jsoninmake?upload()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get upload request."]moduleGetUploadRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The upload's ARN."]}letcontext_="GetUploadRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get upload operation."]moduleGetTestResult=structtypenonrect={test:Test.toption[@ocaml.doc"A test condition that is evaluated."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?test=fun()->{test}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("test",(Option.mapx.test~f:Test.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettest=(Option.map~f:Test.of_xml)(Xml.childxml_arg0"test")inmake?test()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettest=field_mapjson__"test"Test.of_jsoninmake?test()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get test request."]moduleGetTestRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The test's ARN."]}letcontext_="GetTestRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get test operation."]moduleGetTestGridSessionResult=structtypenonrect={testGridSession:TestGridSession.toption[@ocaml.doc"The TestGridSession that was requested."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridSession=fun()->{testGridSession}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridSession",(Option.mapx.testGridSession~f:TestGridSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestGridSession=(Option.map~f:TestGridSession.of_xml)(Xml.childxml_arg0"testGridSession")inmake?testGridSession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestGridSession=field_mapjson__"testGridSession"TestGridSession.of_jsoninmake?testGridSession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResult$url. You can use the following to look up sessions: The session ARN (GetTestGridSessionRequest$sessionArn). The project ARN and a session ID (GetTestGridSessionRequest$projectArn and GetTestGridSessionRequest$sessionId)."]moduleGetTestGridSessionRequest=structtypenonrect={projectArn:DeviceFarmArn.toption[@ocaml.doc"The ARN for the project that this session belongs to. See CreateTestGridProject and ListTestGridProjects."];sessionId:ResourceId.toption[@ocaml.doc"An ID associated with this session."];sessionArn:DeviceFarmArn.toption[@ocaml.doc"An ARN that uniquely identifies a TestGridSession."]}letmake?projectArn=fun?sessionId->fun?sessionArn->fun()->{projectArn;sessionId;sessionArn}letto_valuex=structure_to_value[("projectArn",(Option.mapx.projectArn~f:DeviceFarmArn.to_value));("sessionId",(Option.mapx.sessionId~f:ResourceId.to_value));("sessionArn",(Option.mapx.sessionArn~f:DeviceFarmArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsessionArn=(Option.map~f:DeviceFarmArn.of_xml)(Xml.childxml_arg0"sessionArn")inletsessionId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"sessionId")inletprojectArn=(Option.map~f:DeviceFarmArn.of_xml)(Xml.childxml_arg0"projectArn")inmake?sessionArn?sessionId?projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsessionArn=field_mapjson__"sessionArn"DeviceFarmArn.of_jsoninletsessionId=field_mapjson__"sessionId"ResourceId.of_jsoninletprojectArn=field_mapjson__"projectArn"DeviceFarmArn.of_jsoninmake?sessionArn?sessionId?projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResult$url. You can use the following to look up sessions: The session ARN (GetTestGridSessionRequest$sessionArn). The project ARN and a session ID (GetTestGridSessionRequest$projectArn and GetTestGridSessionRequest$sessionId)."]moduleGetTestGridProjectResult=structtypenonrect={testGridProject:TestGridProject.toption[@ocaml.doc"A TestGridProject."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridProject=fun()->{testGridProject}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridProject",(Option.mapx.testGridProject~f:TestGridProject.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestGridProject=(Option.map~f:TestGridProject.of_xml)(Xml.childxml_arg0"testGridProject")inmake?testGridProject()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestGridProject=field_mapjson__"testGridProject"TestGridProject.of_jsoninmake?testGridProject()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about a Selenium testing project."]moduleGetTestGridProjectRequest=structtypenonrect={projectArn:DeviceFarmArn.t[@ocaml.doc"The ARN of the Selenium testing project, from either CreateTestGridProject or ListTestGridProjects."]}letcontext_="GetTestGridProjectRequest"letmake~projectArn=fun()->{projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DeviceFarmArn.to_valuex.projectArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectArn=field_map_exnjson__"projectArn"DeviceFarmArn.of_jsoninmake~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about a Selenium testing project."]moduleGetSuiteResult=structtypenonrect={suite:Suite.toption[@ocaml.doc"A collection of one or more tests."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?suite=fun()->{suite}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("suite",(Option.mapx.suite~f:Suite.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsuite=(Option.map~f:Suite.of_xml)(Xml.childxml_arg0"suite")inmake?suite()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsuite=field_mapjson__"suite"Suite.of_jsoninmake?suite()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get suite request."]moduleGetSuiteRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The suite's ARN."]}letcontext_="GetSuiteRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get suite operation."]moduleGetRunResult=structtypenonrect={run:Run.toption[@ocaml.doc"The run to get results from."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?run=fun()->{run}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("run",(Option.mapx.run~f:Run.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrun=(Option.map~f:Run.of_xml)(Xml.childxml_arg0"run")inmake?run()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrun=field_mapjson__"run"Run.of_jsoninmake?run()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get run request."]moduleGetRunRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The run's ARN."]}letcontext_="GetRunRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get run operation."]moduleGetRemoteAccessSessionResult=structtypenonrect={remoteAccessSession:RemoteAccessSession.toption[@ocaml.doc"A container that lists detailed information about the remote access session."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?remoteAccessSession=fun()->{remoteAccessSession}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("remoteAccessSession",(Option.mapx.remoteAccessSession~f:RemoteAccessSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letremoteAccessSession=(Option.map~f:RemoteAccessSession.of_xml)(Xml.childxml_arg0"remoteAccessSession")inmake?remoteAccessSession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letremoteAccessSession=field_mapjson__"remoteAccessSession"RemoteAccessSession.of_jsoninmake?remoteAccessSession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the response from the server that lists detailed information about the remote access session."]moduleGetRemoteAccessSessionRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the remote access session about which you want to get session information."]}letcontext_="GetRemoteAccessSessionRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to get information about the specified remote access session."]moduleGetProjectResult=structtypenonrect={project:Project.toption[@ocaml.doc"The project to get information about."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("project",(Option.mapx.project~f:Project.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:Project.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"Project.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get project request."]moduleGetProjectRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The project's ARN."]}letcontext_="GetProjectRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get project operation."]moduleGetOfferingStatusResult=structtypenonrect={current:OfferingStatusMap.toption[@ocaml.doc"When specified, gets the offering status for the current period."];nextPeriod:OfferingStatusMap.toption[@ocaml.doc"When specified, gets the offering status for the next period."];nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotEligibleExceptionofNotEligibleException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?current=fun?nextPeriod->fun?nextToken->fun()->{current;nextPeriod;nextToken}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotEligibleException"->`NotEligibleException(NotEligibleException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotEligibleExceptione->`Assoc[("error",(`String"NotEligibleException"));("details",(NotEligibleException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("current",(Option.mapx.current~f:OfferingStatusMap.to_value));("nextPeriod",(Option.mapx.nextPeriod~f:OfferingStatusMap.to_value));("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inletnextPeriod=(Option.map~f:OfferingStatusMap.of_xml)(Xml.childxml_arg0"nextPeriod")inletcurrent=(Option.map~f:OfferingStatusMap.of_xml)(Xml.childxml_arg0"current")inmake?nextToken?nextPeriod?current()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninletnextPeriod=field_mapjson__"nextPeriod"OfferingStatusMap.of_jsoninletcurrent=field_mapjson__"current"OfferingStatusMap.of_jsoninmake?nextToken?nextPeriod?current()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status result for a device offering."]moduleGetOfferingStatusRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list."]}letmake?nextToken=fun()->{nextToken}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"PaginationToken.of_jsoninmake?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to retrieve the offering status for the specified customer or account."]moduleGetNetworkProfileResult=structtypenonrect={networkProfile:NetworkProfile.toption[@ocaml.doc"The network profile."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?networkProfile=fun()->{networkProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("networkProfile",(Option.mapx.networkProfile~f:NetworkProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkProfile=(Option.map~f:NetworkProfile.of_xml)(Xml.childxml_arg0"networkProfile")inmake?networkProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkProfile=field_mapjson__"networkProfile"NetworkProfile.of_jsoninmake?networkProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a network profile."]moduleGetNetworkProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The ARN of the network profile to return information about."]}letcontext_="GetNetworkProfileRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a network profile."]moduleGetJobResult=structtypenonrect={job:Job.toption[@ocaml.doc"An object that contains information about the requested job."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?job=fun()->{job}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("job",(Option.mapx.job~f:Job.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjob=(Option.map~f:Job.of_xml)(Xml.childxml_arg0"job")inmake?job()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjob=field_mapjson__"job"Job.of_jsoninmake?job()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get job request."]moduleGetJobRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The job's ARN."]}letcontext_="GetJobRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get job operation."]moduleGetInstanceProfileResult=structtypenonrect={instanceProfile:InstanceProfile.toption[@ocaml.doc"An object that contains information about an instance profile."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?instanceProfile=fun()->{instanceProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("instanceProfile",(Option.mapx.instanceProfile~f:InstanceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceProfile=(Option.map~f:InstanceProfile.of_xml)(Xml.childxml_arg0"instanceProfile")inmake?instanceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceProfile=field_mapjson__"instanceProfile"InstanceProfile.of_jsoninmake?instanceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the specified instance profile."]moduleGetInstanceProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of an instance profile."]}letcontext_="GetInstanceProfileRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the specified instance profile."]moduleGetDeviceResult=structtypenonrect={device:Device.toption[@ocaml.doc"An object that contains information about the requested device."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?device=fun()->{device}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("device",(Option.mapx.device~f:Device.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdevice=(Option.map~f:Device.of_xml)(Xml.childxml_arg0"device")inmake?device()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdevice=field_mapjson__"device"Device.of_jsoninmake?device()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get device request."]moduleGetDeviceRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The device type's ARN."]}letcontext_="GetDeviceRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get device request."]moduleGetDevicePoolResult=structtypenonrect={devicePool:DevicePool.toption[@ocaml.doc"An object that contains information about the requested device pool."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?devicePool=fun()->{devicePool}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("devicePool",(Option.mapx.devicePool~f:DevicePool.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdevicePool=(Option.map~f:DevicePool.of_xml)(Xml.childxml_arg0"devicePool")inmake?devicePool()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdevicePool=field_mapjson__"devicePool"DevicePool.of_jsoninmake?devicePool()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a get device pool request."]moduleGetDevicePoolRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The device pool's ARN."]}letcontext_="GetDevicePoolRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get device pool operation."]moduleGetDevicePoolCompatibilityResult=structtypenonrect={compatibleDevices:DevicePoolCompatibilityResults.toption[@ocaml.doc"Information about compatible devices."];incompatibleDevices:DevicePoolCompatibilityResults.toption[@ocaml.doc"Information about incompatible devices."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?compatibleDevices=fun?incompatibleDevices->fun()->{compatibleDevices;incompatibleDevices}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("compatibleDevices",(Option.mapx.compatibleDevices~f:DevicePoolCompatibilityResults.to_value));("incompatibleDevices",(Option.mapx.incompatibleDevices~f:DevicePoolCompatibilityResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letincompatibleDevices=(Option.map~f:DevicePoolCompatibilityResults.of_xml)(Xml.childxml_arg0"incompatibleDevices")inletcompatibleDevices=(Option.map~f:DevicePoolCompatibilityResults.of_xml)(Xml.childxml_arg0"compatibleDevices")inmake?incompatibleDevices?compatibleDevices()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letincompatibleDevices=field_mapjson__"incompatibleDevices"DevicePoolCompatibilityResults.of_jsoninletcompatibleDevices=field_mapjson__"compatibleDevices"DevicePoolCompatibilityResults.of_jsoninmake?incompatibleDevices?compatibleDevices()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of describe device pool compatibility request."]moduleGetDevicePoolCompatibilityRequest=structtypenonrect={devicePoolArn:AmazonResourceName.t[@ocaml.doc"The device pool's ARN."];appArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the app that is associated with the specified device pool."];testType:TestType.toption[@ocaml.doc"The test type for the specified device pool. Allowed values include the following: BUILTIN_FUZZ. APPIUM_JAVA_JUNIT. APPIUM_JAVA_TESTNG. APPIUM_PYTHON. APPIUM_NODE. APPIUM_RUBY. APPIUM_WEB_JAVA_JUNIT. APPIUM_WEB_JAVA_TESTNG. APPIUM_WEB_PYTHON. APPIUM_WEB_NODE. APPIUM_WEB_RUBY. INSTRUMENTATION. XCTEST. XCTEST_UI."];test:ScheduleRunTest.toption[@ocaml.doc"Information about the uploaded test to be run against the device pool."];configuration:ScheduleRunConfiguration.toption[@ocaml.doc"An object that contains information about the settings for a run."];projectArn:AmazonResourceName.toption[@ocaml.doc"The ARN of the project for which you want to check device pool compatibility."]}letcontext_="GetDevicePoolCompatibilityRequest"letmake?appArn=fun?testType->fun?test->fun?configuration->fun?projectArn->fun~devicePoolArn->fun()->{appArn;testType;test;configuration;projectArn;devicePoolArn}letto_valuex=structure_to_value[("devicePoolArn",(Some(AmazonResourceName.to_valuex.devicePoolArn)));("appArn",(Option.mapx.appArn~f:AmazonResourceName.to_value));("testType",(Option.mapx.testType~f:TestType.to_value));("test",(Option.mapx.test~f:ScheduleRunTest.to_value));("configuration",(Option.mapx.configuration~f:ScheduleRunConfiguration.to_value));("projectArn",(Option.mapx.projectArn~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"projectArn")inletconfiguration=(Option.map~f:ScheduleRunConfiguration.of_xml)(Xml.childxml_arg0"configuration")inlettest=(Option.map~f:ScheduleRunTest.of_xml)(Xml.childxml_arg0"test")inlettestType=(Option.map~f:TestType.of_xml)(Xml.childxml_arg0"testType")inletappArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"appArn")inletdevicePoolArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"devicePoolArn")inmake?projectArn?configuration?test?testType?appArn~devicePoolArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectArn=field_mapjson__"projectArn"AmazonResourceName.of_jsoninletconfiguration=field_mapjson__"configuration"ScheduleRunConfiguration.of_jsoninlettest=field_mapjson__"test"ScheduleRunTest.of_jsoninlettestType=field_mapjson__"testType"TestType.of_jsoninletappArn=field_mapjson__"appArn"AmazonResourceName.of_jsoninletdevicePoolArn=field_map_exnjson__"devicePoolArn"AmazonResourceName.of_jsoninmake?projectArn?configuration?test?testType?appArn~devicePoolArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the get device pool compatibility operation."]moduleGetDeviceInstanceResult=structtypenonrect={deviceInstance:DeviceInstance.toption[@ocaml.doc"An object that contains information about your device instance."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deviceInstance=fun()->{deviceInstance}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("deviceInstance",(Option.mapx.deviceInstance~f:DeviceInstance.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeviceInstance=(Option.map~f:DeviceInstance.of_xml)(Xml.childxml_arg0"deviceInstance")inmake?deviceInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeviceInstance=field_mapjson__"deviceInstance"DeviceInstance.of_jsoninmake?deviceInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a device instance that belongs to a private device fleet."]moduleGetDeviceInstanceRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the instance you're requesting information about."]}letcontext_="GetDeviceInstanceRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a device instance that belongs to a private device fleet."]moduleGetAccountSettingsResult=structtypenonrect={accountSettings:AccountSettings.toption[@ocaml.doc"The account settings."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?accountSettings=fun()->{accountSettings}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("accountSettings",(Option.mapx.accountSettings~f:AccountSettings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccountSettings=(Option.map~f:AccountSettings.of_xml)(Xml.childxml_arg0"accountSettings")inmake?accountSettings()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccountSettings=field_mapjson__"accountSettings"AccountSettings.of_jsoninmake?accountSettings()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the account settings return values from the GetAccountSettings request."]moduleGetAccountSettingsRequest=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request sent to retrieve the account settings."]moduleDeleteVPCEConfigurationResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`InvalidOperationExceptionofInvalidOperationException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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 a configuration for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleDeleteVPCEConfigurationRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to delete."]}letcontext_="DeleteVPCEConfigurationRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleDeleteUploadResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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"Represents the result of a delete upload request."]moduleDeleteUploadRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"Represents the Amazon Resource Name (ARN) of the Device Farm upload to delete."]}letcontext_="DeleteUploadRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the delete upload operation."]moduleDeleteTestGridProjectResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`CannotDeleteExceptionofCannotDeleteException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"CannotDeleteException"->`CannotDeleteException(CannotDeleteException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"CannotDeleteException"->`CannotDeleteException(CannotDeleteException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`CannotDeleteExceptione->`Assoc[("error",(`String"CannotDeleteException"));("details",(CannotDeleteException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Selenium testing project and all content generated under it. You cannot delete a project if it has active sessions. You cannot undo this operation."]moduleDeleteTestGridProjectRequest=structtypenonrect={projectArn:DeviceFarmArn.t[@ocaml.doc"The ARN of the project to delete, from CreateTestGridProject or ListTestGridProjects."]}letcontext_="DeleteTestGridProjectRequest"letmake~projectArn=fun()->{projectArn}letto_valuex=structure_to_value[("projectArn",(Some(DeviceFarmArn.to_valuex.projectArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectArn=field_map_exnjson__"projectArn"DeviceFarmArn.of_jsoninmake~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Selenium testing project and all content generated under it. You cannot delete a project if it has active sessions. You cannot undo this operation."]moduleDeleteRunResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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"Represents the result of a delete run request."]moduleDeleteRunRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) for the run to delete."]}letcontext_="DeleteRunRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the delete run operation."]moduleDeleteRemoteAccessSessionResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The response from the server when a request is made to delete the remote access session."]moduleDeleteRemoteAccessSessionRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the session for which you want to delete remote access."]}letcontext_="DeleteRemoteAccessSessionRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the request to delete the specified remote access session."]moduleDeleteProjectResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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"Represents the result of a delete project request."]moduleDeleteProjectRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"Represents the Amazon Resource Name (ARN) of the Device Farm project to delete."]}letcontext_="DeleteProjectRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the delete project operation."]moduleDeleteNetworkProfileResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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 a network profile."]moduleDeleteNetworkProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The ARN of the network profile to delete."]}letcontext_="DeleteNetworkProfileRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a network profile."]moduleDeleteInstanceProfileResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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 a profile that can be applied to one or more private device instances."]moduleDeleteInstanceProfileRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the instance profile you are requesting to delete."]}letcontext_="DeleteInstanceProfileRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a profile that can be applied to one or more private device instances."]moduleDeleteDevicePoolResult=structtypenonrect=unittypenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.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"Represents the result of a delete device pool request."]moduleDeleteDevicePoolRequest=structtypenonrect={arn:AmazonResourceName.t[@ocaml.doc"Represents the Amazon Resource Name (ARN) of the Device Farm device pool to delete."]}letcontext_="DeleteDevicePoolRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Some(AmazonResourceName.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"arn"AmazonResourceName.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the delete device pool operation."]moduleCreateVPCEConfigurationResult=structtypenonrect={vpceConfiguration:VPCEConfiguration.toption[@ocaml.doc"An object that contains information about your VPC endpoint configuration."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpceConfiguration=fun()->{vpceConfiguration}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("vpceConfiguration",(Option.mapx.vpceConfiguration~f:VPCEConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfiguration=(Option.map~f:VPCEConfiguration.of_xml)(Xml.childxml_arg0"vpceConfiguration")inmake?vpceConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfiguration=field_mapjson__"vpceConfiguration"VPCEConfiguration.of_jsoninmake?vpceConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleCreateVPCEConfigurationRequest=structtypenonrect={vpceConfigurationName:VPCEConfigurationName.t[@ocaml.doc"The friendly name you give to your VPC endpoint configuration, to manage your configurations more easily."];vpceServiceName:VPCEServiceName.t[@ocaml.doc"The name of the VPC endpoint service running in your AWS account that you want Device Farm to test."];serviceDnsName:ServiceDnsName.t[@ocaml.doc"The DNS name of the service running in your VPC that you want Device Farm to test."];vpceConfigurationDescription:VPCEConfigurationDescription.toption[@ocaml.doc"An optional description that provides details about your VPC endpoint configuration."]}letcontext_="CreateVPCEConfigurationRequest"letmake?vpceConfigurationDescription=fun~vpceConfigurationName->fun~vpceServiceName->fun~serviceDnsName->fun()->{vpceConfigurationDescription;vpceConfigurationName;vpceServiceName;serviceDnsName}letto_valuex=structure_to_value[("vpceConfigurationName",(Some(VPCEConfigurationName.to_valuex.vpceConfigurationName)));("vpceServiceName",(Some(VPCEServiceName.to_valuex.vpceServiceName)));("serviceDnsName",(Some(ServiceDnsName.to_valuex.serviceDnsName)));("vpceConfigurationDescription",(Option.mapx.vpceConfigurationDescription~f:VPCEConfigurationDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpceConfigurationDescription=(Option.map~f:VPCEConfigurationDescription.of_xml)(Xml.childxml_arg0"vpceConfigurationDescription")inletserviceDnsName=ServiceDnsName.of_xml(Xml.child_exn~context:context_xml_arg0"serviceDnsName")inletvpceServiceName=VPCEServiceName.of_xml(Xml.child_exn~context:context_xml_arg0"vpceServiceName")inletvpceConfigurationName=VPCEConfigurationName.of_xml(Xml.child_exn~context:context_xml_arg0"vpceConfigurationName")inmake?vpceConfigurationDescription~serviceDnsName~vpceServiceName~vpceConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpceConfigurationDescription=field_mapjson__"vpceConfigurationDescription"VPCEConfigurationDescription.of_jsoninletserviceDnsName=field_map_exnjson__"serviceDnsName"ServiceDnsName.of_jsoninletvpceServiceName=field_map_exnjson__"vpceServiceName"VPCEServiceName.of_jsoninletvpceConfigurationName=field_map_exnjson__"vpceConfigurationName"VPCEConfigurationName.of_jsoninmake?vpceConfigurationDescription~serviceDnsName~vpceServiceName~vpceConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint."]moduleCreateUploadResult=structtypenonrect={upload:Upload.toption[@ocaml.doc"The newly created upload."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?upload=fun()->{upload}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("upload",(Option.mapx.upload~f:Upload.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupload=(Option.map~f:Upload.of_xml)(Xml.childxml_arg0"upload")inmake?upload()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupload=field_mapjson__"upload"Upload.of_jsoninmake?upload()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a create upload request."]moduleCreateUploadRequest=structtypenonrect={projectArn:AmazonResourceName.t[@ocaml.doc"The ARN of the project for the upload."];name:Name.t[@ocaml.doc"The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension."];type_:UploadType.t[@ocaml.doc"The upload's upload type. Must be one of the following values: ANDROID_APP IOS_APP WEB_APP EXTERNAL_DATA APPIUM_JAVA_JUNIT_TEST_PACKAGE APPIUM_JAVA_TESTNG_TEST_PACKAGE APPIUM_PYTHON_TEST_PACKAGE APPIUM_NODE_TEST_PACKAGE APPIUM_RUBY_TEST_PACKAGE APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE APPIUM_WEB_PYTHON_TEST_PACKAGE APPIUM_WEB_NODE_TEST_PACKAGE APPIUM_WEB_RUBY_TEST_PACKAGE INSTRUMENTATION_TEST_PACKAGE XCTEST_TEST_PACKAGE XCTEST_UI_TEST_PACKAGE APPIUM_JAVA_JUNIT_TEST_SPEC APPIUM_JAVA_TESTNG_TEST_SPEC APPIUM_PYTHON_TEST_SPEC APPIUM_NODE_TEST_SPEC APPIUM_RUBY_TEST_SPEC APPIUM_WEB_JAVA_JUNIT_TEST_SPEC APPIUM_WEB_JAVA_TESTNG_TEST_SPEC APPIUM_WEB_PYTHON_TEST_SPEC APPIUM_WEB_NODE_TEST_SPEC APPIUM_WEB_RUBY_TEST_SPEC INSTRUMENTATION_TEST_SPEC XCTEST_UI_TEST_SPEC If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error."];contentType:ContentType.toption[@ocaml.doc"The upload's content type (for example, application/octet-stream)."]}letcontext_="CreateUploadRequest"letmake?contentType=fun~projectArn->fun~name->fun~type_->fun()->{contentType;projectArn;name;type_}letto_valuex=structure_to_value[("projectArn",(Some(AmazonResourceName.to_valuex.projectArn)));("name",(Some(Name.to_valuex.name)));("type",(Some(UploadType.to_valuex.type_)));("contentType",(Option.mapx.contentType~f:ContentType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontentType=(Option.map~f:ContentType.of_xml)(Xml.childxml_arg0"contentType")inlettype_=UploadType.of_xml(Xml.child_exn~context:context_xml_arg0"type")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletprojectArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?contentType~type_~name~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontentType=field_mapjson__"contentType"ContentType.of_jsoninlettype_=field_map_exnjson__"type"UploadType.of_jsoninletname=field_map_exnjson__"name"Name.of_jsoninletprojectArn=field_map_exnjson__"projectArn"AmazonResourceName.of_jsoninmake?contentType~type_~name~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the create upload operation."]moduleCreateTestGridUrlResult=structtypenonrect={url:SensitiveString.toption[@ocaml.doc"A signed URL, expiring in CreateTestGridUrlRequest$expiresInSeconds seconds, to be passed to a RemoteWebDriver."];expires:DateTime.toption[@ocaml.doc"The number of seconds the URL from CreateTestGridUrlResult$url stays active."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`NotFoundExceptionofNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?url=fun?expires->fun()->{url;expires}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("url",(Option.mapx.url~f:SensitiveString.to_value));("expires",(Option.mapx.expires~f:DateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpires=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"expires")inleturl=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"url")inmake?expires?url()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpires=field_mapjson__"expires"DateTime.of_jsoninleturl=field_mapjson__"url"SensitiveString.of_jsoninmake?expires?url()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor."]moduleCreateTestGridUrlRequest=structtypenonrect={projectArn:DeviceFarmArn.t[@ocaml.doc"ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL."];expiresInSeconds:TestGridUrlExpiresInSecondsInput.t[@ocaml.doc"Lifetime, in seconds, of the URL."]}letcontext_="CreateTestGridUrlRequest"letmake~projectArn=fun~expiresInSeconds->fun()->{projectArn;expiresInSeconds}letto_valuex=structure_to_value[("projectArn",(Some(DeviceFarmArn.to_valuex.projectArn)));("expiresInSeconds",(Some(TestGridUrlExpiresInSecondsInput.to_valuex.expiresInSeconds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpiresInSeconds=TestGridUrlExpiresInSecondsInput.of_xml(Xml.child_exn~context:context_xml_arg0"expiresInSeconds")inletprojectArn=DeviceFarmArn.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake~expiresInSeconds~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpiresInSeconds=field_map_exnjson__"expiresInSeconds"TestGridUrlExpiresInSecondsInput.of_jsoninletprojectArn=field_map_exnjson__"projectArn"DeviceFarmArn.of_jsoninmake~expiresInSeconds~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor."]moduleCreateTestGridProjectResult=structtypenonrect={testGridProject:TestGridProject.toption[@ocaml.doc"ARN of the Selenium testing project that was created."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`InternalServiceExceptionofInternalServiceException.t|`LimitExceededExceptionofLimitExceededException.t|`Unknown_operation_errorof(string*stringoption)]letmake?testGridProject=fun()->{testGridProject}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"InternalServiceException"->`InternalServiceException(InternalServiceException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`InternalServiceExceptione->`Assoc[("error",(`String"InternalServiceException"));("details",(InternalServiceException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("testGridProject",(Option.mapx.testGridProject~f:TestGridProject.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettestGridProject=(Option.map~f:TestGridProject.of_xml)(Xml.childxml_arg0"testGridProject")inmake?testGridProject()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettestGridProject=field_mapjson__"testGridProject"TestGridProject.of_jsoninmake?testGridProject()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Selenium testing project. Projects are used to track TestGridSession instances."]moduleCreateTestGridProjectRequest=structtypenonrect={name:ResourceName.t[@ocaml.doc"Human-readable name of the Selenium testing project."];description:ResourceDescription.toption[@ocaml.doc"Human-readable description of the project."];vpcConfig:TestGridVpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."]}letcontext_="CreateTestGridProjectRequest"letmake?description=fun?vpcConfig->fun~name->fun()->{description;vpcConfig;name}letto_valuex=structure_to_value[("name",(Some(ResourceName.to_valuex.name)));("description",(Option.mapx.description~f:ResourceDescription.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:TestGridVpcConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcConfig=(Option.map~f:TestGridVpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdescription=(Option.map~f:ResourceDescription.of_xml)(Xml.childxml_arg0"description")inletname=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?vpcConfig?description~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcConfig=field_mapjson__"vpcConfig"TestGridVpcConfig.of_jsoninletdescription=field_mapjson__"description"ResourceDescription.of_jsoninletname=field_map_exnjson__"name"ResourceName.of_jsoninmake?vpcConfig?description~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Selenium testing project. Projects are used to track TestGridSession instances."]moduleCreateRemoteAccessSessionResult=structtypenonrect={remoteAccessSession:RemoteAccessSession.toption[@ocaml.doc"A container that describes the remote access session when the request to create a remote access session is sent."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?remoteAccessSession=fun()->{remoteAccessSession}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("remoteAccessSession",(Option.mapx.remoteAccessSession~f:RemoteAccessSession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letremoteAccessSession=(Option.map~f:RemoteAccessSession.of_xml)(Xml.childxml_arg0"remoteAccessSession")inmake?remoteAccessSession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letremoteAccessSession=field_mapjson__"remoteAccessSession"RemoteAccessSession.of_jsoninmake?remoteAccessSession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the server response from a request to create a remote access session."]moduleCreateRemoteAccessSessionRequest=structtypenonrect={projectArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to create a remote access session."];deviceArn:AmazonResourceName.t[@ocaml.doc"The ARN of the device for which you want to create a remote access session."];appArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the app to create the remote access session."];instanceArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session."];name:Name.toption[@ocaml.doc"The name of the remote access session to create."];configuration:CreateRemoteAccessSessionConfiguration.toption[@ocaml.doc"The configuration information for the remote access session request."];interactionMode:InteractionMode.toption[@ocaml.doc"The interaction mode of the remote access session. Changing the interactive mode of remote access sessions is no longer available."];skipAppResign:Boolean.toption[@ocaml.doc"When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again. For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?"]}letcontext_="CreateRemoteAccessSessionRequest"letmake?appArn=fun?instanceArn->fun?name->fun?configuration->fun?interactionMode->fun?skipAppResign->fun~projectArn->fun~deviceArn->fun()->{appArn;instanceArn;name;configuration;interactionMode;skipAppResign;projectArn;deviceArn}letto_valuex=structure_to_value[("projectArn",(Some(AmazonResourceName.to_valuex.projectArn)));("deviceArn",(Some(AmazonResourceName.to_valuex.deviceArn)));("appArn",(Option.mapx.appArn~f:AmazonResourceName.to_value));("instanceArn",(Option.mapx.instanceArn~f:AmazonResourceName.to_value));("name",(Option.mapx.name~f:Name.to_value));("configuration",(Option.mapx.configuration~f:CreateRemoteAccessSessionConfiguration.to_value));("interactionMode",(Option.mapx.interactionMode~f:InteractionMode.to_value));("skipAppResign",(Option.mapx.skipAppResign~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letskipAppResign=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"skipAppResign")inletinteractionMode=(Option.map~f:InteractionMode.of_xml)(Xml.childxml_arg0"interactionMode")inletconfiguration=(Option.map~f:CreateRemoteAccessSessionConfiguration.of_xml)(Xml.childxml_arg0"configuration")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"name")inletinstanceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"instanceArn")inletappArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"appArn")inletdeviceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"deviceArn")inletprojectArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?skipAppResign?interactionMode?configuration?name?instanceArn?appArn~deviceArn~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letskipAppResign=field_mapjson__"skipAppResign"Boolean.of_jsoninletinteractionMode=field_mapjson__"interactionMode"InteractionMode.of_jsoninletconfiguration=field_mapjson__"configuration"CreateRemoteAccessSessionConfiguration.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletinstanceArn=field_mapjson__"instanceArn"AmazonResourceName.of_jsoninletappArn=field_mapjson__"appArn"AmazonResourceName.of_jsoninletdeviceArn=field_map_exnjson__"deviceArn"AmazonResourceName.of_jsoninletprojectArn=field_map_exnjson__"projectArn"AmazonResourceName.of_jsoninmake?skipAppResign?interactionMode?configuration?name?instanceArn?appArn~deviceArn~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates and submits a request to start a remote access session."]moduleCreateProjectResult=structtypenonrect={project:Project.toption[@ocaml.doc"The newly created project."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`TagOperationExceptionofTagOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?project=fun()->{project}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|"TagOperationException"->`TagOperationException(TagOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|"TagOperationException"->`TagOperationException(TagOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`TagOperationExceptione->`Assoc[("error",(`String"TagOperationException"));("details",(TagOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("project",(Option.mapx.project~f:Project.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproject=(Option.map~f:Project.of_xml)(Xml.childxml_arg0"project")inmake?project()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproject=field_mapjson__"project"Project.of_jsoninmake?project()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a create project request."]moduleCreateProjectRequest=structtypenonrect={name:Name.t[@ocaml.doc"The project's name."];defaultJobTimeoutMinutes:JobTimeoutMinutes.toption[@ocaml.doc"Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run."];vpcConfig:VpcConfig.toption[@ocaml.doc"The VPC security groups and subnets that are attached to a project."];environmentVariables:EnvironmentVariables.toption[@ocaml.doc"A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file. For more information about using test spec files, please see Custom test environments in AWS Device Farm."];executionRoleArn:AmazonRoleResourceName.toption[@ocaml.doc"An IAM role to be assumed by the test host for all runs in the project."]}letcontext_="CreateProjectRequest"letmake?defaultJobTimeoutMinutes=fun?vpcConfig->fun?environmentVariables->fun?executionRoleArn->fun~name->fun()->{defaultJobTimeoutMinutes;vpcConfig;environmentVariables;executionRoleArn;name}letto_valuex=structure_to_value[("name",(Some(Name.to_valuex.name)));("defaultJobTimeoutMinutes",(Option.mapx.defaultJobTimeoutMinutes~f:JobTimeoutMinutes.to_value));("vpcConfig",(Option.mapx.vpcConfig~f:VpcConfig.to_value));("environmentVariables",(Option.mapx.environmentVariables~f:EnvironmentVariables.to_value));("executionRoleArn",(Option.mapx.executionRoleArn~f:AmazonRoleResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexecutionRoleArn=(Option.map~f:AmazonRoleResourceName.of_xml)(Xml.childxml_arg0"executionRoleArn")inletenvironmentVariables=(Option.map~f:EnvironmentVariables.of_xml)(Xml.childxml_arg0"environmentVariables")inletvpcConfig=(Option.map~f:VpcConfig.of_xml)(Xml.childxml_arg0"vpcConfig")inletdefaultJobTimeoutMinutes=(Option.map~f:JobTimeoutMinutes.of_xml)(Xml.childxml_arg0"defaultJobTimeoutMinutes")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?executionRoleArn?environmentVariables?vpcConfig?defaultJobTimeoutMinutes~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexecutionRoleArn=field_mapjson__"executionRoleArn"AmazonRoleResourceName.of_jsoninletenvironmentVariables=field_mapjson__"environmentVariables"EnvironmentVariables.of_jsoninletvpcConfig=field_mapjson__"vpcConfig"VpcConfig.of_jsoninletdefaultJobTimeoutMinutes=field_mapjson__"defaultJobTimeoutMinutes"JobTimeoutMinutes.of_jsoninletname=field_map_exnjson__"name"Name.of_jsoninmake?executionRoleArn?environmentVariables?vpcConfig?defaultJobTimeoutMinutes~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the create project operation."]moduleCreateNetworkProfileResult=structtypenonrect={networkProfile:NetworkProfile.toption[@ocaml.doc"The network profile that is returned by the create network profile request."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?networkProfile=fun()->{networkProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("networkProfile",(Option.mapx.networkProfile~f:NetworkProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkProfile=(Option.map~f:NetworkProfile.of_xml)(Xml.childxml_arg0"networkProfile")inmake?networkProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkProfile=field_mapjson__"networkProfile"NetworkProfile.of_jsoninmake?networkProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a network profile."]moduleCreateNetworkProfileRequest=structtypenonrect={projectArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the project for which you want to create a network profile."];name:Name.t[@ocaml.doc"The name for the new network profile."];description:Message.toption[@ocaml.doc"The description of the network profile."];type_:NetworkProfileType.toption[@ocaml.doc"The type of network profile to create. Valid values are listed here."];uplinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];downlinkBandwidthBits:Long.toption[@ocaml.doc"The data throughput rate in bits per second, as an integer from 0 to 104857600."];uplinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];downlinkDelayMs:Long.toption[@ocaml.doc"Delay time for all packets to destination in milliseconds as an integer from 0 to 2000."];uplinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];downlinkJitterMs:Long.toption[@ocaml.doc"Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000."];uplinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of transmitted packets that fail to arrive from 0 to 100 percent."];downlinkLossPercent:PercentInteger.toption[@ocaml.doc"Proportion of received packets that fail to arrive from 0 to 100 percent."]}letcontext_="CreateNetworkProfileRequest"letmake?description=fun?type_->fun?uplinkBandwidthBits->fun?downlinkBandwidthBits->fun?uplinkDelayMs->fun?downlinkDelayMs->fun?uplinkJitterMs->fun?downlinkJitterMs->fun?uplinkLossPercent->fun?downlinkLossPercent->fun~projectArn->fun~name->fun()->{description;type_;uplinkBandwidthBits;downlinkBandwidthBits;uplinkDelayMs;downlinkDelayMs;uplinkJitterMs;downlinkJitterMs;uplinkLossPercent;downlinkLossPercent;projectArn;name}letto_valuex=structure_to_value[("projectArn",(Some(AmazonResourceName.to_valuex.projectArn)));("name",(Some(Name.to_valuex.name)));("description",(Option.mapx.description~f:Message.to_value));("type",(Option.mapx.type_~f:NetworkProfileType.to_value));("uplinkBandwidthBits",(Option.mapx.uplinkBandwidthBits~f:Long.to_value));("downlinkBandwidthBits",(Option.mapx.downlinkBandwidthBits~f:Long.to_value));("uplinkDelayMs",(Option.mapx.uplinkDelayMs~f:Long.to_value));("downlinkDelayMs",(Option.mapx.downlinkDelayMs~f:Long.to_value));("uplinkJitterMs",(Option.mapx.uplinkJitterMs~f:Long.to_value));("downlinkJitterMs",(Option.mapx.downlinkJitterMs~f:Long.to_value));("uplinkLossPercent",(Option.mapx.uplinkLossPercent~f:PercentInteger.to_value));("downlinkLossPercent",(Option.mapx.downlinkLossPercent~f:PercentInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdownlinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"downlinkLossPercent")inletuplinkLossPercent=(Option.map~f:PercentInteger.of_xml)(Xml.childxml_arg0"uplinkLossPercent")inletdownlinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkJitterMs")inletuplinkJitterMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkJitterMs")inletdownlinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkDelayMs")inletuplinkDelayMs=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkDelayMs")inletdownlinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"downlinkBandwidthBits")inletuplinkBandwidthBits=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"uplinkBandwidthBits")inlettype_=(Option.map~f:NetworkProfileType.of_xml)(Xml.childxml_arg0"type")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletprojectArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description~name~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdownlinkLossPercent=field_mapjson__"downlinkLossPercent"PercentInteger.of_jsoninletuplinkLossPercent=field_mapjson__"uplinkLossPercent"PercentInteger.of_jsoninletdownlinkJitterMs=field_mapjson__"downlinkJitterMs"Long.of_jsoninletuplinkJitterMs=field_mapjson__"uplinkJitterMs"Long.of_jsoninletdownlinkDelayMs=field_mapjson__"downlinkDelayMs"Long.of_jsoninletuplinkDelayMs=field_mapjson__"uplinkDelayMs"Long.of_jsoninletdownlinkBandwidthBits=field_mapjson__"downlinkBandwidthBits"Long.of_jsoninletuplinkBandwidthBits=field_mapjson__"uplinkBandwidthBits"Long.of_jsoninlettype_=field_mapjson__"type"NetworkProfileType.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_map_exnjson__"name"Name.of_jsoninletprojectArn=field_map_exnjson__"projectArn"AmazonResourceName.of_jsoninmake?downlinkLossPercent?uplinkLossPercent?downlinkJitterMs?uplinkJitterMs?downlinkDelayMs?uplinkDelayMs?downlinkBandwidthBits?uplinkBandwidthBits?type_?description~name~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a network profile."]moduleCreateInstanceProfileResult=structtypenonrect={instanceProfile:InstanceProfile.toption[@ocaml.doc"An object that contains information about your instance profile."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?instanceProfile=fun()->{instanceProfile}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("instanceProfile",(Option.mapx.instanceProfile~f:InstanceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceProfile=(Option.map~f:InstanceProfile.of_xml)(Xml.childxml_arg0"instanceProfile")inmake?instanceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceProfile=field_mapjson__"instanceProfile"InstanceProfile.of_jsoninmake?instanceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a profile that can be applied to one or more private fleet device instances."]moduleCreateInstanceProfileRequest=structtypenonrect={name:Name.t[@ocaml.doc"The name of your instance profile."];description:Message.toption[@ocaml.doc"The description of your instance profile."];packageCleanup:Boolean.toption[@ocaml.doc"When set to true, Device Farm removes app packages after a test run. The default value is false for private devices."];excludeAppPackagesFromCleanup:PackageIds.toption[@ocaml.doc"An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run. The list of packages is considered only if you set packageCleanup to true."];rebootAfterUse:Boolean.toption[@ocaml.doc"When set to true, Device Farm reboots the instance after a test run. The default value is true."]}letcontext_="CreateInstanceProfileRequest"letmake?description=fun?packageCleanup->fun?excludeAppPackagesFromCleanup->fun?rebootAfterUse->fun~name->fun()->{description;packageCleanup;excludeAppPackagesFromCleanup;rebootAfterUse;name}letto_valuex=structure_to_value[("name",(Some(Name.to_valuex.name)));("description",(Option.mapx.description~f:Message.to_value));("packageCleanup",(Option.mapx.packageCleanup~f:Boolean.to_value));("excludeAppPackagesFromCleanup",(Option.mapx.excludeAppPackagesFromCleanup~f:PackageIds.to_value));("rebootAfterUse",(Option.mapx.rebootAfterUse~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrebootAfterUse=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"rebootAfterUse")inletexcludeAppPackagesFromCleanup=(Option.map~f:PackageIds.of_xml)(Xml.childxml_arg0"excludeAppPackagesFromCleanup")inletpackageCleanup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"packageCleanup")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"name")inmake?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?description~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrebootAfterUse=field_mapjson__"rebootAfterUse"Boolean.of_jsoninletexcludeAppPackagesFromCleanup=field_mapjson__"excludeAppPackagesFromCleanup"PackageIds.of_jsoninletpackageCleanup=field_mapjson__"packageCleanup"Boolean.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_map_exnjson__"name"Name.of_jsoninmake?rebootAfterUse?excludeAppPackagesFromCleanup?packageCleanup?description~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a profile that can be applied to one or more private fleet device instances."]moduleCreateDevicePoolResult=structtypenonrect={devicePool:DevicePool.toption[@ocaml.doc"The newly created device pool."]}typenonrecerror=[`ArgumentExceptionofArgumentException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`ServiceAccountExceptionofServiceAccountException.t|`Unknown_operation_errorof(string*stringoption)]letmake?devicePool=fun()->{devicePool}leterror_of_jsonnamejson=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ArgumentException"->`ArgumentException(ArgumentException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceAccountException"->`ServiceAccountException(ServiceAccountException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ArgumentExceptione->`Assoc[("error",(`String"ArgumentException"));("details",(ArgumentException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceAccountExceptione->`Assoc[("error",(`String"ServiceAccountException"));("details",(ServiceAccountException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("devicePool",(Option.mapx.devicePool~f:DevicePool.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdevicePool=(Option.map~f:DevicePool.of_xml)(Xml.childxml_arg0"devicePool")inmake?devicePool()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdevicePool=field_mapjson__"devicePool"DevicePool.of_jsoninmake?devicePool()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of a create device pool request."]moduleCreateDevicePoolRequest=structtypenonrect={projectArn:AmazonResourceName.t[@ocaml.doc"The ARN of the project for the device pool."];name:Name.t[@ocaml.doc"The device pool's name."];description:Message.toption[@ocaml.doc"The device pool's description."];rules:Rules.t[@ocaml.doc"The device pool's rules."];maxDevices:Integer.toption[@ocaml.doc"The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter. By specifying the maximum number of devices, you can control the costs that you incur by running tests."]}letcontext_="CreateDevicePoolRequest"letmake?description=fun?maxDevices->fun~projectArn->fun~name->fun~rules->fun()->{description;maxDevices;projectArn;name;rules}letto_valuex=structure_to_value[("projectArn",(Some(AmazonResourceName.to_valuex.projectArn)));("name",(Some(Name.to_valuex.name)));("description",(Option.mapx.description~f:Message.to_value));("rules",(Some(Rules.to_valuex.rules)));("maxDevices",(Option.mapx.maxDevices~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDevices=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxDevices")inletrules=Rules.of_xml(Xml.child_exn~context:context_xml_arg0"rules")inletdescription=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"description")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletprojectArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"projectArn")inmake?maxDevices~rules?description~name~projectArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDevices=field_mapjson__"maxDevices"Integer.of_jsoninletrules=field_map_exnjson__"rules"Rules.of_jsoninletdescription=field_mapjson__"description"Message.of_jsoninletname=field_map_exnjson__"name"Name.of_jsoninletprojectArn=field_map_exnjson__"projectArn"AmazonResourceName.of_jsoninmake?maxDevices~rules?description~name~projectArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to the create device pool operation."]