1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250(* 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.efsletapiVersion="2015-02-01"letendpointPrefix="elasticfilesystem"letserviceFullName="Amazon Elastic File System"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="EFS"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[]))])moduleAwsAccountId=structtypenonrect=stringletcontext_="AwsAccountId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:14)>>=(fun()->check_patterni~pattern:"^(\\d{12})|(\\d{4}-\\d{4}-\\d{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:"AwsAccountId"jletto_json=simple_to_jsonto_valueendmoduleFileSystemId=structtypenonrect=stringletcontext_="FileSystemId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:file-system/fs-[0-9a-f]{8,40}|fs-[0-9a-f]{8,40})$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FileSystemId"jletto_json=simple_to_jsonto_valueendmoduleRegionName=structtypenonrect=stringletcontext_="RegionName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-{0,1}[0-9]{0,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:"RegionName"jletto_json=simple_to_jsonto_valueendmoduleReplicationStatus=structtypenonrect=|ENABLED|ENABLING|DELETING|ERROR|PAUSED|PAUSING|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|ENABLING->"ENABLING"|DELETING->"DELETING"|ERROR->"ERROR"|PAUSED->"PAUSED"|PAUSING->"PAUSING"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"ENABLING"->ENABLING|"DELETING"->DELETING|"ERROR"->ERROR|"PAUSED"->PAUSED|"PAUSING"->PAUSING|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 ReplicationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicationStatus"j)letto_json=simple_to_jsonto_valueendmoduleRoleArn=structtypenonrect=stringletcontext_="RoleArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[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:"RoleArn"jletto_json=simple_to_jsonto_valueendmoduleStatusMessage=structtypenonrect=stringletcontext_="StatusMessage"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:"StatusMessage"jletto_json=simple_to_jsonto_valueendmoduleTimestamp=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_valueendmoduleErrorCode=structtypenonrect=string[@@ocaml.doc"The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type."]letcontext_="ErrorCode"letmakei=letopenResultinok_or_failwith(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:"ErrorCode"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type."]moduleErrorMessage=structtypenonrect=string[@@ocaml.doc"The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message."]letcontext_="ErrorMessage"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:"ErrorMessage"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message."]moduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^(?![aA]{1}[wW]{1}[sS]{1}:)([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleGid=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:4294967295L)>>=(fun()->check_int64_mini~min:0L));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_valueendmoduleOwnerGid=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:4294967295L)>>=(fun()->check_int64_mini~min:0L));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_valueendmoduleOwnerUid=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:4294967295L)>>=(fun()->check_int64_mini~min:0L));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_valueendmodulePermissions=structtypenonrect=stringletcontext_="Permissions"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:4)>>=(fun()->check_patterni~pattern:"^[0-7]{3,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:"Permissions"jletto_json=simple_to_jsonto_valueendmoduleDestination=structtypenonrect={status:ReplicationStatus.toption[@ocaml.doc"Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide."];fileSystemId:FileSystemId.toption[@ocaml.doc"The ID of the destination Amazon EFS file system."];region:RegionName.toption[@ocaml.doc"The Amazon Web Services Region in which the destination file system is located."];lastReplicatedTimestamp:Timestamp.toption[@ocaml.doc"The time when the most recent sync was successfully completed on the destination file system. Any changes to data on the source file system that occurred before this time have been successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated."];ownerId:AwsAccountId.toption[@ocaml.doc"ID of the Amazon Web Services account in which the destination file system resides."];statusMessage:StatusMessage.toption[@ocaml.doc"Message that provides details about the PAUSED or ERRROR state of the replication destination configuration. For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide."];roleArn:RoleArn.toption[@ocaml.doc"Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf. This is optional for same-account replication and required for cross-account replication."]}letmake?status=fun?fileSystemId->fun?region->fun?lastReplicatedTimestamp->fun?ownerId->fun?statusMessage->fun?roleArn->fun()->{status;fileSystemId;region;lastReplicatedTimestamp;ownerId;statusMessage;roleArn}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:ReplicationStatus.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("Region",(Option.mapx.region~f:RegionName.to_value));("LastReplicatedTimestamp",(Option.mapx.lastReplicatedTimestamp~f:Timestamp.to_value));("OwnerId",(Option.mapx.ownerId~f:AwsAccountId.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("RoleArn",(Option.mapx.roleArn~f:RoleArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroleArn=(Option.map~f:RoleArn.of_xml)(Xml.childxml_arg0"RoleArn")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletownerId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletlastReplicatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastReplicatedTimestamp")inletregion=(Option.map~f:RegionName.of_xml)(Xml.childxml_arg0"Region")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletstatus=(Option.map~f:ReplicationStatus.of_xml)(Xml.childxml_arg0"Status")inmake?roleArn?statusMessage?ownerId?lastReplicatedTimestamp?region?fileSystemId?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroleArn=field_mapjson__"RoleArn"RoleArn.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletownerId=field_mapjson__"OwnerId"AwsAccountId.of_jsoninletlastReplicatedTimestamp=field_mapjson__"LastReplicatedTimestamp"Timestamp.of_jsoninletregion=field_mapjson__"Region"RegionName.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletstatus=field_mapjson__"Status"ReplicationStatus.of_jsoninmake?roleArn?statusMessage?ownerId?lastReplicatedTimestamp?region?fileSystemId?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the destination file system in the replication configuration."]moduleBadRequest=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter."]moduleFileSystemNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the specified FileSystemId value doesn't exist in the requester's Amazon Web Services account."]moduleIncorrectFileSystemLifeCycleState=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the file system's lifecycle state is not \"available\"."]moduleInsufficientThroughputCapacity=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if there's not enough capacity to provision additional throughput. This value might be returned when you try to create a file system in provisioned throughput mode, when you attempt to increase the provisioned throughput of an existing file system, or when you attempt to change an existing file system from Bursting Throughput to Provisioned Throughput mode. Try again later."]moduleInternalServerError=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if an error occurred on the server side."]moduleReplicationAlreadyExists=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the file system is already included in a replication configuration.>"]moduleReplicationOverwriteProtection=structtypenonrect=|ENABLED|DISABLED|REPLICATING|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|REPLICATING->"REPLICATING"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|"REPLICATING"->REPLICATING|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 ReplicationOverwriteProtection"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicationOverwriteProtection"j)letto_json=simple_to_jsonto_valueendmoduleThroughputLimitExceeded=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the throughput mode or amount of provisioned throughput can't be changed because the throughput limit of 1024 MiB/s has been reached."]moduleTooManyRequests=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if you don\226\128\153t wait at least 24 hours before either changing the throughput mode, or decreasing the Provisioned Throughput value."]moduleFileSystemNullableSizeValue=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith(check_int64_mini~min:0L);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_valueendmoduleFileSystemSizeValue=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith(check_int64_mini~min:0L);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_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The tag key (String). The key can't start with aws:."];value:TagValue.t[@ocaml.doc"The value of the tag 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"A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters: + - = . _ : /."]moduleAccessPointId=structtypenonrect=stringletcontext_="AccessPointId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:access-point/fsap-[0-9a-f]{8,40}|fsap-[0-9a-f]{8,40})$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AccessPointId"jletto_json=simple_to_jsonto_valueendmoduleSecondaryGids=structtypenonrect=Gid.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:16)>>=(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:Gid.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:Gid.of_xml)letof_jsonj=list_of_json~kind:"SecondaryGids"~of_json:Gid.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUid=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:4294967295L)>>=(fun()->check_int64_mini~min:0L));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_valueendmoduleCreationInfo=structtypenonrect={ownerUid:OwnerUid.t[@ocaml.doc"Specifies the POSIX user ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295)."];ownerGid:OwnerGid.t[@ocaml.doc"Specifies the POSIX group ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295)."];permissions:Permissions.t[@ocaml.doc"Specifies the POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits."]}letcontext_="CreationInfo"letmake~ownerUid=fun~ownerGid->fun~permissions->fun()->{ownerUid;ownerGid;permissions}letto_valuex=structure_to_value[("OwnerUid",(Some(OwnerUid.to_valuex.ownerUid)));("OwnerGid",(Some(OwnerGid.to_valuex.ownerGid)));("Permissions",(Some(Permissions.to_valuex.permissions)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpermissions=Permissions.of_xml(Xml.child_exn~context:context_xml_arg0"Permissions")inletownerGid=OwnerGid.of_xml(Xml.child_exn~context:context_xml_arg0"OwnerGid")inletownerUid=OwnerUid.of_xml(Xml.child_exn~context:context_xml_arg0"OwnerUid")inmake~permissions~ownerGid~ownerUid()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpermissions=field_map_exnjson__"Permissions"Permissions.of_jsoninletownerGid=field_map_exnjson__"OwnerGid"OwnerGid.of_jsoninletownerUid=field_map_exnjson__"OwnerUid"OwnerUid.of_jsoninmake~permissions~ownerGid~ownerUid()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Required if the RootDirectory > Path specified does not exist. Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory > Path. If the access point root directory does not exist, EFS creates it with these settings when a client connects to the access point. When specifying CreationInfo, you must include values for all properties. Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail. If you do not provide CreationInfo and the specified RootDirectory does not exist, attempts to mount the file system using the access point will fail."]modulePath=structtypenonrect=stringletcontext_="Path"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:100)>>=(fun()->check_patterni~pattern:"^(\\/|(\\/(?!\\.)+[^$#<>;`|&?{}^*/\\n]+){1,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:"Path"jletto_json=simple_to_jsonto_valueendmoduleTransitionToArchiveRules=structtypenonrect=|AFTER_1_DAY|AFTER_7_DAYS|AFTER_14_DAYS|AFTER_30_DAYS|AFTER_60_DAYS|AFTER_90_DAYS|AFTER_180_DAYS|AFTER_270_DAYS|AFTER_365_DAYS|Non_static_idofstringletmakei=iletto_string=function|AFTER_1_DAY->"AFTER_1_DAY"|AFTER_7_DAYS->"AFTER_7_DAYS"|AFTER_14_DAYS->"AFTER_14_DAYS"|AFTER_30_DAYS->"AFTER_30_DAYS"|AFTER_60_DAYS->"AFTER_60_DAYS"|AFTER_90_DAYS->"AFTER_90_DAYS"|AFTER_180_DAYS->"AFTER_180_DAYS"|AFTER_270_DAYS->"AFTER_270_DAYS"|AFTER_365_DAYS->"AFTER_365_DAYS"|Non_static_ids->sletof_string=function|"AFTER_1_DAY"->AFTER_1_DAY|"AFTER_7_DAYS"->AFTER_7_DAYS|"AFTER_14_DAYS"->AFTER_14_DAYS|"AFTER_30_DAYS"->AFTER_30_DAYS|"AFTER_60_DAYS"->AFTER_60_DAYS|"AFTER_90_DAYS"->AFTER_90_DAYS|"AFTER_180_DAYS"->AFTER_180_DAYS|"AFTER_270_DAYS"->AFTER_270_DAYS|"AFTER_365_DAYS"->AFTER_365_DAYS|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 TransitionToArchiveRules"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TransitionToArchiveRules"j)letto_json=simple_to_jsonto_valueendmoduleTransitionToIARules=structtypenonrect=|AFTER_7_DAYS|AFTER_14_DAYS|AFTER_30_DAYS|AFTER_60_DAYS|AFTER_90_DAYS|AFTER_1_DAY|AFTER_180_DAYS|AFTER_270_DAYS|AFTER_365_DAYS|Non_static_idofstringletmakei=iletto_string=function|AFTER_7_DAYS->"AFTER_7_DAYS"|AFTER_14_DAYS->"AFTER_14_DAYS"|AFTER_30_DAYS->"AFTER_30_DAYS"|AFTER_60_DAYS->"AFTER_60_DAYS"|AFTER_90_DAYS->"AFTER_90_DAYS"|AFTER_1_DAY->"AFTER_1_DAY"|AFTER_180_DAYS->"AFTER_180_DAYS"|AFTER_270_DAYS->"AFTER_270_DAYS"|AFTER_365_DAYS->"AFTER_365_DAYS"|Non_static_ids->sletof_string=function|"AFTER_7_DAYS"->AFTER_7_DAYS|"AFTER_14_DAYS"->AFTER_14_DAYS|"AFTER_30_DAYS"->AFTER_30_DAYS|"AFTER_60_DAYS"->AFTER_60_DAYS|"AFTER_90_DAYS"->AFTER_90_DAYS|"AFTER_1_DAY"->AFTER_1_DAY|"AFTER_180_DAYS"->AFTER_180_DAYS|"AFTER_270_DAYS"->AFTER_270_DAYS|"AFTER_365_DAYS"->AFTER_365_DAYS|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 TransitionToIARules"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TransitionToIARules"j)letto_json=simple_to_jsonto_valueendmoduleTransitionToPrimaryStorageClassRules=structtypenonrect=|AFTER_1_ACCESS|Non_static_idofstringletmakei=iletto_string=function|AFTER_1_ACCESS->"AFTER_1_ACCESS"|Non_static_ids->sletof_string=function|"AFTER_1_ACCESS"->AFTER_1_ACCESS|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 TransitionToPrimaryStorageClassRules"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TransitionToPrimaryStorageClassRules"j)letto_json=simple_to_jsonto_valueendmoduleResource=structtypenonrect=|FILE_SYSTEM|MOUNT_TARGET|Non_static_idofstringletmakei=iletto_string=function|FILE_SYSTEM->"FILE_SYSTEM"|MOUNT_TARGET->"MOUNT_TARGET"|Non_static_ids->sletof_string=function|"FILE_SYSTEM"->FILE_SYSTEM|"MOUNT_TARGET"->MOUNT_TARGET|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 Resource"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Resource"j)letto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the source file system in a replication is encrypted but the destination file system is unencrypted."]moduleDestinations=structtypenonrect=Destination.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Destination.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:Destination.of_xml)letof_jsonj=list_of_json~kind:"Destinations"~of_json:Destination.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFileSystemArn=structtypenonrect=stringletcontext_="FileSystemArn"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:"FileSystemArn"jletto_json=simple_to_jsonto_valueendmoduleFileSystemLimitExceeded=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the Amazon Web Services account has already created the maximum number of file systems allowed per account."]moduleReplicationNotFound=structtypenonrect={errorCode:ErrorCode.toption[@ocaml.doc"ReplicationNotFound"];message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the specified file system does not have a replication configuration."]moduleUnsupportedAvailabilityZone=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the requested Amazon EFS functionality is not available in the specified Availability Zone."]moduleValidationException=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made."]moduleAvailabilityZoneId=structtypenonrect=stringletcontext_="AvailabilityZoneId"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:"AvailabilityZoneId"jletto_json=simple_to_jsonto_valueendmoduleAvailabilityZoneName=structtypenonrect=stringletcontext_="AvailabilityZoneName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AvailabilityZoneName"jletto_json=simple_to_jsonto_valueendmoduleAvailabilityZonesMismatch=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the Availability Zone that was specified for a mount target is different from the Availability Zone that was specified for One Zone storage. For more information, see Regional and One Zone storage redundancy."]moduleIpAddress=structtypenonrect=stringletcontext_="IpAddress"letmakei=letopenResultinok_or_failwith((check_string_mini~min:7)>>=(fun()->(check_string_maxi~max:15)>>=(fun()->check_patterni~pattern:"^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IpAddress"jletto_json=simple_to_jsonto_valueendmoduleIpAddressInUse=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the request specified an IpAddress that is already in use in the subnet."]moduleIpv6Address=structtypenonrect=stringletcontext_="Ipv6Address"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:39)>>=(fun()->check_string_mini~min:3));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Ipv6Address"jletto_json=simple_to_jsonto_valueendmoduleLifeCycleState=structtypenonrect=|Creating|Available|Updating|Deleting|Deleted|Error|Non_static_idofstringletmakei=iletto_string=function|Creating->"creating"|Available->"available"|Updating->"updating"|Deleting->"deleting"|Deleted->"deleted"|Error->"error"|Non_static_ids->sletof_string=function|"creating"->Creating|"available"->Available|"updating"->Updating|"deleting"->Deleting|"deleted"->Deleted|"error"->Error|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 LifeCycleState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LifeCycleState"j)letto_json=simple_to_jsonto_valueendmoduleMountTargetConflict=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the mount target would violate one of the specified restrictions based on the file system's existing mount targets."]moduleMountTargetId=structtypenonrect=stringletcontext_="MountTargetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:13)>>=(fun()->(check_string_maxi~max:45)>>=(fun()->check_patterni~pattern:"^fsmt-[0-9a-f]{8,40}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MountTargetId"jletto_json=simple_to_jsonto_valueendmoduleNetworkInterfaceId=structtypenonrect=stringletcontext_="NetworkInterfaceId"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:"NetworkInterfaceId"jletto_json=simple_to_jsonto_valueendmoduleNetworkInterfaceLimitExceeded=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The calling account has reached the limit for elastic network interfaces for the specific Amazon Web Services Region. Either delete some network interfaces or request that the account quota be raised. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Network interfaces per Region entry in the Network interfaces table)."]moduleNoFreeAddressesInSubnet=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if IpAddress was not specified in the request and there are no free IP addresses in the subnet."]moduleSecurityGroupLimitExceeded=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the number of SecurityGroups specified in the request is greater than the limit, which is based on account quota. Either delete some security groups or request that the account quota be raised. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table)."]moduleSecurityGroupNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if one of the specified security groups doesn't exist in the subnet's virtual private cloud (VPC)."]moduleSubnetId=structtypenonrect=stringletcontext_="SubnetId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:15)>>=(fun()->(check_string_maxi~max:47)>>=(fun()->check_patterni~pattern:"^subnet-[0-9a-f]{8,40}$")));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_valueendmoduleSubnetNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if there is no subnet with ID SubnetId provided in the request."]moduleVpcId=structtypenonrect=stringletcontext_="VpcId"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:"VpcId"jletto_json=simple_to_jsonto_valueendmoduleCreationToken=structtypenonrect=stringletcontext_="CreationToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CreationToken"jletto_json=simple_to_jsonto_valueendmoduleEncrypted=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_valueendmoduleFileSystemAlreadyExists=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption;fileSystemId:FileSystemId.toption}letmake?errorCode=fun?message->fun?fileSystemId->fun()->{errorCode;message;fileSystemId}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?fileSystemId?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?fileSystemId?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the file system you are trying to create already exists, with the creation token you provided."]moduleFileSystemProtectionDescription=structtypenonrect={replicationOverwriteProtection:ReplicationOverwriteProtection.toption[@ocaml.doc"The status of the file system's replication overwrite protection. ENABLED \226\128\147 The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default. DISABLED \226\128\147 The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. REPLICATING \226\128\147 The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication. If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`IncorrectFileSystemLifeCycleStateofIncorrectFileSystemLifeCycleState.t|`InsufficientThroughputCapacityofInsufficientThroughputCapacity.t|`InternalServerErrorofInternalServerError.t|`ReplicationAlreadyExistsofReplicationAlreadyExists.t|`ThroughputLimitExceededofThroughputLimitExceeded.t|`TooManyRequestsofTooManyRequests.t|`Unknown_operation_errorof(string*stringoption)]letmake?replicationOverwriteProtection=fun()->{replicationOverwriteProtection}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_jsonjson)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"ReplicationAlreadyExists"->`ReplicationAlreadyExists(ReplicationAlreadyExists.of_jsonjson)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_jsonjson)|"TooManyRequests"->`TooManyRequests(TooManyRequests.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_xmlxml)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"ReplicationAlreadyExists"->`ReplicationAlreadyExists(ReplicationAlreadyExists.of_xmlxml)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_xmlxml)|"TooManyRequests"->`TooManyRequests(TooManyRequests.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`IncorrectFileSystemLifeCycleStatee->`Assoc[("error",(`String"IncorrectFileSystemLifeCycleState"));("details",(IncorrectFileSystemLifeCycleState.to_jsone))]|`InsufficientThroughputCapacitye->`Assoc[("error",(`String"InsufficientThroughputCapacity"));("details",(InsufficientThroughputCapacity.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`ReplicationAlreadyExistse->`Assoc[("error",(`String"ReplicationAlreadyExists"));("details",(ReplicationAlreadyExists.to_jsone))]|`ThroughputLimitExceedede->`Assoc[("error",(`String"ThroughputLimitExceeded"));("details",(ThroughputLimitExceeded.to_jsone))]|`TooManyRequestse->`Assoc[("error",(`String"TooManyRequests"));("details",(TooManyRequests.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReplicationOverwriteProtection",(Option.mapx.replicationOverwriteProtection~f:ReplicationOverwriteProtection.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicationOverwriteProtection=(Option.map~f:ReplicationOverwriteProtection.of_xml)(Xml.childxml_arg0"ReplicationOverwriteProtection")inmake?replicationOverwriteProtection()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicationOverwriteProtection=field_mapjson__"ReplicationOverwriteProtection"ReplicationOverwriteProtection.of_jsoninmake?replicationOverwriteProtection()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the protection on a file system."]moduleFileSystemSize=structtypenonrect={value:FileSystemSizeValue.toption[@ocaml.doc"The latest known metered size (in bytes) of data stored in the file system."];timestamp:Timestamp.toption[@ocaml.doc"The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z."];valueInIA:FileSystemNullableSizeValue.toption[@ocaml.doc"The latest known metered size (in bytes) of data stored in the Infrequent Access storage class."];valueInStandard:FileSystemNullableSizeValue.toption[@ocaml.doc"The latest known metered size (in bytes) of data stored in the Standard storage class."];valueInArchive:FileSystemNullableSizeValue.toption[@ocaml.doc"The latest known metered size (in bytes) of data stored in the Archive storage class."]}letmake?value=fun?timestamp->fun?valueInIA->fun?valueInStandard->fun?valueInArchive->fun()->{value;timestamp;valueInIA;valueInStandard;valueInArchive}letto_valuex=structure_to_value[("Value",(Option.mapx.value~f:FileSystemSizeValue.to_value));("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("ValueInIA",(Option.mapx.valueInIA~f:FileSystemNullableSizeValue.to_value));("ValueInStandard",(Option.mapx.valueInStandard~f:FileSystemNullableSizeValue.to_value));("ValueInArchive",(Option.mapx.valueInArchive~f:FileSystemNullableSizeValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalueInArchive=(Option.map~f:FileSystemNullableSizeValue.of_xml)(Xml.childxml_arg0"ValueInArchive")inletvalueInStandard=(Option.map~f:FileSystemNullableSizeValue.of_xml)(Xml.childxml_arg0"ValueInStandard")inletvalueInIA=(Option.map~f:FileSystemNullableSizeValue.of_xml)(Xml.childxml_arg0"ValueInIA")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inletvalue=(Option.map~f:FileSystemSizeValue.of_xml)(Xml.childxml_arg0"Value")inmake?valueInArchive?valueInStandard?valueInIA?timestamp?value()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalueInArchive=field_mapjson__"ValueInArchive"FileSystemNullableSizeValue.of_jsoninletvalueInStandard=field_mapjson__"ValueInStandard"FileSystemNullableSizeValue.of_jsoninletvalueInIA=field_mapjson__"ValueInIA"FileSystemNullableSizeValue.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninletvalue=field_mapjson__"Value"FileSystemSizeValue.of_jsoninmake?valueInArchive?valueInStandard?valueInIA?timestamp?value()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The value doesn't represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value represents the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time."]moduleKmsKeyId=structtypenonrect=stringletcontext_="KmsKeyId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|mrk-[0-9a-f]{32}|alias/[a-zA-Z0-9/_-]+|(arn:aws[-a-z]*:kms:[a-z0-9-]+:\\d{12}:((key/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})|(key/mrk-[0-9a-f]{32})|(alias/[a-zA-Z0-9/_-]+))))$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KmsKeyId"jletto_json=simple_to_jsonto_valueendmoduleMountTargetCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith(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 MountTargetCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePerformanceMode=structtypenonrect=|GeneralPurpose|MaxIO|Non_static_idofstringletmakei=iletto_string=function|GeneralPurpose->"generalPurpose"|MaxIO->"maxIO"|Non_static_ids->sletof_string=function|"generalPurpose"->GeneralPurpose|"maxIO"->MaxIO|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 PerformanceMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PerformanceMode"j)letto_json=simple_to_jsonto_valueendmoduleProvisionedThroughputInMibps=structtypenonrect=floatletmakei=letopenResultinok_or_failwith(check_float_mini~min:1.);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_valueendmoduleTags=structtypenonrect=Tag.tlistletmakei=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:"Tags"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleThroughputMode=structtypenonrect=|Bursting|Provisioned|Elastic|Non_static_idofstringletmakei=iletto_string=function|Bursting->"bursting"|Provisioned->"provisioned"|Elastic->"elastic"|Non_static_ids->sletof_string=function|"bursting"->Bursting|"provisioned"->Provisioned|"elastic"->Elastic|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 ThroughputMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ThroughputMode"j)letto_json=simple_to_jsonto_valueendmoduleAccessPointAlreadyExists=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption;accessPointId:AccessPointId.toption}letmake?errorCode=fun?message->fun?accessPointId->fun()->{errorCode;message;accessPointId}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value));("AccessPointId",(Option.mapx.accessPointId~f:AccessPointId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccessPointId=(Option.map~f:AccessPointId.of_xml)(Xml.childxml_arg0"AccessPointId")inletmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?accessPointId?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccessPointId=field_mapjson__"AccessPointId"AccessPointId.of_jsoninletmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?accessPointId?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the access point that you are trying to create already exists, with the creation token you provided in the request."]moduleAccessPointArn=structtypenonrect=stringletcontext_="AccessPointArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:access-point/fsap-[0-9a-f]{8,40}$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AccessPointArn"jletto_json=simple_to_jsonto_valueendmoduleAccessPointLimitExceeded=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the Amazon Web Services account has already created the maximum number of access points allowed per file system. For more informaton, see https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region."]moduleClientToken=structtypenonrect=stringletcontext_="ClientToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ClientToken"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"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:"Name"jletto_json=simple_to_jsonto_valueendmodulePosixUser=structtypenonrect={uid:Uid.t[@ocaml.doc"The POSIX user ID used for all file system operations using this access point."];gid:Gid.t[@ocaml.doc"The POSIX group ID used for all file system operations using this access point."];secondaryGids:SecondaryGids.toption[@ocaml.doc"Secondary POSIX group IDs used for all file system operations using this access point."]}letcontext_="PosixUser"letmake?secondaryGids=fun~uid->fun~gid->fun()->{secondaryGids;uid;gid}letto_valuex=structure_to_value[("Uid",(Some(Uid.to_valuex.uid)));("Gid",(Some(Gid.to_valuex.gid)));("SecondaryGids",(Option.mapx.secondaryGids~f:SecondaryGids.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondaryGids=(Option.map~f:SecondaryGids.of_xml)(Xml.childxml_arg0"SecondaryGids")inletgid=Gid.of_xml(Xml.child_exn~context:context_xml_arg0"Gid")inletuid=Uid.of_xml(Xml.child_exn~context:context_xml_arg0"Uid")inmake?secondaryGids~gid~uid()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondaryGids=field_mapjson__"SecondaryGids"SecondaryGids.of_jsoninletgid=field_map_exnjson__"Gid"Gid.of_jsoninletuid=field_map_exnjson__"Uid"Uid.of_jsoninmake?secondaryGids~gid~uid()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point."]moduleRootDirectory=structtypenonrect={path:Path.toption[@ocaml.doc"Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo."];creationInfo:CreationInfo.toption[@ocaml.doc"(Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory. If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo, you must provide values for all properties. If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail."]}letmake?path=fun?creationInfo->fun()->{path;creationInfo}letto_valuex=structure_to_value[("Path",(Option.mapx.path~f:Path.to_value));("CreationInfo",(Option.mapx.creationInfo~f:CreationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationInfo=(Option.map~f:CreationInfo.of_xml)(Xml.childxml_arg0"CreationInfo")inletpath=(Option.map~f:Path.of_xml)(Xml.childxml_arg0"Path")inmake?creationInfo?path()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationInfo=field_mapjson__"CreationInfo"CreationInfo.of_jsoninletpath=field_mapjson__"Path"Path.of_jsoninmake?creationInfo?path()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's RootDirectory and its subdirectories."]moduleThrottlingException=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned when the CreateAccessPoint API action is called too quickly and the number of Access Points on the file system is nearing the limit of 120."]moduleLifecyclePolicy=structtypenonrect={transitionToIA:TransitionToIARules.toption[@ocaml.doc"The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events."];transitionToPrimaryStorageClass:TransitionToPrimaryStorageClassRules.toption[@ocaml.doc"Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events."];transitionToArchive:TransitionToArchiveRules.toption[@ocaml.doc"The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events."]}letmake?transitionToIA=fun?transitionToPrimaryStorageClass->fun?transitionToArchive->fun()->{transitionToIA;transitionToPrimaryStorageClass;transitionToArchive}letto_valuex=structure_to_value[("TransitionToIA",(Option.mapx.transitionToIA~f:TransitionToIARules.to_value));("TransitionToPrimaryStorageClass",(Option.mapx.transitionToPrimaryStorageClass~f:TransitionToPrimaryStorageClassRules.to_value));("TransitionToArchive",(Option.mapx.transitionToArchive~f:TransitionToArchiveRules.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitionToArchive=(Option.map~f:TransitionToArchiveRules.of_xml)(Xml.childxml_arg0"TransitionToArchive")inlettransitionToPrimaryStorageClass=(Option.map~f:TransitionToPrimaryStorageClassRules.of_xml)(Xml.childxml_arg0"TransitionToPrimaryStorageClass")inlettransitionToIA=(Option.map~f:TransitionToIARules.of_xml)(Xml.childxml_arg0"TransitionToIA")inmake?transitionToArchive?transitionToPrimaryStorageClass?transitionToIA()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitionToArchive=field_mapjson__"TransitionToArchive"TransitionToArchiveRules.of_jsoninlettransitionToPrimaryStorageClass=field_mapjson__"TransitionToPrimaryStorageClass"TransitionToPrimaryStorageClassRules.of_jsoninlettransitionToIA=field_mapjson__"TransitionToIA"TransitionToIARules.of_jsoninmake?transitionToArchive?transitionToPrimaryStorageClass?transitionToIA()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a policy used by lifecycle management that specifies when to transition files into and out of storage classes. For more information, see Managing file system storage. When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy object have only a single transition. This means that in a request body, LifecyclePolicies must be structured as an array of LifecyclePolicy objects, one object for each transition. For more information, see the request examples in PutLifecycleConfiguration."]moduleStatus=structtypenonrect=|ENABLED|ENABLING|DISABLED|DISABLING|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|ENABLING->"ENABLING"|DISABLED->"DISABLED"|DISABLING->"DISABLING"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"ENABLING"->ENABLING|"DISABLED"->DISABLED|"DISABLING"->DISABLING|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 Status"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Status"j)letto_json=simple_to_jsonto_valueendmoduleResourceIdType=structtypenonrect=|LONG_ID|SHORT_ID|Non_static_idofstringletmakei=iletto_string=function|LONG_ID->"LONG_ID"|SHORT_ID->"SHORT_ID"|Non_static_ids->sletof_string=function|"LONG_ID"->LONG_ID|"SHORT_ID"->SHORT_ID|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 ResourceIdType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceIdType"j)letto_json=simple_to_jsonto_valueendmoduleResources=structtypenonrect=Resource.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Resource.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:Resource.of_xml)letof_jsonj=list_of_json~kind:"Resources"~of_json:Resource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSecurityGroup=structtypenonrect=stringletcontext_="SecurityGroup"letmakei=letopenResultinok_or_failwith((check_string_mini~min:11)>>=(fun()->(check_string_maxi~max:43)>>=(fun()->check_patterni~pattern:"^sg-[0-9a-f]{8,40}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SecurityGroup"jletto_json=simple_to_jsonto_valueendmoduleReplicationConfigurationDescription=structtypenonrect={sourceFileSystemId:FileSystemId.toption[@ocaml.doc"The ID of the source Amazon EFS file system that is being replicated."];sourceFileSystemRegion:RegionName.toption[@ocaml.doc"The Amazon Web Services Region in which the source EFS file system is located."];sourceFileSystemArn:FileSystemArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the current source file system in the replication configuration."];originalSourceFileSystemArn:FileSystemArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the original source EFS file system in the replication configuration."];creationTime:Timestamp.toption[@ocaml.doc"Describes when the replication configuration was created."];destinations:Destinations.toption[@ocaml.doc"An array of destination objects. Only one destination object is supported."];sourceFileSystemOwnerId:AwsAccountId.toption[@ocaml.doc"ID of the Amazon Web Services account in which the source file system resides."]}typenonrecerror=[`BadRequestofBadRequest.t|`ConflictExceptionofConflictException.t|`FileSystemLimitExceededofFileSystemLimitExceeded.t|`FileSystemNotFoundofFileSystemNotFound.t|`IncorrectFileSystemLifeCycleStateofIncorrectFileSystemLifeCycleState.t|`InsufficientThroughputCapacityofInsufficientThroughputCapacity.t|`InternalServerErrorofInternalServerError.t|`ReplicationNotFoundofReplicationNotFound.t|`ThroughputLimitExceededofThroughputLimitExceeded.t|`UnsupportedAvailabilityZoneofUnsupportedAvailabilityZone.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sourceFileSystemId=fun?sourceFileSystemRegion->fun?sourceFileSystemArn->fun?originalSourceFileSystemArn->fun?creationTime->fun?destinations->fun?sourceFileSystemOwnerId->fun()->{sourceFileSystemId;sourceFileSystemRegion;sourceFileSystemArn;originalSourceFileSystemArn;creationTime;destinations;sourceFileSystemOwnerId}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"FileSystemLimitExceeded"->`FileSystemLimitExceeded(FileSystemLimitExceeded.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_jsonjson)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"ReplicationNotFound"->`ReplicationNotFound(ReplicationNotFound.of_jsonjson)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_jsonjson)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"FileSystemLimitExceeded"->`FileSystemLimitExceeded(FileSystemLimitExceeded.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_xmlxml)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"ReplicationNotFound"->`ReplicationNotFound(ReplicationNotFound.of_xmlxml)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_xmlxml)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`FileSystemLimitExceedede->`Assoc[("error",(`String"FileSystemLimitExceeded"));("details",(FileSystemLimitExceeded.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`IncorrectFileSystemLifeCycleStatee->`Assoc[("error",(`String"IncorrectFileSystemLifeCycleState"));("details",(IncorrectFileSystemLifeCycleState.to_jsone))]|`InsufficientThroughputCapacitye->`Assoc[("error",(`String"InsufficientThroughputCapacity"));("details",(InsufficientThroughputCapacity.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`ReplicationNotFounde->`Assoc[("error",(`String"ReplicationNotFound"));("details",(ReplicationNotFound.to_jsone))]|`ThroughputLimitExceedede->`Assoc[("error",(`String"ThroughputLimitExceeded"));("details",(ThroughputLimitExceeded.to_jsone))]|`UnsupportedAvailabilityZonee->`Assoc[("error",(`String"UnsupportedAvailabilityZone"));("details",(UnsupportedAvailabilityZone.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SourceFileSystemId",(Option.mapx.sourceFileSystemId~f:FileSystemId.to_value));("SourceFileSystemRegion",(Option.mapx.sourceFileSystemRegion~f:RegionName.to_value));("SourceFileSystemArn",(Option.mapx.sourceFileSystemArn~f:FileSystemArn.to_value));("OriginalSourceFileSystemArn",(Option.mapx.originalSourceFileSystemArn~f:FileSystemArn.to_value));("CreationTime",(Option.mapx.creationTime~f:Timestamp.to_value));("Destinations",(Option.mapx.destinations~f:Destinations.to_value));("SourceFileSystemOwnerId",(Option.mapx.sourceFileSystemOwnerId~f:AwsAccountId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceFileSystemOwnerId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"SourceFileSystemOwnerId")inletdestinations=(Option.map~f:Destinations.of_xml)(Xml.childxml_arg0"Destinations")inletcreationTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inletoriginalSourceFileSystemArn=(Option.map~f:FileSystemArn.of_xml)(Xml.childxml_arg0"OriginalSourceFileSystemArn")inletsourceFileSystemArn=(Option.map~f:FileSystemArn.of_xml)(Xml.childxml_arg0"SourceFileSystemArn")inletsourceFileSystemRegion=(Option.map~f:RegionName.of_xml)(Xml.childxml_arg0"SourceFileSystemRegion")inletsourceFileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"SourceFileSystemId")inmake?sourceFileSystemOwnerId?destinations?creationTime?originalSourceFileSystemArn?sourceFileSystemArn?sourceFileSystemRegion?sourceFileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceFileSystemOwnerId=field_mapjson__"SourceFileSystemOwnerId"AwsAccountId.of_jsoninletdestinations=field_mapjson__"Destinations"Destinations.of_jsoninletcreationTime=field_mapjson__"CreationTime"Timestamp.of_jsoninletoriginalSourceFileSystemArn=field_mapjson__"OriginalSourceFileSystemArn"FileSystemArn.of_jsoninletsourceFileSystemArn=field_mapjson__"SourceFileSystemArn"FileSystemArn.of_jsoninletsourceFileSystemRegion=field_mapjson__"SourceFileSystemRegion"RegionName.of_jsoninletsourceFileSystemId=field_mapjson__"SourceFileSystemId"FileSystemId.of_jsoninmake?sourceFileSystemOwnerId?destinations?creationTime?originalSourceFileSystemArn?sourceFileSystemArn?sourceFileSystemRegion?sourceFileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the replication configuration for a specific file system."]moduleMountTargetDescription=structtypenonrect={ownerId:AwsAccountId.toption[@ocaml.doc"Amazon Web Services account ID that owns the resource."];mountTargetId:MountTargetId.toption[@ocaml.doc"System-assigned mount target ID."];fileSystemId:FileSystemId.toption[@ocaml.doc"The ID of the file system for which the mount target is intended."];subnetId:SubnetId.toption[@ocaml.doc"The ID of the mount target's subnet."];lifeCycleState:LifeCycleState.toption[@ocaml.doc"Lifecycle state of the mount target."];ipAddress:IpAddress.toption[@ocaml.doc"Address at which the file system can be mounted by using the mount target."];ipv6Address:Ipv6Address.toption[@ocaml.doc"The IPv6 address for the mount target."];networkInterfaceId:NetworkInterfaceId.toption[@ocaml.doc"The ID of the network interface that Amazon EFS created when it created the mount target."];availabilityZoneId:AvailabilityZoneId.toption[@ocaml.doc"The unique and consistent identifier of the Availability Zone that the mount target resides in. For example, use1-az1 is an AZ ID for the us-east-1 Region and it has the same location in every Amazon Web Services account."];availabilityZoneName:AvailabilityZoneName.toption[@ocaml.doc"The name of the Availability Zone in which the mount target is located. Availability Zones are independently mapped to names for each Amazon Web Services account. For example, the Availability Zone us-east-1a for your Amazon Web Services account might not be the same location as us-east-1a for another Amazon Web Services account."];vpcId:VpcId.toption[@ocaml.doc"The virtual private cloud (VPC) ID that the mount target is configured in."]}typenonrecerror=[`AvailabilityZonesMismatchofAvailabilityZonesMismatch.t|`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`IncorrectFileSystemLifeCycleStateofIncorrectFileSystemLifeCycleState.t|`InternalServerErrorofInternalServerError.t|`IpAddressInUseofIpAddressInUse.t|`MountTargetConflictofMountTargetConflict.t|`NetworkInterfaceLimitExceededofNetworkInterfaceLimitExceeded.t|`NoFreeAddressesInSubnetofNoFreeAddressesInSubnet.t|`SecurityGroupLimitExceededofSecurityGroupLimitExceeded.t|`SecurityGroupNotFoundofSecurityGroupNotFound.t|`SubnetNotFoundofSubnetNotFound.t|`UnsupportedAvailabilityZoneofUnsupportedAvailabilityZone.t|`Unknown_operation_errorof(string*stringoption)]letmake?ownerId=fun?mountTargetId->fun?fileSystemId->fun?subnetId->fun?lifeCycleState->fun?ipAddress->fun?ipv6Address->fun?networkInterfaceId->fun?availabilityZoneId->fun?availabilityZoneName->fun?vpcId->fun()->{ownerId;mountTargetId;fileSystemId;subnetId;lifeCycleState;ipAddress;ipv6Address;networkInterfaceId;availabilityZoneId;availabilityZoneName;vpcId}leterror_of_jsonnamejson=matchnamewith|"AvailabilityZonesMismatch"->`AvailabilityZonesMismatch(AvailabilityZonesMismatch.of_jsonjson)|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"IpAddressInUse"->`IpAddressInUse(IpAddressInUse.of_jsonjson)|"MountTargetConflict"->`MountTargetConflict(MountTargetConflict.of_jsonjson)|"NetworkInterfaceLimitExceeded"->`NetworkInterfaceLimitExceeded(NetworkInterfaceLimitExceeded.of_jsonjson)|"NoFreeAddressesInSubnet"->`NoFreeAddressesInSubnet(NoFreeAddressesInSubnet.of_jsonjson)|"SecurityGroupLimitExceeded"->`SecurityGroupLimitExceeded(SecurityGroupLimitExceeded.of_jsonjson)|"SecurityGroupNotFound"->`SecurityGroupNotFound(SecurityGroupNotFound.of_jsonjson)|"SubnetNotFound"->`SubnetNotFound(SubnetNotFound.of_jsonjson)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AvailabilityZonesMismatch"->`AvailabilityZonesMismatch(AvailabilityZonesMismatch.of_xmlxml)|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"IpAddressInUse"->`IpAddressInUse(IpAddressInUse.of_xmlxml)|"MountTargetConflict"->`MountTargetConflict(MountTargetConflict.of_xmlxml)|"NetworkInterfaceLimitExceeded"->`NetworkInterfaceLimitExceeded(NetworkInterfaceLimitExceeded.of_xmlxml)|"NoFreeAddressesInSubnet"->`NoFreeAddressesInSubnet(NoFreeAddressesInSubnet.of_xmlxml)|"SecurityGroupLimitExceeded"->`SecurityGroupLimitExceeded(SecurityGroupLimitExceeded.of_xmlxml)|"SecurityGroupNotFound"->`SecurityGroupNotFound(SecurityGroupNotFound.of_xmlxml)|"SubnetNotFound"->`SubnetNotFound(SubnetNotFound.of_xmlxml)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AvailabilityZonesMismatche->`Assoc[("error",(`String"AvailabilityZonesMismatch"));("details",(AvailabilityZonesMismatch.to_jsone))]|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`IncorrectFileSystemLifeCycleStatee->`Assoc[("error",(`String"IncorrectFileSystemLifeCycleState"));("details",(IncorrectFileSystemLifeCycleState.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`IpAddressInUsee->`Assoc[("error",(`String"IpAddressInUse"));("details",(IpAddressInUse.to_jsone))]|`MountTargetConflicte->`Assoc[("error",(`String"MountTargetConflict"));("details",(MountTargetConflict.to_jsone))]|`NetworkInterfaceLimitExceedede->`Assoc[("error",(`String"NetworkInterfaceLimitExceeded"));("details",(NetworkInterfaceLimitExceeded.to_jsone))]|`NoFreeAddressesInSubnete->`Assoc[("error",(`String"NoFreeAddressesInSubnet"));("details",(NoFreeAddressesInSubnet.to_jsone))]|`SecurityGroupLimitExceedede->`Assoc[("error",(`String"SecurityGroupLimitExceeded"));("details",(SecurityGroupLimitExceeded.to_jsone))]|`SecurityGroupNotFounde->`Assoc[("error",(`String"SecurityGroupNotFound"));("details",(SecurityGroupNotFound.to_jsone))]|`SubnetNotFounde->`Assoc[("error",(`String"SubnetNotFound"));("details",(SubnetNotFound.to_jsone))]|`UnsupportedAvailabilityZonee->`Assoc[("error",(`String"UnsupportedAvailabilityZone"));("details",(UnsupportedAvailabilityZone.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OwnerId",(Option.mapx.ownerId~f:AwsAccountId.to_value));("MountTargetId",(Option.mapx.mountTargetId~f:MountTargetId.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("SubnetId",(Option.mapx.subnetId~f:SubnetId.to_value));("LifeCycleState",(Option.mapx.lifeCycleState~f:LifeCycleState.to_value));("IpAddress",(Option.mapx.ipAddress~f:IpAddress.to_value));("Ipv6Address",(Option.mapx.ipv6Address~f:Ipv6Address.to_value));("NetworkInterfaceId",(Option.mapx.networkInterfaceId~f:NetworkInterfaceId.to_value));("AvailabilityZoneId",(Option.mapx.availabilityZoneId~f:AvailabilityZoneId.to_value));("AvailabilityZoneName",(Option.mapx.availabilityZoneName~f:AvailabilityZoneName.to_value));("VpcId",(Option.mapx.vpcId~f:VpcId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcId=(Option.map~f:VpcId.of_xml)(Xml.childxml_arg0"VpcId")inletavailabilityZoneName=(Option.map~f:AvailabilityZoneName.of_xml)(Xml.childxml_arg0"AvailabilityZoneName")inletavailabilityZoneId=(Option.map~f:AvailabilityZoneId.of_xml)(Xml.childxml_arg0"AvailabilityZoneId")inletnetworkInterfaceId=(Option.map~f:NetworkInterfaceId.of_xml)(Xml.childxml_arg0"NetworkInterfaceId")inletipv6Address=(Option.map~f:Ipv6Address.of_xml)(Xml.childxml_arg0"Ipv6Address")inletipAddress=(Option.map~f:IpAddress.of_xml)(Xml.childxml_arg0"IpAddress")inletlifeCycleState=(Option.map~f:LifeCycleState.of_xml)(Xml.childxml_arg0"LifeCycleState")inletsubnetId=(Option.map~f:SubnetId.of_xml)(Xml.childxml_arg0"SubnetId")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletmountTargetId=(Option.map~f:MountTargetId.of_xml)(Xml.childxml_arg0"MountTargetId")inletownerId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OwnerId")inmake?vpcId?availabilityZoneName?availabilityZoneId?networkInterfaceId?ipv6Address?ipAddress?lifeCycleState?subnetId?fileSystemId?mountTargetId?ownerId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcId=field_mapjson__"VpcId"VpcId.of_jsoninletavailabilityZoneName=field_mapjson__"AvailabilityZoneName"AvailabilityZoneName.of_jsoninletavailabilityZoneId=field_mapjson__"AvailabilityZoneId"AvailabilityZoneId.of_jsoninletnetworkInterfaceId=field_mapjson__"NetworkInterfaceId"NetworkInterfaceId.of_jsoninletipv6Address=field_mapjson__"Ipv6Address"Ipv6Address.of_jsoninletipAddress=field_mapjson__"IpAddress"IpAddress.of_jsoninletlifeCycleState=field_mapjson__"LifeCycleState"LifeCycleState.of_jsoninletsubnetId=field_mapjson__"SubnetId"SubnetId.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletmountTargetId=field_mapjson__"MountTargetId"MountTargetId.of_jsoninletownerId=field_mapjson__"OwnerId"AwsAccountId.of_jsoninmake?vpcId?availabilityZoneName?availabilityZoneId?networkInterfaceId?ipv6Address?ipAddress?lifeCycleState?subnetId?fileSystemId?mountTargetId?ownerId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides a description of a mount target."]moduleFileSystemDescription=structtypenonrect={ownerId:AwsAccountId.toption[@ocaml.doc"The Amazon Web Services account that created the file system."];creationToken:CreationToken.toption[@ocaml.doc"The opaque string specified in the request."];fileSystemId:FileSystemId.toption[@ocaml.doc"The ID of the file system, assigned by Amazon EFS."];fileSystemArn:FileSystemArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the EFS file system, in the format arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . Example with sample data: arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567"];creationTime:Timestamp.toption[@ocaml.doc"The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z)."];lifeCycleState:LifeCycleState.toption[@ocaml.doc"The lifecycle phase of the file system."];name:TagValue.toption[@ocaml.doc"You can add tags to a file system, including a Name tag. For more information, see CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in this field."];numberOfMountTargets:MountTargetCount.toption[@ocaml.doc"The current number of mount targets that the file system has. For more information, see CreateMountTarget."];sizeInBytes:FileSystemSize.toption[@ocaml.doc"The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes value doesn't represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, SizeInBytes represents actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size that the file system was at any point in time."];performanceMode:PerformanceMode.toption[@ocaml.doc"The performance mode of the file system."];encrypted:Encrypted.toption[@ocaml.doc"A Boolean value that, if true, indicates that the file system is encrypted."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of an KMS key used to protect the encrypted file system."];throughputMode:ThroughputMode.toption[@ocaml.doc"Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide."];provisionedThroughputInMibps:ProvisionedThroughputInMibps.toption[@ocaml.doc"The amount of provisioned throughput, measured in MiBps, for the file system. Valid for file systems using ThroughputMode set to provisioned."];availabilityZoneName:AvailabilityZoneName.toption[@ocaml.doc"Describes the Amazon Web Services Availability Zone in which the file system is located, and is valid only for One Zone file systems. For more information, see Using EFS storage classes in the Amazon EFS User Guide."];availabilityZoneId:AvailabilityZoneId.toption[@ocaml.doc"The unique and consistent identifier of the Availability Zone in which the file system is located, and is valid only for One Zone file systems. For example, use1-az1 is an Availability Zone ID for the us-east-1 Amazon Web Services Region, and it has the same location in every Amazon Web Services account."];tags:Tags.toption[@ocaml.doc"The tags associated with the file system, presented as an array of Tag objects."];fileSystemProtection:FileSystemProtectionDescription.toption[@ocaml.doc"Describes the protection on the file system."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemAlreadyExistsofFileSystemAlreadyExists.t|`FileSystemLimitExceededofFileSystemLimitExceeded.t|`InsufficientThroughputCapacityofInsufficientThroughputCapacity.t|`InternalServerErrorofInternalServerError.t|`ThroughputLimitExceededofThroughputLimitExceeded.t|`UnsupportedAvailabilityZoneofUnsupportedAvailabilityZone.t|`Unknown_operation_errorof(string*stringoption)]letmake?ownerId=fun?creationToken->fun?fileSystemId->fun?fileSystemArn->fun?creationTime->fun?lifeCycleState->fun?name->fun?numberOfMountTargets->fun?sizeInBytes->fun?performanceMode->fun?encrypted->fun?kmsKeyId->fun?throughputMode->fun?provisionedThroughputInMibps->fun?availabilityZoneName->fun?availabilityZoneId->fun?tags->fun?fileSystemProtection->fun()->{ownerId;creationToken;fileSystemId;fileSystemArn;creationTime;lifeCycleState;name;numberOfMountTargets;sizeInBytes;performanceMode;encrypted;kmsKeyId;throughputMode;provisionedThroughputInMibps;availabilityZoneName;availabilityZoneId;tags;fileSystemProtection}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemAlreadyExists"->`FileSystemAlreadyExists(FileSystemAlreadyExists.of_jsonjson)|"FileSystemLimitExceeded"->`FileSystemLimitExceeded(FileSystemLimitExceeded.of_jsonjson)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_jsonjson)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemAlreadyExists"->`FileSystemAlreadyExists(FileSystemAlreadyExists.of_xmlxml)|"FileSystemLimitExceeded"->`FileSystemLimitExceeded(FileSystemLimitExceeded.of_xmlxml)|"InsufficientThroughputCapacity"->`InsufficientThroughputCapacity(InsufficientThroughputCapacity.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"ThroughputLimitExceeded"->`ThroughputLimitExceeded(ThroughputLimitExceeded.of_xmlxml)|"UnsupportedAvailabilityZone"->`UnsupportedAvailabilityZone(UnsupportedAvailabilityZone.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemAlreadyExistse->`Assoc[("error",(`String"FileSystemAlreadyExists"));("details",(FileSystemAlreadyExists.to_jsone))]|`FileSystemLimitExceedede->`Assoc[("error",(`String"FileSystemLimitExceeded"));("details",(FileSystemLimitExceeded.to_jsone))]|`InsufficientThroughputCapacitye->`Assoc[("error",(`String"InsufficientThroughputCapacity"));("details",(InsufficientThroughputCapacity.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`ThroughputLimitExceedede->`Assoc[("error",(`String"ThroughputLimitExceeded"));("details",(ThroughputLimitExceeded.to_jsone))]|`UnsupportedAvailabilityZonee->`Assoc[("error",(`String"UnsupportedAvailabilityZone"));("details",(UnsupportedAvailabilityZone.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OwnerId",(Option.mapx.ownerId~f:AwsAccountId.to_value));("CreationToken",(Option.mapx.creationToken~f:CreationToken.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("FileSystemArn",(Option.mapx.fileSystemArn~f:FileSystemArn.to_value));("CreationTime",(Option.mapx.creationTime~f:Timestamp.to_value));("LifeCycleState",(Option.mapx.lifeCycleState~f:LifeCycleState.to_value));("Name",(Option.mapx.name~f:TagValue.to_value));("NumberOfMountTargets",(Option.mapx.numberOfMountTargets~f:MountTargetCount.to_value));("SizeInBytes",(Option.mapx.sizeInBytes~f:FileSystemSize.to_value));("PerformanceMode",(Option.mapx.performanceMode~f:PerformanceMode.to_value));("Encrypted",(Option.mapx.encrypted~f:Encrypted.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("ThroughputMode",(Option.mapx.throughputMode~f:ThroughputMode.to_value));("ProvisionedThroughputInMibps",(Option.mapx.provisionedThroughputInMibps~f:ProvisionedThroughputInMibps.to_value));("AvailabilityZoneName",(Option.mapx.availabilityZoneName~f:AvailabilityZoneName.to_value));("AvailabilityZoneId",(Option.mapx.availabilityZoneId~f:AvailabilityZoneId.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("FileSystemProtection",(Option.mapx.fileSystemProtection~f:FileSystemProtectionDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemProtection=(Option.map~f:FileSystemProtectionDescription.of_xml)(Xml.childxml_arg0"FileSystemProtection")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletavailabilityZoneId=(Option.map~f:AvailabilityZoneId.of_xml)(Xml.childxml_arg0"AvailabilityZoneId")inletavailabilityZoneName=(Option.map~f:AvailabilityZoneName.of_xml)(Xml.childxml_arg0"AvailabilityZoneName")inletprovisionedThroughputInMibps=(Option.map~f:ProvisionedThroughputInMibps.of_xml)(Xml.childxml_arg0"ProvisionedThroughputInMibps")inletthroughputMode=(Option.map~f:ThroughputMode.of_xml)(Xml.childxml_arg0"ThroughputMode")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"KmsKeyId")inletencrypted=(Option.map~f:Encrypted.of_xml)(Xml.childxml_arg0"Encrypted")inletperformanceMode=(Option.map~f:PerformanceMode.of_xml)(Xml.childxml_arg0"PerformanceMode")inletsizeInBytes=(Option.map~f:FileSystemSize.of_xml)(Xml.childxml_arg0"SizeInBytes")inletnumberOfMountTargets=(Option.map~f:MountTargetCount.of_xml)(Xml.childxml_arg0"NumberOfMountTargets")inletname=(Option.map~f:TagValue.of_xml)(Xml.childxml_arg0"Name")inletlifeCycleState=(Option.map~f:LifeCycleState.of_xml)(Xml.childxml_arg0"LifeCycleState")inletcreationTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inletfileSystemArn=(Option.map~f:FileSystemArn.of_xml)(Xml.childxml_arg0"FileSystemArn")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletcreationToken=(Option.map~f:CreationToken.of_xml)(Xml.childxml_arg0"CreationToken")inletownerId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OwnerId")inmake?fileSystemProtection?tags?availabilityZoneId?availabilityZoneName?provisionedThroughputInMibps?throughputMode?kmsKeyId?encrypted?performanceMode?sizeInBytes?numberOfMountTargets?name?lifeCycleState?creationTime?fileSystemArn?fileSystemId?creationToken?ownerId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemProtection=field_mapjson__"FileSystemProtection"FileSystemProtectionDescription.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletavailabilityZoneId=field_mapjson__"AvailabilityZoneId"AvailabilityZoneId.of_jsoninletavailabilityZoneName=field_mapjson__"AvailabilityZoneName"AvailabilityZoneName.of_jsoninletprovisionedThroughputInMibps=field_mapjson__"ProvisionedThroughputInMibps"ProvisionedThroughputInMibps.of_jsoninletthroughputMode=field_mapjson__"ThroughputMode"ThroughputMode.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"KmsKeyId.of_jsoninletencrypted=field_mapjson__"Encrypted"Encrypted.of_jsoninletperformanceMode=field_mapjson__"PerformanceMode"PerformanceMode.of_jsoninletsizeInBytes=field_mapjson__"SizeInBytes"FileSystemSize.of_jsoninletnumberOfMountTargets=field_mapjson__"NumberOfMountTargets"MountTargetCount.of_jsoninletname=field_mapjson__"Name"TagValue.of_jsoninletlifeCycleState=field_mapjson__"LifeCycleState"LifeCycleState.of_jsoninletcreationTime=field_mapjson__"CreationTime"Timestamp.of_jsoninletfileSystemArn=field_mapjson__"FileSystemArn"FileSystemArn.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletcreationToken=field_mapjson__"CreationToken"CreationToken.of_jsoninletownerId=field_mapjson__"OwnerId"AwsAccountId.of_jsoninmake?fileSystemProtection?tags?availabilityZoneId?availabilityZoneName?provisionedThroughputInMibps?throughputMode?kmsKeyId?encrypted?performanceMode?sizeInBytes?numberOfMountTargets?name?lifeCycleState?creationTime?fileSystemArn?fileSystemId?creationToken?ownerId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A description of the file system."]moduleAccessPointDescription=structtypenonrect={clientToken:ClientToken.toption[@ocaml.doc"The opaque string specified in the request to ensure idempotent creation."];name:Name.toption[@ocaml.doc"The name of the access point. This is the value of the Name tag."];tags:Tags.toption[@ocaml.doc"The tags associated with the access point, presented as an array of Tag objects."];accessPointId:AccessPointId.toption[@ocaml.doc"The ID of the access point, assigned by Amazon EFS."];accessPointArn:AccessPointArn.toption[@ocaml.doc"The unique Amazon Resource Name (ARN) associated with the access point."];fileSystemId:FileSystemId.toption[@ocaml.doc"The ID of the EFS file system that the access point applies to."];posixUser:PosixUser.toption[@ocaml.doc"The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point."];rootDirectory:RootDirectory.toption[@ocaml.doc"The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point."];ownerId:AwsAccountId.toption[@ocaml.doc"Identifies the Amazon Web Services account that owns the access point resource."];lifeCycleState:LifeCycleState.toption[@ocaml.doc"Identifies the lifecycle phase of the access point."]}typenonrecerror=[`AccessPointAlreadyExistsofAccessPointAlreadyExists.t|`AccessPointLimitExceededofAccessPointLimitExceeded.t|`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`IncorrectFileSystemLifeCycleStateofIncorrectFileSystemLifeCycleState.t|`InternalServerErrorofInternalServerError.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clientToken=fun?name->fun?tags->fun?accessPointId->fun?accessPointArn->fun?fileSystemId->fun?posixUser->fun?rootDirectory->fun?ownerId->fun?lifeCycleState->fun()->{clientToken;name;tags;accessPointId;accessPointArn;fileSystemId;posixUser;rootDirectory;ownerId;lifeCycleState}leterror_of_jsonnamejson=matchnamewith|"AccessPointAlreadyExists"->`AccessPointAlreadyExists(AccessPointAlreadyExists.of_jsonjson)|"AccessPointLimitExceeded"->`AccessPointLimitExceeded(AccessPointLimitExceeded.of_jsonjson)|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointAlreadyExists"->`AccessPointAlreadyExists(AccessPointAlreadyExists.of_xmlxml)|"AccessPointLimitExceeded"->`AccessPointLimitExceeded(AccessPointLimitExceeded.of_xmlxml)|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"IncorrectFileSystemLifeCycleState"->`IncorrectFileSystemLifeCycleState(IncorrectFileSystemLifeCycleState.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointAlreadyExistse->`Assoc[("error",(`String"AccessPointAlreadyExists"));("details",(AccessPointAlreadyExists.to_jsone))]|`AccessPointLimitExceedede->`Assoc[("error",(`String"AccessPointLimitExceeded"));("details",(AccessPointLimitExceeded.to_jsone))]|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`IncorrectFileSystemLifeCycleStatee->`Assoc[("error",(`String"IncorrectFileSystemLifeCycleState"));("details",(IncorrectFileSystemLifeCycleState.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ClientToken",(Option.mapx.clientToken~f:ClientToken.to_value));("Name",(Option.mapx.name~f:Name.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("AccessPointId",(Option.mapx.accessPointId~f:AccessPointId.to_value));("AccessPointArn",(Option.mapx.accessPointArn~f:AccessPointArn.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("PosixUser",(Option.mapx.posixUser~f:PosixUser.to_value));("RootDirectory",(Option.mapx.rootDirectory~f:RootDirectory.to_value));("OwnerId",(Option.mapx.ownerId~f:AwsAccountId.to_value));("LifeCycleState",(Option.mapx.lifeCycleState~f:LifeCycleState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlifeCycleState=(Option.map~f:LifeCycleState.of_xml)(Xml.childxml_arg0"LifeCycleState")inletownerId=(Option.map~f:AwsAccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletrootDirectory=(Option.map~f:RootDirectory.of_xml)(Xml.childxml_arg0"RootDirectory")inletposixUser=(Option.map~f:PosixUser.of_xml)(Xml.childxml_arg0"PosixUser")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletaccessPointArn=(Option.map~f:AccessPointArn.of_xml)(Xml.childxml_arg0"AccessPointArn")inletaccessPointId=(Option.map~f:AccessPointId.of_xml)(Xml.childxml_arg0"AccessPointId")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletclientToken=(Option.map~f:ClientToken.of_xml)(Xml.childxml_arg0"ClientToken")inmake?lifeCycleState?ownerId?rootDirectory?posixUser?fileSystemId?accessPointArn?accessPointId?tags?name?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlifeCycleState=field_mapjson__"LifeCycleState"LifeCycleState.of_jsoninletownerId=field_mapjson__"OwnerId"AwsAccountId.of_jsoninletrootDirectory=field_mapjson__"RootDirectory"RootDirectory.of_jsoninletposixUser=field_mapjson__"PosixUser"PosixUser.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletaccessPointArn=field_mapjson__"AccessPointArn"AccessPointArn.of_jsoninletaccessPointId=field_mapjson__"AccessPointId"AccessPointId.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientToken.of_jsoninmake?lifeCycleState?ownerId?rootDirectory?posixUser?fileSystemId?accessPointArn?accessPointId?tags?name?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides a description of an EFS file system access point."]moduleDestinationToCreate=structtypenonrect={region:RegionName.toption[@ocaml.doc"To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system. The Region must be enabled for the Amazon Web Services account that owns the source file system. For more information, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference Reference Guide."];availabilityZoneName:AvailabilityZoneName.toption[@ocaml.doc"To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create the destination file system."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"Specify the Key Management Service (KMS) key that you want to use to encrypt the destination file system. If you do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS, /aws/elasticfilesystem. This ID can be in one of the following formats: Key ID - The unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab. ARN - The ARN for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias - A previously created display name for a key, for example alias/projectKey1. Key alias ARN - The ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1."];fileSystemId:FileSystemId.toption[@ocaml.doc"The ID or ARN of the file system to use for the destination. For cross-account replication, this must be an ARN. The file system's replication overwrite replication must be disabled. If no ID or ARN is specified, then a new file system is created. When you initially configure replication to an existing file system, Amazon EFS writes data to or removes existing data from the destination file system to match data in the source file system. If you don't want to change data in the destination file system, then you should replicate to a new file system instead. For more information, see https://docs.aws.amazon.com/efs/latest/ug/create-replication.html."];roleArn:RoleArn.toption[@ocaml.doc"Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf. This is optional for same-account replication and required for cross-account replication."]}letmake?region=fun?availabilityZoneName->fun?kmsKeyId->fun?fileSystemId->fun?roleArn->fun()->{region;availabilityZoneName;kmsKeyId;fileSystemId;roleArn}letto_valuex=structure_to_value[("Region",(Option.mapx.region~f:RegionName.to_value));("AvailabilityZoneName",(Option.mapx.availabilityZoneName~f:AvailabilityZoneName.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("RoleArn",(Option.mapx.roleArn~f:RoleArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroleArn=(Option.map~f:RoleArn.of_xml)(Xml.childxml_arg0"RoleArn")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"KmsKeyId")inletavailabilityZoneName=(Option.map~f:AvailabilityZoneName.of_xml)(Xml.childxml_arg0"AvailabilityZoneName")inletregion=(Option.map~f:RegionName.of_xml)(Xml.childxml_arg0"Region")inmake?roleArn?fileSystemId?kmsKeyId?availabilityZoneName?region()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroleArn=field_mapjson__"RoleArn"RoleArn.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"KmsKeyId.of_jsoninletavailabilityZoneName=field_mapjson__"AvailabilityZoneName"AvailabilityZoneName.of_jsoninletregion=field_mapjson__"Region"RegionName.of_jsoninmake?roleArn?fileSystemId?kmsKeyId?availabilityZoneName?region()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the new or existing destination file system for the replication configuration. If you want to replicate to a new file system, do not specify the File System ID for the destination file system. Amazon EFS creates a new, empty file system. For One Zone storage, specify the Availability Zone to create the file system in. To use an Key Management Service key other than the default KMS key, then specify it. For more information, see Configuring replication to new Amazon EFS file system in the Amazon EFS User Guide. After the file system is created, you cannot change the KMS key or the performance mode. If you want to replicate to an existing file system that's in the same account as the source file system, then you need to provide the ID or Amazon Resource Name (ARN) of the file system to which to replicate. The file system's replication overwrite protection must be disabled. For more information, see Replicating to an existing file system in the Amazon EFS User Guide. If you are replicating the file system to a file system that's in a different account than the source file system (cross-account replication), you need to provide the ARN for the file system and the IAM role that allows Amazon EFS to perform replication on the destination account. The file system's replication overwrite protection must be disabled. For more information, see Replicating across Amazon Web Services accounts in the Amazon EFS User Guide."]moduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:(access-point/fsap|file-system/fs)-[0-9a-f]{8,40}|fs(ap)?-[0-9a-f]{8,40})$"));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_valueendmoduleTagKeys=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f: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:"TagKeys"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLifecyclePolicies=structtypenonrect=LifecyclePolicy.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:3);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LifecyclePolicy.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:LifecyclePolicy.of_xml)letof_jsonj=list_of_json~kind:"LifecyclePolicies"~of_json:LifecyclePolicy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBypassPolicyLockoutSafetyCheck=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_valueendmodulePolicy=structtypenonrect=stringletcontext_="Policy"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:20000)>>=(fun()->check_patterni~pattern:"[\\s\\S]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Policy"jletto_json=simple_to_jsonto_valueendmoduleBackupPolicy=structtypenonrect={status:Status.t[@ocaml.doc"Describes the status of the file system's backup policy. ENABLED \226\128\147 EFS is automatically backing up the file system. ENABLING \226\128\147 EFS is turning on automatic backups for the file system. DISABLED \226\128\147 Automatic back ups are turned off for the file system. DISABLING \226\128\147 EFS is turning off automatic backups for the file system."]}letcontext_="BackupPolicy"letmake~status=fun()->{status}letto_valuex=structure_to_value[("Status",(Some(Status.to_valuex.status)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=Status.of_xml(Xml.child_exn~context:context_xml_arg0"Status")inmake~status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_map_exnjson__"Status"Status.of_jsoninmake~status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The backup policy for the file system used to create automatic daily backups. If status has a value of ENABLED, the file system is being automatically backed up. For more information, see Automatic backups."]moduleResourceIdPreference=structtypenonrect={resourceIdType:ResourceIdType.toption[@ocaml.doc"Identifies the EFS resource ID preference, either LONG_ID (17 characters) or SHORT_ID (8 characters)."];resources:Resources.toption[@ocaml.doc"Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM and MOUNT_TARGET."]}letmake?resourceIdType=fun?resources->fun()->{resourceIdType;resources}letto_valuex=structure_to_value[("ResourceIdType",(Option.mapx.resourceIdType~f:ResourceIdType.to_value));("Resources",(Option.mapx.resources~f:Resources.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresources=(Option.map~f:Resources.of_xml)(Xml.childxml_arg0"Resources")inletresourceIdType=(Option.map~f:ResourceIdType.of_xml)(Xml.childxml_arg0"ResourceIdType")inmake?resources?resourceIdType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresources=field_mapjson__"Resources"Resources.of_jsoninletresourceIdType=field_mapjson__"ResourceIdType"ResourceIdType.of_jsoninmake?resources?resourceIdType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the resource type and its ID preference for the user's Amazon Web Services account, in the current Amazon Web Services Region."]moduleSecurityGroups=structtypenonrect=SecurityGroup.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:100);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SecurityGroup.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:SecurityGroup.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroups"~of_json:SecurityGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessPointNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the specified AccessPointId value doesn't exist in the requester's Amazon Web Services account."]moduleToken=structtypenonrect=string[@@ocaml.doc"Token used for pagination."]letcontext_="Token"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Token"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Token used for pagination."]moduleMaxResults=structtypenonrect=int[@@ocaml.doc"Max results used for pagination."]letmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueend[@@ocaml.doc"Max results used for pagination."]moduleInvalidPolicyException=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the FileSystemPolicy is malformed or contains an error such as a parameter value that is not valid or a missing required parameter. Returned in the case of a policy lockout safety check error."]modulePolicyNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if no backup is specified for a One Zone EFS file system."]moduleMarker=structtypenonrect=stringletcontext_="Marker"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Marker"jletto_json=simple_to_jsonto_valueendmoduleMaxItems=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:1);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxItems"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleReplicationConfigurationDescriptions=structtypenonrect=ReplicationConfigurationDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReplicationConfigurationDescription.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:ReplicationConfigurationDescription.of_xml)letof_jsonj=list_of_json~kind:"ReplicationConfigurationDescriptions"~of_json:ReplicationConfigurationDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMountTargetDescriptions=structtypenonrect=MountTargetDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MountTargetDescription.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:MountTargetDescription.of_xml)letof_jsonj=list_of_json~kind:"MountTargetDescriptions"~of_json:MountTargetDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMountTargetNotFound=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if there is no mount target with the specified ID found in the caller's Amazon Web Services account."]moduleIncorrectMountTargetState=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if the mount target is not in the correct state for the operation."]moduleFileSystemDescriptions=structtypenonrect=FileSystemDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FileSystemDescription.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:FileSystemDescription.of_xml)letof_jsonj=list_of_json~kind:"FileSystemDescriptions"~of_json:FileSystemDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessPointDescriptions=structtypenonrect=AccessPointDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccessPointDescription.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:AccessPointDescription.of_xml)letof_jsonj=list_of_json~kind:"AccessPointDescriptions"~of_json:AccessPointDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeletionMode=structtypenonrect=|ALL_CONFIGURATIONS|LOCAL_CONFIGURATION_ONLY|Non_static_idofstringletmakei=iletto_string=function|ALL_CONFIGURATIONS->"ALL_CONFIGURATIONS"|LOCAL_CONFIGURATION_ONLY->"LOCAL_CONFIGURATION_ONLY"|Non_static_ids->sletof_string=function|"ALL_CONFIGURATIONS"->ALL_CONFIGURATIONS|"LOCAL_CONFIGURATION_ONLY"->LOCAL_CONFIGURATION_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 DeletionMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeletionMode"j)letto_json=simple_to_jsonto_valueendmoduleDestinationsToCreate=structtypenonrect=DestinationToCreate.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DestinationToCreate.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:DestinationToCreate.of_xml)letof_jsonj=list_of_json~kind:"DestinationsToCreate"~of_json:DestinationToCreate.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIpAddressType=structtypenonrect=|IPV4_ONLY|IPV6_ONLY|DUAL_STACK|Non_static_idofstringletmakei=iletto_string=function|IPV4_ONLY->"IPV4_ONLY"|IPV6_ONLY->"IPV6_ONLY"|DUAL_STACK->"DUAL_STACK"|Non_static_ids->sletof_string=function|"IPV4_ONLY"->IPV4_ONLY|"IPV6_ONLY"->IPV6_ONLY|"DUAL_STACK"->DUAL_STACK|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 IpAddressType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IpAddressType"j)letto_json=simple_to_jsonto_valueendmoduleBackup=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_valueendmoduleUpdateFileSystemRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system that you want to update."];throughputMode:ThroughputMode.toption[@ocaml.doc"(Optional) Updates the file system's throughput mode. If you're not updating your throughput mode, you don't need to provide this value in your request. If you are changing the ThroughputMode to provisioned, you must also set a value for ProvisionedThroughputInMibps."];provisionedThroughputInMibps:ProvisionedThroughputInMibps.toption[@ocaml.doc"(Optional) The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if ThroughputMode is set to provisioned. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact Amazon Web ServicesSupport. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide."]}letcontext_="UpdateFileSystemRequest"letmake?throughputMode=fun?provisionedThroughputInMibps->fun~fileSystemId->fun()->{throughputMode;provisionedThroughputInMibps;fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("ThroughputMode",(Option.mapx.throughputMode~f:ThroughputMode.to_value));("ProvisionedThroughputInMibps",(Option.mapx.provisionedThroughputInMibps~f:ProvisionedThroughputInMibps.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprovisionedThroughputInMibps=(Option.map~f:ProvisionedThroughputInMibps.of_xml)(Xml.childxml_arg0"ProvisionedThroughputInMibps")inletthroughputMode=(Option.map~f:ThroughputMode.of_xml)(Xml.childxml_arg0"ThroughputMode")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake?provisionedThroughputInMibps?throughputMode~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprovisionedThroughputInMibps=field_mapjson__"ProvisionedThroughputInMibps"ProvisionedThroughputInMibps.of_jsoninletthroughputMode=field_mapjson__"ThroughputMode"ThroughputMode.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake?provisionedThroughputInMibps?throughputMode~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the throughput mode or the amount of provisioned throughput of an existing file system."]moduleUpdateFileSystemProtectionRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system to update."];replicationOverwriteProtection:ReplicationOverwriteProtection.toption[@ocaml.doc"The status of the file system's replication overwrite protection. ENABLED \226\128\147 The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default. DISABLED \226\128\147 The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. REPLICATING \226\128\147 The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication. If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable."]}letcontext_="UpdateFileSystemProtectionRequest"letmake?replicationOverwriteProtection=fun~fileSystemId->fun()->{replicationOverwriteProtection;fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("ReplicationOverwriteProtection",(Option.mapx.replicationOverwriteProtection~f:ReplicationOverwriteProtection.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicationOverwriteProtection=(Option.map~f:ReplicationOverwriteProtection.of_xml)(Xml.childxml_arg0"ReplicationOverwriteProtection")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake?replicationOverwriteProtection~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicationOverwriteProtection=field_mapjson__"ReplicationOverwriteProtection"ReplicationOverwriteProtection.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake?replicationOverwriteProtection~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates protection on the file system. This operation requires permissions for the elasticfilesystem:UpdateFileSystemProtection action."]moduleUntagResourceRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"Specifies the EFS resource that you want to remove tags from."];tagKeys:TagKeys.t[@ocaml.doc"The keys of the key-value tag pairs that you want to remove from the specified EFS resource."]}letcontext_="UntagResourceRequest"letmake~resourceId=fun~tagKeys->fun()->{resourceId;tagKeys}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("tagKeys",(Some(TagKeys.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeys.of_xml(Xml.child_exn~context:context_xml_arg0"tagKeys")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~tagKeys~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeys.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~tagKeys~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation. This operation requires permissions for the elasticfilesystem:UntagResource action."]moduleTagResourceRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID specifying the EFS resource that you want to create a tag for."];tags:Tags.t[@ocaml.doc"An array of Tag objects to add. Each Tag object is a key-value pair."]}letcontext_="TagResourceRequest"letmake~resourceId=fun~tags->fun()->{resourceId;tags}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("Tags",(Some(Tags.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=Tags.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~tags~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"Tags.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~tags~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation. This operation requires permissions for the elasticfilesystem:TagResource action."]modulePutLifecycleConfigurationRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system for which you are creating the LifecycleConfiguration object (String)."];lifecyclePolicies:LifecyclePolicies.t[@ocaml.doc"An array of LifecyclePolicy objects that define the file system's LifecycleConfiguration object. A LifecycleConfiguration object informs lifecycle management of the following: TransitionToIA \226\128\147 When to move files in the file system from primary storage (Standard storage class) into the Infrequent Access (IA) storage. TransitionToArchive \226\128\147 When to move files in the file system from their current storage class (either IA or Standard storage) into the Archive storage. File systems cannot transition into Archive storage before transitioning into IA storage. Therefore, TransitionToArchive must either not be set or must be later than TransitionToIA. The Archive storage class is available only for file systems that use the Elastic throughput mode and the General Purpose performance mode. TransitionToPrimaryStorageClass \226\128\147 Whether to move files in the file system back to primary storage (Standard storage class) after they are accessed in IA or Archive storage. When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy object have only a single transition. This means that in a request body, LifecyclePolicies must be structured as an array of LifecyclePolicy objects, one object for each storage transition. See the example requests in the following section for more information."]}letcontext_="PutLifecycleConfigurationRequest"letmake~fileSystemId=fun~lifecyclePolicies->fun()->{fileSystemId;lifecyclePolicies}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("LifecyclePolicies",(Some(LifecyclePolicies.to_valuex.lifecyclePolicies)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlifecyclePolicies=LifecyclePolicies.of_xml(Xml.child_exn~context:context_xml_arg0"LifecyclePolicies")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~lifecyclePolicies~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlifecyclePolicies=field_map_exnjson__"LifecyclePolicies"LifecyclePolicies.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~lifecyclePolicies~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Use this action to manage storage for your file system. A LifecycleConfiguration consists of one or more LifecyclePolicy objects that define the following: TransitionToIA \226\128\147 When to move files in the file system from primary storage (Standard storage class) into the Infrequent Access (IA) storage. TransitionToArchive \226\128\147 When to move files in the file system from their current storage class (either IA or Standard storage) into the Archive storage. File systems cannot transition into Archive storage before transitioning into IA storage. Therefore, TransitionToArchive must either not be set or must be later than TransitionToIA. The Archive storage class is available only for file systems that use the Elastic throughput mode and the General Purpose performance mode. TransitionToPrimaryStorageClass \226\128\147 Whether to move files in the file system back to primary storage (Standard storage class) after they are accessed in IA or Archive storage. For more information, see Managing file system storage. Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a LifecycleConfiguration object already exists for the specified file system, a PutLifecycleConfiguration call modifies the existing configuration. A PutLifecycleConfiguration call with an empty LifecyclePolicies array in the request body deletes any existing LifecycleConfiguration. In the request, specify the following: The ID for the file system for which you are enabling, disabling, or modifying lifecycle management. A LifecyclePolicies array of LifecyclePolicy objects that define when to move files to IA storage, to Archive storage, and back to primary storage. Amazon EFS requires that each LifecyclePolicy object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate LifecyclePolicy objects. See the example requests in the following section for more information. This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration operation. To apply a LifecycleConfiguration object to an encrypted file system, you need the same Key Management Service permissions as when you created the encrypted file system."]modulePutFileSystemPolicyRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the EFS file system that you want to create or update the FileSystemPolicy for."];policy:Policy.t[@ocaml.doc"The FileSystemPolicy that you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see Resource-based policies within Amazon EFS."];bypassPolicyLockoutSafetyCheck:BypassPolicyLockoutSafetyCheck.toption[@ocaml.doc"(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making future PutFileSystemPolicy requests on this file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the IAM principal that is making the request from making subsequent PutFileSystemPolicy requests on this file system. The default value is False."]}letcontext_="PutFileSystemPolicyRequest"letmake?bypassPolicyLockoutSafetyCheck=fun~fileSystemId->fun~policy->fun()->{bypassPolicyLockoutSafetyCheck;fileSystemId;policy}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("Policy",(Some(Policy.to_valuex.policy)));("BypassPolicyLockoutSafetyCheck",(Option.mapx.bypassPolicyLockoutSafetyCheck~f:BypassPolicyLockoutSafetyCheck.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbypassPolicyLockoutSafetyCheck=(Option.map~f:BypassPolicyLockoutSafetyCheck.of_xml)(Xml.childxml_arg0"BypassPolicyLockoutSafetyCheck")inletpolicy=Policy.of_xml(Xml.child_exn~context:context_xml_arg0"Policy")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake?bypassPolicyLockoutSafetyCheck~policy~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbypassPolicyLockoutSafetyCheck=field_mapjson__"BypassPolicyLockoutSafetyCheck"BypassPolicyLockoutSafetyCheck.of_jsoninletpolicy=field_map_exnjson__"Policy"Policy.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake?bypassPolicyLockoutSafetyCheck~policy~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Applies an Amazon EFS FileSystemPolicy to an Amazon EFS file system. A file system policy is an IAM resource-based policy and can contain multiple policy statements. A file system always has exactly one file system policy, which can be the default policy or an explicit policy set or updated using this API operation. EFS file system policies have a 20,000 character limit. When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see Default EFS file system policy. EFS file system policies have a 20,000 character limit. This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action."]modulePutBackupPolicyRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"Specifies which EFS file system to update the backup policy for."];backupPolicy:BackupPolicy.t[@ocaml.doc"The backup policy included in the PutBackupPolicy request."]}letcontext_="PutBackupPolicyRequest"letmake~fileSystemId=fun~backupPolicy->fun()->{fileSystemId;backupPolicy}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("BackupPolicy",(Some(BackupPolicy.to_valuex.backupPolicy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbackupPolicy=BackupPolicy.of_xml(Xml.child_exn~context:context_xml_arg0"BackupPolicy")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~backupPolicy~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbackupPolicy=field_map_exnjson__"BackupPolicy"BackupPolicy.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~backupPolicy~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system."]modulePutAccountPreferencesResponse=structtypenonrect={resourceIdPreference:ResourceIdPreference.toption}typenonrecerror=[`BadRequestofBadRequest.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceIdPreference=fun()->{resourceIdPreference}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceIdPreference",(Option.mapx.resourceIdPreference~f:ResourceIdPreference.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdPreference=(Option.map~f:ResourceIdPreference.of_xml)(Xml.childxml_arg0"ResourceIdPreference")inmake?resourceIdPreference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdPreference=field_mapjson__"ResourceIdPreference"ResourceIdPreference.of_jsoninmake?resourceIdPreference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the opt-in period as EFS transitions to long resource IDs. For more information, see Managing Amazon EFS resource IDs. Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources."]modulePutAccountPreferencesRequest=structtypenonrect={resourceIdType:ResourceIdType.t[@ocaml.doc"Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either LONG_ID (17 characters), or SHORT_ID (8 characters). Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources."]}letcontext_="PutAccountPreferencesRequest"letmake~resourceIdType=fun()->{resourceIdType}letto_valuex=structure_to_value[("ResourceIdType",(Some(ResourceIdType.to_valuex.resourceIdType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceIdType=ResourceIdType.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceIdType")inmake~resourceIdType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceIdType=field_map_exnjson__"ResourceIdType"ResourceIdType.of_jsoninmake~resourceIdType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the opt-in period as EFS transitions to long resource IDs. For more information, see Managing Amazon EFS resource IDs. Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources."]moduleModifyMountTargetSecurityGroupsRequest=structtypenonrect={mountTargetId:MountTargetId.t[@ocaml.doc"The ID of the mount target whose security groups you want to modify."];securityGroups:SecurityGroups.toption[@ocaml.doc"An array of VPC security group IDs."]}letcontext_="ModifyMountTargetSecurityGroupsRequest"letmake?securityGroups=fun~mountTargetId->fun()->{securityGroups;mountTargetId}letto_valuex=structure_to_value[("MountTargetId",(Some(MountTargetId.to_valuex.mountTargetId)));("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inletmountTargetId=MountTargetId.of_xml(Xml.child_exn~context:context_xml_arg0"MountTargetId")inmake?securityGroups~mountTargetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninletmountTargetId=field_map_exnjson__"MountTargetId"MountTargetId.of_jsoninmake?securityGroups~mountTargetId()letto_jsonv=composed_to_jsonto_valuevendmoduleListTagsForResourceResponse=structtypenonrect={tags:Tags.toption[@ocaml.doc"An array of the tags for the specified EFS resource."];nextToken:Token.toption[@ocaml.doc"NextToken is present if the response payload is paginated. You can use NextToken in a subsequent request to fetch the next page of access point descriptions."]}typenonrecerror=[`AccessPointNotFoundofAccessPointNotFound.t|`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun?nextToken->fun()->{tags;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_jsonjson)|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_xmlxml)|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFounde->`Assoc[("error",(`String"AccessPointNotFound"));("details",(AccessPointNotFound.to_jsone))]|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.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:Tags.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inmake?nextToken?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Token.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninmake?nextToken?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action."]moduleListTagsForResourceRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"Specifies the EFS resource you want to retrieve tags for. You can retrieve tags for EFS file systems and access points using this API endpoint."];maxResults:MaxResults.toption[@ocaml.doc"(Optional) Specifies the maximum number of tag objects to return in the response. The default value is 100."];nextToken:Token.toption[@ocaml.doc"(Optional) You can use NextToken in a subsequent request to fetch the next page of access point descriptions if the response payload was paginated."]}letcontext_="ListTagsForResourceRequest"letmake?maxResults=fun?nextToken->fun~resourceId->fun()->{maxResults;nextToken;resourceId}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake?nextToken?maxResults~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Token.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake?nextToken?maxResults~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action."]moduleLifecycleConfigurationDescription=structtypenonrect={lifecyclePolicies:LifecyclePolicies.toption[@ocaml.doc"An array of lifecycle management policies. EFS supports a maximum of one policy per file system."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?lifecyclePolicies=fun()->{lifecyclePolicies}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("LifecyclePolicies",(Option.mapx.lifecyclePolicies~f:LifecyclePolicies.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlifecyclePolicies=(Option.map~f:LifecyclePolicies.of_xml)(Xml.childxml_arg0"LifecyclePolicies")inmake?lifecyclePolicies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlifecyclePolicies=field_mapjson__"LifecyclePolicies"LifecyclePolicies.of_jsoninmake?lifecyclePolicies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the current LifecycleConfiguration object for the specified EFS file system. Lifecycle management uses the LifecycleConfiguration object to identify when to move files between storage classes. For a file system without a LifecycleConfiguration object, the call returns an empty array in the response. This operation requires permissions for the elasticfilesystem:DescribeLifecycleConfiguration operation."]moduleFileSystemPolicyDescription=structtypenonrect={fileSystemId:FileSystemId.toption[@ocaml.doc"Specifies the EFS file system to which the FileSystemPolicy applies."];policy:Policy.toption[@ocaml.doc"The JSON formatted FileSystemPolicy for the EFS file system."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`PolicyNotFoundofPolicyNotFound.t|`Unknown_operation_errorof(string*stringoption)]letmake?fileSystemId=fun?policy->fun()->{fileSystemId;policy}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"PolicyNotFound"->`PolicyNotFound(PolicyNotFound.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"PolicyNotFound"->`PolicyNotFound(PolicyNotFound.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`PolicyNotFounde->`Assoc[("error",(`String"PolicyNotFound"));("details",(PolicyNotFound.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("Policy",(Option.mapx.policy~f:Policy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=(Option.map~f:Policy.of_xml)(Xml.childxml_arg0"Policy")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inmake?policy?fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_mapjson__"Policy"Policy.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninmake?policy?fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the FileSystemPolicy for the specified EFS file system. This operation requires permissions for the elasticfilesystem:DescribeFileSystemPolicy action."]moduleFileSystemInUse=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returned if a file system has mount targets."]moduleDescribeTagsResponse=structtypenonrect={marker:Marker.toption[@ocaml.doc"If the request included a Marker, the response returns that value in this field."];tags:Tags.toption[@ocaml.doc"Returns tags associated with the file system as an array of Tag objects."];nextMarker:Marker.toption[@ocaml.doc"If a value is present, there are more tags to return. In a subsequent request, you can provide the value of NextMarker as the value of the Marker parameter in your next request to retrieve the next set of tags."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?marker=fun?tags->fun?nextMarker->fun()->{marker;tags;nextMarker}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Marker",(Option.mapx.marker~f:Marker.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value));("NextMarker",(Option.mapx.nextMarker~f:Marker.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextMarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"NextMarker")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inmake?nextMarker?tags?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextMarker=field_mapjson__"NextMarker"Marker.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninmake?nextMarker?tags?marker()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeTagsRequest=structtypenonrect={maxItems:MaxItems.toption[@ocaml.doc"(Optional) The maximum number of file system tags to return in the response. Currently, this number is automatically set to 100, and other values are ignored. The response is paginated at 100 per page if you have more than 100 tags."];marker:Marker.toption[@ocaml.doc"(Optional) An opaque pagination token returned from a previous DescribeTags operation (String). If present, it specifies to continue the list from where the previous call left off."];fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system whose tag set you want to retrieve."]}letcontext_="DescribeTagsRequest"letmake?maxItems=fun?marker->fun~fileSystemId->fun()->{maxItems;marker;fileSystemId}letto_valuex=structure_to_value[("MaxItems",(Option.mapx.maxItems~f:MaxItems.to_value));("Marker",(Option.mapx.marker~f:Marker.to_value));("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inletmaxItems=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"MaxItems")inmake~fileSystemId?marker?maxItems()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninletmaxItems=field_mapjson__"MaxItems"MaxItems.of_jsoninmake~fileSystemId?marker?maxItems()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeReplicationConfigurationsResponse=structtypenonrect={replications:ReplicationConfigurationDescriptions.toption[@ocaml.doc"The collection of replication configurations that is returned."];nextToken:Token.toption[@ocaml.doc"You can use the NextToken from the previous response in a subsequent request to fetch the additional descriptions."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`ReplicationNotFoundofReplicationNotFound.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?replications=fun?nextToken->fun()->{replications;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"ReplicationNotFound"->`ReplicationNotFound(ReplicationNotFound.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"ReplicationNotFound"->`ReplicationNotFound(ReplicationNotFound.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`ReplicationNotFounde->`Assoc[("error",(`String"ReplicationNotFound"));("details",(ReplicationNotFound.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Replications",(Option.mapx.replications~f:ReplicationConfigurationDescriptions.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletreplications=(Option.map~f:ReplicationConfigurationDescriptions.of_xml)(Xml.childxml_arg0"Replications")inmake?nextToken?replications()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Token.of_jsoninletreplications=field_mapjson__"Replications"ReplicationConfigurationDescriptions.of_jsoninmake?nextToken?replications()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the replication configuration for a specific file system. If a file system is not specified, all of the replication configurations for the Amazon Web Services account in an Amazon Web Services Region are retrieved."]moduleDescribeReplicationConfigurationsRequest=structtypenonrect={fileSystemId:FileSystemId.toption[@ocaml.doc"You can retrieve the replication configuration for a specific file system by providing its file system ID. For cross-account,cross-region replication, an account can only describe the replication configuration for a file system in its own Region."];nextToken:Token.toption[@ocaml.doc"NextToken is present if the response is paginated. You can use NextToken in a subsequent request to fetch the next page of output."];maxResults:MaxResults.toption[@ocaml.doc"(Optional) To limit the number of objects returned in a response, you can specify the MaxItems parameter. The default value is 100."]}letmake?fileSystemId=fun?nextToken->fun?maxResults->fun()->{fileSystemId;nextToken;maxResults}letto_valuex=structure_to_value[("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inmake?maxResults?nextToken?fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"Token.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninmake?maxResults?nextToken?fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the replication configuration for a specific file system. If a file system is not specified, all of the replication configurations for the Amazon Web Services account in an Amazon Web Services Region are retrieved."]moduleDescribeMountTargetsResponse=structtypenonrect={marker:Marker.toption[@ocaml.doc"If the request included the Marker, the response returns that value in this field."];mountTargets:MountTargetDescriptions.toption[@ocaml.doc"Returns the file system's mount targets as an array of MountTargetDescription objects."];nextMarker:Marker.toption[@ocaml.doc"If a value is present, there are more mount targets to return. In a subsequent request, you can provide Marker in your request with this value to retrieve the next set of mount targets."]}typenonrecerror=[`AccessPointNotFoundofAccessPointNotFound.t|`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`MountTargetNotFoundofMountTargetNotFound.t|`Unknown_operation_errorof(string*stringoption)]letmake?marker=fun?mountTargets->fun?nextMarker->fun()->{marker;mountTargets;nextMarker}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_jsonjson)|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"MountTargetNotFound"->`MountTargetNotFound(MountTargetNotFound.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_xmlxml)|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"MountTargetNotFound"->`MountTargetNotFound(MountTargetNotFound.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFounde->`Assoc[("error",(`String"AccessPointNotFound"));("details",(AccessPointNotFound.to_jsone))]|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`MountTargetNotFounde->`Assoc[("error",(`String"MountTargetNotFound"));("details",(MountTargetNotFound.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Marker",(Option.mapx.marker~f:Marker.to_value));("MountTargets",(Option.mapx.mountTargets~f:MountTargetDescriptions.to_value));("NextMarker",(Option.mapx.nextMarker~f:Marker.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextMarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"NextMarker")inletmountTargets=(Option.map~f:MountTargetDescriptions.of_xml)(Xml.childxml_arg0"MountTargets")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inmake?nextMarker?mountTargets?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextMarker=field_mapjson__"NextMarker"Marker.of_jsoninletmountTargets=field_mapjson__"MountTargets"MountTargetDescriptions.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninmake?nextMarker?mountTargets?marker()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeMountTargetsRequest=structtypenonrect={maxItems:MaxItems.toption[@ocaml.doc"(Optional) Maximum number of mount targets to return in the response. Currently, this number is automatically set to 10, and other values are ignored. The response is paginated at 100 per page if you have more than 100 mount targets."];marker:Marker.toption[@ocaml.doc"(Optional) Opaque pagination token returned from a previous DescribeMountTargets operation (String). If present, it specifies to continue the list from where the previous returning call left off."];fileSystemId:FileSystemId.toption[@ocaml.doc"(Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if an AccessPointId or MountTargetId is not included. Accepts either a file system ID or ARN as input."];mountTargetId:MountTargetId.toption[@ocaml.doc"(Optional) ID of the mount target that you want to have described (String). It must be included in your request if FileSystemId is not included. Accepts either a mount target ID or ARN as input."];accessPointId:AccessPointId.toption[@ocaml.doc"(Optional) The ID of the access point whose mount targets that you want to list. It must be included in your request if a FileSystemId or MountTargetId is not included in your request. Accepts either an access point ID or ARN as input."]}letmake?maxItems=fun?marker->fun?fileSystemId->fun?mountTargetId->fun?accessPointId->fun()->{maxItems;marker;fileSystemId;mountTargetId;accessPointId}letto_valuex=structure_to_value[("MaxItems",(Option.mapx.maxItems~f:MaxItems.to_value));("Marker",(Option.mapx.marker~f:Marker.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value));("MountTargetId",(Option.mapx.mountTargetId~f:MountTargetId.to_value));("AccessPointId",(Option.mapx.accessPointId~f:AccessPointId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccessPointId=(Option.map~f:AccessPointId.of_xml)(Xml.childxml_arg0"AccessPointId")inletmountTargetId=(Option.map~f:MountTargetId.of_xml)(Xml.childxml_arg0"MountTargetId")inletfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inletmaxItems=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"MaxItems")inmake?accessPointId?mountTargetId?fileSystemId?marker?maxItems()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccessPointId=field_mapjson__"AccessPointId"AccessPointId.of_jsoninletmountTargetId=field_mapjson__"MountTargetId"MountTargetId.of_jsoninletfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninletmaxItems=field_mapjson__"MaxItems"MaxItems.of_jsoninmake?accessPointId?mountTargetId?fileSystemId?marker?maxItems()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeMountTargetSecurityGroupsResponse=structtypenonrect={securityGroups:SecurityGroups.toption[@ocaml.doc"An array of security groups."]}typenonrecerror=[`BadRequestofBadRequest.t|`IncorrectMountTargetStateofIncorrectMountTargetState.t|`InternalServerErrorofInternalServerError.t|`MountTargetNotFoundofMountTargetNotFound.t|`Unknown_operation_errorof(string*stringoption)]letmake?securityGroups=fun()->{securityGroups}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"IncorrectMountTargetState"->`IncorrectMountTargetState(IncorrectMountTargetState.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"MountTargetNotFound"->`MountTargetNotFound(MountTargetNotFound.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"IncorrectMountTargetState"->`IncorrectMountTargetState(IncorrectMountTargetState.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"MountTargetNotFound"->`MountTargetNotFound(MountTargetNotFound.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`IncorrectMountTargetStatee->`Assoc[("error",(`String"IncorrectMountTargetState"));("details",(IncorrectMountTargetState.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`MountTargetNotFounde->`Assoc[("error",(`String"MountTargetNotFound"));("details",(MountTargetNotFound.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inmake?securityGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninmake?securityGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted. This operation requires permissions for the following actions: elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount target's file system. ec2:DescribeNetworkInterfaceAttribute action on the mount target's network interface."]moduleDescribeMountTargetSecurityGroupsRequest=structtypenonrect={mountTargetId:MountTargetId.t[@ocaml.doc"The ID of the mount target whose security groups you want to retrieve."]}letcontext_="DescribeMountTargetSecurityGroupsRequest"letmake~mountTargetId=fun()->{mountTargetId}letto_valuex=structure_to_value[("MountTargetId",(Some(MountTargetId.to_valuex.mountTargetId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmountTargetId=MountTargetId.of_xml(Xml.child_exn~context:context_xml_arg0"MountTargetId")inmake~mountTargetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmountTargetId=field_map_exnjson__"MountTargetId"MountTargetId.of_jsoninmake~mountTargetId()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeLifecycleConfigurationRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system whose LifecycleConfiguration object you want to retrieve (String)."]}letcontext_="DescribeLifecycleConfigurationRequest"letmake~fileSystemId=fun()->{fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the current LifecycleConfiguration object for the specified EFS file system. Lifecycle management uses the LifecycleConfiguration object to identify when to move files between storage classes. For a file system without a LifecycleConfiguration object, the call returns an empty array in the response. This operation requires permissions for the elasticfilesystem:DescribeLifecycleConfiguration operation."]moduleDescribeFileSystemsResponse=structtypenonrect={marker:Marker.toption[@ocaml.doc"Present if provided by caller in the request (String)."];fileSystems:FileSystemDescriptions.toption[@ocaml.doc"An array of file system descriptions."];nextMarker:Marker.toption[@ocaml.doc"Present if there are more file systems than returned in the response (String). You can use the NextMarker in the subsequent request to fetch the descriptions."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?marker=fun?fileSystems->fun?nextMarker->fun()->{marker;fileSystems;nextMarker}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Marker",(Option.mapx.marker~f:Marker.to_value));("FileSystems",(Option.mapx.fileSystems~f:FileSystemDescriptions.to_value));("NextMarker",(Option.mapx.nextMarker~f:Marker.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextMarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"NextMarker")inletfileSystems=(Option.map~f:FileSystemDescriptions.of_xml)(Xml.childxml_arg0"FileSystems")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inmake?nextMarker?fileSystems?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextMarker=field_mapjson__"NextMarker"Marker.of_jsoninletfileSystems=field_mapjson__"FileSystems"FileSystemDescriptions.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninmake?nextMarker?fileSystems?marker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided. Otherwise, it returns descriptions of all file systems owned by the caller's Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling. When retrieving all file system descriptions, you can optionally specify the MaxItems parameter to limit the number of descriptions in a response. This number is automatically set to 100. If more file system descriptions remain, Amazon EFS returns a NextMarker, an opaque token, in the response. In this case, you should send a subsequent request with the Marker request parameter set to the value of NextMarker. To retrieve a list of your file system descriptions, this operation is used in an iterative process, where DescribeFileSystems is called first without the Marker and then the operation continues to call it with the Marker parameter set to the value of the NextMarker from the previous response until the response has no NextMarker. The order of file systems returned in the response of one DescribeFileSystems call and the order of file systems returned across the responses of a multi-call iteration is unspecified. This operation requires permissions for the elasticfilesystem:DescribeFileSystems action."]moduleDescribeFileSystemsRequest=structtypenonrect={maxItems:MaxItems.toption[@ocaml.doc"(Optional) Specifies the maximum number of file systems to return in the response (integer). This number is automatically set to 100. The response is paginated at 100 per page if you have more than 100 file systems."];marker:Marker.toption[@ocaml.doc"(Optional) Opaque pagination token returned from a previous DescribeFileSystems operation (String). If present, specifies to continue the list from where the returning call had left off."];creationToken:CreationToken.toption[@ocaml.doc"(Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system."];fileSystemId:FileSystemId.toption[@ocaml.doc"(Optional) ID of the file system whose description you want to retrieve (String)."]}letmake?maxItems=fun?marker->fun?creationToken->fun?fileSystemId->fun()->{maxItems;marker;creationToken;fileSystemId}letto_valuex=structure_to_value[("MaxItems",(Option.mapx.maxItems~f:MaxItems.to_value));("Marker",(Option.mapx.marker~f:Marker.to_value));("CreationToken",(Option.mapx.creationToken~f:CreationToken.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletcreationToken=(Option.map~f:CreationToken.of_xml)(Xml.childxml_arg0"CreationToken")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inletmaxItems=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"MaxItems")inmake?fileSystemId?creationToken?marker?maxItems()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletcreationToken=field_mapjson__"CreationToken"CreationToken.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninletmaxItems=field_mapjson__"MaxItems"MaxItems.of_jsoninmake?fileSystemId?creationToken?marker?maxItems()letto_jsonv=composed_to_jsonto_valuevendmoduleDescribeFileSystemPolicyRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"Specifies which EFS file system to retrieve the FileSystemPolicy for."]}letcontext_="DescribeFileSystemPolicyRequest"letmake~fileSystemId=fun()->{fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the FileSystemPolicy for the specified EFS file system. This operation requires permissions for the elasticfilesystem:DescribeFileSystemPolicy action."]moduleDescribeBackupPolicyRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"Specifies which EFS file system for which to retrieve the BackupPolicy."]}letcontext_="DescribeBackupPolicyRequest"letmake~fileSystemId=fun()->{fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the backup policy for the specified EFS file system."]moduleDescribeAccountPreferencesResponse=structtypenonrect={resourceIdPreference:ResourceIdPreference.toption[@ocaml.doc"Describes the resource ID preference setting for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region."];nextToken:Token.toption[@ocaml.doc"Present if there are more records than returned in the response. You can use the NextToken in the subsequent request to fetch the additional descriptions."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceIdPreference=fun?nextToken->fun()->{resourceIdPreference;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceIdPreference",(Option.mapx.resourceIdPreference~f:ResourceIdPreference.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletresourceIdPreference=(Option.map~f:ResourceIdPreference.of_xml)(Xml.childxml_arg0"ResourceIdPreference")inmake?nextToken?resourceIdPreference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Token.of_jsoninletresourceIdPreference=field_mapjson__"ResourceIdPreference"ResourceIdPreference.of_jsoninmake?nextToken?resourceIdPreference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region."]moduleDescribeAccountPreferencesRequest=structtypenonrect={nextToken:Token.toption[@ocaml.doc"(Optional) You can use NextToken in a subsequent request to fetch the next page of Amazon Web Services account preferences if the response payload was paginated."];maxResults:MaxResults.toption[@ocaml.doc"(Optional) When retrieving account preferences, you can optionally specify the MaxItems parameter to limit the number of objects returned in a response. The default value is 100."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:Token.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"Token.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region."]moduleDescribeAccessPointsResponse=structtypenonrect={accessPoints:AccessPointDescriptions.toption[@ocaml.doc"An array of access point descriptions."];nextToken:Token.toption[@ocaml.doc"Present if there are more access points than returned in the response. You can use the NextMarker in the subsequent request to fetch the additional descriptions."]}typenonrecerror=[`AccessPointNotFoundofAccessPointNotFound.t|`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`Unknown_operation_errorof(string*stringoption)]letmake?accessPoints=fun?nextToken->fun()->{accessPoints;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_jsonjson)|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFound"->`AccessPointNotFound(AccessPointNotFound.of_xmlxml)|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFounde->`Assoc[("error",(`String"AccessPointNotFound"));("details",(AccessPointNotFound.to_jsone))]|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AccessPoints",(Option.mapx.accessPoints~f:AccessPointDescriptions.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletaccessPoints=(Option.map~f:AccessPointDescriptions.of_xml)(Xml.childxml_arg0"AccessPoints")inmake?nextToken?accessPoints()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Token.of_jsoninletaccessPoints=field_mapjson__"AccessPoints"AccessPointDescriptions.of_jsoninmake?nextToken?accessPoints()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of a specific Amazon EFS access point if the AccessPointId is provided. If you provide an EFS FileSystemId, it returns descriptions of all access points for that file system. You can provide either an AccessPointId or a FileSystemId in the request, but not both. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action."]moduleDescribeAccessPointsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"(Optional) When retrieving all access points for a file system, you can optionally specify the MaxItems parameter to limit the number of objects returned in a response. The default value is 100."];nextToken:Token.toption[@ocaml.doc"NextToken is present if the response is paginated. You can use NextMarker in the subsequent request to fetch the next page of access point descriptions."];accessPointId:AccessPointId.toption[@ocaml.doc"(Optional) Specifies an EFS access point to describe in the response; mutually exclusive with FileSystemId."];fileSystemId:FileSystemId.toption[@ocaml.doc"(Optional) If you provide a FileSystemId, EFS returns all access points for that file system; mutually exclusive with AccessPointId."]}letmake?maxResults=fun?nextToken->fun?accessPointId->fun?fileSystemId->fun()->{maxResults;nextToken;accessPointId;fileSystemId}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Token.to_value));("AccessPointId",(Option.mapx.accessPointId~f:AccessPointId.to_value));("FileSystemId",(Option.mapx.fileSystemId~f:FileSystemId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=(Option.map~f:FileSystemId.of_xml)(Xml.childxml_arg0"FileSystemId")inletaccessPointId=(Option.map~f:AccessPointId.of_xml)(Xml.childxml_arg0"AccessPointId")inletnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?fileSystemId?accessPointId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_mapjson__"FileSystemId"FileSystemId.of_jsoninletaccessPointId=field_mapjson__"AccessPointId"AccessPointId.of_jsoninletnextToken=field_mapjson__"NextToken"Token.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?fileSystemId?accessPointId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the description of a specific Amazon EFS access point if the AccessPointId is provided. If you provide an EFS FileSystemId, it returns descriptions of all access points for that file system. You can provide either an AccessPointId or a FileSystemId in the request, but not both. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action."]moduleDependencyTimeout=structtypenonrect={errorCode:ErrorCode.toption;message:ErrorMessage.toption}letmake?errorCode=fun?message->fun()->{errorCode;message}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?message?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?message?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The service timed out trying to fulfill the request, and the client should try the call again."]moduleDeleteTagsRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system whose tags you want to delete (String)."];tagKeys:TagKeys.t[@ocaml.doc"A list of tag keys to delete."]}letcontext_="DeleteTagsRequest"letmake~fileSystemId=fun~tagKeys->fun()->{fileSystemId;tagKeys}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("TagKeys",(Some(TagKeys.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeys.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~tagKeys~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeys.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~tagKeys~fileSystemId()letto_jsonv=composed_to_jsonto_valuevendmoduleDeleteReplicationConfigurationRequest=structtypenonrect={sourceFileSystemId:FileSystemId.t[@ocaml.doc"The ID of the source file system in the replication configuration."];deletionMode:DeletionMode.toption[@ocaml.doc"When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS deletes the replication configuration from both the source and destination account or Region (ALL_CONFIGURATIONS) by default. If there's a configuration or permissions issue that prevents Amazon EFS from deleting the replication configuration from both sides, you can use the LOCAL_CONFIGURATION_ONLY mode to delete the replication configuration from only the local side (the account or Region from which the delete is performed). Only use the LOCAL_CONFIGURATION_ONLY mode in the case that Amazon EFS is unable to delete the replication configuration in both the source and destination account or Region. Deleting the local configuration leaves the configuration in the other account or Region unrecoverable. Additionally, do not use this mode for same-account, same-region replication as doing so results in a BadRequest exception error."]}letcontext_="DeleteReplicationConfigurationRequest"letmake?deletionMode=fun~sourceFileSystemId->fun()->{deletionMode;sourceFileSystemId}letto_valuex=structure_to_value[("SourceFileSystemId",(Some(FileSystemId.to_valuex.sourceFileSystemId)));("deletionMode",(Option.mapx.deletionMode~f:DeletionMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeletionMode=(Option.map~f:DeletionMode.of_xml)(Xml.childxml_arg0"deletionMode")inletsourceFileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"SourceFileSystemId")inmake?deletionMode~sourceFileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeletionMode=field_mapjson__"DeletionMode"DeletionMode.of_jsoninletsourceFileSystemId=field_map_exnjson__"SourceFileSystemId"FileSystemId.of_jsoninmake?deletionMode~sourceFileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a replication configuration. Deleting a replication configuration ends the replication process. After a replication configuration is deleted, the destination file system becomes Writeable and its replication overwrite protection is re-enabled. For more information, see Delete a replication configuration. This operation requires permissions for the elasticfilesystem:DeleteReplicationConfiguration action."]moduleDeleteMountTargetRequest=structtypenonrect={mountTargetId:MountTargetId.t[@ocaml.doc"The ID of the mount target to delete (String)."]}letcontext_="DeleteMountTargetRequest"letmake~mountTargetId=fun()->{mountTargetId}letto_valuex=structure_to_value[("MountTargetId",(Some(MountTargetId.to_valuex.mountTargetId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmountTargetId=MountTargetId.of_xml(Xml.child_exn~context:context_xml_arg0"MountTargetId")inmake~mountTargetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmountTargetId=field_map_exnjson__"MountTargetId"MountTargetId.of_jsoninmake~mountTargetId()letto_jsonv=composed_to_jsonto_valuevendmoduleDeleteFileSystemRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system you want to delete."]}letcontext_="DeleteFileSystemRequest"letmake~fileSystemId=fun()->{fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~fileSystemId()letto_jsonv=composed_to_jsonto_valuevendmoduleDeleteFileSystemPolicyRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"Specifies the EFS file system for which to delete the FileSystemPolicy."]}letcontext_="DeleteFileSystemPolicyRequest"letmake~fileSystemId=fun()->{fileSystemId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~fileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the FileSystemPolicy for the specified file system. The default FileSystemPolicy goes into effect once the existing policy is deleted. For more information about the default file system policy, see Using Resource-based Policies with EFS. This operation requires permissions for the elasticfilesystem:DeleteFileSystemPolicy action."]moduleDeleteAccessPointRequest=structtypenonrect={accessPointId:AccessPointId.t[@ocaml.doc"The ID of the access point that you want to delete."]}letcontext_="DeleteAccessPointRequest"letmake~accessPointId=fun()->{accessPointId}letto_valuex=structure_to_value[("AccessPointId",(Some(AccessPointId.to_valuex.accessPointId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaccessPointId=AccessPointId.of_xml(Xml.child_exn~context:context_xml_arg0"AccessPointId")inmake~accessPointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaccessPointId=field_map_exnjson__"AccessPointId"AccessPointId.of_jsoninmake~accessPointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified access point. After deletion is complete, new clients can no longer connect to the access points. Clients connected to the access point at the time of deletion will continue to function until they terminate their connection. This operation requires permissions for the elasticfilesystem:DeleteAccessPoint action."]moduleCreateTagsRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system."];tags:Tags.t[@ocaml.doc"An array of Tag objects to add. Each Tag object is a key-value pair."]}letcontext_="CreateTagsRequest"letmake~fileSystemId=fun~tags->fun()->{fileSystemId;tags}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("Tags",(Some(Tags.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=Tags.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake~tags~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"Tags.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake~tags~fileSystemId()letto_jsonv=composed_to_jsonto_valuevendmoduleCreateReplicationConfigurationRequest=structtypenonrect={sourceFileSystemId:FileSystemId.t[@ocaml.doc"Specifies the Amazon EFS file system that you want to replicate. This file system cannot already be a source or destination file system in another replication configuration."];destinations:DestinationsToCreate.t[@ocaml.doc"An array of destination configuration objects. Only one destination configuration object is supported."]}letcontext_="CreateReplicationConfigurationRequest"letmake~sourceFileSystemId=fun~destinations->fun()->{sourceFileSystemId;destinations}letto_valuex=structure_to_value[("SourceFileSystemId",(Some(FileSystemId.to_valuex.sourceFileSystemId)));("Destinations",(Some(DestinationsToCreate.to_valuex.destinations)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinations=DestinationsToCreate.of_xml(Xml.child_exn~context:context_xml_arg0"Destinations")inletsourceFileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"SourceFileSystemId")inmake~destinations~sourceFileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinations=field_map_exnjson__"Destinations"DestinationsToCreate.of_jsoninletsourceFileSystemId=field_map_exnjson__"SourceFileSystemId"FileSystemId.of_jsoninmake~destinations~sourceFileSystemId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a replication con\239\172\129guration to either a new or existing EFS file system. For more information, see Amazon EFS replication in the Amazon EFS User Guide. The replication configuration specifies the following: Source file system \226\128\147 The EFS file system that you want to replicate. Destination file system \226\128\147 The destination file system to which the source file system is replicated. There can only be one destination file system in a replication configuration. A file system can be part of only one replication configuration. The destination parameters for the replication configuration depend on whether you are replicating to a new file system or to an existing file system, and if you are replicating across Amazon Web Services accounts. See DestinationToCreate for more information. This operation requires permissions for the elasticfilesystem:CreateReplicationConfiguration action. Additionally, other permissions are required depending on how you are replicating file systems. For more information, see Required permissions for replication in the Amazon EFS User Guide."]moduleCreateMountTargetRequest=structtypenonrect={fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the file system for which to create the mount target."];subnetId:SubnetId.t[@ocaml.doc"The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone."];ipAddress:IpAddress.toption[@ocaml.doc"If the IP address type for the mount target is IPv4, then specify the IPv4 address within the address range of the specified subnet."];ipv6Address:Ipv6Address.toption[@ocaml.doc"If the IP address type for the mount target is IPv6, then specify the IPv6 address within the address range of the specified subnet."];ipAddressType:IpAddressType.toption[@ocaml.doc"Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don\226\128\153t specify an IpAddressType, then IPv4 is used. IPV4_ONLY \226\128\147 Create mount target with IPv4 only subnet or dual-stack subnet. DUAL_STACK \226\128\147 Create mount target with dual-stack subnet. IPV6_ONLY \226\128\147 Create mount target with IPv6 only subnet. Creating IPv6 mount target only ENI in dual-stack subnet is not supported."];securityGroups:SecurityGroups.toption[@ocaml.doc"VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table)."]}letcontext_="CreateMountTargetRequest"letmake?ipAddress=fun?ipv6Address->fun?ipAddressType->fun?securityGroups->fun~fileSystemId->fun~subnetId->fun()->{ipAddress;ipv6Address;ipAddressType;securityGroups;fileSystemId;subnetId}letto_valuex=structure_to_value[("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("SubnetId",(Some(SubnetId.to_valuex.subnetId)));("IpAddress",(Option.mapx.ipAddress~f:IpAddress.to_value));("Ipv6Address",(Option.mapx.ipv6Address~f:Ipv6Address.to_value));("IpAddressType",(Option.mapx.ipAddressType~f:IpAddressType.to_value));("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inletipAddressType=(Option.map~f:IpAddressType.of_xml)(Xml.childxml_arg0"IpAddressType")inletipv6Address=(Option.map~f:Ipv6Address.of_xml)(Xml.childxml_arg0"Ipv6Address")inletipAddress=(Option.map~f:IpAddress.of_xml)(Xml.childxml_arg0"IpAddress")inletsubnetId=SubnetId.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetId")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inmake?securityGroups?ipAddressType?ipv6Address?ipAddress~subnetId~fileSystemId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninletipAddressType=field_mapjson__"IpAddressType"IpAddressType.of_jsoninletipv6Address=field_mapjson__"Ipv6Address"Ipv6Address.of_jsoninletipAddress=field_mapjson__"IpAddress"IpAddress.of_jsoninletsubnetId=field_map_exnjson__"SubnetId"SubnetId.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninmake?securityGroups?ipAddressType?ipv6Address?ipAddress~subnetId~fileSystemId()letto_jsonv=composed_to_jsonto_valuevendmoduleCreateFileSystemRequest=structtypenonrect={creationToken:CreationToken.t[@ocaml.doc"A string of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation."];performanceMode:PerformanceMode.toption[@ocaml.doc"The performance mode of the file system. We recommend generalPurpose performance mode for all file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. The maxIO mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default is generalPurpose."];encrypted:Encrypted.toption[@ocaml.doc"A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying an existing Key Management Service key (KMS key). If you don't specify a KMS key, then the default KMS key for Amazon EFS, /aws/elasticfilesystem, is used to protect the encrypted file system."];kmsKeyId:KmsKeyId.toption[@ocaml.doc"The ID of the KMS key that you want to use to protect the encrypted file system. This parameter is required only if you want to use a non-default KMS key. If this parameter is not specified, the default KMS key for Amazon EFS is used. You can specify a KMS key ID using the following formats: Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab. ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias - A previously created display name for a key, for example alias/projectKey1. Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1. If you use KmsKeyId, you must set the CreateFileSystemRequest$Encrypted parameter to true. EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with Amazon EFS file systems."];throughputMode:ThroughputMode.toption[@ocaml.doc"Specifies the throughput mode for the file system. The mode can be bursting, provisioned, or elastic. If you set ThroughputMode to provisioned, you must also set a value for ProvisionedThroughputInMibps. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default is bursting."];provisionedThroughputInMibps:ProvisionedThroughputInMibps.toption[@ocaml.doc"The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if ThroughputMode is set to provisioned. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact Amazon Web ServicesSupport. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide."];availabilityZoneName:AvailabilityZoneName.toption[@ocaml.doc"For One Zone file systems, specify the Amazon Web Services Availability Zone in which to create the file system. Use the format us-east-1a to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in Amazon Web Services Regions where Amazon EFS is available."];backup:Backup.toption[@ocaml.doc"Specifies whether automatic backups are enabled on the file system that you are creating. Set the value to true to enable automatic backups. If you are creating a One Zone file system, automatic backups are enabled by default. For more information, see Automatic backups in the Amazon EFS User Guide. Default is false. However, if you specify an AvailabilityZoneName, the default is true. Backup is not available in all Amazon Web Services Regions where Amazon EFS is available."];tags:Tags.toption[@ocaml.doc"Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a \"Key\":\"Name\",\"Value\":\"\\{value\\}\" key-value pair. Each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide."]}letcontext_="CreateFileSystemRequest"letmake?performanceMode=fun?encrypted->fun?kmsKeyId->fun?throughputMode->fun?provisionedThroughputInMibps->fun?availabilityZoneName->fun?backup->fun?tags->fun~creationToken->fun()->{performanceMode;encrypted;kmsKeyId;throughputMode;provisionedThroughputInMibps;availabilityZoneName;backup;tags;creationToken}letto_valuex=structure_to_value[("CreationToken",(Some(CreationToken.to_valuex.creationToken)));("PerformanceMode",(Option.mapx.performanceMode~f:PerformanceMode.to_value));("Encrypted",(Option.mapx.encrypted~f:Encrypted.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:KmsKeyId.to_value));("ThroughputMode",(Option.mapx.throughputMode~f:ThroughputMode.to_value));("ProvisionedThroughputInMibps",(Option.mapx.provisionedThroughputInMibps~f:ProvisionedThroughputInMibps.to_value));("AvailabilityZoneName",(Option.mapx.availabilityZoneName~f:AvailabilityZoneName.to_value));("Backup",(Option.mapx.backup~f:Backup.to_value));("Tags",(Option.mapx.tags~f:Tags.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletbackup=(Option.map~f:Backup.of_xml)(Xml.childxml_arg0"Backup")inletavailabilityZoneName=(Option.map~f:AvailabilityZoneName.of_xml)(Xml.childxml_arg0"AvailabilityZoneName")inletprovisionedThroughputInMibps=(Option.map~f:ProvisionedThroughputInMibps.of_xml)(Xml.childxml_arg0"ProvisionedThroughputInMibps")inletthroughputMode=(Option.map~f:ThroughputMode.of_xml)(Xml.childxml_arg0"ThroughputMode")inletkmsKeyId=(Option.map~f:KmsKeyId.of_xml)(Xml.childxml_arg0"KmsKeyId")inletencrypted=(Option.map~f:Encrypted.of_xml)(Xml.childxml_arg0"Encrypted")inletperformanceMode=(Option.map~f:PerformanceMode.of_xml)(Xml.childxml_arg0"PerformanceMode")inletcreationToken=CreationToken.of_xml(Xml.child_exn~context:context_xml_arg0"CreationToken")inmake?tags?backup?availabilityZoneName?provisionedThroughputInMibps?throughputMode?kmsKeyId?encrypted?performanceMode~creationToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Tags.of_jsoninletbackup=field_mapjson__"Backup"Backup.of_jsoninletavailabilityZoneName=field_mapjson__"AvailabilityZoneName"AvailabilityZoneName.of_jsoninletprovisionedThroughputInMibps=field_mapjson__"ProvisionedThroughputInMibps"ProvisionedThroughputInMibps.of_jsoninletthroughputMode=field_mapjson__"ThroughputMode"ThroughputMode.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"KmsKeyId.of_jsoninletencrypted=field_mapjson__"Encrypted"Encrypted.of_jsoninletperformanceMode=field_mapjson__"PerformanceMode"PerformanceMode.of_jsoninletcreationToken=field_map_exnjson__"CreationToken"CreationToken.of_jsoninmake?tags?backup?availabilityZoneName?provisionedThroughputInMibps?throughputMode?kmsKeyId?encrypted?performanceMode~creationToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller's Amazon Web Services account with the specified creation token, this operation does the following: Creates a new, empty file system. The file system will have an Amazon EFS assigned ID, and an initial lifecycle state creating. Returns with the description of the created file system. Otherwise, this operation returns a FileSystemAlreadyExists error with the ID of the existing file system. For basic use cases, you can use a randomly generated UUID for the creation token. The idempotent operation allows you to retry a CreateFileSystem call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the FileSystemAlreadyExists error. For more information, see Creating a file system in the Amazon EFS User Guide. The CreateFileSystem call returns while the file system's lifecycle state is still creating. You can check the file system creation status by calling the DescribeFileSystems operation, which among other things returns the file system state. This operation accepts an optional PerformanceMode parameter that you choose for your file system. We recommend generalPurpose PerformanceMode for all file systems. The maxIO mode is a previous generation performance type that is designed for highly parallelized workloads that can tolerate higher latencies than the generalPurpose mode. MaxIO mode is not supported for One Zone file systems or file systems that use Elastic throughput. The PerformanceMode can't be changed after the file system has been created. For more information, see Amazon EFS performance modes. You can set the throughput mode for the file system using the ThroughputMode parameter. After the file system is fully created, Amazon EFS sets its lifecycle state to available, at which point you can create one or more mount targets for the file system in your VPC. For more information, see CreateMountTarget. You mount your Amazon EFS file system on an EC2 instances in your VPC by using the mount target. For more information, see Amazon EFS: How it Works. This operation requires permissions for the elasticfilesystem:CreateFileSystem action. File systems can be tagged on creation. If tags are specified in the creation action, IAM performs additional authorization on the elasticfilesystem:TagResource action to verify if users have permissions to create tags. Therefore, you must grant explicit permissions to use the elasticfilesystem:TagResource action. For more information, see Granting permissions to tag resources during creation."]moduleCreateAccessPointRequest=structtypenonrect={clientToken:ClientToken.t[@ocaml.doc"A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation."];tags:Tags.toption[@ocaml.doc"Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide."];fileSystemId:FileSystemId.t[@ocaml.doc"The ID of the EFS file system that the access point provides access to."];posixUser:PosixUser.toption[@ocaml.doc"The operating system user and group applied to all file system requests made using the access point."];rootDirectory:RootDirectory.toption[@ocaml.doc"Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory > Path specified does not exist, Amazon EFS creates it and applies the CreationInfo settings when a client connects to an access point. When specifying a RootDirectory, you must provide the Path, and the CreationInfo. Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail."]}letcontext_="CreateAccessPointRequest"letmake?tags=fun?posixUser->fun?rootDirectory->fun~clientToken->fun~fileSystemId->fun()->{tags;posixUser;rootDirectory;clientToken;fileSystemId}letto_valuex=structure_to_value[("ClientToken",(Some(ClientToken.to_valuex.clientToken)));("Tags",(Option.mapx.tags~f:Tags.to_value));("FileSystemId",(Some(FileSystemId.to_valuex.fileSystemId)));("PosixUser",(Option.mapx.posixUser~f:PosixUser.to_value));("RootDirectory",(Option.mapx.rootDirectory~f:RootDirectory.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrootDirectory=(Option.map~f:RootDirectory.of_xml)(Xml.childxml_arg0"RootDirectory")inletposixUser=(Option.map~f:PosixUser.of_xml)(Xml.childxml_arg0"PosixUser")inletfileSystemId=FileSystemId.of_xml(Xml.child_exn~context:context_xml_arg0"FileSystemId")inlettags=(Option.map~f:Tags.of_xml)(Xml.childxml_arg0"Tags")inletclientToken=ClientToken.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inmake?rootDirectory?posixUser~fileSystemId?tags~clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrootDirectory=field_mapjson__"RootDirectory"RootDirectory.of_jsoninletposixUser=field_mapjson__"PosixUser"PosixUser.of_jsoninletfileSystemId=field_map_exnjson__"FileSystemId"FileSystemId.of_jsoninlettags=field_mapjson__"Tags"Tags.of_jsoninletclientToken=field_map_exnjson__"ClientToken"ClientToken.of_jsoninmake?rootDirectory?posixUser~fileSystemId?tags~clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in the application's own directory and any subdirectories. A file system can have a maximum of 10,000 access points unless you request an increase. To learn more, see Mounting a file system using EFS access points. If multiple requests to create access points on the same file system are sent in quick succession, and the file system is near the limit of access points, you may experience a throttling response for these requests. This is to ensure that the file system does not exceed the stated access point limit. This operation requires permissions for the elasticfilesystem:CreateAccessPoint action. Access points can be tagged on creation. If tags are specified in the creation action, IAM performs additional authorization on the elasticfilesystem:TagResource action to verify if users have permissions to create tags. Therefore, you must grant explicit permissions to use the elasticfilesystem:TagResource action. For more information, see Granting permissions to tag resources during creation."]moduleBackupPolicyDescription=structtypenonrect={backupPolicy:BackupPolicy.toption[@ocaml.doc"Describes the file system's backup policy, indicating whether automatic backups are turned on or off."]}typenonrecerror=[`BadRequestofBadRequest.t|`FileSystemNotFoundofFileSystemNotFound.t|`InternalServerErrorofInternalServerError.t|`PolicyNotFoundofPolicyNotFound.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?backupPolicy=fun()->{backupPolicy}leterror_of_jsonnamejson=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_jsonjson)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"PolicyNotFound"->`PolicyNotFound(PolicyNotFound.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequest"->`BadRequest(BadRequest.of_xmlxml)|"FileSystemNotFound"->`FileSystemNotFound(FileSystemNotFound.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"PolicyNotFound"->`PolicyNotFound(PolicyNotFound.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequeste->`Assoc[("error",(`String"BadRequest"));("details",(BadRequest.to_jsone))]|`FileSystemNotFounde->`Assoc[("error",(`String"FileSystemNotFound"));("details",(FileSystemNotFound.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`PolicyNotFounde->`Assoc[("error",(`String"PolicyNotFound"));("details",(PolicyNotFound.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("BackupPolicy",(Option.mapx.backupPolicy~f:BackupPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbackupPolicy=(Option.map~f:BackupPolicy.of_xml)(Xml.childxml_arg0"BackupPolicy")inmake?backupPolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbackupPolicy=field_mapjson__"BackupPolicy"BackupPolicy.of_jsoninmake?backupPolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the backup policy for the specified EFS file system."]