1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449(* 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.rdsletapiVersion="2014-10-31"letendpointPrefix="rds"letserviceFullName="Amazon Relational Database Service"letsignatureVersion="v4"letprotocol="query"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Amazon RDS"letxmlNamespace="http://rds.amazonaws.com/doc/2014-10-31/"letsimple_to_jsonto_valuex=Botodata.Json.value_to_json_scalar(to_valuex)letcomposed_to_jsonto_valuex=Botodata.Json.value_to_json(to_valuex)letto_queryto_valuex=Client.Query.of_value(to_valuex)letstructure_to_value_auxst~f=letfilter=function|(k,Somev)->Some(k,v)|_->Noneinletpairkv=(k,v)inletdefer_value(k,dv)=pairkdvin((List.filter_mapst~f:filter)|>(List.map~f:defer_value))|>(funx->`Structure(fx))letstructure_to_value=structure_to_value_aux~f:Fn.idletstructure_to_wrapped_value~wrapper~response=structure_to_value_aux~f:(funx->[(wrapper,(`Structurex));(response,(`Structure[]))])moduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleDouble=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleInteger=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleStringList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"StringList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleScalarReferenceDetails=structtypenonrect={value:Double.toption[@ocaml.doc"The value of a scalar reference."]}letmake?value=fun()->{value}letto_valuex=structure_to_value[("Value",(Option.mapx.value~f:Double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"Value")inmake?value()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"Double.of_jsoninmake?value()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The metric reference details when the reference is a scalar."]modulePerformanceInsightsMetricDimensionGroup=structtypenonrect={dimensions:StringList.toption[@ocaml.doc"A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response."];group:String_.toption[@ocaml.doc"The available dimension groups for Performance Insights metric type."];limit:Integer.toption[@ocaml.doc"The maximum number of items to fetch for this dimension group."]}letmake?dimensions=fun?group->fun?limit->fun()->{dimensions;group;limit}letto_valuex=structure_to_value[("Dimensions",(Option.mapx.dimensions~f:StringList.to_value));("Group",(Option.mapx.group~f:String_.to_value));("Limit",(Option.mapx.limit~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlimit=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Limit")inletgroup=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Group")inletdimensions=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"Dimensions")inmake?limit?group?dimensions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlimit=field_mapjson__"Limit"Integer.of_jsoninletgroup=field_mapjson__"Group"String_.of_jsoninletdimensions=field_mapjson__"Dimensions"StringList.of_jsoninmake?limit?group?dimensions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql dimension group consists of the following dimensions: db.sql.id - The hash of a running SQL statement, generated by Performance Insights. db.sql.db_id - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with pi-. db.sql.statement - The full text of the SQL statement that is running, for example, SELECT * FROM employees. db.sql_tokenized.id - The hash of the SQL digest generated by Performance Insights. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned."]moduleReferenceDetails=structtypenonrect={scalarReferenceDetails:ScalarReferenceDetails.toption[@ocaml.doc"The metric reference details when the reference is a scalar."]}letmake?scalarReferenceDetails=fun()->{scalarReferenceDetails}letto_valuex=structure_to_value[("ScalarReferenceDetails",(Option.mapx.scalarReferenceDetails~f:ScalarReferenceDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscalarReferenceDetails=(Option.map~f:ScalarReferenceDetails.of_xml)(Xml.childxml_arg0"ScalarReferenceDetails")inmake?scalarReferenceDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscalarReferenceDetails=field_mapjson__"ScalarReferenceDetails"ScalarReferenceDetails.of_jsoninmake?scalarReferenceDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The reference details of a metric."]modulePerformanceInsightsMetricQuery=structtypenonrect={groupBy:PerformanceInsightsMetricDimensionGroup.toption[@ocaml.doc"A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension."];metric:String_.toption[@ocaml.doc"The name of a Performance Insights metric to be measured. Valid Values: db.load.avg - A scaled representation of the number of active sessions for the database engine. db.sampledload.avg - The raw number of active sessions for the database engine. The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide. If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only."]}letmake?groupBy=fun?metric->fun()->{groupBy;metric}letto_valuex=structure_to_value[("GroupBy",(Option.mapx.groupBy~f:PerformanceInsightsMetricDimensionGroup.to_value));("Metric",(Option.mapx.metric~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmetric=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Metric")inletgroupBy=(Option.map~f:PerformanceInsightsMetricDimensionGroup.of_xml)(Xml.childxml_arg0"GroupBy")inmake?metric?groupBy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmetric=field_mapjson__"Metric"String_.of_jsoninletgroupBy=field_mapjson__"GroupBy"PerformanceInsightsMetricDimensionGroup.of_jsoninmake?metric?groupBy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single Performance Insights metric query to process. You must provide the metric to the query. If other parameters aren't specified, Performance Insights returns all data points for the specified metric. Optionally, you can request the data points to be aggregated by dimension group (GroupBy) and return only those data points that match your criteria (Filter). Constraints: Must be a valid Performance Insights query."]moduleMetricReference=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the metric reference."];referenceDetails:ReferenceDetails.toption[@ocaml.doc"The details of a performance issue."]}letmake?name=fun?referenceDetails->fun()->{name;referenceDetails}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("ReferenceDetails",(Option.mapx.referenceDetails~f:ReferenceDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreferenceDetails=(Option.map~f:ReferenceDetails.of_xml)(Xml.childxml_arg0"ReferenceDetails")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?referenceDetails?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreferenceDetails=field_mapjson__"ReferenceDetails"ReferenceDetails.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?referenceDetails?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The reference (threshold) for a metric."]moduleIntegerOptional=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for IntegerOptional"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMetricQuery=structtypenonrect={performanceInsightsMetricQuery:PerformanceInsightsMetricQuery.toption[@ocaml.doc"The Performance Insights query that you can use to retrieve Performance Insights metric data points."]}letmake?performanceInsightsMetricQuery=fun()->{performanceInsightsMetricQuery}letto_valuex=structure_to_value[("PerformanceInsightsMetricQuery",(Option.mapx.performanceInsightsMetricQuery~f:PerformanceInsightsMetricQuery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letperformanceInsightsMetricQuery=(Option.map~f:PerformanceInsightsMetricQuery.of_xml)(Xml.childxml_arg0"PerformanceInsightsMetricQuery")inmake?performanceInsightsMetricQuery()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letperformanceInsightsMetricQuery=field_mapjson__"PerformanceInsightsMetricQuery"PerformanceInsightsMetricQuery.of_jsoninmake?performanceInsightsMetricQuery()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The query to retrieve metric data points."]moduleMetricReferenceList=structtypenonrect=MetricReference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MetricReference.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:MetricReference.of_xml)letof_jsonj=list_of_json~kind:"MetricReferenceList"~of_json:MetricReference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDoubleRange=structtypenonrect={from:Double.toption[@ocaml.doc"The minimum value in the range."];to_:Double.toption[@ocaml.doc"The maximum value in the range."]}letmake?from=fun?to_->fun()->{from;to_}letto_valuex=structure_to_value[("From",(Option.mapx.from~f:Double.to_value));("To",(Option.mapx.to_~f:Double.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letto_=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"To")inletfrom=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"From")inmake?to_?from()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letto_=field_mapjson__"To"Double.of_jsoninletfrom=field_mapjson__"From"Double.of_jsoninmake?to_?from()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A range of double values."]moduleRange=structtypenonrect={from:Integer.toption[@ocaml.doc"The minimum value in the range."];to_:Integer.toption[@ocaml.doc"The maximum value in the range."];step:IntegerOptional.toption[@ocaml.doc"The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000..."]}letmake?from=fun?to_->fun?step->fun()->{from;to_;step}letto_valuex=structure_to_value[("From",(Option.mapx.from~f:Integer.to_value));("To",(Option.mapx.to_~f:Integer.to_value));("Step",(Option.mapx.step~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstep=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Step")inletto_=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"To")inletfrom=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"From")inmake?step?to_?from()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstep=field_mapjson__"Step"IntegerOptional.of_jsoninletto_=field_mapjson__"To"Integer.of_jsoninletfrom=field_mapjson__"From"Integer.of_jsoninmake?step?to_?from()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A range of integer values."]moduleMetric=structtypenonrect={name:String_.toption[@ocaml.doc"The name of a metric."];references:MetricReferenceList.toption[@ocaml.doc"A list of metric references (thresholds)."];statisticsDetails:String_.toption[@ocaml.doc"The details of different statistics for a metric. The description might contain markdown."];metricQuery:MetricQuery.toption[@ocaml.doc"The query to retrieve metric data points."]}letmake?name=fun?references->fun?statisticsDetails->fun?metricQuery->fun()->{name;references;statisticsDetails;metricQuery}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("References",(Option.mapx.references~f:MetricReferenceList.to_value));("StatisticsDetails",(Option.mapx.statisticsDetails~f:String_.to_value));("MetricQuery",(Option.mapx.metricQuery~f:MetricQuery.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmetricQuery=(Option.map~f:MetricQuery.of_xml)(Xml.childxml_arg0"MetricQuery")inletstatisticsDetails=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatisticsDetails")inletreferences=(Option.map~f:MetricReferenceList.of_xml)(Xml.childxml_arg0"References")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?metricQuery?statisticsDetails?references?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmetricQuery=field_mapjson__"MetricQuery"MetricQuery.of_jsoninletstatisticsDetails=field_mapjson__"StatisticsDetails"String_.of_jsoninletreferences=field_mapjson__"References"MetricReferenceList.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?metricQuery?statisticsDetails?references?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The representation of a metric."]moduleBoolean=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_valueendmodulePotentiallySensitiveOptionSettingValue=structtypenonrect=stringletcontext_="PotentiallySensitiveOptionSettingValue"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:"PotentiallySensitiveOptionSettingValue"jletto_json=simple_to_jsonto_valueendmoduleDoubleRangeList=structtypenonrect=DoubleRange.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DoubleRange.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:DoubleRange.of_xml)letof_jsonj=list_of_json~kind:"DoubleRangeList"~of_json:DoubleRange.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRangeList=structtypenonrect=Range.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Range.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:Range.of_xml)letof_jsonj=list_of_json~kind:"RangeList"~of_json:Range.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMetricList=structtypenonrect=Metric.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Metric.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:Metric.of_xml)letof_jsonj=list_of_json~kind:"MetricList"~of_json:Metric.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTStamp=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_valueendmoduleDBSecurityGroupMembership=structtypenonrect={dBSecurityGroupName:String_.toption[@ocaml.doc"The name of the DB security group."];status:String_.toption[@ocaml.doc"The status of the DB security group."]}letmake?dBSecurityGroupName=fun?status->fun()->{dBSecurityGroupName;status}letto_valuex=structure_to_value[("DBSecurityGroupName",(Option.mapx.dBSecurityGroupName~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletdBSecurityGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSecurityGroupName")inmake?status?dBSecurityGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletdBSecurityGroupName=field_mapjson__"DBSecurityGroupName"String_.of_jsoninmake?status?dBSecurityGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the following actions: ModifyDBInstance RebootDBInstance RestoreDBInstanceFromDBSnapshot RestoreDBInstanceToPointInTime"]moduleOptionSetting=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the option that has settings that you can set."];value:PotentiallySensitiveOptionSettingValue.toption[@ocaml.doc"The current value of the option setting."];defaultValue:String_.toption[@ocaml.doc"The default value of the option setting."];description:String_.toption[@ocaml.doc"The description of the option setting."];applyType:String_.toption[@ocaml.doc"The DB engine specific parameter type."];dataType:String_.toption[@ocaml.doc"The data type of the option setting."];allowedValues:String_.toption[@ocaml.doc"The allowed values of the option setting."];isModifiable:Boolean.toption[@ocaml.doc"Indicates whether the option setting can be modified from the default."];isCollection:Boolean.toption[@ocaml.doc"Indicates whether the option setting is part of a collection."]}letmake?name=fun?value->fun?defaultValue->fun?description->fun?applyType->fun?dataType->fun?allowedValues->fun?isModifiable->fun?isCollection->fun()->{name;value;defaultValue;description;applyType;dataType;allowedValues;isModifiable;isCollection}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("Value",(Option.mapx.value~f:PotentiallySensitiveOptionSettingValue.to_value));("DefaultValue",(Option.mapx.defaultValue~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("ApplyType",(Option.mapx.applyType~f:String_.to_value));("DataType",(Option.mapx.dataType~f:String_.to_value));("AllowedValues",(Option.mapx.allowedValues~f:String_.to_value));("IsModifiable",(Option.mapx.isModifiable~f:Boolean.to_value));("IsCollection",(Option.mapx.isCollection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisCollection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsCollection")inletisModifiable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsModifiable")inletallowedValues=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AllowedValues")inletdataType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DataType")inletapplyType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ApplyType")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletdefaultValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DefaultValue")inletvalue=(Option.map~f:PotentiallySensitiveOptionSettingValue.of_xml)(Xml.childxml_arg0"Value")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?isCollection?isModifiable?allowedValues?dataType?applyType?description?defaultValue?value?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisCollection=field_mapjson__"IsCollection"Boolean.of_jsoninletisModifiable=field_mapjson__"IsModifiable"Boolean.of_jsoninletallowedValues=field_mapjson__"AllowedValues"String_.of_jsoninletdataType=field_mapjson__"DataType"String_.of_jsoninletapplyType=field_mapjson__"ApplyType"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"String_.of_jsoninletvalue=field_mapjson__"Value"PotentiallySensitiveOptionSettingValue.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?isCollection?isModifiable?allowedValues?dataType?applyType?description?defaultValue?value?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Option settings are the actual settings being applied or configured for that option. It is used when you modify an option group or describe option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER that can have several different values."]moduleVpcSecurityGroupMembership=structtypenonrect={vpcSecurityGroupId:String_.toption[@ocaml.doc"The name of the VPC security group."];status:String_.toption[@ocaml.doc"The membership status of the VPC security group. Currently, the only valid status is active."]}letmake?vpcSecurityGroupId=fun?status->fun()->{vpcSecurityGroupId;status}letto_valuex=structure_to_value[("VpcSecurityGroupId",(Option.mapx.vpcSecurityGroupId~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletvpcSecurityGroupId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcSecurityGroupId")inmake?status?vpcSecurityGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletvpcSecurityGroupId=field_mapjson__"VpcSecurityGroupId"String_.of_jsoninmake?status?vpcSecurityGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element for queries on VPC security group membership."]moduleMinimumEngineVersionPerAllowedValue=structtypenonrect={allowedValue:String_.toption[@ocaml.doc"The allowed value for an option setting."];minimumEngineVersion:String_.toption[@ocaml.doc"The minimum DB engine version required for the allowed value."]}letmake?allowedValue=fun?minimumEngineVersion->fun()->{allowedValue;minimumEngineVersion}letto_valuex=structure_to_value[("AllowedValue",(Option.mapx.allowedValue~f:String_.to_value));("MinimumEngineVersion",(Option.mapx.minimumEngineVersion~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letminimumEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MinimumEngineVersion")inletallowedValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AllowedValue")inmake?minimumEngineVersion?allowedValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letminimumEngineVersion=field_mapjson__"MinimumEngineVersion"String_.of_jsoninletallowedValue=field_mapjson__"AllowedValue"String_.of_jsoninmake?minimumEngineVersion?allowedValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The minimum DB engine version required for each corresponding allowed value for an option setting."]moduleValidStorageOptions=structtypenonrect={storageType:String_.toption[@ocaml.doc"The valid storage types for your DB instance. For example: gp2, gp3, io1, io2."];storageSize:RangeList.toption[@ocaml.doc"The valid range of storage in gibibytes (GiB). For example, 100 to 16,384."];provisionedIops:RangeList.toption[@ocaml.doc"The valid range of provisioned IOPS. For example, 1000-256,000."];iopsToStorageRatio:DoubleRangeList.toption[@ocaml.doc"The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage."];provisionedStorageThroughput:RangeList.toption[@ocaml.doc"The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps)."];storageThroughputToIopsRatio:DoubleRangeList.toption[@ocaml.doc"The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25."];supportsStorageAutoscaling:Boolean.toption[@ocaml.doc"Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class."]}letmake?storageType=fun?storageSize->fun?provisionedIops->fun?iopsToStorageRatio->fun?provisionedStorageThroughput->fun?storageThroughputToIopsRatio->fun?supportsStorageAutoscaling->fun()->{storageType;storageSize;provisionedIops;iopsToStorageRatio;provisionedStorageThroughput;storageThroughputToIopsRatio;supportsStorageAutoscaling}letto_valuex=structure_to_value[("StorageType",(Option.mapx.storageType~f:String_.to_value));("StorageSize",(Option.mapx.storageSize~f:RangeList.to_value));("ProvisionedIops",(Option.mapx.provisionedIops~f:RangeList.to_value));("IopsToStorageRatio",(Option.mapx.iopsToStorageRatio~f:DoubleRangeList.to_value));("ProvisionedStorageThroughput",(Option.mapx.provisionedStorageThroughput~f:RangeList.to_value));("StorageThroughputToIopsRatio",(Option.mapx.storageThroughputToIopsRatio~f:DoubleRangeList.to_value));("SupportsStorageAutoscaling",(Option.mapx.supportsStorageAutoscaling~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportsStorageAutoscaling=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsStorageAutoscaling")inletstorageThroughputToIopsRatio=(Option.map~f:DoubleRangeList.of_xml)(Xml.childxml_arg0"StorageThroughputToIopsRatio")inletprovisionedStorageThroughput=(Option.map~f:RangeList.of_xml)(Xml.childxml_arg0"ProvisionedStorageThroughput")inletiopsToStorageRatio=(Option.map~f:DoubleRangeList.of_xml)(Xml.childxml_arg0"IopsToStorageRatio")inletprovisionedIops=(Option.map~f:RangeList.of_xml)(Xml.childxml_arg0"ProvisionedIops")inletstorageSize=(Option.map~f:RangeList.of_xml)(Xml.childxml_arg0"StorageSize")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inmake?supportsStorageAutoscaling?storageThroughputToIopsRatio?provisionedStorageThroughput?iopsToStorageRatio?provisionedIops?storageSize?storageType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportsStorageAutoscaling=field_mapjson__"SupportsStorageAutoscaling"Boolean.of_jsoninletstorageThroughputToIopsRatio=field_mapjson__"StorageThroughputToIopsRatio"DoubleRangeList.of_jsoninletprovisionedStorageThroughput=field_mapjson__"ProvisionedStorageThroughput"RangeList.of_jsoninletiopsToStorageRatio=field_mapjson__"IopsToStorageRatio"DoubleRangeList.of_jsoninletprovisionedIops=field_mapjson__"ProvisionedIops"RangeList.of_jsoninletstorageSize=field_mapjson__"StorageSize"RangeList.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninmake?supportsStorageAutoscaling?storageThroughputToIopsRatio?provisionedStorageThroughput?iopsToStorageRatio?provisionedIops?storageSize?storageType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications action."]moduleContextAttribute=structtypenonrect={key:String_.toption[@ocaml.doc"The key of ContextAttribute."];value:String_.toption[@ocaml.doc"The value of ContextAttribute."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:String_.to_value));("Value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"String_.of_jsoninletkey=field_mapjson__"Key"String_.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The additional attributes of RecommendedAction data type."]modulePerformanceIssueDetails=structtypenonrect={startTime:TStamp.toption[@ocaml.doc"The time when the performance issue started."];endTime:TStamp.toption[@ocaml.doc"The time when the performance issue stopped."];metrics:MetricList.toption[@ocaml.doc"The metrics that are relevant to the performance issue."];analysis:String_.toption[@ocaml.doc"The analysis of the performance issue. The information might contain markdown."]}letmake?startTime=fun?endTime->fun?metrics->fun?analysis->fun()->{startTime;endTime;metrics;analysis}letto_valuex=structure_to_value[("StartTime",(Option.mapx.startTime~f:TStamp.to_value));("EndTime",(Option.mapx.endTime~f:TStamp.to_value));("Metrics",(Option.mapx.metrics~f:MetricList.to_value));("Analysis",(Option.mapx.analysis~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalysis=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Analysis")inletmetrics=(Option.map~f:MetricList.of_xml)(Xml.childxml_arg0"Metrics")inletendTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"StartTime")inmake?analysis?metrics?endTime?startTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalysis=field_mapjson__"Analysis"String_.of_jsoninletmetrics=field_mapjson__"Metrics"MetricList.of_jsoninletendTime=field_mapjson__"EndTime"TStamp.of_jsoninletstartTime=field_mapjson__"StartTime"TStamp.of_jsoninmake?analysis?metrics?endTime?startTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of the performance issue."]moduleRecommendedActionParameter=structtypenonrect={key:String_.toption[@ocaml.doc"The key of the parameter to use with the RecommendedAction API operation."];value:String_.toption[@ocaml.doc"The value of the parameter to use with the RecommendedAction API operation."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:String_.to_value));("Value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"String_.of_jsoninletkey=field_mapjson__"Key"String_.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single parameter to use with the RecommendedAction API operation to apply the action."]moduleAvailabilityZone=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the Availability Zone."]}letmake?name=fun()->{name}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"String_.of_jsoninmake?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains Availability Zone information. This data type is used as an element in the OrderableDBInstanceOption data type."]moduleOutpost=structtypenonrect={arn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Outpost."]}letmake?arn=fun()->{arn}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"String_.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A data type that represents an Outpost. For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide."]moduleDoubleOptional=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleDBSecurityGroupMembershipList=structtypenonrect=DBSecurityGroupMembership.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSecurityGroupMembership.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:DBSecurityGroupMembership.of_xml)letof_jsonj=list_of_json~kind:"DBSecurityGroupMembershipList"~of_json:DBSecurityGroupMembership.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionSettingConfigurationList=structtypenonrect=OptionSetting.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionSetting.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:OptionSetting.of_xml)letof_jsonj=list_of_json~kind:"OptionSettingConfigurationList"~of_json:OptionSetting.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcSecurityGroupMembershipList=structtypenonrect=VpcSecurityGroupMembership.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VpcSecurityGroupMembership.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:VpcSecurityGroupMembership.of_xml)letof_jsonj=list_of_json~kind:"VpcSecurityGroupMembershipList"~of_json:VpcSecurityGroupMembership.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMinimumEngineVersionPerAllowedValueList=structtypenonrect=MinimumEngineVersionPerAllowedValue.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MinimumEngineVersionPerAllowedValue.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:MinimumEngineVersionPerAllowedValue.of_xml)letof_jsonj=list_of_json~kind:"MinimumEngineVersionPerAllowedValueList"~of_json:MinimumEngineVersionPerAllowedValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleGlobalClusterMemberSynchronizationStatus=structtypenonrect=|Connected|Pending_resync|Non_static_idofstringletmakei=iletto_string=function|Connected->"connected"|Pending_resync->"pending-resync"|Non_static_ids->sletof_string=function|"connected"->Connected|"pending-resync"->Pending_resync|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 GlobalClusterMemberSynchronizationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GlobalClusterMemberSynchronizationStatus"j)letto_json=simple_to_jsonto_valueendmoduleReadersArnList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ReadersArnList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleWriteForwardingStatus=structtypenonrect=|Enabled|Disabled|Enabling|Disabling|Unknown|Non_static_idofstringletmakei=iletto_string=function|Enabled->"enabled"|Disabled->"disabled"|Enabling->"enabling"|Disabling->"disabling"|Unknown->"unknown"|Non_static_ids->sletof_string=function|"enabled"->Enabled|"disabled"->Disabled|"enabling"->Enabling|"disabling"->Disabling|"unknown"->Unknown|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 WriteForwardingStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WriteForwardingStatus"j)letto_json=simple_to_jsonto_valueendmoduleValidStorageOptionsList=structtypenonrect=ValidStorageOptions.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ValidStorageOptions.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:ValidStorageOptions.of_xml)letof_jsonj=list_of_json~kind:"ValidStorageOptionsList"~of_json:ValidStorageOptions.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAuthScheme=structtypenonrect=|SECRETS|Non_static_idofstringletmakei=iletto_string=function|SECRETS->"SECRETS"|Non_static_ids->sletof_string=function|"SECRETS"->SECRETS|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 AuthScheme"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuthScheme"j)letto_json=simple_to_jsonto_valueendmoduleClientPasswordAuthType=structtypenonrect=|MYSQL_NATIVE_PASSWORD|MYSQL_CACHING_SHA2_PASSWORD|POSTGRES_SCRAM_SHA_256|POSTGRES_MD5|SQL_SERVER_AUTHENTICATION|Non_static_idofstringletmakei=iletto_string=function|MYSQL_NATIVE_PASSWORD->"MYSQL_NATIVE_PASSWORD"|MYSQL_CACHING_SHA2_PASSWORD->"MYSQL_CACHING_SHA2_PASSWORD"|POSTGRES_SCRAM_SHA_256->"POSTGRES_SCRAM_SHA_256"|POSTGRES_MD5->"POSTGRES_MD5"|SQL_SERVER_AUTHENTICATION->"SQL_SERVER_AUTHENTICATION"|Non_static_ids->sletof_string=function|"MYSQL_NATIVE_PASSWORD"->MYSQL_NATIVE_PASSWORD|"MYSQL_CACHING_SHA2_PASSWORD"->MYSQL_CACHING_SHA2_PASSWORD|"POSTGRES_SCRAM_SHA_256"->POSTGRES_SCRAM_SHA_256|"POSTGRES_MD5"->POSTGRES_MD5|"SQL_SERVER_AUTHENTICATION"->SQL_SERVER_AUTHENTICATION|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 ClientPasswordAuthType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ClientPasswordAuthType"j)letto_json=simple_to_jsonto_valueendmoduleIAMAuthMode=structtypenonrect=|DISABLED|REQUIRED|ENABLED|Non_static_idofstringletmakei=iletto_string=function|DISABLED->"DISABLED"|REQUIRED->"REQUIRED"|ENABLED->"ENABLED"|Non_static_ids->sletof_string=function|"DISABLED"->DISABLED|"REQUIRED"->REQUIRED|"ENABLED"->ENABLED|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 IAMAuthMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IAMAuthMode"j)letto_json=simple_to_jsonto_valueendmoduleLifecycleSupportName=structtypenonrect=|Open_source_rds_standard_support|Open_source_rds_extended_support|Non_static_idofstringletmakei=iletto_string=function|Open_source_rds_standard_support->"open-source-rds-standard-support"|Open_source_rds_extended_support->"open-source-rds-extended-support"|Non_static_ids->sletof_string=function|"open-source-rds-standard-support"->Open_source_rds_standard_support|"open-source-rds-extended-support"->Open_source_rds_extended_support|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 LifecycleSupportName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LifecycleSupportName"j)letto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentTaskName=structtypenonrect=stringletcontext_="BlueGreenDeploymentTaskName"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:"BlueGreenDeploymentTaskName"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentTaskStatus=structtypenonrect=stringletcontext_="BlueGreenDeploymentTaskStatus"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:"BlueGreenDeploymentTaskStatus"jletto_json=simple_to_jsonto_valueendmoduleDatabaseArn=structtypenonrect=stringletcontext_="DatabaseArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:[A-Za-z][0-9A-Za-z-:._]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DatabaseArn"jletto_json=simple_to_jsonto_valueendmoduleSwitchoverDetailStatus=structtypenonrect=stringletcontext_="SwitchoverDetailStatus"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:"SwitchoverDetailStatus"jletto_json=simple_to_jsonto_valueendmoduleContextAttributeList=structtypenonrect=ContextAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ContextAttribute.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:ContextAttribute.of_xml)letof_jsonj=list_of_json~kind:"ContextAttributeList"~of_json:ContextAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIssueDetails=structtypenonrect={performanceIssueDetails:PerformanceIssueDetails.toption[@ocaml.doc"A detailed description of the issue when the recommendation category is performance."]}letmake?performanceIssueDetails=fun()->{performanceIssueDetails}letto_valuex=structure_to_value[("PerformanceIssueDetails",(Option.mapx.performanceIssueDetails~f:PerformanceIssueDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letperformanceIssueDetails=(Option.map~f:PerformanceIssueDetails.of_xml)(Xml.childxml_arg0"PerformanceIssueDetails")inmake?performanceIssueDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letperformanceIssueDetails=field_mapjson__"PerformanceIssueDetails"PerformanceIssueDetails.of_jsoninmake?performanceIssueDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of an issue with your DB instances, DB clusters, and DB parameter groups."]moduleRecommendedActionParameterList=structtypenonrect=RecommendedActionParameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RecommendedActionParameter.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:RecommendedActionParameter.of_xml)letof_jsonj=list_of_json~kind:"RecommendedActionParameterList"~of_json:RecommendedActionParameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubnet=structtypenonrect={subnetIdentifier:String_.toption[@ocaml.doc"The identifier of the subnet."];subnetAvailabilityZone:AvailabilityZone.toption;subnetOutpost:Outpost.toption[@ocaml.doc"If the subnet is associated with an Outpost, this value specifies the Outpost. For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide."];subnetStatus:String_.toption[@ocaml.doc"The status of the subnet."]}letmake?subnetIdentifier=fun?subnetAvailabilityZone->fun?subnetOutpost->fun?subnetStatus->fun()->{subnetIdentifier;subnetAvailabilityZone;subnetOutpost;subnetStatus}letto_valuex=structure_to_value[("SubnetIdentifier",(Option.mapx.subnetIdentifier~f:String_.to_value));("SubnetAvailabilityZone",(Option.mapx.subnetAvailabilityZone~f:AvailabilityZone.to_value));("SubnetOutpost",(Option.mapx.subnetOutpost~f:Outpost.to_value));("SubnetStatus",(Option.mapx.subnetStatus~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SubnetStatus")inletsubnetOutpost=(Option.map~f:Outpost.of_xml)(Xml.childxml_arg0"SubnetOutpost")inletsubnetAvailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"SubnetAvailabilityZone")inletsubnetIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SubnetIdentifier")inmake?subnetStatus?subnetOutpost?subnetAvailabilityZone?subnetIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetStatus=field_mapjson__"SubnetStatus"String_.of_jsoninletsubnetOutpost=field_mapjson__"SubnetOutpost"Outpost.of_jsoninletsubnetAvailabilityZone=field_mapjson__"SubnetAvailabilityZone"AvailabilityZone.of_jsoninletsubnetIdentifier=field_mapjson__"SubnetIdentifier"String_.of_jsoninmake?subnetStatus?subnetOutpost?subnetAvailabilityZone?subnetIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element for the DescribeDBSubnetGroups operation."]moduleAdditionalStorageVolume=structtypenonrect={volumeName:String_.t[@ocaml.doc"The name of the additional storage volume. Valid Values: RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4"];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The amount of storage allocated for the additional storage volume, in gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 TiB)."];iOPS:IntegerOptional.toption[@ocaml.doc"The number of I/O operations per second (IOPS) provisioned for the additional storage volume."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which RDS can automatically scale the storage of the additional storage volume."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput value for the additional storage volume, in mebibytes per second (MiBps). This setting applies only to the General Purpose SSD (gp3) storage type."];storageType:String_.toption[@ocaml.doc"The storage type for the additional storage volume. Valid Values: GP3 | IO2"]}letcontext_="AdditionalStorageVolume"letmake?allocatedStorage=fun?iOPS->fun?maxAllocatedStorage->fun?storageThroughput->fun?storageType->fun~volumeName->fun()->{allocatedStorage;iOPS;maxAllocatedStorage;storageThroughput;storageType;volumeName}letto_valuex=structure_to_value[("VolumeName",(Some(String_.to_valuex.volumeName)));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("IOPS",(Option.mapx.iOPS~f:IntegerOptional.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletiOPS=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"IOPS")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletvolumeName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"VolumeName")inmake?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage~volumeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorageType=field_mapjson__"StorageType"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletiOPS=field_mapjson__"IOPS"IntegerOptional.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletvolumeName=field_map_exnjson__"VolumeName"String_.of_jsoninmake?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage~volumeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains details about an additional storage volume for a DB instance. RDS support additional storage volumes for RDS for Oracle and RDS for SQL Server."]moduleLogTypeList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"LogTypeList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProcessorFeature=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the processor feature. Valid names are coreCount and threadsPerCore."];value:String_.toption[@ocaml.doc"The value of a processor feature."]}letmake?name=fun?value->fun()->{name;value}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("Value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Value")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?value?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"String_.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?value?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the processor features of a DB instance class. To specify the number of CPU cores, use the coreCount feature name for the Name parameter. To specify the number of threads per core, use the threadsPerCore feature name for the Name parameter. You can set the processor features of the DB instance class for a DB instance when you call one of the following actions: CreateDBInstance ModifyDBInstance RestoreDBInstanceFromDBSnapshot RestoreDBInstanceFromS3 RestoreDBInstanceToPointInTime You can view the valid processor values for a particular instance class by calling the DescribeOrderableDBInstanceOptions action and specifying the instance class for the DBInstanceClass parameter. In addition, you can use the following actions for DB instance class processor information: DescribeDBInstances DescribeDBSnapshots DescribeValidDBInstanceModifications If you call DescribeDBInstances, ProcessorFeature returns non-null values only if the following conditions are met: You are accessing an Oracle or SQL Server DB instance. Your Oracle or SQL Server DB instance class supports configuring the number of CPU cores and threads per core. The current number CPU cores and threads is set to a non-default value. For more information, see Configuring the processor for a DB instance class in RDS for Oracle, Optimizing your RDS for SQL Server CPU, and DB instance classes in the Amazon RDS User Guide."]moduleBooleanOptional=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_valueendmoduleEngineModeList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"EngineModeList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplicaMode=structtypenonrect=|Open_read_only|Mounted|Non_static_idofstringletmakei=iletto_string=function|Open_read_only->"open-read-only"|Mounted->"mounted"|Non_static_ids->sletof_string=function|"open-read-only"->Open_read_only|"mounted"->Mounted|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 ReplicaMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReplicaMode"j)letto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:String_.toption[@ocaml.doc"A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '\\@' (Java regex: \"^(\\[\\\\p\\{L\\}\\\\p\\{Z\\}\\\\p\\{N\\}_.:/=+\\\\-\\@\\]*)$\")."];value:String_.toption[@ocaml.doc"A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '\\@' (Java regex: \"^(\\[\\\\p\\{L\\}\\\\p\\{Z\\}\\\\p\\{N\\}_.:/=+\\\\-\\@\\]*)$\")."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:String_.to_value));("Value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"String_.of_jsoninletkey=field_mapjson__"Key"String_.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide."]moduleSensitiveString=structtypenonrect=stringletcontext_="SensitiveString"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SensitiveString"jletto_json=simple_to_jsonto_valueendmoduleRecurringCharge=structtypenonrect={recurringChargeAmount:Double.toption[@ocaml.doc"The amount of the recurring charge."];recurringChargeFrequency:String_.toption[@ocaml.doc"The frequency of the recurring charge."]}letmake?recurringChargeAmount=fun?recurringChargeFrequency->fun()->{recurringChargeAmount;recurringChargeFrequency}letto_valuex=structure_to_value[("RecurringChargeAmount",(Option.mapx.recurringChargeAmount~f:Double.to_value));("RecurringChargeFrequency",(Option.mapx.recurringChargeFrequency~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrecurringChargeFrequency=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RecurringChargeFrequency")inletrecurringChargeAmount=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"RecurringChargeAmount")inmake?recurringChargeFrequency?recurringChargeAmount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrecurringChargeFrequency=field_mapjson__"RecurringChargeFrequency"String_.of_jsoninletrecurringChargeAmount=field_mapjson__"RecurringChargeAmount"Double.of_jsoninmake?recurringChargeFrequency?recurringChargeAmount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions."]moduleTargetHealthReason=structtypenonrect=|UNREACHABLE|CONNECTION_FAILED|AUTH_FAILURE|PENDING_PROXY_CAPACITY|INVALID_REPLICATION_STATE|PROMOTED|Non_static_idofstringletmakei=iletto_string=function|UNREACHABLE->"UNREACHABLE"|CONNECTION_FAILED->"CONNECTION_FAILED"|AUTH_FAILURE->"AUTH_FAILURE"|PENDING_PROXY_CAPACITY->"PENDING_PROXY_CAPACITY"|INVALID_REPLICATION_STATE->"INVALID_REPLICATION_STATE"|PROMOTED->"PROMOTED"|Non_static_ids->sletof_string=function|"UNREACHABLE"->UNREACHABLE|"CONNECTION_FAILED"->CONNECTION_FAILED|"AUTH_FAILURE"->AUTH_FAILURE|"PENDING_PROXY_CAPACITY"->PENDING_PROXY_CAPACITY|"INVALID_REPLICATION_STATE"->INVALID_REPLICATION_STATE|"PROMOTED"->PROMOTED|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 TargetHealthReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetHealthReason"j)letto_json=simple_to_jsonto_valueendmoduleTargetState=structtypenonrect=|REGISTERING|AVAILABLE|UNAVAILABLE|UNUSED|Non_static_idofstringletmakei=iletto_string=function|REGISTERING->"REGISTERING"|AVAILABLE->"AVAILABLE"|UNAVAILABLE->"UNAVAILABLE"|UNUSED->"UNUSED"|Non_static_ids->sletof_string=function|"REGISTERING"->REGISTERING|"AVAILABLE"->AVAILABLE|"UNAVAILABLE"->UNAVAILABLE|"UNUSED"->UNUSED|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 TargetState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetState"j)letto_json=simple_to_jsonto_valueendmodulePendingMaintenanceAction=structtypenonrect={action:String_.toption[@ocaml.doc"The type of pending maintenance action that is available for the resource. For more information about maintenance actions, see Maintaining a DB instance. Valid Values: ca-certificate-rotation db-upgrade hardware-maintenance os-upgrade serverless-platform-version-update system-update For more information about these actions, see Maintenance actions for Amazon Aurora or Maintenance actions for Amazon RDS."];autoAppliedAfterDate:TStamp.toption[@ocaml.doc"The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date."];forcedApplyDate:TStamp.toption[@ocaml.doc"The date when the maintenance action is automatically applied. On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied."];optInStatus:String_.toption[@ocaml.doc"Indicates the type of opt-in request that has been received for the resource."];currentApplyDate:TStamp.toption[@ocaml.doc"The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate."];description:String_.toption[@ocaml.doc"A description providing more detail about the maintenance action."]}letmake?action=fun?autoAppliedAfterDate->fun?forcedApplyDate->fun?optInStatus->fun?currentApplyDate->fun?description->fun()->{action;autoAppliedAfterDate;forcedApplyDate;optInStatus;currentApplyDate;description}letto_valuex=structure_to_value[("Action",(Option.mapx.action~f:String_.to_value));("AutoAppliedAfterDate",(Option.mapx.autoAppliedAfterDate~f:TStamp.to_value));("ForcedApplyDate",(Option.mapx.forcedApplyDate~f:TStamp.to_value));("OptInStatus",(Option.mapx.optInStatus~f:String_.to_value));("CurrentApplyDate",(Option.mapx.currentApplyDate~f:TStamp.to_value));("Description",(Option.mapx.description~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletcurrentApplyDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CurrentApplyDate")inletoptInStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptInStatus")inletforcedApplyDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ForcedApplyDate")inletautoAppliedAfterDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"AutoAppliedAfterDate")inletaction=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Action")inmake?description?currentApplyDate?optInStatus?forcedApplyDate?autoAppliedAfterDate?action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"String_.of_jsoninletcurrentApplyDate=field_mapjson__"CurrentApplyDate"TStamp.of_jsoninletoptInStatus=field_mapjson__"OptInStatus"String_.of_jsoninletforcedApplyDate=field_mapjson__"ForcedApplyDate"TStamp.of_jsoninletautoAppliedAfterDate=field_mapjson__"AutoAppliedAfterDate"TStamp.of_jsoninletaction=field_mapjson__"Action"String_.of_jsoninmake?description?currentApplyDate?optInStatus?forcedApplyDate?autoAppliedAfterDate?action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides information about a pending maintenance action for a resource."]moduleAvailableAdditionalStorageVolumesOption=structtypenonrect={supportsStorageAutoscaling:Boolean.toption[@ocaml.doc"Indicates whether the additional storage volume supports storage autoscaling."];supportsStorageThroughput:Boolean.toption[@ocaml.doc"Indicates whether the additional storage volume supports configurable storage throughput."];supportsIops:Boolean.toption[@ocaml.doc"Indicates whether the additional storage volume supports provisioned IOPS."];storageType:String_.toption[@ocaml.doc"The storage type for the additional storage volume. Valid Values: GP3 | IO2"];minStorageSize:IntegerOptional.toption[@ocaml.doc"The minimum amount of storage that you can allocate for the additional storage volume, in gibibytes (GiB)."];maxStorageSize:IntegerOptional.toption[@ocaml.doc"The maximum amount of storage that you can allocate for the additional storage volume, in gibibytes (GiB)."];minIops:IntegerOptional.toption[@ocaml.doc"The minimum number of I/O operations per second (IOPS) that the additional storage volume supports."];maxIops:IntegerOptional.toption[@ocaml.doc"The maximum number of I/O operations per second (IOPS) that the additional storage volume supports."];minIopsPerGib:DoubleOptional.toption[@ocaml.doc"The minimum ratio of I/O operations per second (IOPS) to gibibytes (GiB) of storage for the additional storage volume."];maxIopsPerGib:DoubleOptional.toption[@ocaml.doc"The maximum ratio of I/O operations per second (IOPS) to gibibytes (GiB) of storage for the additional storage volume."];minStorageThroughput:IntegerOptional.toption[@ocaml.doc"The minimum storage throughput that the additional storage volume supports, in mebibytes per second (MiBps)."];maxStorageThroughput:IntegerOptional.toption[@ocaml.doc"The maximum storage throughput that the additional storage volume supports, in mebibytes per second (MiBps)."]}letmake?supportsStorageAutoscaling=fun?supportsStorageThroughput->fun?supportsIops->fun?storageType->fun?minStorageSize->fun?maxStorageSize->fun?minIops->fun?maxIops->fun?minIopsPerGib->fun?maxIopsPerGib->fun?minStorageThroughput->fun?maxStorageThroughput->fun()->{supportsStorageAutoscaling;supportsStorageThroughput;supportsIops;storageType;minStorageSize;maxStorageSize;minIops;maxIops;minIopsPerGib;maxIopsPerGib;minStorageThroughput;maxStorageThroughput}letto_valuex=structure_to_value[("SupportsStorageAutoscaling",(Option.mapx.supportsStorageAutoscaling~f:Boolean.to_value));("SupportsStorageThroughput",(Option.mapx.supportsStorageThroughput~f:Boolean.to_value));("SupportsIops",(Option.mapx.supportsIops~f:Boolean.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("MinStorageSize",(Option.mapx.minStorageSize~f:IntegerOptional.to_value));("MaxStorageSize",(Option.mapx.maxStorageSize~f:IntegerOptional.to_value));("MinIops",(Option.mapx.minIops~f:IntegerOptional.to_value));("MaxIops",(Option.mapx.maxIops~f:IntegerOptional.to_value));("MinIopsPerGib",(Option.mapx.minIopsPerGib~f:DoubleOptional.to_value));("MaxIopsPerGib",(Option.mapx.maxIopsPerGib~f:DoubleOptional.to_value));("MinStorageThroughput",(Option.mapx.minStorageThroughput~f:IntegerOptional.to_value));("MaxStorageThroughput",(Option.mapx.maxStorageThroughput~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxStorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxStorageThroughput")inletminStorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinStorageThroughput")inletmaxIopsPerGib=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxIopsPerGib")inletminIopsPerGib=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinIopsPerGib")inletmaxIops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxIops")inletminIops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinIops")inletmaxStorageSize=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxStorageSize")inletminStorageSize=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinStorageSize")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletsupportsIops=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsIops")inletsupportsStorageThroughput=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsStorageThroughput")inletsupportsStorageAutoscaling=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsStorageAutoscaling")inmake?maxStorageThroughput?minStorageThroughput?maxIopsPerGib?minIopsPerGib?maxIops?minIops?maxStorageSize?minStorageSize?storageType?supportsIops?supportsStorageThroughput?supportsStorageAutoscaling()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxStorageThroughput=field_mapjson__"MaxStorageThroughput"IntegerOptional.of_jsoninletminStorageThroughput=field_mapjson__"MinStorageThroughput"IntegerOptional.of_jsoninletmaxIopsPerGib=field_mapjson__"MaxIopsPerGib"DoubleOptional.of_jsoninletminIopsPerGib=field_mapjson__"MinIopsPerGib"DoubleOptional.of_jsoninletmaxIops=field_mapjson__"MaxIops"IntegerOptional.of_jsoninletminIops=field_mapjson__"MinIops"IntegerOptional.of_jsoninletmaxStorageSize=field_mapjson__"MaxStorageSize"IntegerOptional.of_jsoninletminStorageSize=field_mapjson__"MinStorageSize"IntegerOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletsupportsIops=field_mapjson__"SupportsIops"Boolean.of_jsoninletsupportsStorageThroughput=field_mapjson__"SupportsStorageThroughput"Boolean.of_jsoninletsupportsStorageAutoscaling=field_mapjson__"SupportsStorageAutoscaling"Boolean.of_jsoninmake?maxStorageThroughput?minStorageThroughput?maxIopsPerGib?minIopsPerGib?maxIops?minIops?maxStorageSize?minStorageSize?storageType?supportsIops?supportsStorageThroughput?supportsStorageAutoscaling()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the available options for additional storage volumes for a DB instance class."]moduleAvailableProcessorFeature=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the processor feature. Valid names are coreCount and threadsPerCore."];defaultValue:String_.toption[@ocaml.doc"The default value for the processor feature of the DB instance class."];allowedValues:String_.toption[@ocaml.doc"The allowed values for the processor feature of the DB instance class."]}letmake?name=fun?defaultValue->fun?allowedValues->fun()->{name;defaultValue;allowedValues}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("DefaultValue",(Option.mapx.defaultValue~f:String_.to_value));("AllowedValues",(Option.mapx.allowedValues~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letallowedValues=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AllowedValues")inletdefaultValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DefaultValue")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?allowedValues?defaultValue?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letallowedValues=field_mapjson__"AllowedValues"String_.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"String_.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?allowedValues?defaultValue?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the available processor feature information for the DB instance class of a DB instance. For more information, see Configuring the Processor of the DB Instance Class in the Amazon RDS User Guide."]moduleOption_=structtypenonrect={optionName:String_.toption[@ocaml.doc"The name of the option."];optionDescription:String_.toption[@ocaml.doc"The description of the option."];persistent:Boolean.toption[@ocaml.doc"Indicates whether this option is persistent."];permanent:Boolean.toption[@ocaml.doc"Indicates whether this option is permanent."];port:IntegerOptional.toption[@ocaml.doc"If required, the port configured for this option to use."];optionVersion:String_.toption[@ocaml.doc"The version of the option."];optionSettings:OptionSettingConfigurationList.toption[@ocaml.doc"The option settings for this option."];dBSecurityGroupMemberships:DBSecurityGroupMembershipList.toption[@ocaml.doc"If the option requires access to a port, then this DB security group allows access to the port."];vpcSecurityGroupMemberships:VpcSecurityGroupMembershipList.toption[@ocaml.doc"If the option requires access to a port, then this VPC security group allows access to the port."]}letmake?optionName=fun?optionDescription->fun?persistent->fun?permanent->fun?port->fun?optionVersion->fun?optionSettings->fun?dBSecurityGroupMemberships->fun?vpcSecurityGroupMemberships->fun()->{optionName;optionDescription;persistent;permanent;port;optionVersion;optionSettings;dBSecurityGroupMemberships;vpcSecurityGroupMemberships}letto_valuex=structure_to_value[("OptionName",(Option.mapx.optionName~f:String_.to_value));("OptionDescription",(Option.mapx.optionDescription~f:String_.to_value));("Persistent",(Option.mapx.persistent~f:Boolean.to_value));("Permanent",(Option.mapx.permanent~f:Boolean.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("OptionVersion",(Option.mapx.optionVersion~f:String_.to_value));("OptionSettings",(Option.mapx.optionSettings~f:OptionSettingConfigurationList.to_value));("DBSecurityGroupMemberships",(Option.mapx.dBSecurityGroupMemberships~f:DBSecurityGroupMembershipList.to_value));("VpcSecurityGroupMemberships",(Option.mapx.vpcSecurityGroupMemberships~f:VpcSecurityGroupMembershipList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcSecurityGroupMemberships=(Option.map~f:VpcSecurityGroupMembershipList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupMemberships")inletdBSecurityGroupMemberships=(Option.map~f:DBSecurityGroupMembershipList.of_xml)(Xml.childxml_arg0"DBSecurityGroupMemberships")inletoptionSettings=(Option.map~f:OptionSettingConfigurationList.of_xml)(Xml.childxml_arg0"OptionSettings")inletoptionVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionVersion")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletpermanent=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Permanent")inletpersistent=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Persistent")inletoptionDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionDescription")inletoptionName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionName")inmake?vpcSecurityGroupMemberships?dBSecurityGroupMemberships?optionSettings?optionVersion?port?permanent?persistent?optionDescription?optionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcSecurityGroupMemberships=field_mapjson__"VpcSecurityGroupMemberships"VpcSecurityGroupMembershipList.of_jsoninletdBSecurityGroupMemberships=field_mapjson__"DBSecurityGroupMemberships"DBSecurityGroupMembershipList.of_jsoninletoptionSettings=field_mapjson__"OptionSettings"OptionSettingConfigurationList.of_jsoninletoptionVersion=field_mapjson__"OptionVersion"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletpermanent=field_mapjson__"Permanent"Boolean.of_jsoninletpersistent=field_mapjson__"Persistent"Boolean.of_jsoninletoptionDescription=field_mapjson__"OptionDescription"String_.of_jsoninletoptionName=field_mapjson__"OptionName"String_.of_jsoninmake?vpcSecurityGroupMemberships?dBSecurityGroupMemberships?optionSettings?optionVersion?port?permanent?persistent?optionDescription?optionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of an option."]moduleOptionGroupOptionSetting=structtypenonrect={settingName:String_.toption[@ocaml.doc"The name of the option group option."];settingDescription:String_.toption[@ocaml.doc"The description of the option group option."];defaultValue:String_.toption[@ocaml.doc"The default value for the option group option."];applyType:String_.toption[@ocaml.doc"The DB engine specific parameter type for the option group option."];allowedValues:String_.toption[@ocaml.doc"Indicates the acceptable values for the option group option."];isModifiable:Boolean.toption[@ocaml.doc"Indicates whether this option group option can be changed from the default value."];isRequired:Boolean.toption[@ocaml.doc"Indicates whether a value must be specified for this option setting of the option group option."];minimumEngineVersionPerAllowedValue:MinimumEngineVersionPerAllowedValueList.toption[@ocaml.doc"The minimum DB engine version required for the corresponding allowed value for this option setting."]}letmake?settingName=fun?settingDescription->fun?defaultValue->fun?applyType->fun?allowedValues->fun?isModifiable->fun?isRequired->fun?minimumEngineVersionPerAllowedValue->fun()->{settingName;settingDescription;defaultValue;applyType;allowedValues;isModifiable;isRequired;minimumEngineVersionPerAllowedValue}letto_valuex=structure_to_value[("SettingName",(Option.mapx.settingName~f:String_.to_value));("SettingDescription",(Option.mapx.settingDescription~f:String_.to_value));("DefaultValue",(Option.mapx.defaultValue~f:String_.to_value));("ApplyType",(Option.mapx.applyType~f:String_.to_value));("AllowedValues",(Option.mapx.allowedValues~f:String_.to_value));("IsModifiable",(Option.mapx.isModifiable~f:Boolean.to_value));("IsRequired",(Option.mapx.isRequired~f:Boolean.to_value));("MinimumEngineVersionPerAllowedValue",(Option.mapx.minimumEngineVersionPerAllowedValue~f:MinimumEngineVersionPerAllowedValueList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letminimumEngineVersionPerAllowedValue=(Option.map~f:MinimumEngineVersionPerAllowedValueList.of_xml)(Xml.childxml_arg0"MinimumEngineVersionPerAllowedValue")inletisRequired=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsRequired")inletisModifiable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsModifiable")inletallowedValues=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AllowedValues")inletapplyType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ApplyType")inletdefaultValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DefaultValue")inletsettingDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SettingDescription")inletsettingName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SettingName")inmake?minimumEngineVersionPerAllowedValue?isRequired?isModifiable?allowedValues?applyType?defaultValue?settingDescription?settingName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letminimumEngineVersionPerAllowedValue=field_mapjson__"MinimumEngineVersionPerAllowedValue"MinimumEngineVersionPerAllowedValueList.of_jsoninletisRequired=field_mapjson__"IsRequired"Boolean.of_jsoninletisModifiable=field_mapjson__"IsModifiable"Boolean.of_jsoninletallowedValues=field_mapjson__"AllowedValues"String_.of_jsoninletapplyType=field_mapjson__"ApplyType"String_.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"String_.of_jsoninletsettingDescription=field_mapjson__"SettingDescription"String_.of_jsoninletsettingName=field_mapjson__"SettingName"String_.of_jsoninmake?minimumEngineVersionPerAllowedValue?isRequired?isModifiable?allowedValues?applyType?defaultValue?settingDescription?settingName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Option group option settings are used to display settings available for each option with their default values and other information. These values are used with the DescribeOptionGroupOptions action."]moduleOptionVersion=structtypenonrect={version:String_.toption[@ocaml.doc"The version of the option."];isDefault:Boolean.toption[@ocaml.doc"Indicates whether the version is the default version of the option."]}letmake?version=fun?isDefault->fun()->{version;isDefault}letto_valuex=structure_to_value[("Version",(Option.mapx.version~f:String_.to_value));("IsDefault",(Option.mapx.isDefault~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisDefault=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsDefault")inletversion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Version")inmake?isDefault?version()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisDefault=field_mapjson__"IsDefault"Boolean.of_jsoninletversion=field_mapjson__"Version"String_.of_jsoninmake?isDefault?version()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The version for an option. Option group option versions are returned by the DescribeOptionGroupOptions action."]moduleAttributeValueList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"AttributeValueList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFailoverStatus=structtypenonrect=|Pending|Failing_over|Cancelling|Non_static_idofstringletmakei=iletto_string=function|Pending->"pending"|Failing_over->"failing-over"|Cancelling->"cancelling"|Non_static_ids->sletof_string=function|"pending"->Pending|"failing-over"->Failing_over|"cancelling"->Cancelling|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 FailoverStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FailoverStatus"j)letto_json=simple_to_jsonto_valueendmoduleGlobalClusterMember=structtypenonrect={dBClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster."];readers:ReadersArnList.toption[@ocaml.doc"The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster."];isWriter:Boolean.toption[@ocaml.doc"Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated."];globalWriteForwardingStatus:WriteForwardingStatus.toption[@ocaml.doc"The status of write forwarding for a secondary cluster in the global cluster."];synchronizationStatus:GlobalClusterMemberSynchronizationStatus.toption[@ocaml.doc"The status of synchronization of each Aurora DB cluster in the global cluster."]}letmake?dBClusterArn=fun?readers->fun?isWriter->fun?globalWriteForwardingStatus->fun?synchronizationStatus->fun()->{dBClusterArn;readers;isWriter;globalWriteForwardingStatus;synchronizationStatus}letto_valuex=structure_to_value[("DBClusterArn",(Option.mapx.dBClusterArn~f:String_.to_value));("Readers",(Option.mapx.readers~f:ReadersArnList.to_value));("IsWriter",(Option.mapx.isWriter~f:Boolean.to_value));("GlobalWriteForwardingStatus",(Option.mapx.globalWriteForwardingStatus~f:WriteForwardingStatus.to_value));("SynchronizationStatus",(Option.mapx.synchronizationStatus~f:GlobalClusterMemberSynchronizationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsynchronizationStatus=(Option.map~f:GlobalClusterMemberSynchronizationStatus.of_xml)(Xml.childxml_arg0"SynchronizationStatus")inletglobalWriteForwardingStatus=(Option.map~f:WriteForwardingStatus.of_xml)(Xml.childxml_arg0"GlobalWriteForwardingStatus")inletisWriter=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsWriter")inletreaders=(Option.map~f:ReadersArnList.of_xml)(Xml.childxml_arg0"Readers")inletdBClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterArn")inmake?synchronizationStatus?globalWriteForwardingStatus?isWriter?readers?dBClusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsynchronizationStatus=field_mapjson__"SynchronizationStatus"GlobalClusterMemberSynchronizationStatus.of_jsoninletglobalWriteForwardingStatus=field_mapjson__"GlobalWriteForwardingStatus"WriteForwardingStatus.of_jsoninletisWriter=field_mapjson__"IsWriter"Boolean.of_jsoninletreaders=field_mapjson__"Readers"ReadersArnList.of_jsoninletdBClusterArn=field_mapjson__"DBClusterArn"String_.of_jsoninmake?synchronizationStatus?globalWriteForwardingStatus?isWriter?readers?dBClusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A data structure with information about any primary and secondary clusters associated with a global cluster (Aurora global database)."]moduleValidVolumeOptions=structtypenonrect={volumeName:String_.toption[@ocaml.doc"The name of the additional storage volume."];storage:ValidStorageOptionsList.toption[@ocaml.doc"The valid storage options for the additional storage volume."]}letmake?volumeName=fun?storage->fun()->{volumeName;storage}letto_valuex=structure_to_value[("VolumeName",(Option.mapx.volumeName~f:String_.to_value));("Storage",(Option.mapx.storage~f:ValidStorageOptionsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorage=(Option.map~f:ValidStorageOptionsList.of_xml)(Xml.childxml_arg0"Storage")inletvolumeName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VolumeName")inmake?storage?volumeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorage=field_mapjson__"Storage"ValidStorageOptionsList.of_jsoninletvolumeName=field_mapjson__"VolumeName"String_.of_jsoninmake?storage?volumeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the valid options for an additional storage volume."]moduleIntegrationError=structtypenonrect={errorCode:String_.toption[@ocaml.doc"The error code associated with the integration."];errorMessage:String_.toption[@ocaml.doc"A message explaining the error."]}letmake?errorCode=fun?errorMessage->fun()->{errorCode;errorMessage}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:String_.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterrorCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ErrorCode")inmake?errorMessage?errorCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"ErrorMessage"String_.of_jsoninleterrorCode=field_mapjson__"ErrorCode"String_.of_jsoninmake?errorMessage?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error associated with a zero-ETL integration with Amazon Redshift."]moduleApplyMethod=structtypenonrect=|Immediate|Pending_reboot|Non_static_idofstringletmakei=iletto_string=function|Immediate->"immediate"|Pending_reboot->"pending-reboot"|Non_static_ids->sletof_string=function|"immediate"->Immediate|"pending-reboot"->Pending_reboot|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 ApplyMethod"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ApplyMethod"j)letto_json=simple_to_jsonto_valueendmodulePotentiallySensitiveParameterValue=structtypenonrect=stringletcontext_="PotentiallySensitiveParameterValue"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:"PotentiallySensitiveParameterValue"jletto_json=simple_to_jsonto_valueendmoduleOperatorSensitiveString=structtypenonrect=stringletcontext_="OperatorSensitiveString"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:"OperatorSensitiveString"jletto_json=simple_to_jsonto_valueendmoduleUserAuthConfigInfo=structtypenonrect={description:String_.toption[@ocaml.doc"A user-specified description about the authentication used by a proxy to log in as a specific database user."];userName:String_.toption[@ocaml.doc"The name of the database user to which the proxy connects."];authScheme:AuthScheme.toption[@ocaml.doc"The type of authentication that the proxy uses for connections from the proxy to the underlying database."];secretArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager."];iAMAuth:IAMAuthMode.toption[@ocaml.doc"Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy."];clientPasswordAuthType:ClientPasswordAuthType.toption[@ocaml.doc"The type of authentication the proxy uses for connections from clients."]}letmake?description=fun?userName->fun?authScheme->fun?secretArn->fun?iAMAuth->fun?clientPasswordAuthType->fun()->{description;userName;authScheme;secretArn;iAMAuth;clientPasswordAuthType}letto_valuex=structure_to_value[("Description",(Option.mapx.description~f:String_.to_value));("UserName",(Option.mapx.userName~f:String_.to_value));("AuthScheme",(Option.mapx.authScheme~f:AuthScheme.to_value));("SecretArn",(Option.mapx.secretArn~f:String_.to_value));("IAMAuth",(Option.mapx.iAMAuth~f:IAMAuthMode.to_value));("ClientPasswordAuthType",(Option.mapx.clientPasswordAuthType~f:ClientPasswordAuthType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientPasswordAuthType=(Option.map~f:ClientPasswordAuthType.of_xml)(Xml.childxml_arg0"ClientPasswordAuthType")inletiAMAuth=(Option.map~f:IAMAuthMode.of_xml)(Xml.childxml_arg0"IAMAuth")inletsecretArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SecretArn")inletauthScheme=(Option.map~f:AuthScheme.of_xml)(Xml.childxml_arg0"AuthScheme")inletuserName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"UserName")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inmake?clientPasswordAuthType?iAMAuth?secretArn?authScheme?userName?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientPasswordAuthType=field_mapjson__"ClientPasswordAuthType"ClientPasswordAuthType.of_jsoninletiAMAuth=field_mapjson__"IAMAuth"IAMAuthMode.of_jsoninletsecretArn=field_mapjson__"SecretArn"String_.of_jsoninletauthScheme=field_mapjson__"AuthScheme"AuthScheme.of_jsoninletuserName=field_mapjson__"UserName"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninmake?clientPasswordAuthType?iAMAuth?secretArn?authScheme?userName?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the details of authentication used by a proxy to log in as a specific database user."]moduleSupportedEngineLifecycle=structtypenonrect={lifecycleSupportName:LifecycleSupportName.toption[@ocaml.doc"The type of lifecycle support that the engine version is in. This parameter returns the following values: open-source-rds-standard-support - Indicates RDS standard support or Aurora standard support. open-source-rds-extended-support - Indicates Amazon RDS Extended Support. For Amazon RDS for MySQL, Amazon RDS for PostgreSQL, Aurora MySQL, and Aurora PostgreSQL, this parameter returns both open-source-rds-standard-support and open-source-rds-extended-support. For Amazon RDS for MariaDB, this parameter only returns the value open-source-rds-standard-support. For information about Amazon RDS Extended Support, see Amazon RDS Extended Support with Amazon RDS in the Amazon RDS User Guide and Amazon RDS Extended Support with Amazon Aurora in the Amazon Aurora User Guide."];lifecycleSupportStartDate:TStamp.toption[@ocaml.doc"The start date for the type of support returned by LifecycleSupportName."];lifecycleSupportEndDate:TStamp.toption[@ocaml.doc"The end date for the type of support returned by LifecycleSupportName."]}letmake?lifecycleSupportName=fun?lifecycleSupportStartDate->fun?lifecycleSupportEndDate->fun()->{lifecycleSupportName;lifecycleSupportStartDate;lifecycleSupportEndDate}letto_valuex=structure_to_value[("LifecycleSupportName",(Option.mapx.lifecycleSupportName~f:LifecycleSupportName.to_value));("LifecycleSupportStartDate",(Option.mapx.lifecycleSupportStartDate~f:TStamp.to_value));("LifecycleSupportEndDate",(Option.mapx.lifecycleSupportEndDate~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlifecycleSupportEndDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"LifecycleSupportEndDate")inletlifecycleSupportStartDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"LifecycleSupportStartDate")inletlifecycleSupportName=(Option.map~f:LifecycleSupportName.of_xml)(Xml.childxml_arg0"LifecycleSupportName")inmake?lifecycleSupportEndDate?lifecycleSupportStartDate?lifecycleSupportName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlifecycleSupportEndDate=field_mapjson__"LifecycleSupportEndDate"TStamp.of_jsoninletlifecycleSupportStartDate=field_mapjson__"LifecycleSupportStartDate"TStamp.of_jsoninletlifecycleSupportName=field_mapjson__"LifecycleSupportName"LifecycleSupportName.of_jsoninmake?lifecycleSupportEndDate?lifecycleSupportStartDate?lifecycleSupportName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the operation DescribeDBMajorEngineVersions. You can use the information that this data type returns to plan for upgrades. This data type only returns information for the open source engines Amazon RDS for MariaDB, Amazon RDS for MySQL, Amazon RDS for PostgreSQL, Aurora MySQL, and Aurora PostgreSQL."]moduleBlueGreenDeploymentTask=structtypenonrect={name:BlueGreenDeploymentTaskName.toption[@ocaml.doc"The name of the blue/green deployment task."];status:BlueGreenDeploymentTaskStatus.toption[@ocaml.doc"The status of the blue/green deployment task. Valid Values: PENDING - The resource is being prepared for deployment. IN_PROGRESS - The resource is being deployed. COMPLETED - The resource has been deployed. FAILED - Deployment of the resource failed."]}letmake?name=fun?status->fun()->{name;status}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:BlueGreenDeploymentTaskName.to_value));("Status",(Option.mapx.status~f:BlueGreenDeploymentTaskStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:BlueGreenDeploymentTaskStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:BlueGreenDeploymentTaskName.of_xml)(Xml.childxml_arg0"Name")inmake?status?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"BlueGreenDeploymentTaskStatus.of_jsoninletname=field_mapjson__"Name"BlueGreenDeploymentTaskName.of_jsoninmake?status?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about a task for a blue/green deployment. For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide."]moduleSwitchoverDetail=structtypenonrect={sourceMember:DatabaseArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a resource in the blue environment."];targetMember:DatabaseArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a resource in the green environment."];status:SwitchoverDetailStatus.toption[@ocaml.doc"The switchover status of a resource in a blue/green deployment. Values: PROVISIONING - The resource is being prepared to switch over. AVAILABLE - The resource is ready to switch over. SWITCHOVER_IN_PROGRESS - The resource is being switched over. SWITCHOVER_COMPLETED - The resource has been switched over. SWITCHOVER_FAILED - The resource attempted to switch over but failed. MISSING_SOURCE - The source resource has been deleted. MISSING_TARGET - The target resource has been deleted."]}letmake?sourceMember=fun?targetMember->fun?status->fun()->{sourceMember;targetMember;status}letto_valuex=structure_to_value[("SourceMember",(Option.mapx.sourceMember~f:DatabaseArn.to_value));("TargetMember",(Option.mapx.targetMember~f:DatabaseArn.to_value));("Status",(Option.mapx.status~f:SwitchoverDetailStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:SwitchoverDetailStatus.of_xml)(Xml.childxml_arg0"Status")inlettargetMember=(Option.map~f:DatabaseArn.of_xml)(Xml.childxml_arg0"TargetMember")inletsourceMember=(Option.map~f:DatabaseArn.of_xml)(Xml.childxml_arg0"SourceMember")inmake?status?targetMember?sourceMember()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"SwitchoverDetailStatus.of_jsoninlettargetMember=field_mapjson__"TargetMember"DatabaseArn.of_jsoninletsourceMember=field_mapjson__"SourceMember"DatabaseArn.of_jsoninmake?status?targetMember?sourceMember()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details about a blue/green deployment. For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide."]moduleEC2SecurityGroup=structtypenonrect={status:String_.toption[@ocaml.doc"Provides the status of the EC2 security group. Status can be \"authorizing\", \"authorized\", \"revoking\", and \"revoked\"."];eC2SecurityGroupName:String_.toption[@ocaml.doc"Specifies the name of the EC2 security group."];eC2SecurityGroupId:String_.toption[@ocaml.doc"Specifies the id of the EC2 security group."];eC2SecurityGroupOwnerId:String_.toption[@ocaml.doc"Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field."]}letmake?status=fun?eC2SecurityGroupName->fun?eC2SecurityGroupId->fun?eC2SecurityGroupOwnerId->fun()->{status;eC2SecurityGroupName;eC2SecurityGroupId;eC2SecurityGroupOwnerId}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:String_.to_value));("EC2SecurityGroupName",(Option.mapx.eC2SecurityGroupName~f:String_.to_value));("EC2SecurityGroupId",(Option.mapx.eC2SecurityGroupId~f:String_.to_value));("EC2SecurityGroupOwnerId",(Option.mapx.eC2SecurityGroupOwnerId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteC2SecurityGroupOwnerId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupOwnerId")inleteC2SecurityGroupId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupId")inleteC2SecurityGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupName")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inmake?eC2SecurityGroupOwnerId?eC2SecurityGroupId?eC2SecurityGroupName?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteC2SecurityGroupOwnerId=field_mapjson__"EC2SecurityGroupOwnerId"String_.of_jsoninleteC2SecurityGroupId=field_mapjson__"EC2SecurityGroupId"String_.of_jsoninleteC2SecurityGroupName=field_mapjson__"EC2SecurityGroupName"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninmake?eC2SecurityGroupOwnerId?eC2SecurityGroupId?eC2SecurityGroupName?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the following actions: AuthorizeDBSecurityGroupIngress DescribeDBSecurityGroups RevokeDBSecurityGroupIngress"]moduleIPRange=structtypenonrect={status:String_.toption[@ocaml.doc"The status of the IP range. Status can be \"authorizing\", \"authorized\", \"revoking\", and \"revoked\"."];cIDRIP:String_.toption[@ocaml.doc"The IP range."]}letmake?status=fun?cIDRIP->fun()->{status;cIDRIP}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:String_.to_value));("CIDRIP",(Option.mapx.cIDRIP~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcIDRIP=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CIDRIP")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inmake?cIDRIP?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcIDRIP=field_mapjson__"CIDRIP"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninmake?cIDRIP?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeDBSecurityGroups action."]moduleDocLink=structtypenonrect={text:String_.toption[@ocaml.doc"The text with the link to documentation for the recommendation."];url:String_.toption[@ocaml.doc"The URL for the documentation for the recommendation."]}letmake?text=fun?url->fun()->{text;url}letto_valuex=structure_to_value[("Text",(Option.mapx.text~f:String_.to_value));("Url",(Option.mapx.url~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leturl=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Url")inlettext=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Text")inmake?url?text()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leturl=field_mapjson__"Url"String_.of_jsoninlettext=field_mapjson__"Text"String_.of_jsoninmake?url?text()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A link to documentation that provides additional information for a recommendation."]moduleRecommendedAction=structtypenonrect={actionId:String_.toption[@ocaml.doc"The unique identifier of the recommended action."];title:String_.toption[@ocaml.doc"A short description to summarize the action. The description might contain markdown."];description:String_.toption[@ocaml.doc"A detailed description of the action. The description might contain markdown."];operation:String_.toption[@ocaml.doc"An API operation for the action."];parameters:RecommendedActionParameterList.toption[@ocaml.doc"The parameters for the API operation."];applyModes:StringList.toption[@ocaml.doc"The methods to apply the recommended action. Valid values: manual - The action requires you to resolve the recommendation manually. immediately - The action is applied immediately. next-maintainance-window - The action is applied during the next scheduled maintainance."];status:String_.toption[@ocaml.doc"The status of the action. ready applied scheduled resolved"];issueDetails:IssueDetails.toption[@ocaml.doc"The details of the issue."];contextAttributes:ContextAttributeList.toption[@ocaml.doc"The supporting attributes to explain the recommended action."]}letmake?actionId=fun?title->fun?description->fun?operation->fun?parameters->fun?applyModes->fun?status->fun?issueDetails->fun?contextAttributes->fun()->{actionId;title;description;operation;parameters;applyModes;status;issueDetails;contextAttributes}letto_valuex=structure_to_value[("ActionId",(Option.mapx.actionId~f:String_.to_value));("Title",(Option.mapx.title~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("Operation",(Option.mapx.operation~f:String_.to_value));("Parameters",(Option.mapx.parameters~f:RecommendedActionParameterList.to_value));("ApplyModes",(Option.mapx.applyModes~f:StringList.to_value));("Status",(Option.mapx.status~f:String_.to_value));("IssueDetails",(Option.mapx.issueDetails~f:IssueDetails.to_value));("ContextAttributes",(Option.mapx.contextAttributes~f:ContextAttributeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontextAttributes=(Option.map~f:ContextAttributeList.of_xml)(Xml.childxml_arg0"ContextAttributes")inletissueDetails=(Option.map~f:IssueDetails.of_xml)(Xml.childxml_arg0"IssueDetails")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletapplyModes=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"ApplyModes")inletparameters=(Option.map~f:RecommendedActionParameterList.of_xml)(Xml.childxml_arg0"Parameters")inletoperation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Operation")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inlettitle=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Title")inletactionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ActionId")inmake?contextAttributes?issueDetails?status?applyModes?parameters?operation?description?title?actionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontextAttributes=field_mapjson__"ContextAttributes"ContextAttributeList.of_jsoninletissueDetails=field_mapjson__"IssueDetails"IssueDetails.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletapplyModes=field_mapjson__"ApplyModes"StringList.of_jsoninletparameters=field_mapjson__"Parameters"RecommendedActionParameterList.of_jsoninletoperation=field_mapjson__"Operation"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninlettitle=field_mapjson__"Title"String_.of_jsoninletactionId=field_mapjson__"ActionId"String_.of_jsoninmake?contextAttributes?issueDetails?status?applyModes?parameters?operation?description?title?actionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The recommended actions to apply to resolve the issues associated with your DB instances, DB clusters, and DB parameter groups."]moduleAdditionalStorageVolumeOutput=structtypenonrect={volumeName:String_.toption[@ocaml.doc"The name of the additional storage volume."];storageVolumeStatus:String_.toption[@ocaml.doc"The status of the additional storage volume. Valid Values: ACTIVE | CREATING | DELETING | MODIFYING | NOT-IN-USE | STORAGE-OPTIMIZATION | VOLUME-FULL"];allocatedStorage:Integer.toption[@ocaml.doc"The amount of storage allocated for the additional storage volume, in gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 TiB)."];iOPS:IntegerOptional.toption[@ocaml.doc"The number of I/O operations per second (IOPS) provisioned for the additional storage volume."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which RDS can automatically scale the storage of the additional storage volume."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput value for the additional storage volume, in mebibytes per second (MiBps)."];storageType:String_.toption[@ocaml.doc"The storage type for the additional storage volume. Valid Values: GP3 | IO2"]}letmake?volumeName=fun?storageVolumeStatus->fun?allocatedStorage->fun?iOPS->fun?maxAllocatedStorage->fun?storageThroughput->fun?storageType->fun()->{volumeName;storageVolumeStatus;allocatedStorage;iOPS;maxAllocatedStorage;storageThroughput;storageType}letto_valuex=structure_to_value[("VolumeName",(Option.mapx.volumeName~f:String_.to_value));("StorageVolumeStatus",(Option.mapx.storageVolumeStatus~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("IOPS",(Option.mapx.iOPS~f:IntegerOptional.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletiOPS=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"IOPS")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletstorageVolumeStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageVolumeStatus")inletvolumeName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VolumeName")inmake?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage?storageVolumeStatus?volumeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorageType=field_mapjson__"StorageType"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletiOPS=field_mapjson__"IOPS"IntegerOptional.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletstorageVolumeStatus=field_mapjson__"StorageVolumeStatus"String_.of_jsoninletvolumeName=field_mapjson__"VolumeName"String_.of_jsoninmake?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage?storageVolumeStatus?volumeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an additional storage volume for a DB instance."]moduleDBInstanceAutomatedBackupsReplication=structtypenonrect={dBInstanceAutomatedBackupsArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicated automated backups."]}letmake?dBInstanceAutomatedBackupsArn=fun()->{dBInstanceAutomatedBackupsArn}letto_valuex=structure_to_value[("DBInstanceAutomatedBackupsArn",(Option.mapx.dBInstanceAutomatedBackupsArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBInstanceAutomatedBackupsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackupsArn")inmake?dBInstanceAutomatedBackupsArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstanceAutomatedBackupsArn=field_mapjson__"DBInstanceAutomatedBackupsArn"String_.of_jsoninmake?dBInstanceAutomatedBackupsArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Automated backups of a DB instance replicated to another Amazon Web Services Region. They consist of system backups, transaction logs, and database instance properties."]moduleDBInstanceRole=structtypenonrect={roleArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance."];featureName:String_.toption[@ocaml.doc"The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion."];status:String_.toption[@ocaml.doc"Information about the state of association between the IAM role and the DB instance. The Status property returns one of the following values: ACTIVE - the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf. PENDING - the IAM role ARN is being associated with the DB instance. INVALID - the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf."]}letmake?roleArn=fun?featureName->fun?status->fun()->{roleArn;featureName;status}letto_valuex=structure_to_value[("RoleArn",(Option.mapx.roleArn~f:String_.to_value));("FeatureName",(Option.mapx.featureName~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletfeatureName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FeatureName")inletroleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RoleArn")inmake?status?featureName?roleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletfeatureName=field_mapjson__"FeatureName"String_.of_jsoninletroleArn=field_mapjson__"RoleArn"String_.of_jsoninmake?status?featureName?roleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance."]moduleDBInstanceStatusInfo=structtypenonrect={statusType:String_.toption[@ocaml.doc"This value is currently \"read replication.\""];normal:Boolean.toption[@ocaml.doc"Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE)."];status:String_.toption[@ocaml.doc"The status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated."];message:String_.toption[@ocaml.doc"Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank."]}letmake?statusType=fun?normal->fun?status->fun?message->fun()->{statusType;normal;status;message}letto_valuex=structure_to_value[("StatusType",(Option.mapx.statusType~f:String_.to_value));("Normal",(Option.mapx.normal~f:Boolean.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletnormal=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Normal")inletstatusType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatusType")inmake?message?status?normal?statusType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletnormal=field_mapjson__"Normal"Boolean.of_jsoninletstatusType=field_mapjson__"StatusType"String_.of_jsoninmake?message?status?normal?statusType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides a list of status information for a DB instance."]moduleDBParameterGroupStatus=structtypenonrect={dBParameterGroupName:String_.toption[@ocaml.doc"The name of the DB parameter group."];parameterApplyStatus:String_.toption[@ocaml.doc"The status of parameter updates. Valid values are: applying: The parameter group change is being applied to the database. failed-to-apply: The parameter group is in an invalid state. in-sync: The parameter group change is synchronized with the database. pending-database-upgrade: The parameter group change will be applied after the DB instance is upgraded. pending-reboot: The parameter group change will be applied after the DB instance reboots."]}letmake?dBParameterGroupName=fun?parameterApplyStatus->fun()->{dBParameterGroupName;parameterApplyStatus}letto_valuex=structure_to_value[("DBParameterGroupName",(Option.mapx.dBParameterGroupName~f:String_.to_value));("ParameterApplyStatus",(Option.mapx.parameterApplyStatus~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameterApplyStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ParameterApplyStatus")inletdBParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupName")inmake?parameterApplyStatus?dBParameterGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameterApplyStatus=field_mapjson__"ParameterApplyStatus"String_.of_jsoninletdBParameterGroupName=field_mapjson__"DBParameterGroupName"String_.of_jsoninmake?parameterApplyStatus?dBParameterGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status of the DB parameter group. This data type is used as a response element in the following actions: CreateDBInstance CreateDBInstanceReadReplica DeleteDBInstance ModifyDBInstance RebootDBInstance RestoreDBInstanceFromDBSnapshot"]moduleSubnetList=structtypenonrect=Subnet.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Subnet.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:Subnet.of_xml)letof_jsonj=list_of_json~kind:"SubnetList"~of_json:Subnet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDomainMembership=structtypenonrect={domain:String_.toption[@ocaml.doc"The identifier of the Active Directory Domain."];status:String_.toption[@ocaml.doc"The status of the Active Directory Domain membership for the DB instance or cluster. Values include joined, pending-join, failed, and so on."];fQDN:String_.toption[@ocaml.doc"The fully qualified domain name (FQDN) of the Active Directory Domain."];iAMRoleName:String_.toption[@ocaml.doc"The name of the IAM role used when making API calls to the Directory Service."];oU:String_.toption[@ocaml.doc"The Active Directory organizational unit for the DB instance or cluster."];authSecretArn:String_.toption[@ocaml.doc"The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain."];dnsIps:StringList.toption[@ocaml.doc"The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers."]}letmake?domain=fun?status->fun?fQDN->fun?iAMRoleName->fun?oU->fun?authSecretArn->fun?dnsIps->fun()->{domain;status;fQDN;iAMRoleName;oU;authSecretArn;dnsIps}letto_valuex=structure_to_value[("Domain",(Option.mapx.domain~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("FQDN",(Option.mapx.fQDN~f:String_.to_value));("IAMRoleName",(Option.mapx.iAMRoleName~f:String_.to_value));("OU",(Option.mapx.oU~f:String_.to_value));("AuthSecretArn",(Option.mapx.authSecretArn~f:String_.to_value));("DnsIps",(Option.mapx.dnsIps~f:StringList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdnsIps=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"DnsIps")inletauthSecretArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AuthSecretArn")inletoU=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OU")inletiAMRoleName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"IAMRoleName")inletfQDN=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FQDN")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletdomain=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Domain")inmake?dnsIps?authSecretArn?oU?iAMRoleName?fQDN?status?domain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdnsIps=field_mapjson__"DnsIps"StringList.of_jsoninletauthSecretArn=field_mapjson__"AuthSecretArn"String_.of_jsoninletoU=field_mapjson__"OU"String_.of_jsoninletiAMRoleName=field_mapjson__"IAMRoleName"String_.of_jsoninletfQDN=field_mapjson__"FQDN"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletdomain=field_mapjson__"Domain"String_.of_jsoninmake?dnsIps?authSecretArn?oU?iAMRoleName?fQDN?status?domain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An Active Directory Domain membership record associated with the DB instance or cluster."]moduleOptionGroupMembership=structtypenonrect={optionGroupName:String_.toption[@ocaml.doc"The name of the option group that the instance belongs to."];status:String_.toption[@ocaml.doc"The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed."]}letmake?optionGroupName=fun?status->fun()->{optionGroupName;status}letto_valuex=structure_to_value[("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inmake?status?optionGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninmake?status?optionGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides information on the option groups the DB instance is a member of."]moduleAdditionalStorageVolumesList=structtypenonrect=AdditionalStorageVolume.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AdditionalStorageVolume.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:AdditionalStorageVolume.of_xml)letof_jsonj=list_of_json~kind:"AdditionalStorageVolumesList"~of_json:AdditionalStorageVolume.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAutomationMode=structtypenonrect=|Full|All_paused|Non_static_idofstringletmakei=iletto_string=function|Full->"full"|All_paused->"all-paused"|Non_static_ids->sletof_string=function|"full"->Full|"all-paused"->All_paused|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 AutomationMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AutomationMode"j)letto_json=simple_to_jsonto_valueendmodulePendingCloudwatchLogsExports=structtypenonrect={logTypesToEnable:LogTypeList.toption[@ocaml.doc"Log types that are in the process of being deactivated. After they are deactivated, these log types aren't exported to CloudWatch Logs."];logTypesToDisable:LogTypeList.toption[@ocaml.doc"Log types that are in the process of being enabled. After they are enabled, these log types are exported to CloudWatch Logs."]}letmake?logTypesToEnable=fun?logTypesToDisable->fun()->{logTypesToEnable;logTypesToDisable}letto_valuex=structure_to_value[("LogTypesToEnable",(Option.mapx.logTypesToEnable~f:LogTypeList.to_value));("LogTypesToDisable",(Option.mapx.logTypesToDisable~f:LogTypeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogTypesToDisable=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"LogTypesToDisable")inletlogTypesToEnable=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"LogTypesToEnable")inmake?logTypesToDisable?logTypesToEnable()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogTypesToDisable=field_mapjson__"LogTypesToDisable"LogTypeList.of_jsoninletlogTypesToEnable=field_mapjson__"LogTypesToEnable"LogTypeList.of_jsoninmake?logTypesToDisable?logTypesToEnable()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated."]moduleProcessorFeatureList=structtypenonrect=ProcessorFeature.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProcessorFeature.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:ProcessorFeature.of_xml)letof_jsonj=list_of_json~kind:"ProcessorFeatureList"~of_json:ProcessorFeature.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCharacterSet=structtypenonrect={characterSetName:String_.toption[@ocaml.doc"The name of the character set."];characterSetDescription:String_.toption[@ocaml.doc"The description of the character set."]}letmake?characterSetName=fun?characterSetDescription->fun()->{characterSetName;characterSetDescription}letto_valuex=structure_to_value[("CharacterSetName",(Option.mapx.characterSetName~f:String_.to_value));("CharacterSetDescription",(Option.mapx.characterSetDescription~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcharacterSetDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetDescription")inletcharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetName")inmake?characterSetDescription?characterSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcharacterSetDescription=field_mapjson__"CharacterSetDescription"String_.of_jsoninletcharacterSetName=field_mapjson__"CharacterSetName"String_.of_jsoninmake?characterSetDescription?characterSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the action DescribeDBEngineVersions."]moduleTimezone=structtypenonrect={timezoneName:String_.toption[@ocaml.doc"The name of the time zone."]}letmake?timezoneName=fun()->{timezoneName}letto_valuex=structure_to_value[("TimezoneName",(Option.mapx.timezoneName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettimezoneName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TimezoneName")inmake?timezoneName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettimezoneName=field_mapjson__"TimezoneName"String_.of_jsoninmake?timezoneName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A time zone associated with a DBInstance or a DBSnapshot. This data type is an element in the response to the DescribeDBInstances, the DescribeDBSnapshots, and the DescribeDBEngineVersions actions."]moduleUpgradeTarget=structtypenonrect={engine:String_.toption[@ocaml.doc"The name of the upgrade target database engine."];engineVersion:String_.toption[@ocaml.doc"The version number of the upgrade target database engine."];description:String_.toption[@ocaml.doc"The version of the database engine that a DB instance can be upgraded to."];autoUpgrade:Boolean.toption[@ocaml.doc"Indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true. This parameter is dynamic, and is set by RDS."];isMajorVersionUpgrade:Boolean.toption[@ocaml.doc"Indicates whether upgrading to the target version requires upgrading the major version of the database engine."];supportedEngineModes:EngineModeList.toption[@ocaml.doc"A list of the supported DB engine modes for the target engine version."];supportsParallelQuery:BooleanOptional.toption[@ocaml.doc"Indicates whether you can use Aurora parallel query with the target engine version."];supportsGlobalDatabases:BooleanOptional.toption[@ocaml.doc"Indicates whether you can use Aurora global databases with the target engine version."];supportsBabelfish:BooleanOptional.toption[@ocaml.doc"Indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version."];supportsLimitlessDatabase:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB engine version supports Aurora Limitless Database."];supportsLocalWriteForwarding:BooleanOptional.toption[@ocaml.doc"Indicates whether the target engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. Valid for: Aurora DB clusters only"];supportsIntegrations:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift."]}letmake?engine=fun?engineVersion->fun?description->fun?autoUpgrade->fun?isMajorVersionUpgrade->fun?supportedEngineModes->fun?supportsParallelQuery->fun?supportsGlobalDatabases->fun?supportsBabelfish->fun?supportsLimitlessDatabase->fun?supportsLocalWriteForwarding->fun?supportsIntegrations->fun()->{engine;engineVersion;description;autoUpgrade;isMajorVersionUpgrade;supportedEngineModes;supportsParallelQuery;supportsGlobalDatabases;supportsBabelfish;supportsLimitlessDatabase;supportsLocalWriteForwarding;supportsIntegrations}letto_valuex=structure_to_value[("Engine",(Option.mapx.engine~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("AutoUpgrade",(Option.mapx.autoUpgrade~f:Boolean.to_value));("IsMajorVersionUpgrade",(Option.mapx.isMajorVersionUpgrade~f:Boolean.to_value));("SupportedEngineModes",(Option.mapx.supportedEngineModes~f:EngineModeList.to_value));("SupportsParallelQuery",(Option.mapx.supportsParallelQuery~f:BooleanOptional.to_value));("SupportsGlobalDatabases",(Option.mapx.supportsGlobalDatabases~f:BooleanOptional.to_value));("SupportsBabelfish",(Option.mapx.supportsBabelfish~f:BooleanOptional.to_value));("SupportsLimitlessDatabase",(Option.mapx.supportsLimitlessDatabase~f:BooleanOptional.to_value));("SupportsLocalWriteForwarding",(Option.mapx.supportsLocalWriteForwarding~f:BooleanOptional.to_value));("SupportsIntegrations",(Option.mapx.supportsIntegrations~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportsIntegrations=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsIntegrations")inletsupportsLocalWriteForwarding=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsLocalWriteForwarding")inletsupportsLimitlessDatabase=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsLimitlessDatabase")inletsupportsBabelfish=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsBabelfish")inletsupportsGlobalDatabases=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsGlobalDatabases")inletsupportsParallelQuery=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsParallelQuery")inletsupportedEngineModes=(Option.map~f:EngineModeList.of_xml)(Xml.childxml_arg0"SupportedEngineModes")inletisMajorVersionUpgrade=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsMajorVersionUpgrade")inletautoUpgrade=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AutoUpgrade")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inmake?supportsIntegrations?supportsLocalWriteForwarding?supportsLimitlessDatabase?supportsBabelfish?supportsGlobalDatabases?supportsParallelQuery?supportedEngineModes?isMajorVersionUpgrade?autoUpgrade?description?engineVersion?engine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportsIntegrations=field_mapjson__"SupportsIntegrations"BooleanOptional.of_jsoninletsupportsLocalWriteForwarding=field_mapjson__"SupportsLocalWriteForwarding"BooleanOptional.of_jsoninletsupportsLimitlessDatabase=field_mapjson__"SupportsLimitlessDatabase"BooleanOptional.of_jsoninletsupportsBabelfish=field_mapjson__"SupportsBabelfish"BooleanOptional.of_jsoninletsupportsGlobalDatabases=field_mapjson__"SupportsGlobalDatabases"BooleanOptional.of_jsoninletsupportsParallelQuery=field_mapjson__"SupportsParallelQuery"BooleanOptional.of_jsoninletsupportedEngineModes=field_mapjson__"SupportedEngineModes"EngineModeList.of_jsoninletisMajorVersionUpgrade=field_mapjson__"IsMajorVersionUpgrade"Boolean.of_jsoninletautoUpgrade=field_mapjson__"AutoUpgrade"Boolean.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninmake?supportsIntegrations?supportsLocalWriteForwarding?supportsLimitlessDatabase?supportsBabelfish?supportsGlobalDatabases?supportsParallelQuery?supportedEngineModes?isMajorVersionUpgrade?autoUpgrade?description?engineVersion?engine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The version of the database engine that a DB instance can be upgraded to."]moduleCertificateDetails=structtypenonrect={cAIdentifier:String_.toption[@ocaml.doc"The CA identifier of the CA certificate used for the DB instance's server certificate."];validTill:TStamp.toption[@ocaml.doc"The expiration date of the DB instance\226\128\153s server certificate."]}letmake?cAIdentifier=fun?validTill->fun()->{cAIdentifier;validTill}letto_valuex=structure_to_value[("CAIdentifier",(Option.mapx.cAIdentifier~f:String_.to_value));("ValidTill",(Option.mapx.validTill~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidTill=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ValidTill")inletcAIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CAIdentifier")inmake?validTill?cAIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidTill=field_mapjson__"ValidTill"TStamp.of_jsoninletcAIdentifier=field_mapjson__"CAIdentifier"String_.of_jsoninmake?validTill?cAIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the DB instance\226\128\153s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."]moduleRdsCustomClusterConfiguration=structtypenonrect={interconnectSubnetId:String_.toption[@ocaml.doc"Reserved for future use."];transitGatewayMulticastDomainId:String_.toption[@ocaml.doc"Reserved for future use."];replicaMode:ReplicaMode.toption[@ocaml.doc"Reserved for future use."]}letmake?interconnectSubnetId=fun?transitGatewayMulticastDomainId->fun?replicaMode->fun()->{interconnectSubnetId;transitGatewayMulticastDomainId;replicaMode}letto_valuex=structure_to_value[("InterconnectSubnetId",(Option.mapx.interconnectSubnetId~f:String_.to_value));("TransitGatewayMulticastDomainId",(Option.mapx.transitGatewayMulticastDomainId~f:String_.to_value));("ReplicaMode",(Option.mapx.replicaMode~f:ReplicaMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplicaMode=(Option.map~f:ReplicaMode.of_xml)(Xml.childxml_arg0"ReplicaMode")inlettransitGatewayMulticastDomainId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TransitGatewayMulticastDomainId")inletinterconnectSubnetId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"InterconnectSubnetId")inmake?replicaMode?transitGatewayMulticastDomainId?interconnectSubnetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplicaMode=field_mapjson__"ReplicaMode"ReplicaMode.of_jsoninlettransitGatewayMulticastDomainId=field_mapjson__"TransitGatewayMulticastDomainId"String_.of_jsoninletinterconnectSubnetId=field_mapjson__"InterconnectSubnetId"String_.of_jsoninmake?replicaMode?transitGatewayMulticastDomainId?interconnectSubnetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Reserved for future use."]moduleDBClusterMember=structtypenonrect={dBInstanceIdentifier:String_.toption[@ocaml.doc"Specifies the instance identifier for this member of the DB cluster."];isClusterWriter:Boolean.toption[@ocaml.doc"Indicates whether the cluster member is the primary DB instance for the DB cluster."];dBClusterParameterGroupStatus:String_.toption[@ocaml.doc"Specifies the status of the DB cluster parameter group for this member of the DB cluster."];promotionTier:IntegerOptional.toption[@ocaml.doc"A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide."]}letmake?dBInstanceIdentifier=fun?isClusterWriter->fun?dBClusterParameterGroupStatus->fun?promotionTier->fun()->{dBInstanceIdentifier;isClusterWriter;dBClusterParameterGroupStatus;promotionTier}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("IsClusterWriter",(Option.mapx.isClusterWriter~f:Boolean.to_value));("DBClusterParameterGroupStatus",(Option.mapx.dBClusterParameterGroupStatus~f:String_.to_value));("PromotionTier",(Option.mapx.promotionTier~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpromotionTier=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PromotionTier")inletdBClusterParameterGroupStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterParameterGroupStatus")inletisClusterWriter=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsClusterWriter")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inmake?promotionTier?dBClusterParameterGroupStatus?isClusterWriter?dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpromotionTier=field_mapjson__"PromotionTier"IntegerOptional.of_jsoninletdBClusterParameterGroupStatus=field_mapjson__"DBClusterParameterGroupStatus"String_.of_jsoninletisClusterWriter=field_mapjson__"IsClusterWriter"Boolean.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninmake?promotionTier?dBClusterParameterGroupStatus?isClusterWriter?dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an instance that is part of a DB cluster."]moduleDBClusterOptionGroupStatus=structtypenonrect={dBClusterOptionGroupName:String_.toption[@ocaml.doc"Specifies the name of the DB cluster option group."];status:String_.toption[@ocaml.doc"Specifies the status of the DB cluster option group."]}letmake?dBClusterOptionGroupName=fun?status->fun()->{dBClusterOptionGroupName;status}letto_valuex=structure_to_value[("DBClusterOptionGroupName",(Option.mapx.dBClusterOptionGroupName~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletdBClusterOptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterOptionGroupName")inmake?status?dBClusterOptionGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletdBClusterOptionGroupName=field_mapjson__"DBClusterOptionGroupName"String_.of_jsoninmake?status?dBClusterOptionGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains status information for a DB cluster option group."]moduleDBClusterRole=structtypenonrect={roleArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster."];status:String_.toption[@ocaml.doc"Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values: ACTIVE - the IAM role ARN is associated with the DB cluster and can be used to access other Amazon Web Services on your behalf. PENDING - the IAM role ARN is being associated with the DB cluster. INVALID - the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other Amazon Web Services on your behalf."];featureName:String_.toption[@ocaml.doc"The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion."]}letmake?roleArn=fun?status->fun?featureName->fun()->{roleArn;status;featureName}letto_valuex=structure_to_value[("RoleArn",(Option.mapx.roleArn~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("FeatureName",(Option.mapx.featureName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfeatureName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FeatureName")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletroleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RoleArn")inmake?featureName?status?roleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfeatureName=field_mapjson__"FeatureName"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletroleArn=field_mapjson__"RoleArn"String_.of_jsoninmake?featureName?status?roleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB cluster."]moduleDBClusterStatusInfo=structtypenonrect={statusType:String_.toption[@ocaml.doc"Reserved for future use."];normal:Boolean.toption[@ocaml.doc"Reserved for future use."];status:String_.toption[@ocaml.doc"Reserved for future use."];message:String_.toption[@ocaml.doc"Reserved for future use."]}letmake?statusType=fun?normal->fun?status->fun?message->fun()->{statusType;normal;status;message}letto_valuex=structure_to_value[("StatusType",(Option.mapx.statusType~f:String_.to_value));("Normal",(Option.mapx.normal~f:Boolean.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletnormal=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Normal")inletstatusType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatusType")inmake?message?status?normal?statusType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletnormal=field_mapjson__"Normal"Boolean.of_jsoninletstatusType=field_mapjson__"StatusType"String_.of_jsoninmake?message?status?normal?statusType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Reserved for future use."]moduleLimitlessDatabaseStatus=structtypenonrect=|Active|Not_in_use|Enabled|Disabled|Enabling|Disabling|Modifying_max_capacity|Error|Non_static_idofstringletmakei=iletto_string=function|Active->"active"|Not_in_use->"not-in-use"|Enabled->"enabled"|Disabled->"disabled"|Enabling->"enabling"|Disabling->"disabling"|Modifying_max_capacity->"modifying-max-capacity"|Error->"error"|Non_static_ids->sletof_string=function|"active"->Active|"not-in-use"->Not_in_use|"enabled"->Enabled|"disabled"->Disabled|"enabling"->Enabling|"disabling"->Disabling|"modifying-max-capacity"->Modifying_max_capacity|"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 LimitlessDatabaseStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LimitlessDatabaseStatus"j)letto_json=simple_to_jsonto_valueendmoduleMasterUserSecret=structtypenonrect={secretArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the secret."];secretStatus:String_.toption[@ocaml.doc"The status of the secret. The possible status values include the following: creating - The secret is being created. active - The secret is available for normal use and rotation. rotating - The secret is being rotated. impaired - The secret can be used to access database credentials, but it can't be rotated. A secret might have this status if, for example, permissions are changed so that RDS can no longer access either the secret or the KMS key for the secret. When a secret has this status, you can correct the condition that caused the status. Alternatively, modify the DB instance to turn off automatic management of database credentials, and then modify the DB instance again to turn on automatic management of database credentials."];kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier that is used to encrypt the secret."]}letmake?secretArn=fun?secretStatus->fun?kmsKeyId->fun()->{secretArn;secretStatus;kmsKeyId}letto_valuex=structure_to_value[("SecretArn",(Option.mapx.secretArn~f:String_.to_value));("SecretStatus",(Option.mapx.secretStatus~f:String_.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletsecretStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SecretStatus")inletsecretArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SecretArn")inmake?kmsKeyId?secretStatus?secretArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletsecretStatus=field_mapjson__"SecretStatus"String_.of_jsoninletsecretArn=field_mapjson__"SecretArn"String_.of_jsoninmake?kmsKeyId?secretStatus?secretArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide."]moduleTagList=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:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTenantDatabasePendingModifiedValues=structtypenonrect={masterUserPassword:SensitiveString.toption[@ocaml.doc"The master password for the tenant database."];tenantDBName:String_.toption[@ocaml.doc"The name of the tenant database."]}letmake?masterUserPassword=fun?tenantDBName->fun()->{masterUserPassword;tenantDBName}letto_valuex=structure_to_value[("MasterUserPassword",(Option.mapx.masterUserPassword~f:SensitiveString.to_value));("TenantDBName",(Option.mapx.tenantDBName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenantDBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDBName")inletmasterUserPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"MasterUserPassword")inmake?tenantDBName?masterUserPassword()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantDBName=field_mapjson__"TenantDBName"String_.of_jsoninletmasterUserPassword=field_mapjson__"MasterUserPassword"SensitiveString.of_jsoninmake?tenantDBName?masterUserPassword()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A response element in the ModifyTenantDatabase operation that describes changes that will be applied. Specific changes are identified by subelements."]moduleServerlessV2FeaturesSupport=structtypenonrect={minCapacity:DoubleOptional.toption[@ocaml.doc"If the minimum capacity is 0 ACUs, the engine version or platform version supports the automatic pause/resume feature of Aurora Serverless v2."];maxCapacity:DoubleOptional.toption[@ocaml.doc"Specifies the upper Aurora Serverless v2 capacity limit for a particular engine version or platform version. Depending on the engine version, the maximum capacity for an Aurora Serverless v2 cluster might be 256 or 128."]}letmake?minCapacity=fun?maxCapacity->fun()->{minCapacity;maxCapacity}letto_valuex=structure_to_value[("MinCapacity",(Option.mapx.minCapacity~f:DoubleOptional.to_value));("MaxCapacity",(Option.mapx.maxCapacity~f:DoubleOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxCapacity")inletminCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinCapacity")inmake?maxCapacity?minCapacity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxCapacity=field_mapjson__"MaxCapacity"DoubleOptional.of_jsoninletminCapacity=field_mapjson__"MinCapacity"DoubleOptional.of_jsoninmake?maxCapacity?minCapacity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies any Aurora Serverless v2 properties or limits that differ between Aurora engine versions and platform versions. You can test the values of this attribute when deciding which Aurora version to use in a new or upgraded DB cluster. You can also retrieve the version of an existing DB cluster and check whether that version supports certain Aurora Serverless v2 features before you attempt to use those features."]moduleRecurringChargeList=structtypenonrect=RecurringCharge.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RecurringCharge.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:RecurringCharge.of_xml)letof_jsonj=list_of_json~kind:"RecurringChargeList"~of_json:RecurringCharge.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetHealth=structtypenonrect={state:TargetState.toption[@ocaml.doc"The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target: registering > unavailable > available > unavailable > available"];reason:TargetHealthReason.toption[@ocaml.doc"The reason for the current health State of the RDS Proxy target."];description:String_.toption[@ocaml.doc"A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included."]}letmake?state=fun?reason->fun?description->fun()->{state;reason;description}letto_valuex=structure_to_value[("State",(Option.mapx.state~f:TargetState.to_value));("Reason",(Option.mapx.reason~f:TargetHealthReason.to_value));("Description",(Option.mapx.description~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletreason=(Option.map~f:TargetHealthReason.of_xml)(Xml.childxml_arg0"Reason")inletstate=(Option.map~f:TargetState.of_xml)(Xml.childxml_arg0"State")inmake?description?reason?state()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"String_.of_jsoninletreason=field_mapjson__"Reason"TargetHealthReason.of_jsoninletstate=field_mapjson__"State"TargetState.of_jsoninmake?description?reason?state()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the connection health of an RDS Proxy target."]moduleTargetRole=structtypenonrect=|READ_WRITE|READ_ONLY|UNKNOWN|Non_static_idofstringletmakei=iletto_string=function|READ_WRITE->"READ_WRITE"|READ_ONLY->"READ_ONLY"|UNKNOWN->"UNKNOWN"|Non_static_ids->sletof_string=function|"READ_WRITE"->READ_WRITE|"READ_ONLY"->READ_ONLY|"UNKNOWN"->UNKNOWN|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 TargetRole"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetRole"j)letto_json=simple_to_jsonto_valueendmoduleTargetType=structtypenonrect=|RDS_INSTANCE|RDS_SERVERLESS_ENDPOINT|TRACKED_CLUSTER|Non_static_idofstringletmakei=iletto_string=function|RDS_INSTANCE->"RDS_INSTANCE"|RDS_SERVERLESS_ENDPOINT->"RDS_SERVERLESS_ENDPOINT"|TRACKED_CLUSTER->"TRACKED_CLUSTER"|Non_static_ids->sletof_string=function|"RDS_INSTANCE"->RDS_INSTANCE|"RDS_SERVERLESS_ENDPOINT"->RDS_SERVERLESS_ENDPOINT|"TRACKED_CLUSTER"->TRACKED_CLUSTER|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 TargetType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetType"j)letto_json=simple_to_jsonto_valueendmodulePendingMaintenanceActionDetails=structtypenonrect=PendingMaintenanceAction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PendingMaintenanceAction.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:PendingMaintenanceAction.of_xml)letof_jsonj=list_of_json~kind:"PendingMaintenanceActionDetails"~of_json:PendingMaintenanceAction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleActivityStreamModeList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ActivityStreamModeList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAvailabilityZoneList=structtypenonrect=AvailabilityZone.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AvailabilityZone.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:AvailabilityZone.of_xml)letof_jsonj=list_of_json~kind:"AvailabilityZoneList"~of_json:AvailabilityZone.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAvailableAdditionalStorageVolumesOptionList=structtypenonrect=AvailableAdditionalStorageVolumesOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AvailableAdditionalStorageVolumesOption.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:AvailableAdditionalStorageVolumesOption.of_xml)letof_jsonj=list_of_json~kind:"AvailableAdditionalStorageVolumesOptionList"~of_json:AvailableAdditionalStorageVolumesOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAvailableProcessorFeatureList=structtypenonrect=AvailableProcessorFeature.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AvailableProcessorFeature.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:AvailableProcessorFeature.of_xml)letof_jsonj=list_of_json~kind:"AvailableProcessorFeatureList"~of_json:AvailableProcessorFeature.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionsList=structtypenonrect=Option_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Option_.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:Option_.of_xml)letof_jsonj=list_of_json~kind:"OptionsList"~of_json:Option_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupOptionSettingsList=structtypenonrect=OptionGroupOptionSetting.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionGroupOptionSetting.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:OptionGroupOptionSetting.of_xml)letof_jsonj=list_of_json~kind:"OptionGroupOptionSettingsList"~of_json:OptionGroupOptionSetting.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupOptionVersionsList=structtypenonrect=OptionVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionVersion.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:OptionVersion.of_xml)letof_jsonj=list_of_json~kind:"OptionGroupOptionVersionsList"~of_json:OptionVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionsConflictsWith=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"OptionsConflictsWith"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionsDependedOn=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"OptionsDependedOn"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSecurityGroupNameList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"DBSecurityGroupNameList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionSettingsList=structtypenonrect=OptionSetting.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionSetting.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:OptionSetting.of_xml)letof_jsonj=list_of_json~kind:"OptionSettingsList"~of_json:OptionSetting.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcSecurityGroupIdList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"VpcSecurityGroupIdList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSnapshotAttribute=structtypenonrect={attributeName:String_.toption[@ocaml.doc"The name of the manual DB snapshot attribute. The attribute named restore refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBSnapshotAttribute API action."];attributeValues:AttributeValueList.toption[@ocaml.doc"The value or values for the manual DB snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value of all is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore."]}letmake?attributeName=fun?attributeValues->fun()->{attributeName;attributeValues}letto_valuex=structure_to_value[("AttributeName",(Option.mapx.attributeName~f:String_.to_value));("AttributeValues",(Option.mapx.attributeValues~f:AttributeValueList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributeValues=(Option.map~f:AttributeValueList.of_xml)(Xml.childxml_arg0"AttributeValues")inletattributeName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AttributeName")inmake?attributeValues?attributeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributeValues=field_mapjson__"AttributeValues"AttributeValueList.of_jsoninletattributeName=field_mapjson__"AttributeName"String_.of_jsoninmake?attributeValues?attributeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the name and values of a manual DB snapshot attribute Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API."]moduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_string_mini~min:20));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Arn"jletto_json=simple_to_jsonto_valueendmoduleAuthUserName=structtypenonrect=stringletcontext_="AuthUserName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AuthUserName"jletto_json=simple_to_jsonto_valueendmoduleDescription=structtypenonrect=stringletcontext_="Description"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1000)>>=(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:"Description"jletto_json=simple_to_jsonto_valueendmoduleDBClusterSnapshotAttribute=structtypenonrect={attributeName:String_.toption[@ocaml.doc"The name of the manual DB cluster snapshot attribute. The attribute named restore refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action."];attributeValues:AttributeValueList.toption[@ocaml.doc"The value(s) for the manual DB cluster snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore."]}letmake?attributeName=fun?attributeValues->fun()->{attributeName;attributeValues}letto_valuex=structure_to_value[("AttributeName",(Option.mapx.attributeName~f:String_.to_value));("AttributeValues",(Option.mapx.attributeValues~f:AttributeValueList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributeValues=(Option.map~f:AttributeValueList.of_xml)(Xml.childxml_arg0"AttributeValues")inletattributeName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AttributeName")inmake?attributeValues?attributeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributeValues=field_mapjson__"AttributeValues"AttributeValueList.of_jsoninletattributeName=field_mapjson__"AttributeName"String_.of_jsoninmake?attributeValues?attributeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the name and values of a manual DB cluster snapshot attribute. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action."]moduleFilterValueList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"FilterValueList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFailoverState=structtypenonrect={status:FailoverStatus.toption[@ocaml.doc"The current status of the global cluster. Possible values are as follows: pending – The service received a request to switch over or fail over the global cluster. The global cluster's primary DB cluster and the specified secondary DB cluster are being verified before the operation starts. failing-over – Aurora is promoting the chosen secondary Aurora DB cluster to become the new primary DB cluster to fail over the global cluster. cancelling – The request to switch over or fail over the global cluster was cancelled and the primary Aurora DB cluster and the selected secondary Aurora DB cluster are returning to their previous states. switching-over – This status covers the range of Aurora internal operations that take place during the switchover process, such as demoting the primary Aurora DB cluster, promoting the secondary Aurora DB cluster, and synchronizing replicas."];fromDbClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being demoted, and which is associated with this state."];toDbClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being promoted, and which is associated with this state."];isDataLossAllowed:Boolean.toption[@ocaml.doc"Indicates whether the operation is a global switchover or a global failover. If data loss is allowed, then the operation is a global failover. Otherwise, it's a switchover."]}letmake?status=fun?fromDbClusterArn->fun?toDbClusterArn->fun?isDataLossAllowed->fun()->{status;fromDbClusterArn;toDbClusterArn;isDataLossAllowed}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:FailoverStatus.to_value));("FromDbClusterArn",(Option.mapx.fromDbClusterArn~f:String_.to_value));("ToDbClusterArn",(Option.mapx.toDbClusterArn~f:String_.to_value));("IsDataLossAllowed",(Option.mapx.isDataLossAllowed~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisDataLossAllowed=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsDataLossAllowed")inlettoDbClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ToDbClusterArn")inletfromDbClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FromDbClusterArn")inletstatus=(Option.map~f:FailoverStatus.of_xml)(Xml.childxml_arg0"Status")inmake?isDataLossAllowed?toDbClusterArn?fromDbClusterArn?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisDataLossAllowed=field_mapjson__"IsDataLossAllowed"Boolean.of_jsoninlettoDbClusterArn=field_mapjson__"ToDbClusterArn"String_.of_jsoninletfromDbClusterArn=field_mapjson__"FromDbClusterArn"String_.of_jsoninletstatus=field_mapjson__"Status"FailoverStatus.of_jsoninmake?isDataLossAllowed?toDbClusterArn?fromDbClusterArn?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the state of scheduled or in-process operations on a global cluster (Aurora global database). This data type is empty unless a switchover or failover operation is scheduled or is in progress on the Aurora global database."]moduleGlobalClusterIdentifier=structtypenonrect=stringletcontext_="GlobalClusterIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[A-Za-z][0-9A-Za-z-:._]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"GlobalClusterIdentifier"jletto_json=simple_to_jsonto_valueendmoduleGlobalClusterMemberList=structtypenonrect=GlobalClusterMember.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:GlobalClusterMember.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:GlobalClusterMember.of_xml)letof_jsonj=list_of_json~kind:"GlobalClusterMemberList"~of_json:GlobalClusterMember.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStorageEncryptionType=structtypenonrect=|None|Sse_kms|Sse_rds|Non_static_idofstringletmakei=iletto_string=function|None->"none"|Sse_kms->"sse-kms"|Sse_rds->"sse-rds"|Non_static_ids->sletof_string=function|"none"->None|"sse-kms"->Sse_kms|"sse-rds"->Sse_rds|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 StorageEncryptionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StorageEncryptionType"j)letto_json=simple_to_jsonto_valueendmoduleDBClusterNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBClusterIdentifier doesn't refer to an existing DB cluster."]moduleDBClusterSnapshotNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot."]moduleDBSnapshotNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBSnapshotIdentifier doesn't refer to an existing DB snapshot."]moduleExportSourceType=structtypenonrect=|SNAPSHOT|CLUSTER|Non_static_idofstringletmakei=iletto_string=function|SNAPSHOT->"SNAPSHOT"|CLUSTER->"CLUSTER"|Non_static_ids->sletof_string=function|"SNAPSHOT"->SNAPSHOT|"CLUSTER"->CLUSTER|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 ExportSourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExportSourceType"j)letto_json=simple_to_jsonto_valueendmoduleExportTaskAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't start an export task that's already running."]moduleExportTaskNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The export task doesn't exist."]moduleIamRoleMissingPermissionsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The IAM role requires additional permissions to export to an Amazon S3 bucket."]moduleIamRoleNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The IAM role is missing for exporting to an Amazon S3 bucket."]moduleInvalidExportOnlyFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The export is invalid for exporting to an Amazon S3 bucket."]moduleInvalidExportSourceStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The state of the export snapshot is invalid for exporting to an Amazon S3 bucket."]moduleInvalidExportTaskStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't cancel an export task that has completed."]moduleInvalidS3BucketFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and S3IngestionRoleArn values and try again."]moduleKMSKeyNotAccessibleFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error occurred accessing an Amazon Web Services KMS key."]moduleEventCategoriesList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"EventCategoriesList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSourceType=structtypenonrect=|Db_instance|Db_parameter_group|Db_security_group|Db_snapshot|Db_cluster|Db_cluster_snapshot|Custom_engine_version|Db_proxy|Blue_green_deployment|Db_shard_group|Zero_etl|Non_static_idofstringletmakei=iletto_string=function|Db_instance->"db-instance"|Db_parameter_group->"db-parameter-group"|Db_security_group->"db-security-group"|Db_snapshot->"db-snapshot"|Db_cluster->"db-cluster"|Db_cluster_snapshot->"db-cluster-snapshot"|Custom_engine_version->"custom-engine-version"|Db_proxy->"db-proxy"|Blue_green_deployment->"blue-green-deployment"|Db_shard_group->"db-shard-group"|Zero_etl->"zero-etl"|Non_static_ids->sletof_string=function|"db-instance"->Db_instance|"db-parameter-group"->Db_parameter_group|"db-security-group"->Db_security_group|"db-snapshot"->Db_snapshot|"db-cluster"->Db_cluster|"db-cluster-snapshot"->Db_cluster_snapshot|"custom-engine-version"->Custom_engine_version|"db-proxy"->Db_proxy|"blue-green-deployment"->Blue_green_deployment|"db-shard-group"->Db_shard_group|"zero-etl"->Zero_etl|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 SourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SourceType"j)letto_json=simple_to_jsonto_valueendmoduleSourceIdsList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"SourceIdsList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleValidVolumeOptionsList=structtypenonrect=ValidVolumeOptions.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ValidVolumeOptions.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:ValidVolumeOptions.of_xml)letof_jsonj=list_of_json~kind:"ValidVolumeOptionsList"~of_json:ValidVolumeOptions.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBInstanceNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBInstanceIdentifier doesn't refer to an existing DB instance."]moduleDataFilter=structtypenonrect=stringletcontext_="DataFilter"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:25600)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9_ \"\\\\\\-$,*.:?+\\/]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DataFilter"jletto_json=simple_to_jsonto_valueendmoduleEncryptionContextMap=structtypenonrect=(String_.t*String_.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((String_.of_stringchopped),(String_.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(String_.to_valuex)|>(funx->(String_.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:String_.of_string~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIntegrationAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The integration you are trying to create already exists."]moduleIntegrationArn=structtypenonrect=stringletcontext_="IntegrationArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"arn:aws[a-z\\-]*:rds(-[a-z]*)?:[a-z0-9\\-]*:[0-9]*:integration:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IntegrationArn"jletto_json=simple_to_jsonto_valueendmoduleIntegrationConflictOperationFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A conflicting conditional operation is currently in progress against this resource. Typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other."]moduleIntegrationDescription=structtypenonrect=stringletcontext_="IntegrationDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1000)>>=(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:"IntegrationDescription"jletto_json=simple_to_jsonto_valueendmoduleIntegrationErrorList=structtypenonrect=IntegrationError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IntegrationError.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:IntegrationError.of_xml)letof_jsonj=list_of_json~kind:"IntegrationErrorList"~of_json:IntegrationError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIntegrationName=structtypenonrect=stringletcontext_="IntegrationName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"IntegrationName"jletto_json=simple_to_jsonto_valueendmoduleIntegrationNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified integration could not be found."]moduleIntegrationQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't crate any more zero-ETL integrations because the quota has been reached."]moduleIntegrationStatus=structtypenonrect=|Creating|Active|Modifying|Failed|Deleting|Syncing|Needs_attention|Non_static_idofstringletmakei=iletto_string=function|Creating->"creating"|Active->"active"|Modifying->"modifying"|Failed->"failed"|Deleting->"deleting"|Syncing->"syncing"|Needs_attention->"needs_attention"|Non_static_ids->sletof_string=function|"creating"->Creating|"active"->Active|"modifying"->Modifying|"failed"->Failed|"deleting"->Deleting|"syncing"->Syncing|"needs_attention"->Needs_attention|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 IntegrationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IntegrationStatus"j)letto_json=simple_to_jsonto_valueendmoduleInvalidIntegrationStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The integration is in an invalid state and can't perform the requested operation."]moduleSourceArn=structtypenonrect=stringletcontext_="SourceArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"arn:aws[a-z\\-]*:rds(-[a-z]*)?:[a-z0-9\\-]*:[0-9]*:(cluster|db):[a-z][a-z0-9]*(-[a-z0-9]+)*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SourceArn"jletto_json=simple_to_jsonto_valueendmoduleParameter=structtypenonrect={parameterName:String_.toption[@ocaml.doc"The name of the parameter."];parameterValue:PotentiallySensitiveParameterValue.toption[@ocaml.doc"The value of the parameter."];description:String_.toption[@ocaml.doc"Provides a description of the parameter."];source:String_.toption[@ocaml.doc"The source of the parameter value."];applyType:String_.toption[@ocaml.doc"Specifies the engine specific parameters type."];dataType:String_.toption[@ocaml.doc"Specifies the valid data type for the parameter."];allowedValues:String_.toption[@ocaml.doc"Specifies the valid range of values for the parameter."];isModifiable:Boolean.toption[@ocaml.doc"Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed."];minimumEngineVersion:String_.toption[@ocaml.doc"The earliest engine version to which the parameter can apply."];applyMethod:ApplyMethod.toption[@ocaml.doc"Indicates when to apply parameter updates."];supportedEngineModes:EngineModeList.toption[@ocaml.doc"The valid DB engine modes."]}letmake?parameterName=fun?parameterValue->fun?description->fun?source->fun?applyType->fun?dataType->fun?allowedValues->fun?isModifiable->fun?minimumEngineVersion->fun?applyMethod->fun?supportedEngineModes->fun()->{parameterName;parameterValue;description;source;applyType;dataType;allowedValues;isModifiable;minimumEngineVersion;applyMethod;supportedEngineModes}letto_valuex=structure_to_value[("ParameterName",(Option.mapx.parameterName~f:String_.to_value));("ParameterValue",(Option.mapx.parameterValue~f:PotentiallySensitiveParameterValue.to_value));("Description",(Option.mapx.description~f:String_.to_value));("Source",(Option.mapx.source~f:String_.to_value));("ApplyType",(Option.mapx.applyType~f:String_.to_value));("DataType",(Option.mapx.dataType~f:String_.to_value));("AllowedValues",(Option.mapx.allowedValues~f:String_.to_value));("IsModifiable",(Option.mapx.isModifiable~f:Boolean.to_value));("MinimumEngineVersion",(Option.mapx.minimumEngineVersion~f:String_.to_value));("ApplyMethod",(Option.mapx.applyMethod~f:ApplyMethod.to_value));("SupportedEngineModes",(Option.mapx.supportedEngineModes~f:EngineModeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportedEngineModes=(Option.map~f:EngineModeList.of_xml)(Xml.childxml_arg0"SupportedEngineModes")inletapplyMethod=(Option.map~f:ApplyMethod.of_xml)(Xml.childxml_arg0"ApplyMethod")inletminimumEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MinimumEngineVersion")inletisModifiable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsModifiable")inletallowedValues=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AllowedValues")inletdataType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DataType")inletapplyType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ApplyType")inletsource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Source")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletparameterValue=(Option.map~f:PotentiallySensitiveParameterValue.of_xml)(Xml.childxml_arg0"ParameterValue")inletparameterName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ParameterName")inmake?supportedEngineModes?applyMethod?minimumEngineVersion?isModifiable?allowedValues?dataType?applyType?source?description?parameterValue?parameterName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportedEngineModes=field_mapjson__"SupportedEngineModes"EngineModeList.of_jsoninletapplyMethod=field_mapjson__"ApplyMethod"ApplyMethod.of_jsoninletminimumEngineVersion=field_mapjson__"MinimumEngineVersion"String_.of_jsoninletisModifiable=field_mapjson__"IsModifiable"Boolean.of_jsoninletallowedValues=field_mapjson__"AllowedValues"String_.of_jsoninletdataType=field_mapjson__"DataType"String_.of_jsoninletapplyType=field_mapjson__"ApplyType"String_.of_jsoninletsource=field_mapjson__"Source"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletparameterValue=field_mapjson__"ParameterValue"PotentiallySensitiveParameterValue.of_jsoninletparameterName=field_mapjson__"ParameterName"String_.of_jsoninmake?supportedEngineModes?applyMethod?minimumEngineVersion?isModifiable?allowedValues?dataType?applyType?source?description?parameterValue?parameterName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions. This data type is used as a response element in the DescribeEngineDefaultParameters and DescribeDBParameters actions."]moduleDBShardGroupAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region."]moduleDBShardGroupIdentifier=structtypenonrect=stringletcontext_="DBShardGroupIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"DBShardGroupIdentifier"jletto_json=simple_to_jsonto_valueendmoduleDBShardGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified DB shard group name wasn't found."]moduleInvalidDBClusterStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested operation can't be performed while the cluster is in this state."]moduleInvalidDBShardGroupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB shard group must be in the available state."]moduleInvalidVPCNetworkStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB subnet group doesn't cover all Availability Zones after it's created because of users' change."]moduleMaxDBShardGroupLimitReached=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached."]moduleNetworkTypeNotSupported=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The network type is invalid for the DB instance. Valid nework type values are IPV4 and DUAL."]moduleUnsupportedDBEngineVersionFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified DB engine version isn't supported for Aurora Limitless Database."]moduleConnectionPoolConfigurationInfo=structtypenonrect={maxConnectionsPercent:Integer.toption[@ocaml.doc"The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group."];maxIdleConnectionsPercent:Integer.toption[@ocaml.doc"Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database."];connectionBorrowTimeout:Integer.toption[@ocaml.doc"The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions."];sessionPinningFilters:StringList.toption[@ocaml.doc"Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. This setting is only supported for MySQL engine family databases. Currently, the only allowed value is EXCLUDE_VARIABLE_SETS."];initQuery:OperatorSensitiveString.toption[@ocaml.doc"One or more SQL statements for the proxy to run when opening each new database connection. The setting is typically used with SET statements to make sure that each connection has identical settings. The query added here must be valid. For including multiple variables in a single SET statement, use a comma separator. This is an optional field. For example: SET variable1=value1, variable2=value2 Since you can access initialization query as part of target group configuration, it is not protected by authentication or cryptographic methods. Anyone with access to view or manage your proxy target group configuration can view the initialization query. You should not add sensitive data, such as passwords or long-lived encryption keys, to this option."]}letmake?maxConnectionsPercent=fun?maxIdleConnectionsPercent->fun?connectionBorrowTimeout->fun?sessionPinningFilters->fun?initQuery->fun()->{maxConnectionsPercent;maxIdleConnectionsPercent;connectionBorrowTimeout;sessionPinningFilters;initQuery}letto_valuex=structure_to_value[("MaxConnectionsPercent",(Option.mapx.maxConnectionsPercent~f:Integer.to_value));("MaxIdleConnectionsPercent",(Option.mapx.maxIdleConnectionsPercent~f:Integer.to_value));("ConnectionBorrowTimeout",(Option.mapx.connectionBorrowTimeout~f:Integer.to_value));("SessionPinningFilters",(Option.mapx.sessionPinningFilters~f:StringList.to_value));("InitQuery",(Option.mapx.initQuery~f:OperatorSensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinitQuery=(Option.map~f:OperatorSensitiveString.of_xml)(Xml.childxml_arg0"InitQuery")inletsessionPinningFilters=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"SessionPinningFilters")inletconnectionBorrowTimeout=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"ConnectionBorrowTimeout")inletmaxIdleConnectionsPercent=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"MaxIdleConnectionsPercent")inletmaxConnectionsPercent=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"MaxConnectionsPercent")inmake?initQuery?sessionPinningFilters?connectionBorrowTimeout?maxIdleConnectionsPercent?maxConnectionsPercent()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinitQuery=field_mapjson__"InitQuery"OperatorSensitiveString.of_jsoninletsessionPinningFilters=field_mapjson__"SessionPinningFilters"StringList.of_jsoninletconnectionBorrowTimeout=field_mapjson__"ConnectionBorrowTimeout"Integer.of_jsoninletmaxIdleConnectionsPercent=field_mapjson__"MaxIdleConnectionsPercent"Integer.of_jsoninletmaxConnectionsPercent=field_mapjson__"MaxConnectionsPercent"Integer.of_jsoninmake?initQuery?sessionPinningFilters?connectionBorrowTimeout?maxIdleConnectionsPercent?maxConnectionsPercent()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Displays the settings that control the size and behavior of the connection pool associated with a DBProxyTarget."]moduleDBProxyEndpointStatus=structtypenonrect=|Available|Modifying|Incompatible_network|Insufficient_resource_limits|Creating|Deleting|Non_static_idofstringletmakei=iletto_string=function|Available->"available"|Modifying->"modifying"|Incompatible_network->"incompatible-network"|Insufficient_resource_limits->"insufficient-resource-limits"|Creating->"creating"|Deleting->"deleting"|Non_static_ids->sletof_string=function|"available"->Available|"modifying"->Modifying|"incompatible-network"->Incompatible_network|"insufficient-resource-limits"->Insufficient_resource_limits|"creating"->Creating|"deleting"->Deleting|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DBProxyEndpointStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DBProxyEndpointStatus"j)letto_json=simple_to_jsonto_valueendmoduleDBProxyEndpointTargetRole=structtypenonrect=|READ_WRITE|READ_ONLY|Non_static_idofstringletmakei=iletto_string=function|READ_WRITE->"READ_WRITE"|READ_ONLY->"READ_ONLY"|Non_static_ids->sletof_string=function|"READ_WRITE"->READ_WRITE|"READ_ONLY"->READ_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 DBProxyEndpointTargetRole"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DBProxyEndpointTargetRole"j)letto_json=simple_to_jsonto_valueendmoduleEndpointNetworkType=structtypenonrect=|IPV4|IPV6|DUAL|Non_static_idofstringletmakei=iletto_string=function|IPV4->"IPV4"|IPV6->"IPV6"|DUAL->"DUAL"|Non_static_ids->sletof_string=function|"IPV4"->IPV4|"IPV6"->IPV6|"DUAL"->DUAL|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 EndpointNetworkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EndpointNetworkType"j)letto_json=simple_to_jsonto_valueendmoduleDBProxyStatus=structtypenonrect=|Available|Modifying|Incompatible_network|Insufficient_resource_limits|Creating|Deleting|Suspended|Suspending|Reactivating|Non_static_idofstringletmakei=iletto_string=function|Available->"available"|Modifying->"modifying"|Incompatible_network->"incompatible-network"|Insufficient_resource_limits->"insufficient-resource-limits"|Creating->"creating"|Deleting->"deleting"|Suspended->"suspended"|Suspending->"suspending"|Reactivating->"reactivating"|Non_static_ids->sletof_string=function|"available"->Available|"modifying"->Modifying|"incompatible-network"->Incompatible_network|"insufficient-resource-limits"->Insufficient_resource_limits|"creating"->Creating|"deleting"->Deleting|"suspended"->Suspended|"suspending"->Suspending|"reactivating"->Reactivating|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 DBProxyStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DBProxyStatus"j)letto_json=simple_to_jsonto_valueendmoduleTargetConnectionNetworkType=structtypenonrect=|IPV4|IPV6|Non_static_idofstringletmakei=iletto_string=function|IPV4->"IPV4"|IPV6->"IPV6"|Non_static_ids->sletof_string=function|"IPV4"->IPV4|"IPV6"->IPV6|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 TargetConnectionNetworkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetConnectionNetworkType"j)letto_json=simple_to_jsonto_valueendmoduleUserAuthConfigInfoList=structtypenonrect=UserAuthConfigInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UserAuthConfigInfo.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:UserAuthConfigInfo.of_xml)letof_jsonj=list_of_json~kind:"UserAuthConfigInfoList"~of_json:UserAuthConfigInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSupportedEngineLifecycleList=structtypenonrect=SupportedEngineLifecycle.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SupportedEngineLifecycle.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:SupportedEngineLifecycle.of_xml)letof_jsonj=list_of_json~kind:"SupportedEngineLifecycleList"~of_json:SupportedEngineLifecycle.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLong=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentIdentifier=structtypenonrect=stringletcontext_="BlueGreenDeploymentIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[A-Za-z][0-9A-Za-z-:._]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BlueGreenDeploymentIdentifier"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentName=structtypenonrect=stringletcontext_="BlueGreenDeploymentName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:60)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"BlueGreenDeploymentName"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentStatus=structtypenonrect=stringletcontext_="BlueGreenDeploymentStatus"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:"BlueGreenDeploymentStatus"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentStatusDetails=structtypenonrect=stringletcontext_="BlueGreenDeploymentStatusDetails"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:"BlueGreenDeploymentStatusDetails"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentTaskList=structtypenonrect=BlueGreenDeploymentTask.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlueGreenDeploymentTask.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:BlueGreenDeploymentTask.of_xml)letof_jsonj=list_of_json~kind:"BlueGreenDeploymentTaskList"~of_json:BlueGreenDeploymentTask.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSwitchoverDetailList=structtypenonrect=SwitchoverDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SwitchoverDetail.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:SwitchoverDetail.of_xml)letof_jsonj=list_of_json~kind:"SwitchoverDetailList"~of_json:SwitchoverDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEC2SecurityGroupList=structtypenonrect=EC2SecurityGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EC2SecurityGroup.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:EC2SecurityGroup.of_xml)letof_jsonj=list_of_json~kind:"EC2SecurityGroupList"~of_json:EC2SecurityGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIPRangeList=structtypenonrect=IPRange.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IPRange.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:IPRange.of_xml)letof_jsonj=list_of_json~kind:"IPRangeList"~of_json:IPRange.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDocLinkList=structtypenonrect=DocLink.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DocLink.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:DocLink.of_xml)letof_jsonj=list_of_json~kind:"DocLinkList"~of_json:DocLink.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRecommendedActionList=structtypenonrect=RecommendedAction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RecommendedAction.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:RecommendedAction.of_xml)letof_jsonj=list_of_json~kind:"RecommendedActionList"~of_json:RecommendedAction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleActivityStreamMode=structtypenonrect=|Sync|Async|Non_static_idofstringletmakei=iletto_string=function|Sync->"sync"|Async->"async"|Non_static_ids->sletof_string=function|"sync"->Sync|"async"->Async|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 ActivityStreamMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ActivityStreamMode"j)letto_json=simple_to_jsonto_valueendmoduleActivityStreamPolicyStatus=structtypenonrect=|Locked|Unlocked|Locking_policy|Unlocking_policy|Non_static_idofstringletmakei=iletto_string=function|Locked->"locked"|Unlocked->"unlocked"|Locking_policy->"locking-policy"|Unlocking_policy->"unlocking-policy"|Non_static_ids->sletof_string=function|"locked"->Locked|"unlocked"->Unlocked|"locking-policy"->Locking_policy|"unlocking-policy"->Unlocking_policy|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 ActivityStreamPolicyStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ActivityStreamPolicyStatus"j)letto_json=simple_to_jsonto_valueendmoduleActivityStreamStatus=structtypenonrect=|Stopped|Starting|Started|Stopping|Non_static_idofstringletmakei=iletto_string=function|Stopped->"stopped"|Starting->"starting"|Started->"started"|Stopping->"stopping"|Non_static_ids->sletof_string=function|"stopped"->Stopped|"starting"->Starting|"started"->Started|"stopping"->Stopping|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ActivityStreamStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ActivityStreamStatus"j)letto_json=simple_to_jsonto_valueendmoduleAdditionalStorageVolumesOutputList=structtypenonrect=AdditionalStorageVolumeOutput.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AdditionalStorageVolumeOutput.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:AdditionalStorageVolumeOutput.of_xml)letof_jsonj=list_of_json~kind:"AdditionalStorageVolumesOutputList"~of_json:AdditionalStorageVolumeOutput.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBInstanceAutomatedBackupsReplicationList=structtypenonrect=DBInstanceAutomatedBackupsReplication.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBInstanceAutomatedBackupsReplication.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:DBInstanceAutomatedBackupsReplication.of_xml)letof_jsonj=list_of_json~kind:"DBInstanceAutomatedBackupsReplicationList"~of_json:DBInstanceAutomatedBackupsReplication.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBInstanceRoles=structtypenonrect=DBInstanceRole.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBInstanceRole.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:DBInstanceRole.of_xml)letof_jsonj=list_of_json~kind:"DBInstanceRoles"~of_json:DBInstanceRole.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBInstanceStatusInfoList=structtypenonrect=DBInstanceStatusInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBInstanceStatusInfo.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:DBInstanceStatusInfo.of_xml)letof_jsonj=list_of_json~kind:"DBInstanceStatusInfoList"~of_json:DBInstanceStatusInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBParameterGroupStatusList=structtypenonrect=DBParameterGroupStatus.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBParameterGroupStatus.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:DBParameterGroupStatus.of_xml)letof_jsonj=list_of_json~kind:"DBParameterGroupStatusList"~of_json:DBParameterGroupStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSubnetGroup=structtypenonrect={dBSubnetGroupName:String_.toption[@ocaml.doc"The name of the DB subnet group."];dBSubnetGroupDescription:String_.toption[@ocaml.doc"Provides the description of the DB subnet group."];vpcId:String_.toption[@ocaml.doc"Provides the VpcId of the DB subnet group."];subnetGroupStatus:String_.toption[@ocaml.doc"Provides the status of the DB subnet group."];subnets:SubnetList.toption[@ocaml.doc"Contains a list of Subnet elements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly."];dBSubnetGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB subnet group."];supportedNetworkTypes:StringList.toption[@ocaml.doc"The network type of the DB subnet group. Valid values: IPV4 DUAL A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide."]}letmake?dBSubnetGroupName=fun?dBSubnetGroupDescription->fun?vpcId->fun?subnetGroupStatus->fun?subnets->fun?dBSubnetGroupArn->fun?supportedNetworkTypes->fun()->{dBSubnetGroupName;dBSubnetGroupDescription;vpcId;subnetGroupStatus;subnets;dBSubnetGroupArn;supportedNetworkTypes}letto_valuex=structure_to_value[("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("DBSubnetGroupDescription",(Option.mapx.dBSubnetGroupDescription~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("SubnetGroupStatus",(Option.mapx.subnetGroupStatus~f:String_.to_value));("Subnets",(Option.mapx.subnets~f:SubnetList.to_value));("DBSubnetGroupArn",(Option.mapx.dBSubnetGroupArn~f:String_.to_value));("SupportedNetworkTypes",(Option.mapx.supportedNetworkTypes~f:StringList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportedNetworkTypes=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"SupportedNetworkTypes")inletdBSubnetGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupArn")inletsubnets=(Option.map~f:SubnetList.of_xml)(Xml.childxml_arg0"Subnets")inletsubnetGroupStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SubnetGroupStatus")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletdBSubnetGroupDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupDescription")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inmake?supportedNetworkTypes?dBSubnetGroupArn?subnets?subnetGroupStatus?vpcId?dBSubnetGroupDescription?dBSubnetGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportedNetworkTypes=field_mapjson__"SupportedNetworkTypes"StringList.of_jsoninletdBSubnetGroupArn=field_mapjson__"DBSubnetGroupArn"String_.of_jsoninletsubnets=field_mapjson__"Subnets"SubnetList.of_jsoninletsubnetGroupStatus=field_mapjson__"SubnetGroupStatus"String_.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletdBSubnetGroupDescription=field_mapjson__"DBSubnetGroupDescription"String_.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninmake?supportedNetworkTypes?dBSubnetGroupArn?subnets?subnetGroupStatus?vpcId?dBSubnetGroupDescription?dBSubnetGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon RDS DB subnet group. This data type is used as a response element in the DescribeDBSubnetGroups action."]moduleDatabaseInsightsMode=structtypenonrect=|Standard|Advanced|Non_static_idofstringletmakei=iletto_string=function|Standard->"standard"|Advanced->"advanced"|Non_static_ids->sletof_string=function|"standard"->Standard|"advanced"->Advanced|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 DatabaseInsightsMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DatabaseInsightsMode"j)letto_json=simple_to_jsonto_valueendmoduleDomainMembershipList=structtypenonrect=DomainMembership.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DomainMembership.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:DomainMembership.of_xml)letof_jsonj=list_of_json~kind:"DomainMembershipList"~of_json:DomainMembership.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEndpoint=structtypenonrect={address:String_.toption[@ocaml.doc"Specifies the DNS address of the DB instance."];port:Integer.toption[@ocaml.doc"Specifies the port that the database engine is listening on."];hostedZoneId:String_.toption[@ocaml.doc"Specifies the ID that Amazon Route 53 assigns when you create a hosted zone."]}letmake?address=fun?port->fun?hostedZoneId->fun()->{address;port;hostedZoneId}letto_valuex=structure_to_value[("Address",(Option.mapx.address~f:String_.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("HostedZoneId",(Option.mapx.hostedZoneId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethostedZoneId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"HostedZoneId")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletaddress=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Address")inmake?hostedZoneId?port?address()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethostedZoneId=field_mapjson__"HostedZoneId"String_.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletaddress=field_mapjson__"Address"String_.of_jsoninmake?hostedZoneId?port?address()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions: CreateDBInstance DescribeDBInstances DeleteDBInstance For the data structure that represents Amazon Aurora DB cluster endpoints, see DBClusterEndpoint."]moduleOptionGroupMembershipList=structtypenonrect=OptionGroupMembership.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionGroupMembership.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:OptionGroupMembership.of_xml)letof_jsonj=list_of_json~kind:"OptionGroupMembershipList"~of_json:OptionGroupMembership.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePendingModifiedValues=structtypenonrect={dBInstanceClass:String_.toption[@ocaml.doc"The name of the compute and memory capacity class for the DB instance."];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The allocated storage size for the DB instance specified in gibibytes (GiB)."];masterUserPassword:SensitiveString.toption[@ocaml.doc"The master credentials for the DB instance."];port:IntegerOptional.toption[@ocaml.doc"The port for the DB instance."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automated backups are retained."];multiAZ:BooleanOptional.toption[@ocaml.doc"Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment."];engineVersion:String_.toption[@ocaml.doc"The database engine version."];licenseModel:String_.toption[@ocaml.doc"The license model for the DB instance. Valid values: license-included | bring-your-own-license | general-public-license"];iops:IntegerOptional.toption[@ocaml.doc"The Provisioned IOPS value for the DB instance."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput of the DB instance."];dBInstanceIdentifier:String_.toption[@ocaml.doc"The database identifier for the DB instance."];storageType:String_.toption[@ocaml.doc"The storage type of the DB instance."];cACertificateIdentifier:String_.toption[@ocaml.doc"The identifier of the CA certificate for the DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];dBSubnetGroupName:String_.toption[@ocaml.doc"The DB subnet group for the DB instance."];pendingCloudwatchLogsExports:PendingCloudwatchLogsExports.toption;processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance."];automationMode:AutomationMode.toption[@ocaml.doc"The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes."];resumeFullAutomationModeTime:TStamp.toption[@ocaml.doc"The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440."];multiTenant:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE)."];iAMDatabaseAuthenticationEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];dedicatedLogVolume:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB instance has a dedicated log volume (DLV) enabled.>"];engine:String_.toption[@ocaml.doc"The database engine of the DB instance."];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"The additional storage volume modifications that are pending for the DB instance."]}letmake?dBInstanceClass=fun?allocatedStorage->fun?masterUserPassword->fun?port->fun?backupRetentionPeriod->fun?multiAZ->fun?engineVersion->fun?licenseModel->fun?iops->fun?storageThroughput->fun?dBInstanceIdentifier->fun?storageType->fun?cACertificateIdentifier->fun?dBSubnetGroupName->fun?pendingCloudwatchLogsExports->fun?processorFeatures->fun?automationMode->fun?resumeFullAutomationModeTime->fun?multiTenant->fun?iAMDatabaseAuthenticationEnabled->fun?dedicatedLogVolume->fun?engine->fun?additionalStorageVolumes->fun()->{dBInstanceClass;allocatedStorage;masterUserPassword;port;backupRetentionPeriod;multiAZ;engineVersion;licenseModel;iops;storageThroughput;dBInstanceIdentifier;storageType;cACertificateIdentifier;dBSubnetGroupName;pendingCloudwatchLogsExports;processorFeatures;automationMode;resumeFullAutomationModeTime;multiTenant;iAMDatabaseAuthenticationEnabled;dedicatedLogVolume;engine;additionalStorageVolumes}letto_valuex=structure_to_value[("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("MasterUserPassword",(Option.mapx.masterUserPassword~f:SensitiveString.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("MultiAZ",(Option.mapx.multiAZ~f:BooleanOptional.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("CACertificateIdentifier",(Option.mapx.cACertificateIdentifier~f:String_.to_value));("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("PendingCloudwatchLogsExports",(Option.mapx.pendingCloudwatchLogsExports~f:PendingCloudwatchLogsExports.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("AutomationMode",(Option.mapx.automationMode~f:AutomationMode.to_value));("ResumeFullAutomationModeTime",(Option.mapx.resumeFullAutomationModeTime~f:TStamp.to_value));("MultiTenant",(Option.mapx.multiTenant~f:BooleanOptional.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:BooleanOptional.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:BooleanOptional.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletdedicatedLogVolume=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inletmultiTenant=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiTenant")inletresumeFullAutomationModeTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ResumeFullAutomationModeTime")inletautomationMode=(Option.map~f:AutomationMode.of_xml)(Xml.childxml_arg0"AutomationMode")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletpendingCloudwatchLogsExports=(Option.map~f:PendingCloudwatchLogsExports.of_xml)(Xml.childxml_arg0"PendingCloudwatchLogsExports")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inletcACertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CACertificateIdentifier")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmultiAZ=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiAZ")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletmasterUserPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"MasterUserPassword")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inmake?additionalStorageVolumes?engine?dedicatedLogVolume?iAMDatabaseAuthenticationEnabled?multiTenant?resumeFullAutomationModeTime?automationMode?processorFeatures?pendingCloudwatchLogsExports?dBSubnetGroupName?cACertificateIdentifier?storageType?dBInstanceIdentifier?storageThroughput?iops?licenseModel?engineVersion?multiAZ?backupRetentionPeriod?port?masterUserPassword?allocatedStorage?dBInstanceClass()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"BooleanOptional.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"BooleanOptional.of_jsoninletmultiTenant=field_mapjson__"MultiTenant"BooleanOptional.of_jsoninletresumeFullAutomationModeTime=field_mapjson__"ResumeFullAutomationModeTime"TStamp.of_jsoninletautomationMode=field_mapjson__"AutomationMode"AutomationMode.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletpendingCloudwatchLogsExports=field_mapjson__"PendingCloudwatchLogsExports"PendingCloudwatchLogsExports.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninletcACertificateIdentifier=field_mapjson__"CACertificateIdentifier"String_.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"BooleanOptional.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletmasterUserPassword=field_mapjson__"MasterUserPassword"SensitiveString.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninmake?additionalStorageVolumes?engine?dedicatedLogVolume?iAMDatabaseAuthenticationEnabled?multiTenant?resumeFullAutomationModeTime?automationMode?processorFeatures?pendingCloudwatchLogsExports?dBSubnetGroupName?cACertificateIdentifier?storageType?dBInstanceIdentifier?storageThroughput?iops?licenseModel?engineVersion?multiAZ?backupRetentionPeriod?port?masterUserPassword?allocatedStorage?dBInstanceClass()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the ModifyDBInstance operation and contains changes that will be applied during the next maintenance window."]moduleReadReplicaDBClusterIdentifierList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ReadReplicaDBClusterIdentifierList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReadReplicaDBInstanceIdentifierList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ReadReplicaDBInstanceIdentifierList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpgradeRolloutOrder=structtypenonrect=|First|Second|Last|Non_static_idofstringletmakei=iletto_string=function|First->"first"|Second->"second"|Last->"last"|Non_static_ids->sletof_string=function|"first"->First|"second"->Second|"last"->Last|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 UpgradeRolloutOrder"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"UpgradeRolloutOrder"j)letto_json=simple_to_jsonto_valueendmoduleRestoreWindow=structtypenonrect={earliestTime:TStamp.toption[@ocaml.doc"The earliest time you can restore an instance to."];latestTime:TStamp.toption[@ocaml.doc"The latest time you can restore an instance to."]}letmake?earliestTime=fun?latestTime->fun()->{earliestTime;latestTime}letto_valuex=structure_to_value[("EarliestTime",(Option.mapx.earliestTime~f:TStamp.to_value));("LatestTime",(Option.mapx.latestTime~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlatestTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"LatestTime")inletearliestTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"EarliestTime")inmake?latestTime?earliestTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlatestTime=field_mapjson__"LatestTime"TStamp.of_jsoninletearliestTime=field_mapjson__"EarliestTime"TStamp.of_jsoninmake?latestTime?earliestTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Earliest and latest time an instance can be restored to:"]moduleCACertificateIdentifiersList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"CACertificateIdentifiersList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCreateCustomDBEngineVersionFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error occurred while trying to create the CEV."]moduleCustomDBEngineVersionAMI=structtypenonrect={imageId:String_.toption[@ocaml.doc"A value that indicates the ID of the AMI."];status:String_.toption[@ocaml.doc"A value that indicates the status of a custom engine version (CEV)."]}letmake?imageId=fun?status->fun()->{imageId;status}letto_valuex=structure_to_value[("ImageId",(Option.mapx.imageId~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletimageId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ImageId")inmake?status?imageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletimageId=field_mapjson__"ImageId"String_.of_jsoninmake?status?imageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A value that indicates the AMI information."]moduleCustomDBEngineVersionAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A CEV with the specified name already exists."]moduleCustomDBEngineVersionManifest=structtypenonrect=stringletcontext_="CustomDBEngineVersionManifest"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:51000)>>=(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:"CustomDBEngineVersionManifest"jletto_json=simple_to_jsonto_valueendmoduleCustomDBEngineVersionNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified CEV was not found."]moduleCustomDBEngineVersionQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have exceeded your CEV quota."]moduleEc2ImagePropertiesNotSupportedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The AMI configuration prerequisite has not been met."]moduleFeatureNameList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"FeatureNameList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidCustomDBEngineVersionStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't delete the CEV."]moduleSupportedCharacterSetsList=structtypenonrect=CharacterSet.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CharacterSet.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:CharacterSet.of_xml)letof_jsonj=list_of_json~kind:"SupportedCharacterSetsList"~of_json:CharacterSet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSupportedTimezonesList=structtypenonrect=Timezone.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Timezone.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:Timezone.of_xml)letof_jsonj=list_of_json~kind:"SupportedTimezonesList"~of_json:Timezone.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleValidUpgradeTargetList=structtypenonrect=UpgradeTarget.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UpgradeTarget.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:UpgradeTarget.of_xml)letof_jsonj=list_of_json~kind:"ValidUpgradeTargetList"~of_json:UpgradeTarget.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAvailabilityZones=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"AvailabilityZones"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleClusterPendingModifiedValues=structtypenonrect={pendingCloudwatchLogsExports:PendingCloudwatchLogsExports.toption;dBClusterIdentifier:String_.toption[@ocaml.doc"The DBClusterIdentifier value for the DB cluster."];masterUserPassword:SensitiveString.toption[@ocaml.doc"The master credentials for the DB cluster."];iAMDatabaseAuthenticationEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];engineVersion:String_.toption[@ocaml.doc"The database engine version."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automatic DB snapshots are retained."];storageType:String_.toption[@ocaml.doc"The storage type for the DB cluster."];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The allocated storage size in gibibytes (GiB) for all database engines except Amazon Aurora. For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed."];rdsCustomClusterConfiguration:RdsCustomClusterConfiguration.toption[@ocaml.doc"Reserved for future use."];iops:IntegerOptional.toption[@ocaml.doc"The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters."];certificateDetails:CertificateDetails.toption}letmake?pendingCloudwatchLogsExports=fun?dBClusterIdentifier->fun?masterUserPassword->fun?iAMDatabaseAuthenticationEnabled->fun?engineVersion->fun?backupRetentionPeriod->fun?storageType->fun?allocatedStorage->fun?rdsCustomClusterConfiguration->fun?iops->fun?certificateDetails->fun()->{pendingCloudwatchLogsExports;dBClusterIdentifier;masterUserPassword;iAMDatabaseAuthenticationEnabled;engineVersion;backupRetentionPeriod;storageType;allocatedStorage;rdsCustomClusterConfiguration;iops;certificateDetails}letto_valuex=structure_to_value[("PendingCloudwatchLogsExports",(Option.mapx.pendingCloudwatchLogsExports~f:PendingCloudwatchLogsExports.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("MasterUserPassword",(Option.mapx.masterUserPassword~f:SensitiveString.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:BooleanOptional.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("RdsCustomClusterConfiguration",(Option.mapx.rdsCustomClusterConfiguration~f:RdsCustomClusterConfiguration.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("CertificateDetails",(Option.mapx.certificateDetails~f:CertificateDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcertificateDetails=(Option.map~f:CertificateDetails.of_xml)(Xml.childxml_arg0"CertificateDetails")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletrdsCustomClusterConfiguration=(Option.map~f:RdsCustomClusterConfiguration.of_xml)(Xml.childxml_arg0"RdsCustomClusterConfiguration")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inletmasterUserPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"MasterUserPassword")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletpendingCloudwatchLogsExports=(Option.map~f:PendingCloudwatchLogsExports.of_xml)(Xml.childxml_arg0"PendingCloudwatchLogsExports")inmake?certificateDetails?iops?rdsCustomClusterConfiguration?allocatedStorage?storageType?backupRetentionPeriod?engineVersion?iAMDatabaseAuthenticationEnabled?masterUserPassword?dBClusterIdentifier?pendingCloudwatchLogsExports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcertificateDetails=field_mapjson__"CertificateDetails"CertificateDetails.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletrdsCustomClusterConfiguration=field_mapjson__"RdsCustomClusterConfiguration"RdsCustomClusterConfiguration.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"BooleanOptional.of_jsoninletmasterUserPassword=field_mapjson__"MasterUserPassword"SensitiveString.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletpendingCloudwatchLogsExports=field_mapjson__"PendingCloudwatchLogsExports"PendingCloudwatchLogsExports.of_jsoninmake?certificateDetails?iops?rdsCustomClusterConfiguration?allocatedStorage?storageType?backupRetentionPeriod?engineVersion?iAMDatabaseAuthenticationEnabled?masterUserPassword?dBClusterIdentifier?pendingCloudwatchLogsExports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the ModifyDBCluster operation and contains changes that will be applied during the next maintenance window."]moduleClusterScalabilityType=structtypenonrect=|Standard|Limitless|Non_static_idofstringletmakei=iletto_string=function|Standard->"standard"|Limitless->"limitless"|Non_static_ids->sletof_string=function|"standard"->Standard|"limitless"->Limitless|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 ClusterScalabilityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ClusterScalabilityType"j)letto_json=simple_to_jsonto_valueendmoduleDBClusterMemberList=structtypenonrect=DBClusterMember.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterMember.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:DBClusterMember.of_xml)letof_jsonj=list_of_json~kind:"DBClusterMemberList"~of_json:DBClusterMember.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterOptionGroupMemberships=structtypenonrect=DBClusterOptionGroupStatus.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterOptionGroupStatus.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:DBClusterOptionGroupStatus.of_xml)letof_jsonj=list_of_json~kind:"DBClusterOptionGroupMemberships"~of_json:DBClusterOptionGroupStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterRoles=structtypenonrect=DBClusterRole.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterRole.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:DBClusterRole.of_xml)letof_jsonj=list_of_json~kind:"DBClusterRoles"~of_json:DBClusterRole.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterStatusInfoList=structtypenonrect=DBClusterStatusInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterStatusInfo.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:DBClusterStatusInfo.of_xml)letof_jsonj=list_of_json~kind:"DBClusterStatusInfoList"~of_json:DBClusterStatusInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLimitlessDatabase=structtypenonrect={status:LimitlessDatabaseStatus.toption[@ocaml.doc"The status of Aurora Limitless Database."];minRequiredACU:DoubleOptional.toption[@ocaml.doc"The minimum required capacity for Aurora Limitless Database in Aurora capacity units (ACUs)."]}letmake?status=fun?minRequiredACU->fun()->{status;minRequiredACU}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:LimitlessDatabaseStatus.to_value));("MinRequiredACU",(Option.mapx.minRequiredACU~f:DoubleOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letminRequiredACU=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinRequiredACU")inletstatus=(Option.map~f:LimitlessDatabaseStatus.of_xml)(Xml.childxml_arg0"Status")inmake?minRequiredACU?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letminRequiredACU=field_mapjson__"MinRequiredACU"DoubleOptional.of_jsoninletstatus=field_mapjson__"Status"LimitlessDatabaseStatus.of_jsoninmake?minRequiredACU?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains details for Aurora Limitless Database."]moduleLocalWriteForwardingStatus=structtypenonrect=|Enabled|Disabled|Enabling|Disabling|Requested|Non_static_idofstringletmakei=iletto_string=function|Enabled->"enabled"|Disabled->"disabled"|Enabling->"enabling"|Disabling->"disabling"|Requested->"requested"|Non_static_ids->sletof_string=function|"enabled"->Enabled|"disabled"->Disabled|"enabling"->Enabling|"disabling"->Disabling|"requested"->Requested|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 LocalWriteForwardingStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LocalWriteForwardingStatus"j)letto_json=simple_to_jsonto_valueendmoduleLongOptional=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleReadReplicaIdentifierList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"ReadReplicaIdentifierList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleScalingConfigurationInfo=structtypenonrect={minCapacity:IntegerOptional.toption[@ocaml.doc"The minimum capacity for an Aurora DB cluster in serverless DB engine mode."];maxCapacity:IntegerOptional.toption[@ocaml.doc"The maximum capacity for an Aurora DB cluster in serverless DB engine mode."];autoPause:BooleanOptional.toption[@ocaml.doc"Indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB engine mode. When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes."];secondsUntilAutoPause:IntegerOptional.toption[@ocaml.doc"The remaining amount of time, in seconds, before the Aurora DB cluster in serverless mode is paused. A DB cluster can be paused only when it's idle (it has no connections)."];timeoutAction:String_.toption[@ocaml.doc"The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible. RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout period."];secondsBeforeTimeout:IntegerOptional.toption[@ocaml.doc"The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the TimeoutAction setting."]}letmake?minCapacity=fun?maxCapacity->fun?autoPause->fun?secondsUntilAutoPause->fun?timeoutAction->fun?secondsBeforeTimeout->fun()->{minCapacity;maxCapacity;autoPause;secondsUntilAutoPause;timeoutAction;secondsBeforeTimeout}letto_valuex=structure_to_value[("MinCapacity",(Option.mapx.minCapacity~f:IntegerOptional.to_value));("MaxCapacity",(Option.mapx.maxCapacity~f:IntegerOptional.to_value));("AutoPause",(Option.mapx.autoPause~f:BooleanOptional.to_value));("SecondsUntilAutoPause",(Option.mapx.secondsUntilAutoPause~f:IntegerOptional.to_value));("TimeoutAction",(Option.mapx.timeoutAction~f:String_.to_value));("SecondsBeforeTimeout",(Option.mapx.secondsBeforeTimeout~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondsBeforeTimeout=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsBeforeTimeout")inlettimeoutAction=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TimeoutAction")inletsecondsUntilAutoPause=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsUntilAutoPause")inletautoPause=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"AutoPause")inletmaxCapacity=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxCapacity")inletminCapacity=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinCapacity")inmake?secondsBeforeTimeout?timeoutAction?secondsUntilAutoPause?autoPause?maxCapacity?minCapacity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondsBeforeTimeout=field_mapjson__"SecondsBeforeTimeout"IntegerOptional.of_jsoninlettimeoutAction=field_mapjson__"TimeoutAction"String_.of_jsoninletsecondsUntilAutoPause=field_mapjson__"SecondsUntilAutoPause"IntegerOptional.of_jsoninletautoPause=field_mapjson__"AutoPause"BooleanOptional.of_jsoninletmaxCapacity=field_mapjson__"MaxCapacity"IntegerOptional.of_jsoninletminCapacity=field_mapjson__"MinCapacity"IntegerOptional.of_jsoninmake?secondsBeforeTimeout?timeoutAction?secondsUntilAutoPause?autoPause?maxCapacity?minCapacity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The scaling configuration for an Aurora DB cluster in serverless DB engine mode. For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide."]moduleServerlessV2ScalingConfigurationInfo=structtypenonrect={minCapacity:DoubleOptional.toption[@ocaml.doc"The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5."];maxCapacity:DoubleOptional.toption[@ocaml.doc"The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions. You can check the attributes of your engine version or platform version to determine the specific maximum capacity supported."];secondsUntilAutoPause:IntegerOptional.toption[@ocaml.doc"The number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it. This property is only shown when the minimum capacity for the cluster is set to 0 ACUs. Changing the minimum capacity to a nonzero value removes this property. If you later change the minimum capacity back to 0 ACUs, this property is reset to its default value unless you specify it again. This value ranges between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds."]}letmake?minCapacity=fun?maxCapacity->fun?secondsUntilAutoPause->fun()->{minCapacity;maxCapacity;secondsUntilAutoPause}letto_valuex=structure_to_value[("MinCapacity",(Option.mapx.minCapacity~f:DoubleOptional.to_value));("MaxCapacity",(Option.mapx.maxCapacity~f:DoubleOptional.to_value));("SecondsUntilAutoPause",(Option.mapx.secondsUntilAutoPause~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondsUntilAutoPause=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsUntilAutoPause")inletmaxCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxCapacity")inletminCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinCapacity")inmake?secondsUntilAutoPause?maxCapacity?minCapacity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondsUntilAutoPause=field_mapjson__"SecondsUntilAutoPause"IntegerOptional.of_jsoninletmaxCapacity=field_mapjson__"MaxCapacity"DoubleOptional.of_jsoninletminCapacity=field_mapjson__"MinCapacity"DoubleOptional.of_jsoninmake?secondsUntilAutoPause?maxCapacity?minCapacity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The scaling configuration for an Aurora Serverless v2 DB cluster. For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide."]moduleDBClusterEndpointAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified custom endpoint can't be created because it already exists."]moduleDBClusterEndpointNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified custom endpoint doesn't exist."]moduleDBClusterEndpointQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The cluster already has the maximum number of custom endpoints."]moduleInvalidDBClusterEndpointStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested operation can't be performed on the endpoint while the endpoint is in this state."]moduleInvalidDBInstanceStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB instance isn't in a valid state."]moduleTenantDatabase=structtypenonrect={tenantDatabaseCreateTime:TStamp.toption[@ocaml.doc"The creation time of the tenant database."];dBInstanceIdentifier:String_.toption[@ocaml.doc"The ID of the DB instance that contains the tenant database."];tenantDBName:String_.toption[@ocaml.doc"The database name of the tenant database."];status:String_.toption[@ocaml.doc"The status of the tenant database."];masterUsername:String_.toption[@ocaml.doc"The master username of the tenant database."];dbiResourceId:String_.toption[@ocaml.doc"The Amazon Web Services Region-unique, immutable identifier for the DB instance."];tenantDatabaseResourceId:String_.toption[@ocaml.doc"The Amazon Web Services Region-unique, immutable identifier for the tenant database."];tenantDatabaseARN:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the tenant database."];characterSetName:String_.toption[@ocaml.doc"The character set of the tenant database."];ncharCharacterSetName:String_.toption[@ocaml.doc"The NCHAR character set name of the tenant database."];deletionProtection:Boolean.toption[@ocaml.doc"Specifies whether deletion protection is enabled for the DB instance."];pendingModifiedValues:TenantDatabasePendingModifiedValues.toption[@ocaml.doc"Information about pending changes for a tenant database."];masterUserSecret:MasterUserSecret.toption;tagList:TagList.toption}letmake?tenantDatabaseCreateTime=fun?dBInstanceIdentifier->fun?tenantDBName->fun?status->fun?masterUsername->fun?dbiResourceId->fun?tenantDatabaseResourceId->fun?tenantDatabaseARN->fun?characterSetName->fun?ncharCharacterSetName->fun?deletionProtection->fun?pendingModifiedValues->fun?masterUserSecret->fun?tagList->fun()->{tenantDatabaseCreateTime;dBInstanceIdentifier;tenantDBName;status;masterUsername;dbiResourceId;tenantDatabaseResourceId;tenantDatabaseARN;characterSetName;ncharCharacterSetName;deletionProtection;pendingModifiedValues;masterUserSecret;tagList}letto_valuex=structure_to_value[("TenantDatabaseCreateTime",(Option.mapx.tenantDatabaseCreateTime~f:TStamp.to_value));("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("TenantDBName",(Option.mapx.tenantDBName~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("DbiResourceId",(Option.mapx.dbiResourceId~f:String_.to_value));("TenantDatabaseResourceId",(Option.mapx.tenantDatabaseResourceId~f:String_.to_value));("TenantDatabaseARN",(Option.mapx.tenantDatabaseARN~f:String_.to_value));("CharacterSetName",(Option.mapx.characterSetName~f:String_.to_value));("NcharCharacterSetName",(Option.mapx.ncharCharacterSetName~f:String_.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:Boolean.to_value));("PendingModifiedValues",(Option.mapx.pendingModifiedValues~f:TenantDatabasePendingModifiedValues.to_value));("MasterUserSecret",(Option.mapx.masterUserSecret~f:MasterUserSecret.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletmasterUserSecret=(Option.map~f:MasterUserSecret.of_xml)(Xml.childxml_arg0"MasterUserSecret")inletpendingModifiedValues=(Option.map~f:TenantDatabasePendingModifiedValues.of_xml)(Xml.childxml_arg0"PendingModifiedValues")inletdeletionProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DeletionProtection")inletncharCharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NcharCharacterSetName")inletcharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetName")inlettenantDatabaseARN=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDatabaseARN")inlettenantDatabaseResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDatabaseResourceId")inletdbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbiResourceId")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inlettenantDBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDBName")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inlettenantDatabaseCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"TenantDatabaseCreateTime")inmake?tagList?masterUserSecret?pendingModifiedValues?deletionProtection?ncharCharacterSetName?characterSetName?tenantDatabaseARN?tenantDatabaseResourceId?dbiResourceId?masterUsername?status?tenantDBName?dBInstanceIdentifier?tenantDatabaseCreateTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletmasterUserSecret=field_mapjson__"MasterUserSecret"MasterUserSecret.of_jsoninletpendingModifiedValues=field_mapjson__"PendingModifiedValues"TenantDatabasePendingModifiedValues.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"Boolean.of_jsoninletncharCharacterSetName=field_mapjson__"NcharCharacterSetName"String_.of_jsoninletcharacterSetName=field_mapjson__"CharacterSetName"String_.of_jsoninlettenantDatabaseARN=field_mapjson__"TenantDatabaseARN"String_.of_jsoninlettenantDatabaseResourceId=field_mapjson__"TenantDatabaseResourceId"String_.of_jsoninletdbiResourceId=field_mapjson__"DbiResourceId"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninlettenantDBName=field_mapjson__"TenantDBName"String_.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninlettenantDatabaseCreateTime=field_mapjson__"TenantDatabaseCreateTime"TStamp.of_jsoninmake?tagList?masterUserSecret?pendingModifiedValues?deletionProtection?ncharCharacterSetName?characterSetName?tenantDatabaseARN?tenantDatabaseResourceId?dbiResourceId?masterUsername?status?tenantDBName?dBInstanceIdentifier?tenantDatabaseCreateTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A tenant database in the DB instance. This data type is an element in the response to the DescribeTenantDatabases action."]moduleSourceRegion=structtypenonrect={regionName:String_.toption[@ocaml.doc"The name of the source Amazon Web Services Region."];endpoint:String_.toption[@ocaml.doc"The endpoint for the source Amazon Web Services Region endpoint."];status:String_.toption[@ocaml.doc"The status of the source Amazon Web Services Region."];supportsDBInstanceAutomatedBackupsReplication:Boolean.toption[@ocaml.doc"Indicates whether the source Amazon Web Services Region supports replicating automated backups to the current Amazon Web Services Region."]}letmake?regionName=fun?endpoint->fun?status->fun?supportsDBInstanceAutomatedBackupsReplication->fun()->{regionName;endpoint;status;supportsDBInstanceAutomatedBackupsReplication}letto_valuex=structure_to_value[("RegionName",(Option.mapx.regionName~f:String_.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("SupportsDBInstanceAutomatedBackupsReplication",(Option.mapx.supportsDBInstanceAutomatedBackupsReplication~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportsDBInstanceAutomatedBackupsReplication=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsDBInstanceAutomatedBackupsReplication")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletregionName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RegionName")inmake?supportsDBInstanceAutomatedBackupsReplication?status?endpoint?regionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportsDBInstanceAutomatedBackupsReplication=field_mapjson__"SupportsDBInstanceAutomatedBackupsReplication"Boolean.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletregionName=field_mapjson__"RegionName"String_.of_jsoninmake?supportsDBInstanceAutomatedBackupsReplication?status?endpoint?regionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains an Amazon Web Services Region name as the result of a successful call to the DescribeSourceRegions action."]moduleServerlessV2PlatformVersionInfo=structtypenonrect={serverlessV2PlatformVersion:String_.toption[@ocaml.doc"The version number of the serverless platform."];serverlessV2PlatformVersionDescription:String_.toption[@ocaml.doc"The description of the serverless platform."];engine:String_.toption[@ocaml.doc"The name of the database engine."];serverlessV2FeaturesSupport:ServerlessV2FeaturesSupport.toption[@ocaml.doc"Specifies any Aurora Serverless v2 properties or limits that differ between Aurora Serverless v2 platform versions. You can retrieve the platform version of an existing DB cluster and check whether that version supports certain Aurora Serverless v2 features before you attempt to use those features."];status:String_.toption[@ocaml.doc"The status of the serverless platform. Valid statuses are the following: enabled - The platform version is in use. disabled - The platform version is not in use."];isDefault:Boolean.toption[@ocaml.doc"Indicates whether this platform version is the default version for the engine. The default platform version is the version used for new DB clusters."]}letmake?serverlessV2PlatformVersion=fun?serverlessV2PlatformVersionDescription->fun?engine->fun?serverlessV2FeaturesSupport->fun?status->fun?isDefault->fun()->{serverlessV2PlatformVersion;serverlessV2PlatformVersionDescription;engine;serverlessV2FeaturesSupport;status;isDefault}letto_valuex=structure_to_value[("ServerlessV2PlatformVersion",(Option.mapx.serverlessV2PlatformVersion~f:String_.to_value));("ServerlessV2PlatformVersionDescription",(Option.mapx.serverlessV2PlatformVersionDescription~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("ServerlessV2FeaturesSupport",(Option.mapx.serverlessV2FeaturesSupport~f:ServerlessV2FeaturesSupport.to_value));("Status",(Option.mapx.status~f:String_.to_value));("IsDefault",(Option.mapx.isDefault~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisDefault=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsDefault")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletserverlessV2FeaturesSupport=(Option.map~f:ServerlessV2FeaturesSupport.of_xml)(Xml.childxml_arg0"ServerlessV2FeaturesSupport")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletserverlessV2PlatformVersionDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ServerlessV2PlatformVersionDescription")inletserverlessV2PlatformVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ServerlessV2PlatformVersion")inmake?isDefault?status?serverlessV2FeaturesSupport?engine?serverlessV2PlatformVersionDescription?serverlessV2PlatformVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisDefault=field_mapjson__"IsDefault"Boolean.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletserverlessV2FeaturesSupport=field_mapjson__"ServerlessV2FeaturesSupport"ServerlessV2FeaturesSupport.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletserverlessV2PlatformVersionDescription=field_mapjson__"ServerlessV2PlatformVersionDescription"String_.of_jsoninletserverlessV2PlatformVersion=field_mapjson__"ServerlessV2PlatformVersion"String_.of_jsoninmake?isDefault?status?serverlessV2FeaturesSupport?engine?serverlessV2PlatformVersionDescription?serverlessV2PlatformVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the action DescribeServerlessV2PlatformVersions."]moduleTagSpecification=structtypenonrect={resourceType:String_.toption[@ocaml.doc"The type of resource to tag on creation. Valid Values: auto-backup - The DB instance's automated backup. cluster-auto-backup - The DB cluster's automated backup."];tags:TagList.toption}letmake?resourceType=fun?tags->fun()->{resourceType;tags}letto_valuex=structure_to_value[("ResourceType",(Option.mapx.resourceType~f:String_.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inmake?tags?resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletresourceType=field_mapjson__"ResourceType"String_.of_jsoninmake?tags?resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The tags to apply to resources when creating or modifying a DB instance or DB cluster. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail."]moduleReservedDBInstancesOffering=structtypenonrect={reservedDBInstancesOfferingId:String_.toption[@ocaml.doc"The offering identifier."];dBInstanceClass:String_.toption[@ocaml.doc"The DB instance class for the reserved DB instance."];duration:Integer.toption[@ocaml.doc"The duration of the offering in seconds."];fixedPrice:Double.toption[@ocaml.doc"The fixed price charged for this offering."];usagePrice:Double.toption[@ocaml.doc"The hourly price charged for this offering."];currencyCode:String_.toption[@ocaml.doc"The currency code for the reserved DB instance offering."];productDescription:String_.toption[@ocaml.doc"The database engine used by the offering."];offeringType:String_.toption[@ocaml.doc"The offering type."];multiAZ:Boolean.toption[@ocaml.doc"Indicates whether the offering applies to Multi-AZ deployments."];recurringCharges:RecurringChargeList.toption[@ocaml.doc"The recurring price charged to run this reserved DB instance."]}letmake?reservedDBInstancesOfferingId=fun?dBInstanceClass->fun?duration->fun?fixedPrice->fun?usagePrice->fun?currencyCode->fun?productDescription->fun?offeringType->fun?multiAZ->fun?recurringCharges->fun()->{reservedDBInstancesOfferingId;dBInstanceClass;duration;fixedPrice;usagePrice;currencyCode;productDescription;offeringType;multiAZ;recurringCharges}letto_valuex=structure_to_value[("ReservedDBInstancesOfferingId",(Option.mapx.reservedDBInstancesOfferingId~f:String_.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("Duration",(Option.mapx.duration~f:Integer.to_value));("FixedPrice",(Option.mapx.fixedPrice~f:Double.to_value));("UsagePrice",(Option.mapx.usagePrice~f:Double.to_value));("CurrencyCode",(Option.mapx.currencyCode~f:String_.to_value));("ProductDescription",(Option.mapx.productDescription~f:String_.to_value));("OfferingType",(Option.mapx.offeringType~f:String_.to_value));("MultiAZ",(Option.mapx.multiAZ~f:Boolean.to_value));("RecurringCharges",(Option.mapx.recurringCharges~f:RecurringChargeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrecurringCharges=(Option.map~f:RecurringChargeList.of_xml)(Xml.childxml_arg0"RecurringCharges")inletmultiAZ=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"MultiAZ")inletofferingType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OfferingType")inletproductDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ProductDescription")inletcurrencyCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CurrencyCode")inletusagePrice=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"UsagePrice")inletfixedPrice=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"FixedPrice")inletduration=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Duration")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletreservedDBInstancesOfferingId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReservedDBInstancesOfferingId")inmake?recurringCharges?multiAZ?offeringType?productDescription?currencyCode?usagePrice?fixedPrice?duration?dBInstanceClass?reservedDBInstancesOfferingId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrecurringCharges=field_mapjson__"RecurringCharges"RecurringChargeList.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"Boolean.of_jsoninletofferingType=field_mapjson__"OfferingType"String_.of_jsoninletproductDescription=field_mapjson__"ProductDescription"String_.of_jsoninletcurrencyCode=field_mapjson__"CurrencyCode"String_.of_jsoninletusagePrice=field_mapjson__"UsagePrice"Double.of_jsoninletfixedPrice=field_mapjson__"FixedPrice"Double.of_jsoninletduration=field_mapjson__"Duration"Integer.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletreservedDBInstancesOfferingId=field_mapjson__"ReservedDBInstancesOfferingId"String_.of_jsoninmake?recurringCharges?multiAZ?offeringType?productDescription?currencyCode?usagePrice?fixedPrice?duration?dBInstanceClass?reservedDBInstancesOfferingId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeReservedDBInstancesOfferings action."]moduleReservedDBInstance=structtypenonrect={reservedDBInstanceId:String_.toption[@ocaml.doc"The unique identifier for the reservation."];reservedDBInstancesOfferingId:String_.toption[@ocaml.doc"The offering identifier."];dBInstanceClass:String_.toption[@ocaml.doc"The DB instance class for the reserved DB instance."];startTime:TStamp.toption[@ocaml.doc"The time the reservation started."];duration:Integer.toption[@ocaml.doc"The duration of the reservation in seconds."];fixedPrice:Double.toption[@ocaml.doc"The fixed price charged for this reserved DB instance."];usagePrice:Double.toption[@ocaml.doc"The hourly price charged for this reserved DB instance."];currencyCode:String_.toption[@ocaml.doc"The currency code for the reserved DB instance."];dBInstanceCount:Integer.toption[@ocaml.doc"The number of reserved DB instances."];productDescription:String_.toption[@ocaml.doc"The description of the reserved DB instance."];offeringType:String_.toption[@ocaml.doc"The offering type of this reserved DB instance."];multiAZ:Boolean.toption[@ocaml.doc"Indicates whether the reservation applies to Multi-AZ deployments."];state:String_.toption[@ocaml.doc"The state of the reserved DB instance."];recurringCharges:RecurringChargeList.toption[@ocaml.doc"The recurring price charged to run this reserved DB instance."];reservedDBInstanceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the reserved DB instance."];leaseId:String_.toption[@ocaml.doc"The unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance."]}letmake?reservedDBInstanceId=fun?reservedDBInstancesOfferingId->fun?dBInstanceClass->fun?startTime->fun?duration->fun?fixedPrice->fun?usagePrice->fun?currencyCode->fun?dBInstanceCount->fun?productDescription->fun?offeringType->fun?multiAZ->fun?state->fun?recurringCharges->fun?reservedDBInstanceArn->fun?leaseId->fun()->{reservedDBInstanceId;reservedDBInstancesOfferingId;dBInstanceClass;startTime;duration;fixedPrice;usagePrice;currencyCode;dBInstanceCount;productDescription;offeringType;multiAZ;state;recurringCharges;reservedDBInstanceArn;leaseId}letto_valuex=structure_to_value[("ReservedDBInstanceId",(Option.mapx.reservedDBInstanceId~f:String_.to_value));("ReservedDBInstancesOfferingId",(Option.mapx.reservedDBInstancesOfferingId~f:String_.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("StartTime",(Option.mapx.startTime~f:TStamp.to_value));("Duration",(Option.mapx.duration~f:Integer.to_value));("FixedPrice",(Option.mapx.fixedPrice~f:Double.to_value));("UsagePrice",(Option.mapx.usagePrice~f:Double.to_value));("CurrencyCode",(Option.mapx.currencyCode~f:String_.to_value));("DBInstanceCount",(Option.mapx.dBInstanceCount~f:Integer.to_value));("ProductDescription",(Option.mapx.productDescription~f:String_.to_value));("OfferingType",(Option.mapx.offeringType~f:String_.to_value));("MultiAZ",(Option.mapx.multiAZ~f:Boolean.to_value));("State",(Option.mapx.state~f:String_.to_value));("RecurringCharges",(Option.mapx.recurringCharges~f:RecurringChargeList.to_value));("ReservedDBInstanceArn",(Option.mapx.reservedDBInstanceArn~f:String_.to_value));("LeaseId",(Option.mapx.leaseId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letleaseId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LeaseId")inletreservedDBInstanceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReservedDBInstanceArn")inletrecurringCharges=(Option.map~f:RecurringChargeList.of_xml)(Xml.childxml_arg0"RecurringCharges")inletstate=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"State")inletmultiAZ=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"MultiAZ")inletofferingType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OfferingType")inletproductDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ProductDescription")inletdBInstanceCount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"DBInstanceCount")inletcurrencyCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CurrencyCode")inletusagePrice=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"UsagePrice")inletfixedPrice=(Option.map~f:Double.of_xml)(Xml.childxml_arg0"FixedPrice")inletduration=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Duration")inletstartTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"StartTime")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletreservedDBInstancesOfferingId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReservedDBInstancesOfferingId")inletreservedDBInstanceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReservedDBInstanceId")inmake?leaseId?reservedDBInstanceArn?recurringCharges?state?multiAZ?offeringType?productDescription?dBInstanceCount?currencyCode?usagePrice?fixedPrice?duration?startTime?dBInstanceClass?reservedDBInstancesOfferingId?reservedDBInstanceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letleaseId=field_mapjson__"LeaseId"String_.of_jsoninletreservedDBInstanceArn=field_mapjson__"ReservedDBInstanceArn"String_.of_jsoninletrecurringCharges=field_mapjson__"RecurringCharges"RecurringChargeList.of_jsoninletstate=field_mapjson__"State"String_.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"Boolean.of_jsoninletofferingType=field_mapjson__"OfferingType"String_.of_jsoninletproductDescription=field_mapjson__"ProductDescription"String_.of_jsoninletdBInstanceCount=field_mapjson__"DBInstanceCount"Integer.of_jsoninletcurrencyCode=field_mapjson__"CurrencyCode"String_.of_jsoninletusagePrice=field_mapjson__"UsagePrice"Double.of_jsoninletfixedPrice=field_mapjson__"FixedPrice"Double.of_jsoninletduration=field_mapjson__"Duration"Integer.of_jsoninletstartTime=field_mapjson__"StartTime"TStamp.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletreservedDBInstancesOfferingId=field_mapjson__"ReservedDBInstancesOfferingId"String_.of_jsoninletreservedDBInstanceId=field_mapjson__"ReservedDBInstanceId"String_.of_jsoninmake?leaseId?reservedDBInstanceArn?recurringCharges?state?multiAZ?offeringType?productDescription?dBInstanceCount?currencyCode?usagePrice?fixedPrice?duration?startTime?dBInstanceClass?reservedDBInstancesOfferingId?reservedDBInstanceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions."]moduleDBProxyTarget=structtypenonrect={targetArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster."];endpoint:String_.toption[@ocaml.doc"The writer endpoint for the RDS DB instance or Aurora DB cluster."];trackedClusterId:String_.toption[@ocaml.doc"The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance."];rdsResourceId:String_.toption[@ocaml.doc"The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster."];port:Integer.toption[@ocaml.doc"The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster."];type_:TargetType.toption[@ocaml.doc"Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents."];role:TargetRole.toption[@ocaml.doc"A value that indicates whether the target of the proxy can be used for read/write or read-only operations."];targetHealth:TargetHealth.toption[@ocaml.doc"Information about the connection health of the RDS Proxy target."]}letmake?targetArn=fun?endpoint->fun?trackedClusterId->fun?rdsResourceId->fun?port->fun?type_->fun?role->fun?targetHealth->fun()->{targetArn;endpoint;trackedClusterId;rdsResourceId;port;type_;role;targetHealth}letto_valuex=structure_to_value[("TargetArn",(Option.mapx.targetArn~f:String_.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("TrackedClusterId",(Option.mapx.trackedClusterId~f:String_.to_value));("RdsResourceId",(Option.mapx.rdsResourceId~f:String_.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("Type",(Option.mapx.type_~f:TargetType.to_value));("Role",(Option.mapx.role~f:TargetRole.to_value));("TargetHealth",(Option.mapx.targetHealth~f:TargetHealth.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetHealth=(Option.map~f:TargetHealth.of_xml)(Xml.childxml_arg0"TargetHealth")inletrole=(Option.map~f:TargetRole.of_xml)(Xml.childxml_arg0"Role")inlettype_=(Option.map~f:TargetType.of_xml)(Xml.childxml_arg0"Type")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletrdsResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RdsResourceId")inlettrackedClusterId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TrackedClusterId")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inlettargetArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TargetArn")inmake?targetHealth?role?type_?port?rdsResourceId?trackedClusterId?endpoint?targetArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetHealth=field_mapjson__"TargetHealth"TargetHealth.of_jsoninletrole=field_mapjson__"Role"TargetRole.of_jsoninlettype_=field_mapjson__"Type"TargetType.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletrdsResourceId=field_mapjson__"RdsResourceId"String_.of_jsoninlettrackedClusterId=field_mapjson__"TrackedClusterId"String_.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninlettargetArn=field_mapjson__"TargetArn"String_.of_jsoninmake?targetHealth?role?type_?port?rdsResourceId?trackedClusterId?endpoint?targetArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster that the proxy can connect to. One or more targets are associated with an RDS Proxy target group. This data type is used as a response element in the DescribeDBProxyTargets action."]moduleResourcePendingMaintenanceActions=structtypenonrect={resourceIdentifier:String_.toption[@ocaml.doc"The ARN of the resource that has pending maintenance actions."];pendingMaintenanceActionDetails:PendingMaintenanceActionDetails.toption[@ocaml.doc"A list that provides details about the pending maintenance actions for the resource."]}letmake?resourceIdentifier=fun?pendingMaintenanceActionDetails->fun()->{resourceIdentifier;pendingMaintenanceActionDetails}letto_valuex=structure_to_value[("ResourceIdentifier",(Option.mapx.resourceIdentifier~f:String_.to_value));("PendingMaintenanceActionDetails",(Option.mapx.pendingMaintenanceActionDetails~f:PendingMaintenanceActionDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpendingMaintenanceActionDetails=(Option.map~f:PendingMaintenanceActionDetails.of_xml)(Xml.childxml_arg0"PendingMaintenanceActionDetails")inletresourceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceIdentifier")inmake?pendingMaintenanceActionDetails?resourceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpendingMaintenanceActionDetails=field_mapjson__"PendingMaintenanceActionDetails"PendingMaintenanceActionDetails.of_jsoninletresourceIdentifier=field_mapjson__"ResourceIdentifier"String_.of_jsoninmake?pendingMaintenanceActionDetails?resourceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the pending maintenance actions for a resource."]moduleOrderableDBInstanceOption=structtypenonrect={engine:String_.toption[@ocaml.doc"The engine type of a DB instance."];engineVersion:String_.toption[@ocaml.doc"The engine version of a DB instance."];dBInstanceClass:String_.toption[@ocaml.doc"The DB instance class for a DB instance."];licenseModel:String_.toption[@ocaml.doc"The license model for a DB instance."];availabilityZoneGroup:String_.toption[@ocaml.doc"The Availability Zone group for a DB instance."];availabilityZones:AvailabilityZoneList.toption[@ocaml.doc"A list of Availability Zones for a DB instance."];multiAZCapable:Boolean.toption[@ocaml.doc"Indicates whether a DB instance is Multi-AZ capable."];readReplicaCapable:Boolean.toption[@ocaml.doc"Indicates whether a DB instance can have a read replica."];vpc:Boolean.toption[@ocaml.doc"Indicates whether a DB instance is in a VPC."];supportsStorageEncryption:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports encrypted storage."];storageType:String_.toption[@ocaml.doc"The storage type for a DB instance."];supportsIops:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports provisioned IOPS."];supportsStorageThroughput:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports storage throughput."];supportsEnhancedMonitoring:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds."];supportsIAMDatabaseAuthentication:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports IAM database authentication."];supportsPerformanceInsights:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports Performance Insights."];minStorageSize:IntegerOptional.toption[@ocaml.doc"Minimum storage size for a DB instance."];maxStorageSize:IntegerOptional.toption[@ocaml.doc"Maximum storage size for a DB instance."];minIopsPerDbInstance:IntegerOptional.toption[@ocaml.doc"Minimum total provisioned IOPS for a DB instance."];maxIopsPerDbInstance:IntegerOptional.toption[@ocaml.doc"Maximum total provisioned IOPS for a DB instance."];minIopsPerGib:DoubleOptional.toption[@ocaml.doc"Minimum provisioned IOPS per GiB for a DB instance."];maxIopsPerGib:DoubleOptional.toption[@ocaml.doc"Maximum provisioned IOPS per GiB for a DB instance."];minStorageThroughputPerDbInstance:IntegerOptional.toption[@ocaml.doc"Minimum storage throughput for a DB instance."];maxStorageThroughputPerDbInstance:IntegerOptional.toption[@ocaml.doc"Maximum storage throughput for a DB instance."];minStorageThroughputPerIops:DoubleOptional.toption[@ocaml.doc"Minimum storage throughput to provisioned IOPS ratio for a DB instance."];maxStorageThroughputPerIops:DoubleOptional.toption[@ocaml.doc"Maximum storage throughput to provisioned IOPS ratio for a DB instance."];availableProcessorFeatures:AvailableProcessorFeatureList.toption[@ocaml.doc"A list of the available processor features for the DB instance class of a DB instance."];supportedEngineModes:EngineModeList.toption[@ocaml.doc"A list of the supported DB engine modes."];supportsStorageAutoscaling:BooleanOptional.toption[@ocaml.doc"Indicates whether Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class."];supportsKerberosAuthentication:BooleanOptional.toption[@ocaml.doc"Indicates whether a DB instance supports Kerberos Authentication."];outpostCapable:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports RDS on Outposts. For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide."];supportedActivityStreamModes:ActivityStreamModeList.toption[@ocaml.doc"The list of supported modes for Database Activity Streams. Aurora PostgreSQL returns the value \\[sync, async\\]. Aurora MySQL and RDS for Oracle return \\[async\\] only. If Database Activity Streams isn't supported, the return value is an empty list."];supportsGlobalDatabases:Boolean.toption[@ocaml.doc"Indicates whether you can use Aurora global databases with a specific combination of other DB engine attributes."];supportedNetworkTypes:StringList.toption[@ocaml.doc"The network types supported by the DB instance (IPV4 or DUAL). A DB instance can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide."];supportsClusters:Boolean.toption[@ocaml.doc"Indicates whether DB instances can be configured as a Multi-AZ DB cluster. For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide."];supportsDedicatedLogVolume:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports using a dedicated log volume (DLV)."];supportsAdditionalStorageVolumes:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB instance class supports additional storage volumes."];supportsHttpEndpoint:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports HTTP endpoints."];availableAdditionalStorageVolumesOptions:AvailableAdditionalStorageVolumesOptionList.toption[@ocaml.doc"The available options for additional storage volumes for the DB instance class."]}letmake?engine=fun?engineVersion->fun?dBInstanceClass->fun?licenseModel->fun?availabilityZoneGroup->fun?availabilityZones->fun?multiAZCapable->fun?readReplicaCapable->fun?vpc->fun?supportsStorageEncryption->fun?storageType->fun?supportsIops->fun?supportsStorageThroughput->fun?supportsEnhancedMonitoring->fun?supportsIAMDatabaseAuthentication->fun?supportsPerformanceInsights->fun?minStorageSize->fun?maxStorageSize->fun?minIopsPerDbInstance->fun?maxIopsPerDbInstance->fun?minIopsPerGib->fun?maxIopsPerGib->fun?minStorageThroughputPerDbInstance->fun?maxStorageThroughputPerDbInstance->fun?minStorageThroughputPerIops->fun?maxStorageThroughputPerIops->fun?availableProcessorFeatures->fun?supportedEngineModes->fun?supportsStorageAutoscaling->fun?supportsKerberosAuthentication->fun?outpostCapable->fun?supportedActivityStreamModes->fun?supportsGlobalDatabases->fun?supportedNetworkTypes->fun?supportsClusters->fun?supportsDedicatedLogVolume->fun?supportsAdditionalStorageVolumes->fun?supportsHttpEndpoint->fun?availableAdditionalStorageVolumesOptions->fun()->{engine;engineVersion;dBInstanceClass;licenseModel;availabilityZoneGroup;availabilityZones;multiAZCapable;readReplicaCapable;vpc;supportsStorageEncryption;storageType;supportsIops;supportsStorageThroughput;supportsEnhancedMonitoring;supportsIAMDatabaseAuthentication;supportsPerformanceInsights;minStorageSize;maxStorageSize;minIopsPerDbInstance;maxIopsPerDbInstance;minIopsPerGib;maxIopsPerGib;minStorageThroughputPerDbInstance;maxStorageThroughputPerDbInstance;minStorageThroughputPerIops;maxStorageThroughputPerIops;availableProcessorFeatures;supportedEngineModes;supportsStorageAutoscaling;supportsKerberosAuthentication;outpostCapable;supportedActivityStreamModes;supportsGlobalDatabases;supportedNetworkTypes;supportsClusters;supportsDedicatedLogVolume;supportsAdditionalStorageVolumes;supportsHttpEndpoint;availableAdditionalStorageVolumesOptions}letto_valuex=structure_to_value[("Engine",(Option.mapx.engine~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("AvailabilityZoneGroup",(Option.mapx.availabilityZoneGroup~f:String_.to_value));("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZoneList.to_value));("MultiAZCapable",(Option.mapx.multiAZCapable~f:Boolean.to_value));("ReadReplicaCapable",(Option.mapx.readReplicaCapable~f:Boolean.to_value));("Vpc",(Option.mapx.vpc~f:Boolean.to_value));("SupportsStorageEncryption",(Option.mapx.supportsStorageEncryption~f:Boolean.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("SupportsIops",(Option.mapx.supportsIops~f:Boolean.to_value));("SupportsStorageThroughput",(Option.mapx.supportsStorageThroughput~f:Boolean.to_value));("SupportsEnhancedMonitoring",(Option.mapx.supportsEnhancedMonitoring~f:Boolean.to_value));("SupportsIAMDatabaseAuthentication",(Option.mapx.supportsIAMDatabaseAuthentication~f:Boolean.to_value));("SupportsPerformanceInsights",(Option.mapx.supportsPerformanceInsights~f:Boolean.to_value));("MinStorageSize",(Option.mapx.minStorageSize~f:IntegerOptional.to_value));("MaxStorageSize",(Option.mapx.maxStorageSize~f:IntegerOptional.to_value));("MinIopsPerDbInstance",(Option.mapx.minIopsPerDbInstance~f:IntegerOptional.to_value));("MaxIopsPerDbInstance",(Option.mapx.maxIopsPerDbInstance~f:IntegerOptional.to_value));("MinIopsPerGib",(Option.mapx.minIopsPerGib~f:DoubleOptional.to_value));("MaxIopsPerGib",(Option.mapx.maxIopsPerGib~f:DoubleOptional.to_value));("MinStorageThroughputPerDbInstance",(Option.mapx.minStorageThroughputPerDbInstance~f:IntegerOptional.to_value));("MaxStorageThroughputPerDbInstance",(Option.mapx.maxStorageThroughputPerDbInstance~f:IntegerOptional.to_value));("MinStorageThroughputPerIops",(Option.mapx.minStorageThroughputPerIops~f:DoubleOptional.to_value));("MaxStorageThroughputPerIops",(Option.mapx.maxStorageThroughputPerIops~f:DoubleOptional.to_value));("AvailableProcessorFeatures",(Option.mapx.availableProcessorFeatures~f:AvailableProcessorFeatureList.to_value));("SupportedEngineModes",(Option.mapx.supportedEngineModes~f:EngineModeList.to_value));("SupportsStorageAutoscaling",(Option.mapx.supportsStorageAutoscaling~f:BooleanOptional.to_value));("SupportsKerberosAuthentication",(Option.mapx.supportsKerberosAuthentication~f:BooleanOptional.to_value));("OutpostCapable",(Option.mapx.outpostCapable~f:Boolean.to_value));("SupportedActivityStreamModes",(Option.mapx.supportedActivityStreamModes~f:ActivityStreamModeList.to_value));("SupportsGlobalDatabases",(Option.mapx.supportsGlobalDatabases~f:Boolean.to_value));("SupportedNetworkTypes",(Option.mapx.supportedNetworkTypes~f:StringList.to_value));("SupportsClusters",(Option.mapx.supportsClusters~f:Boolean.to_value));("SupportsDedicatedLogVolume",(Option.mapx.supportsDedicatedLogVolume~f:Boolean.to_value));("SupportsAdditionalStorageVolumes",(Option.mapx.supportsAdditionalStorageVolumes~f:BooleanOptional.to_value));("SupportsHttpEndpoint",(Option.mapx.supportsHttpEndpoint~f:Boolean.to_value));("AvailableAdditionalStorageVolumesOptions",(Option.mapx.availableAdditionalStorageVolumesOptions~f:AvailableAdditionalStorageVolumesOptionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailableAdditionalStorageVolumesOptions=(Option.map~f:AvailableAdditionalStorageVolumesOptionList.of_xml)(Xml.childxml_arg0"AvailableAdditionalStorageVolumesOptions")inletsupportsHttpEndpoint=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsHttpEndpoint")inletsupportsAdditionalStorageVolumes=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsAdditionalStorageVolumes")inletsupportsDedicatedLogVolume=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsDedicatedLogVolume")inletsupportsClusters=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsClusters")inletsupportedNetworkTypes=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"SupportedNetworkTypes")inletsupportsGlobalDatabases=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsGlobalDatabases")inletsupportedActivityStreamModes=(Option.map~f:ActivityStreamModeList.of_xml)(Xml.childxml_arg0"SupportedActivityStreamModes")inletoutpostCapable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"OutpostCapable")inletsupportsKerberosAuthentication=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsKerberosAuthentication")inletsupportsStorageAutoscaling=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsStorageAutoscaling")inletsupportedEngineModes=(Option.map~f:EngineModeList.of_xml)(Xml.childxml_arg0"SupportedEngineModes")inletavailableProcessorFeatures=(Option.map~f:AvailableProcessorFeatureList.of_xml)(Xml.childxml_arg0"AvailableProcessorFeatures")inletmaxStorageThroughputPerIops=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxStorageThroughputPerIops")inletminStorageThroughputPerIops=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinStorageThroughputPerIops")inletmaxStorageThroughputPerDbInstance=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxStorageThroughputPerDbInstance")inletminStorageThroughputPerDbInstance=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinStorageThroughputPerDbInstance")inletmaxIopsPerGib=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxIopsPerGib")inletminIopsPerGib=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinIopsPerGib")inletmaxIopsPerDbInstance=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxIopsPerDbInstance")inletminIopsPerDbInstance=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinIopsPerDbInstance")inletmaxStorageSize=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxStorageSize")inletminStorageSize=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinStorageSize")inletsupportsPerformanceInsights=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsPerformanceInsights")inletsupportsIAMDatabaseAuthentication=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsIAMDatabaseAuthentication")inletsupportsEnhancedMonitoring=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsEnhancedMonitoring")inletsupportsStorageThroughput=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsStorageThroughput")inletsupportsIops=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsIops")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletsupportsStorageEncryption=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsStorageEncryption")inletvpc=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Vpc")inletreadReplicaCapable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ReadReplicaCapable")inletmultiAZCapable=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"MultiAZCapable")inletavailabilityZones=(Option.map~f:AvailabilityZoneList.of_xml)(Xml.childxml_arg0"AvailabilityZones")inletavailabilityZoneGroup=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZoneGroup")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inmake?availableAdditionalStorageVolumesOptions?supportsHttpEndpoint?supportsAdditionalStorageVolumes?supportsDedicatedLogVolume?supportsClusters?supportedNetworkTypes?supportsGlobalDatabases?supportedActivityStreamModes?outpostCapable?supportsKerberosAuthentication?supportsStorageAutoscaling?supportedEngineModes?availableProcessorFeatures?maxStorageThroughputPerIops?minStorageThroughputPerIops?maxStorageThroughputPerDbInstance?minStorageThroughputPerDbInstance?maxIopsPerGib?minIopsPerGib?maxIopsPerDbInstance?minIopsPerDbInstance?maxStorageSize?minStorageSize?supportsPerformanceInsights?supportsIAMDatabaseAuthentication?supportsEnhancedMonitoring?supportsStorageThroughput?supportsIops?storageType?supportsStorageEncryption?vpc?readReplicaCapable?multiAZCapable?availabilityZones?availabilityZoneGroup?licenseModel?dBInstanceClass?engineVersion?engine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailableAdditionalStorageVolumesOptions=field_mapjson__"AvailableAdditionalStorageVolumesOptions"AvailableAdditionalStorageVolumesOptionList.of_jsoninletsupportsHttpEndpoint=field_mapjson__"SupportsHttpEndpoint"Boolean.of_jsoninletsupportsAdditionalStorageVolumes=field_mapjson__"SupportsAdditionalStorageVolumes"BooleanOptional.of_jsoninletsupportsDedicatedLogVolume=field_mapjson__"SupportsDedicatedLogVolume"Boolean.of_jsoninletsupportsClusters=field_mapjson__"SupportsClusters"Boolean.of_jsoninletsupportedNetworkTypes=field_mapjson__"SupportedNetworkTypes"StringList.of_jsoninletsupportsGlobalDatabases=field_mapjson__"SupportsGlobalDatabases"Boolean.of_jsoninletsupportedActivityStreamModes=field_mapjson__"SupportedActivityStreamModes"ActivityStreamModeList.of_jsoninletoutpostCapable=field_mapjson__"OutpostCapable"Boolean.of_jsoninletsupportsKerberosAuthentication=field_mapjson__"SupportsKerberosAuthentication"BooleanOptional.of_jsoninletsupportsStorageAutoscaling=field_mapjson__"SupportsStorageAutoscaling"BooleanOptional.of_jsoninletsupportedEngineModes=field_mapjson__"SupportedEngineModes"EngineModeList.of_jsoninletavailableProcessorFeatures=field_mapjson__"AvailableProcessorFeatures"AvailableProcessorFeatureList.of_jsoninletmaxStorageThroughputPerIops=field_mapjson__"MaxStorageThroughputPerIops"DoubleOptional.of_jsoninletminStorageThroughputPerIops=field_mapjson__"MinStorageThroughputPerIops"DoubleOptional.of_jsoninletmaxStorageThroughputPerDbInstance=field_mapjson__"MaxStorageThroughputPerDbInstance"IntegerOptional.of_jsoninletminStorageThroughputPerDbInstance=field_mapjson__"MinStorageThroughputPerDbInstance"IntegerOptional.of_jsoninletmaxIopsPerGib=field_mapjson__"MaxIopsPerGib"DoubleOptional.of_jsoninletminIopsPerGib=field_mapjson__"MinIopsPerGib"DoubleOptional.of_jsoninletmaxIopsPerDbInstance=field_mapjson__"MaxIopsPerDbInstance"IntegerOptional.of_jsoninletminIopsPerDbInstance=field_mapjson__"MinIopsPerDbInstance"IntegerOptional.of_jsoninletmaxStorageSize=field_mapjson__"MaxStorageSize"IntegerOptional.of_jsoninletminStorageSize=field_mapjson__"MinStorageSize"IntegerOptional.of_jsoninletsupportsPerformanceInsights=field_mapjson__"SupportsPerformanceInsights"Boolean.of_jsoninletsupportsIAMDatabaseAuthentication=field_mapjson__"SupportsIAMDatabaseAuthentication"Boolean.of_jsoninletsupportsEnhancedMonitoring=field_mapjson__"SupportsEnhancedMonitoring"Boolean.of_jsoninletsupportsStorageThroughput=field_mapjson__"SupportsStorageThroughput"Boolean.of_jsoninletsupportsIops=field_mapjson__"SupportsIops"Boolean.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletsupportsStorageEncryption=field_mapjson__"SupportsStorageEncryption"Boolean.of_jsoninletvpc=field_mapjson__"Vpc"Boolean.of_jsoninletreadReplicaCapable=field_mapjson__"ReadReplicaCapable"Boolean.of_jsoninletmultiAZCapable=field_mapjson__"MultiAZCapable"Boolean.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZoneList.of_jsoninletavailabilityZoneGroup=field_mapjson__"AvailabilityZoneGroup"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninmake?availableAdditionalStorageVolumesOptions?supportsHttpEndpoint?supportsAdditionalStorageVolumes?supportsDedicatedLogVolume?supportsClusters?supportedNetworkTypes?supportsGlobalDatabases?supportedActivityStreamModes?outpostCapable?supportsKerberosAuthentication?supportsStorageAutoscaling?supportedEngineModes?availableProcessorFeatures?maxStorageThroughputPerIops?minStorageThroughputPerIops?maxStorageThroughputPerDbInstance?minStorageThroughputPerDbInstance?maxIopsPerGib?minIopsPerGib?maxIopsPerDbInstance?minIopsPerDbInstance?maxStorageSize?minStorageSize?supportsPerformanceInsights?supportsIAMDatabaseAuthentication?supportsEnhancedMonitoring?supportsStorageThroughput?supportsIops?storageType?supportsStorageEncryption?vpc?readReplicaCapable?multiAZCapable?availabilityZones?availabilityZoneGroup?licenseModel?dBInstanceClass?engineVersion?engine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a list of available options for a DB instance. This data type is used as a response element in the DescribeOrderableDBInstanceOptions action."]moduleOptionGroup=structtypenonrect={optionGroupName:String_.toption[@ocaml.doc"Specifies the name of the option group."];optionGroupDescription:String_.toption[@ocaml.doc"Provides a description of the option group."];engineName:String_.toption[@ocaml.doc"Indicates the name of the engine that this option group can be applied to."];majorEngineVersion:String_.toption[@ocaml.doc"Indicates the major engine version associated with this option group."];options:OptionsList.toption[@ocaml.doc"Indicates what options are available in the option group."];allowsVpcAndNonVpcInstanceMemberships:Boolean.toption[@ocaml.doc"Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances."];vpcId:String_.toption[@ocaml.doc"If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field."];optionGroupArn:String_.toption[@ocaml.doc"Specifies the Amazon Resource Name (ARN) for the option group."];sourceOptionGroup:String_.toption[@ocaml.doc"Specifies the name of the option group from which this option group is copied."];sourceAccountId:String_.toption[@ocaml.doc"Specifies the Amazon Web Services account ID for the option group from which this option group is copied."];copyTimestamp:TStamp.toption[@ocaml.doc"Indicates when the option group was copied."]}letmake?optionGroupName=fun?optionGroupDescription->fun?engineName->fun?majorEngineVersion->fun?options->fun?allowsVpcAndNonVpcInstanceMemberships->fun?vpcId->fun?optionGroupArn->fun?sourceOptionGroup->fun?sourceAccountId->fun?copyTimestamp->fun()->{optionGroupName;optionGroupDescription;engineName;majorEngineVersion;options;allowsVpcAndNonVpcInstanceMemberships;vpcId;optionGroupArn;sourceOptionGroup;sourceAccountId;copyTimestamp}letto_valuex=structure_to_value[("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("OptionGroupDescription",(Option.mapx.optionGroupDescription~f:String_.to_value));("EngineName",(Option.mapx.engineName~f:String_.to_value));("MajorEngineVersion",(Option.mapx.majorEngineVersion~f:String_.to_value));("Options",(Option.mapx.options~f:OptionsList.to_value));("AllowsVpcAndNonVpcInstanceMemberships",(Option.mapx.allowsVpcAndNonVpcInstanceMemberships~f:Boolean.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("OptionGroupArn",(Option.mapx.optionGroupArn~f:String_.to_value));("SourceOptionGroup",(Option.mapx.sourceOptionGroup~f:String_.to_value));("SourceAccountId",(Option.mapx.sourceAccountId~f:String_.to_value));("CopyTimestamp",(Option.mapx.copyTimestamp~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcopyTimestamp=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CopyTimestamp")inletsourceAccountId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceAccountId")inletsourceOptionGroup=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceOptionGroup")inletoptionGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupArn")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletallowsVpcAndNonVpcInstanceMemberships=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AllowsVpcAndNonVpcInstanceMemberships")inletoptions=(Option.map~f:OptionsList.of_xml)(Xml.childxml_arg0"Options")inletmajorEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MajorEngineVersion")inletengineName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineName")inletoptionGroupDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupDescription")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inmake?copyTimestamp?sourceAccountId?sourceOptionGroup?optionGroupArn?vpcId?allowsVpcAndNonVpcInstanceMemberships?options?majorEngineVersion?engineName?optionGroupDescription?optionGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcopyTimestamp=field_mapjson__"CopyTimestamp"TStamp.of_jsoninletsourceAccountId=field_mapjson__"SourceAccountId"String_.of_jsoninletsourceOptionGroup=field_mapjson__"SourceOptionGroup"String_.of_jsoninletoptionGroupArn=field_mapjson__"OptionGroupArn"String_.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletallowsVpcAndNonVpcInstanceMemberships=field_mapjson__"AllowsVpcAndNonVpcInstanceMemberships"Boolean.of_jsoninletoptions=field_mapjson__"Options"OptionsList.of_jsoninletmajorEngineVersion=field_mapjson__"MajorEngineVersion"String_.of_jsoninletengineName=field_mapjson__"EngineName"String_.of_jsoninletoptionGroupDescription=field_mapjson__"OptionGroupDescription"String_.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninmake?copyTimestamp?sourceAccountId?sourceOptionGroup?optionGroupArn?vpcId?allowsVpcAndNonVpcInstanceMemberships?options?majorEngineVersion?engineName?optionGroupDescription?optionGroupName()letto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupOption=structtypenonrect={name:String_.toption[@ocaml.doc"The name of the option."];description:String_.toption[@ocaml.doc"The description of the option."];engineName:String_.toption[@ocaml.doc"The name of the engine that this option can be applied to."];majorEngineVersion:String_.toption[@ocaml.doc"Indicates the major engine version that the option is available for."];minimumRequiredMinorEngineVersion:String_.toption[@ocaml.doc"The minimum required engine version for the option to be applied."];portRequired:Boolean.toption[@ocaml.doc"Indicates whether the option requires a port."];defaultPort:IntegerOptional.toption[@ocaml.doc"If the option requires a port, specifies the default port for the option."];optionsDependedOn:OptionsDependedOn.toption[@ocaml.doc"The options that are prerequisites for this option."];optionsConflictsWith:OptionsConflictsWith.toption[@ocaml.doc"The options that conflict with this option."];persistent:Boolean.toption[@ocaml.doc"Persistent options can't be removed from an option group while DB instances are associated with the option group. If you disassociate all DB instances from the option group, your can remove the persistent option from the option group."];permanent:Boolean.toption[@ocaml.doc"Permanent options can never be removed from an option group. An option group containing a permanent option can't be removed from a DB instance."];requiresAutoMinorEngineVersionUpgrade:Boolean.toption[@ocaml.doc"If true, you must enable the Auto Minor Version Upgrade setting for your DB instance before you can use this option. You can enable Auto Minor Version Upgrade when you first create your DB instance, or by modifying your DB instance later."];vpcOnly:Boolean.toption[@ocaml.doc"If true, you can only use this option with a DB instance that is in a VPC."];supportsOptionVersionDowngrade:BooleanOptional.toption[@ocaml.doc"If true, you can change the option to an earlier version of the option. This only applies to options that have different versions available."];optionGroupOptionSettings:OptionGroupOptionSettingsList.toption[@ocaml.doc"The option settings that are available (and the default value) for each option in an option group."];optionGroupOptionVersions:OptionGroupOptionVersionsList.toption[@ocaml.doc"The versions that are available for the option."];copyableCrossAccount:BooleanOptional.toption[@ocaml.doc"Indicates whether the option can be copied across Amazon Web Services accounts."]}letmake?name=fun?description->fun?engineName->fun?majorEngineVersion->fun?minimumRequiredMinorEngineVersion->fun?portRequired->fun?defaultPort->fun?optionsDependedOn->fun?optionsConflictsWith->fun?persistent->fun?permanent->fun?requiresAutoMinorEngineVersionUpgrade->fun?vpcOnly->fun?supportsOptionVersionDowngrade->fun?optionGroupOptionSettings->fun?optionGroupOptionVersions->fun?copyableCrossAccount->fun()->{name;description;engineName;majorEngineVersion;minimumRequiredMinorEngineVersion;portRequired;defaultPort;optionsDependedOn;optionsConflictsWith;persistent;permanent;requiresAutoMinorEngineVersionUpgrade;vpcOnly;supportsOptionVersionDowngrade;optionGroupOptionSettings;optionGroupOptionVersions;copyableCrossAccount}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("EngineName",(Option.mapx.engineName~f:String_.to_value));("MajorEngineVersion",(Option.mapx.majorEngineVersion~f:String_.to_value));("MinimumRequiredMinorEngineVersion",(Option.mapx.minimumRequiredMinorEngineVersion~f:String_.to_value));("PortRequired",(Option.mapx.portRequired~f:Boolean.to_value));("DefaultPort",(Option.mapx.defaultPort~f:IntegerOptional.to_value));("OptionsDependedOn",(Option.mapx.optionsDependedOn~f:OptionsDependedOn.to_value));("OptionsConflictsWith",(Option.mapx.optionsConflictsWith~f:OptionsConflictsWith.to_value));("Persistent",(Option.mapx.persistent~f:Boolean.to_value));("Permanent",(Option.mapx.permanent~f:Boolean.to_value));("RequiresAutoMinorEngineVersionUpgrade",(Option.mapx.requiresAutoMinorEngineVersionUpgrade~f:Boolean.to_value));("VpcOnly",(Option.mapx.vpcOnly~f:Boolean.to_value));("SupportsOptionVersionDowngrade",(Option.mapx.supportsOptionVersionDowngrade~f:BooleanOptional.to_value));("OptionGroupOptionSettings",(Option.mapx.optionGroupOptionSettings~f:OptionGroupOptionSettingsList.to_value));("OptionGroupOptionVersions",(Option.mapx.optionGroupOptionVersions~f:OptionGroupOptionVersionsList.to_value));("CopyableCrossAccount",(Option.mapx.copyableCrossAccount~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcopyableCrossAccount=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyableCrossAccount")inletoptionGroupOptionVersions=(Option.map~f:OptionGroupOptionVersionsList.of_xml)(Xml.childxml_arg0"OptionGroupOptionVersions")inletoptionGroupOptionSettings=(Option.map~f:OptionGroupOptionSettingsList.of_xml)(Xml.childxml_arg0"OptionGroupOptionSettings")inletsupportsOptionVersionDowngrade=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsOptionVersionDowngrade")inletvpcOnly=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"VpcOnly")inletrequiresAutoMinorEngineVersionUpgrade=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"RequiresAutoMinorEngineVersionUpgrade")inletpermanent=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Permanent")inletpersistent=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Persistent")inletoptionsConflictsWith=(Option.map~f:OptionsConflictsWith.of_xml)(Xml.childxml_arg0"OptionsConflictsWith")inletoptionsDependedOn=(Option.map~f:OptionsDependedOn.of_xml)(Xml.childxml_arg0"OptionsDependedOn")inletdefaultPort=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"DefaultPort")inletportRequired=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"PortRequired")inletminimumRequiredMinorEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MinimumRequiredMinorEngineVersion")inletmajorEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MajorEngineVersion")inletengineName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineName")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Name")inmake?copyableCrossAccount?optionGroupOptionVersions?optionGroupOptionSettings?supportsOptionVersionDowngrade?vpcOnly?requiresAutoMinorEngineVersionUpgrade?permanent?persistent?optionsConflictsWith?optionsDependedOn?defaultPort?portRequired?minimumRequiredMinorEngineVersion?majorEngineVersion?engineName?description?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcopyableCrossAccount=field_mapjson__"CopyableCrossAccount"BooleanOptional.of_jsoninletoptionGroupOptionVersions=field_mapjson__"OptionGroupOptionVersions"OptionGroupOptionVersionsList.of_jsoninletoptionGroupOptionSettings=field_mapjson__"OptionGroupOptionSettings"OptionGroupOptionSettingsList.of_jsoninletsupportsOptionVersionDowngrade=field_mapjson__"SupportsOptionVersionDowngrade"BooleanOptional.of_jsoninletvpcOnly=field_mapjson__"VpcOnly"Boolean.of_jsoninletrequiresAutoMinorEngineVersionUpgrade=field_mapjson__"RequiresAutoMinorEngineVersionUpgrade"Boolean.of_jsoninletpermanent=field_mapjson__"Permanent"Boolean.of_jsoninletpersistent=field_mapjson__"Persistent"Boolean.of_jsoninletoptionsConflictsWith=field_mapjson__"OptionsConflictsWith"OptionsConflictsWith.of_jsoninletoptionsDependedOn=field_mapjson__"OptionsDependedOn"OptionsDependedOn.of_jsoninletdefaultPort=field_mapjson__"DefaultPort"IntegerOptional.of_jsoninletportRequired=field_mapjson__"PortRequired"Boolean.of_jsoninletminimumRequiredMinorEngineVersion=field_mapjson__"MinimumRequiredMinorEngineVersion"String_.of_jsoninletmajorEngineVersion=field_mapjson__"MajorEngineVersion"String_.of_jsoninletengineName=field_mapjson__"EngineName"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletname=field_mapjson__"Name"String_.of_jsoninmake?copyableCrossAccount?optionGroupOptionVersions?optionGroupOptionSettings?supportsOptionVersionDowngrade?vpcOnly?requiresAutoMinorEngineVersionUpgrade?permanent?persistent?optionsConflictsWith?optionsDependedOn?defaultPort?portRequired?minimumRequiredMinorEngineVersion?majorEngineVersion?engineName?description?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Available option."]moduleOptionConfiguration=structtypenonrect={optionName:String_.t[@ocaml.doc"The configuration of options to include in a group."];port:IntegerOptional.toption[@ocaml.doc"The optional port for the option."];optionVersion:String_.toption[@ocaml.doc"The version for the option."];dBSecurityGroupMemberships:DBSecurityGroupNameList.toption[@ocaml.doc"A list of DB security groups used for this option."];vpcSecurityGroupMemberships:VpcSecurityGroupIdList.toption[@ocaml.doc"A list of VPC security group names used for this option."];optionSettings:OptionSettingsList.toption[@ocaml.doc"The option settings to include in an option group."]}letcontext_="OptionConfiguration"letmake?port=fun?optionVersion->fun?dBSecurityGroupMemberships->fun?vpcSecurityGroupMemberships->fun?optionSettings->fun~optionName->fun()->{port;optionVersion;dBSecurityGroupMemberships;vpcSecurityGroupMemberships;optionSettings;optionName}letto_valuex=structure_to_value[("OptionName",(Some(String_.to_valuex.optionName)));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("OptionVersion",(Option.mapx.optionVersion~f:String_.to_value));("DBSecurityGroupMemberships",(Option.mapx.dBSecurityGroupMemberships~f:DBSecurityGroupNameList.to_value));("VpcSecurityGroupMemberships",(Option.mapx.vpcSecurityGroupMemberships~f:VpcSecurityGroupIdList.to_value));("OptionSettings",(Option.mapx.optionSettings~f:OptionSettingsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoptionSettings=(Option.map~f:OptionSettingsList.of_xml)(Xml.childxml_arg0"OptionSettings")inletvpcSecurityGroupMemberships=(Option.map~f:VpcSecurityGroupIdList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupMemberships")inletdBSecurityGroupMemberships=(Option.map~f:DBSecurityGroupNameList.of_xml)(Xml.childxml_arg0"DBSecurityGroupMemberships")inletoptionVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionVersion")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletoptionName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"OptionName")inmake?optionSettings?vpcSecurityGroupMemberships?dBSecurityGroupMemberships?optionVersion?port~optionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoptionSettings=field_mapjson__"OptionSettings"OptionSettingsList.of_jsoninletvpcSecurityGroupMemberships=field_mapjson__"VpcSecurityGroupMemberships"VpcSecurityGroupIdList.of_jsoninletdBSecurityGroupMemberships=field_mapjson__"DBSecurityGroupMemberships"DBSecurityGroupNameList.of_jsoninletoptionVersion=field_mapjson__"OptionVersion"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletoptionName=field_map_exnjson__"OptionName"String_.of_jsoninmake?optionSettings?vpcSecurityGroupMemberships?dBSecurityGroupMemberships?optionVersion?port~optionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of all available options for an option group."]moduleDBSnapshotAttributeList=structtypenonrect=DBSnapshotAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSnapshotAttribute.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:DBSnapshotAttribute.of_xml)letof_jsonj=list_of_json~kind:"DBSnapshotAttributeList"~of_json:DBSnapshotAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRecommendedActionUpdate=structtypenonrect={actionId:String_.t[@ocaml.doc"A unique identifier of the updated recommendation action."];status:String_.t[@ocaml.doc"The status of the updated recommendation action. applied scheduled"]}letcontext_="RecommendedActionUpdate"letmake~actionId=fun~status->fun()->{actionId;status}letto_valuex=structure_to_value[("ActionId",(Some(String_.to_valuex.actionId)));("Status",(Some(String_.to_valuex.status)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=String_.of_xml(Xml.child_exn~context:context_xml_arg0"Status")inletactionId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"ActionId")inmake~status~actionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_map_exnjson__"Status"String_.of_jsoninletactionId=field_map_exnjson__"ActionId"String_.of_jsoninmake~status~actionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The recommended status to update for the specified recommendation action ID."]moduleUserAuthConfig=structtypenonrect={description:Description.toption[@ocaml.doc"A user-specified description about the authentication used by a proxy to log in as a specific database user."];userName:AuthUserName.toption[@ocaml.doc"The name of the database user to which the proxy connects."];authScheme:AuthScheme.toption[@ocaml.doc"The type of authentication that the proxy uses for connections from the proxy to the underlying database."];secretArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager."];iAMAuth:IAMAuthMode.toption[@ocaml.doc"A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server."];clientPasswordAuthType:ClientPasswordAuthType.toption[@ocaml.doc"The type of authentication the proxy uses for connections from clients. The following values are defaults for the corresponding engines: RDS for MySQL: MYSQL_CACHING_SHA2_PASSWORD RDS for SQL Server: SQL_SERVER_AUTHENTICATION RDS for PostgreSQL: POSTGRES_SCRAM_SHA2_256"]}letmake?description=fun?userName->fun?authScheme->fun?secretArn->fun?iAMAuth->fun?clientPasswordAuthType->fun()->{description;userName;authScheme;secretArn;iAMAuth;clientPasswordAuthType}letto_valuex=structure_to_value[("Description",(Option.mapx.description~f:Description.to_value));("UserName",(Option.mapx.userName~f:AuthUserName.to_value));("AuthScheme",(Option.mapx.authScheme~f:AuthScheme.to_value));("SecretArn",(Option.mapx.secretArn~f:Arn.to_value));("IAMAuth",(Option.mapx.iAMAuth~f:IAMAuthMode.to_value));("ClientPasswordAuthType",(Option.mapx.clientPasswordAuthType~f:ClientPasswordAuthType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientPasswordAuthType=(Option.map~f:ClientPasswordAuthType.of_xml)(Xml.childxml_arg0"ClientPasswordAuthType")inletiAMAuth=(Option.map~f:IAMAuthMode.of_xml)(Xml.childxml_arg0"IAMAuth")inletsecretArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"SecretArn")inletauthScheme=(Option.map~f:AuthScheme.of_xml)(Xml.childxml_arg0"AuthScheme")inletuserName=(Option.map~f:AuthUserName.of_xml)(Xml.childxml_arg0"UserName")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inmake?clientPasswordAuthType?iAMAuth?secretArn?authScheme?userName?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientPasswordAuthType=field_mapjson__"ClientPasswordAuthType"ClientPasswordAuthType.of_jsoninletiAMAuth=field_mapjson__"IAMAuth"IAMAuthMode.of_jsoninletsecretArn=field_mapjson__"SecretArn"Arn.of_jsoninletauthScheme=field_mapjson__"AuthScheme"AuthScheme.of_jsoninletuserName=field_mapjson__"UserName"AuthUserName.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninmake?clientPasswordAuthType?iAMAuth?secretArn?authScheme?userName?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the details of authentication used by a proxy to log in as a specific database user."]moduleModifyAdditionalStorageVolume=structtypenonrect={volumeName:String_.t[@ocaml.doc"The name of the additional storage volume that you want to modify. Valid Values: RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4"];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The amount of storage allocated for the additional storage volume, in gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 TiB)."];iOPS:IntegerOptional.toption[@ocaml.doc"The number of I/O operations per second (IOPS) provisioned for the additional storage volume. This setting is only supported for Provisioned IOPS SSD (io1 and io2) storage types."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which RDS can automatically scale the storage of the additional storage volume. You must provide a value greater than or equal to AllocatedStorage."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput value for the additional storage volume, in mebibytes per second (MiBps). This setting applies only to the General Purpose SSD (gp3) storage type."];storageType:String_.toption[@ocaml.doc"The new storage type for the additional storage volume. Valid Values: GP3 | IO2"];setForDelete:BooleanOptional.toption[@ocaml.doc"Indicates whether to delete the additional storage volume. The value true schedules the volume for deletion. You can delete an additional storage volume only when it doesn't contain database files or other data."]}letcontext_="ModifyAdditionalStorageVolume"letmake?allocatedStorage=fun?iOPS->fun?maxAllocatedStorage->fun?storageThroughput->fun?storageType->fun?setForDelete->fun~volumeName->fun()->{allocatedStorage;iOPS;maxAllocatedStorage;storageThroughput;storageType;setForDelete;volumeName}letto_valuex=structure_to_value[("VolumeName",(Some(String_.to_valuex.volumeName)));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("IOPS",(Option.mapx.iOPS~f:IntegerOptional.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("SetForDelete",(Option.mapx.setForDelete~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsetForDelete=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SetForDelete")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletiOPS=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"IOPS")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletvolumeName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"VolumeName")inmake?setForDelete?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage~volumeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsetForDelete=field_mapjson__"SetForDelete"BooleanOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletiOPS=field_mapjson__"IOPS"IntegerOptional.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletvolumeName=field_map_exnjson__"VolumeName"String_.of_jsoninmake?setForDelete?storageType?storageThroughput?maxAllocatedStorage?iOPS?allocatedStorage~volumeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains details about the modification of an additional storage volume."]moduleDBClusterSnapshotAttributeList=structtypenonrect=DBClusterSnapshotAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterSnapshotAttribute.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:DBClusterSnapshotAttribute.of_xml)letof_jsonj=list_of_json~kind:"DBClusterSnapshotAttributeList"~of_json:DBClusterSnapshotAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilter=structtypenonrect={name:String_.t[@ocaml.doc"The name of the filter. Filter names are case-sensitive."];values:FilterValueList.t[@ocaml.doc"One or more filter values. Filter values are case-sensitive."]}letcontext_="Filter"letmake~name=fun~values->fun()->{name;values}letto_valuex=structure_to_value[("Name",(Some(String_.to_valuex.name)));("Values",(Some(FilterValueList.to_valuex.values)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=FilterValueList.of_xml(Xml.child_exn~context:context_xml_arg0"Values")inletname=String_.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake~values~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_map_exnjson__"Values"FilterValueList.of_jsoninletname=field_map_exnjson__"Name"String_.of_jsoninmake~values~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation. Currently, wildcards are not supported in filters. The following actions can be filtered: DescribeDBClusterBacktracks DescribeDBClusterEndpoints DescribeDBClusters DescribeDBInstances DescribeDBRecommendations DescribeDBShardGroups DescribePendingMaintenanceActions"]moduleGlobalCluster=structtypenonrect={globalClusterIdentifier:GlobalClusterIdentifier.toption[@ocaml.doc"Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster."];globalClusterResourceId:String_.toption[@ocaml.doc"The Amazon Web Services partition-unique, immutable identifier for the global database cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB cluster is accessed."];globalClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the global database cluster."];status:String_.toption[@ocaml.doc"Specifies the current state of this global database cluster."];engine:String_.toption[@ocaml.doc"The Aurora database engine used by the global database cluster."];engineVersion:String_.toption[@ocaml.doc"Indicates the database engine version."];engineLifecycleSupport:String_.toption[@ocaml.doc"The lifecycle type for the global cluster. For more information, see CreateGlobalCluster."];databaseName:String_.toption[@ocaml.doc"The default database name within the new global database cluster."];storageEncrypted:BooleanOptional.toption[@ocaml.doc"The storage encryption setting for the global database cluster."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the global database cluster. Possible values: none - The global database cluster is not encrypted. sse-rds - The global database cluster is encrypted using an Amazon Web Services owned KMS key. sse-kms - The global database cluster is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];deletionProtection:BooleanOptional.toption[@ocaml.doc"The deletion protection setting for the new global database cluster."];globalClusterMembers:GlobalClusterMemberList.toption[@ocaml.doc"The list of primary and secondary clusters within the global database cluster."];endpoint:String_.toption[@ocaml.doc"The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster."];failoverState:FailoverState.toption[@ocaml.doc"A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database). This object is empty unless the SwitchoverGlobalCluster or FailoverGlobalCluster operation was called on this global cluster."];tagList:TagList.toption}letmake?globalClusterIdentifier=fun?globalClusterResourceId->fun?globalClusterArn->fun?status->fun?engine->fun?engineVersion->fun?engineLifecycleSupport->fun?databaseName->fun?storageEncrypted->fun?storageEncryptionType->fun?deletionProtection->fun?globalClusterMembers->fun?endpoint->fun?failoverState->fun?tagList->fun()->{globalClusterIdentifier;globalClusterResourceId;globalClusterArn;status;engine;engineVersion;engineLifecycleSupport;databaseName;storageEncrypted;storageEncryptionType;deletionProtection;globalClusterMembers;endpoint;failoverState;tagList}letto_valuex=structure_to_value[("GlobalClusterIdentifier",(Option.mapx.globalClusterIdentifier~f:GlobalClusterIdentifier.to_value));("GlobalClusterResourceId",(Option.mapx.globalClusterResourceId~f:String_.to_value));("GlobalClusterArn",(Option.mapx.globalClusterArn~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("DatabaseName",(Option.mapx.databaseName~f:String_.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:BooleanOptional.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("GlobalClusterMembers",(Option.mapx.globalClusterMembers~f:GlobalClusterMemberList.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("FailoverState",(Option.mapx.failoverState~f:FailoverState.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletfailoverState=(Option.map~f:FailoverState.of_xml)(Xml.childxml_arg0"FailoverState")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletglobalClusterMembers=(Option.map~f:GlobalClusterMemberList.of_xml)(Xml.childxml_arg0"GlobalClusterMembers")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletstorageEncrypted=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"StorageEncrypted")inletdatabaseName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DatabaseName")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletglobalClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"GlobalClusterArn")inletglobalClusterResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"GlobalClusterResourceId")inletglobalClusterIdentifier=(Option.map~f:GlobalClusterIdentifier.of_xml)(Xml.childxml_arg0"GlobalClusterIdentifier")inmake?tagList?failoverState?endpoint?globalClusterMembers?deletionProtection?storageEncryptionType?storageEncrypted?databaseName?engineLifecycleSupport?engineVersion?engine?status?globalClusterArn?globalClusterResourceId?globalClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletfailoverState=field_mapjson__"FailoverState"FailoverState.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletglobalClusterMembers=field_mapjson__"GlobalClusterMembers"GlobalClusterMemberList.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"BooleanOptional.of_jsoninletdatabaseName=field_mapjson__"DatabaseName"String_.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletglobalClusterArn=field_mapjson__"GlobalClusterArn"String_.of_jsoninletglobalClusterResourceId=field_mapjson__"GlobalClusterResourceId"String_.of_jsoninletglobalClusterIdentifier=field_mapjson__"GlobalClusterIdentifier"GlobalClusterIdentifier.of_jsoninmake?tagList?failoverState?endpoint?globalClusterMembers?deletionProtection?storageEncryptionType?storageEncrypted?databaseName?engineLifecycleSupport?engineVersion?engine?status?globalClusterArn?globalClusterResourceId?globalClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A data type representing an Aurora global database."]moduleExportTask=structtypecancelExportTaskResult={exportTaskIdentifier:String_.toption[@ocaml.doc"A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported."];sourceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3."];exportOnly:StringList.toption[@ocaml.doc"The data exported from the snapshot or cluster. Valid Values: database - Export all the data from a specified database. database.table table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. database.schema schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. database.schema.table table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL."];snapshotTime:TStamp.toption[@ocaml.doc"The time when the snapshot was created."];taskStartTime:TStamp.toption[@ocaml.doc"The time when the snapshot or cluster export task started."];taskEndTime:TStamp.toption[@ocaml.doc"The time when the snapshot or cluster export task ended."];s3Bucket:String_.toption[@ocaml.doc"The Amazon S3 bucket where the snapshot or cluster is exported to."];s3Prefix:String_.toption[@ocaml.doc"The Amazon S3 bucket prefix that is the file name and path of the exported data."];iamRoleArn:String_.toption[@ocaml.doc"The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster."];kmsKeyId:String_.toption[@ocaml.doc"The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key."];status:String_.toption[@ocaml.doc"The progress status of the export task. The status can be one of the following: CANCELED CANCELING COMPLETE FAILED IN_PROGRESS STARTING"];percentProgress:Integer.toption[@ocaml.doc"The progress of the snapshot or cluster export task as a percentage."];totalExtractedDataInGB:Integer.toption[@ocaml.doc"The total amount of data exported, in gigabytes."];failureCause:String_.toption[@ocaml.doc"The reason the export failed, if it failed."];warningMessage:String_.toption[@ocaml.doc"A warning about the snapshot or cluster export task."];sourceType:ExportSourceType.toption[@ocaml.doc"The type of source for the export."]}andresponseMetaData=unitandt={cancelExportTaskResult:cancelExportTaskResult;responseMetaData:responseMetaData}typeerror=[`ExportTaskNotFoundFaultofExportTaskNotFoundFault.t|`InvalidExportTaskStateFaultofInvalidExportTaskStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ExportTask"letmake?exportTaskIdentifier=fun?sourceArn->fun?exportOnly->fun?snapshotTime->fun?taskStartTime->fun?taskEndTime->fun?s3Bucket->fun?s3Prefix->fun?iamRoleArn->fun?kmsKeyId->fun?status->fun?percentProgress->fun?totalExtractedDataInGB->fun?failureCause->fun?warningMessage->fun?sourceType->fun()->{cancelExportTaskResult={exportTaskIdentifier;sourceArn;exportOnly;snapshotTime;taskStartTime;taskEndTime;s3Bucket;s3Prefix;iamRoleArn;kmsKeyId;status;percentProgress;totalExtractedDataInGB;failureCause;warningMessage;sourceType};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"ExportTaskNotFoundFault"->`ExportTaskNotFoundFault(ExportTaskNotFoundFault.of_jsonjson)|"InvalidExportTaskStateFault"->`InvalidExportTaskStateFault(InvalidExportTaskStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ExportTaskNotFoundFault"->`ExportTaskNotFoundFault(ExportTaskNotFoundFault.of_xmlxml)|"InvalidExportTaskStateFault"->`InvalidExportTaskStateFault(InvalidExportTaskStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ExportTaskNotFoundFaulte->`Assoc[("error",(`String"ExportTaskNotFoundFault"));("details",(ExportTaskNotFoundFault.to_jsone))]|`InvalidExportTaskStateFaulte->`Assoc[("error",(`String"InvalidExportTaskStateFault"));("details",(InvalidExportTaskStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.cancelExportTaskResultinstructure_to_wrapped_value[("ExportTaskIdentifier",(Option.mapx.exportTaskIdentifier~f:String_.to_value));("SourceArn",(Option.mapx.sourceArn~f:String_.to_value));("ExportOnly",(Option.mapx.exportOnly~f:StringList.to_value));("SnapshotTime",(Option.mapx.snapshotTime~f:TStamp.to_value));("TaskStartTime",(Option.mapx.taskStartTime~f:TStamp.to_value));("TaskEndTime",(Option.mapx.taskEndTime~f:TStamp.to_value));("S3Bucket",(Option.mapx.s3Bucket~f:String_.to_value));("S3Prefix",(Option.mapx.s3Prefix~f:String_.to_value));("IamRoleArn",(Option.mapx.iamRoleArn~f:String_.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("PercentProgress",(Option.mapx.percentProgress~f:Integer.to_value));("TotalExtractedDataInGB",(Option.mapx.totalExtractedDataInGB~f:Integer.to_value));("FailureCause",(Option.mapx.failureCause~f:String_.to_value));("WarningMessage",(Option.mapx.warningMessage~f:String_.to_value));("SourceType",(Option.mapx.sourceType~f:ExportSourceType.to_value))]~wrapper:"CancelExportTaskResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CancelExportTaskResult"inletsourceType=(Option.map~f:ExportSourceType.of_xml)(Xml.childxml_arg0"SourceType")inletwarningMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"WarningMessage")inletfailureCause=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FailureCause")inlettotalExtractedDataInGB=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"TotalExtractedDataInGB")inletpercentProgress=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"PercentProgress")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletiamRoleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"IamRoleArn")inlets3Prefix=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"S3Prefix")inlets3Bucket=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"S3Bucket")inlettaskEndTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"TaskEndTime")inlettaskStartTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"TaskStartTime")inletsnapshotTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"SnapshotTime")inletexportOnly=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"ExportOnly")inletsourceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceArn")inletexportTaskIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ExportTaskIdentifier")inmake?sourceType?warningMessage?failureCause?totalExtractedDataInGB?percentProgress?status?kmsKeyId?iamRoleArn?s3Prefix?s3Bucket?taskEndTime?taskStartTime?snapshotTime?exportOnly?sourceArn?exportTaskIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceType=field_mapjson__"SourceType"ExportSourceType.of_jsoninletwarningMessage=field_mapjson__"WarningMessage"String_.of_jsoninletfailureCause=field_mapjson__"FailureCause"String_.of_jsoninlettotalExtractedDataInGB=field_mapjson__"TotalExtractedDataInGB"Integer.of_jsoninletpercentProgress=field_mapjson__"PercentProgress"Integer.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletiamRoleArn=field_mapjson__"IamRoleArn"String_.of_jsoninlets3Prefix=field_mapjson__"S3Prefix"String_.of_jsoninlets3Bucket=field_mapjson__"S3Bucket"String_.of_jsoninlettaskEndTime=field_mapjson__"TaskEndTime"TStamp.of_jsoninlettaskStartTime=field_mapjson__"TaskStartTime"TStamp.of_jsoninletsnapshotTime=field_mapjson__"SnapshotTime"TStamp.of_jsoninletexportOnly=field_mapjson__"ExportOnly"StringList.of_jsoninletsourceArn=field_mapjson__"SourceArn"String_.of_jsoninletexportTaskIdentifier=field_mapjson__"ExportTaskIdentifier"String_.of_jsoninmake?sourceType?warningMessage?failureCause?totalExtractedDataInGB?percentProgress?status?kmsKeyId?iamRoleArn?s3Prefix?s3Bucket?taskEndTime?taskStartTime?snapshotTime?exportOnly?sourceArn?exportTaskIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of a snapshot or cluster export to Amazon S3. This data type is used as a response element in the DescribeExportTasks operation."]moduleEvent=structtypenonrect={sourceIdentifier:String_.toption[@ocaml.doc"Provides the identifier for the source of the event."];sourceType:SourceType.toption[@ocaml.doc"Specifies the source type for this event."];message:String_.toption[@ocaml.doc"Provides the text of this event."];eventCategories:EventCategoriesList.toption[@ocaml.doc"Specifies the category for the event."];date:TStamp.toption[@ocaml.doc"Specifies the date and time of the event."];sourceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the event."]}letmake?sourceIdentifier=fun?sourceType->fun?message->fun?eventCategories->fun?date->fun?sourceArn->fun()->{sourceIdentifier;sourceType;message;eventCategories;date;sourceArn}letto_valuex=structure_to_value[("SourceIdentifier",(Option.mapx.sourceIdentifier~f:String_.to_value));("SourceType",(Option.mapx.sourceType~f:SourceType.to_value));("Message",(Option.mapx.message~f:String_.to_value));("EventCategories",(Option.mapx.eventCategories~f:EventCategoriesList.to_value));("Date",(Option.mapx.date~f:TStamp.to_value));("SourceArn",(Option.mapx.sourceArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceArn")inletdate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"Date")inleteventCategories=(Option.map~f:EventCategoriesList.of_xml)(Xml.childxml_arg0"EventCategories")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inletsourceType=(Option.map~f:SourceType.of_xml)(Xml.childxml_arg0"SourceType")inletsourceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceIdentifier")inmake?sourceArn?date?eventCategories?message?sourceType?sourceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceArn=field_mapjson__"SourceArn"String_.of_jsoninletdate=field_mapjson__"Date"TStamp.of_jsoninleteventCategories=field_mapjson__"EventCategories"EventCategoriesList.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninletsourceType=field_mapjson__"SourceType"SourceType.of_jsoninletsourceIdentifier=field_mapjson__"SourceIdentifier"String_.of_jsoninmake?sourceArn?date?eventCategories?message?sourceType?sourceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeEvents action."]moduleEventSubscription=structtypenonrect={customerAwsId:String_.toption[@ocaml.doc"The Amazon Web Services customer account associated with the RDS event notification subscription."];custSubscriptionId:String_.toption[@ocaml.doc"The RDS event notification subscription Id."];snsTopicArn:String_.toption[@ocaml.doc"The topic ARN of the RDS event notification subscription."];status:String_.toption[@ocaml.doc"The status of the RDS event notification subscription. Constraints: Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist The status \"no-permission\" indicates that RDS no longer has permission to post to the SNS topic. The status \"topic-not-exist\" indicates that the topic was deleted after the subscription was created."];subscriptionCreationTime:String_.toption[@ocaml.doc"The time the RDS event notification subscription was created."];sourceType:String_.toption[@ocaml.doc"The source type for the RDS event notification subscription."];sourceIdsList:SourceIdsList.toption[@ocaml.doc"A list of source IDs for the RDS event notification subscription."];eventCategoriesList:EventCategoriesList.toption[@ocaml.doc"A list of event categories for the RDS event notification subscription."];enabled:Boolean.toption[@ocaml.doc"Specifies whether the subscription is enabled. True indicates the subscription is enabled."];eventSubscriptionArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the event subscription."]}letmake?customerAwsId=fun?custSubscriptionId->fun?snsTopicArn->fun?status->fun?subscriptionCreationTime->fun?sourceType->fun?sourceIdsList->fun?eventCategoriesList->fun?enabled->fun?eventSubscriptionArn->fun()->{customerAwsId;custSubscriptionId;snsTopicArn;status;subscriptionCreationTime;sourceType;sourceIdsList;eventCategoriesList;enabled;eventSubscriptionArn}letto_valuex=structure_to_value[("CustomerAwsId",(Option.mapx.customerAwsId~f:String_.to_value));("CustSubscriptionId",(Option.mapx.custSubscriptionId~f:String_.to_value));("SnsTopicArn",(Option.mapx.snsTopicArn~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("SubscriptionCreationTime",(Option.mapx.subscriptionCreationTime~f:String_.to_value));("SourceType",(Option.mapx.sourceType~f:String_.to_value));("SourceIdsList",(Option.mapx.sourceIdsList~f:SourceIdsList.to_value));("EventCategoriesList",(Option.mapx.eventCategoriesList~f:EventCategoriesList.to_value));("Enabled",(Option.mapx.enabled~f:Boolean.to_value));("EventSubscriptionArn",(Option.mapx.eventSubscriptionArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventSubscriptionArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EventSubscriptionArn")inletenabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Enabled")inleteventCategoriesList=(Option.map~f:EventCategoriesList.of_xml)(Xml.childxml_arg0"EventCategoriesList")inletsourceIdsList=(Option.map~f:SourceIdsList.of_xml)(Xml.childxml_arg0"SourceIdsList")inletsourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceType")inletsubscriptionCreationTime=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SubscriptionCreationTime")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletsnsTopicArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnsTopicArn")inletcustSubscriptionId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustSubscriptionId")inletcustomerAwsId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustomerAwsId")inmake?eventSubscriptionArn?enabled?eventCategoriesList?sourceIdsList?sourceType?subscriptionCreationTime?status?snsTopicArn?custSubscriptionId?customerAwsId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventSubscriptionArn=field_mapjson__"EventSubscriptionArn"String_.of_jsoninletenabled=field_mapjson__"Enabled"Boolean.of_jsoninleteventCategoriesList=field_mapjson__"EventCategoriesList"EventCategoriesList.of_jsoninletsourceIdsList=field_mapjson__"SourceIdsList"SourceIdsList.of_jsoninletsourceType=field_mapjson__"SourceType"String_.of_jsoninletsubscriptionCreationTime=field_mapjson__"SubscriptionCreationTime"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletsnsTopicArn=field_mapjson__"SnsTopicArn"String_.of_jsoninletcustSubscriptionId=field_mapjson__"CustSubscriptionId"String_.of_jsoninletcustomerAwsId=field_mapjson__"CustomerAwsId"String_.of_jsoninmake?eventSubscriptionArn?enabled?eventCategoriesList?sourceIdsList?sourceType?subscriptionCreationTime?status?snsTopicArn?custSubscriptionId?customerAwsId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the results of a successful invocation of the DescribeEventSubscriptions action."]moduleEventCategoriesMap=structtypenonrect={sourceType:String_.toption[@ocaml.doc"The source type that the returned categories belong to"];eventCategories:EventCategoriesList.toption[@ocaml.doc"The event categories for the specified source type"]}letmake?sourceType=fun?eventCategories->fun()->{sourceType;eventCategories}letto_valuex=structure_to_value[("SourceType",(Option.mapx.sourceType~f:String_.to_value));("EventCategories",(Option.mapx.eventCategories~f:EventCategoriesList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventCategories=(Option.map~f:EventCategoriesList.of_xml)(Xml.childxml_arg0"EventCategories")inletsourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceType")inmake?eventCategories?sourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventCategories=field_mapjson__"EventCategories"EventCategoriesList.of_jsoninletsourceType=field_mapjson__"SourceType"String_.of_jsoninmake?eventCategories?sourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the results of a successful invocation of the DescribeEventCategories operation."]moduleValidAdditionalStorageOptions=structtypenonrect={supportsAdditionalStorageVolumes:Boolean.toption[@ocaml.doc"Indicates whether the DB instance supports additional storage volumes."];volumes:ValidVolumeOptionsList.toption[@ocaml.doc"The valid additional storage volume options for the DB instance."]}letmake?supportsAdditionalStorageVolumes=fun?volumes->fun()->{supportsAdditionalStorageVolumes;volumes}letto_valuex=structure_to_value[("SupportsAdditionalStorageVolumes",(Option.mapx.supportsAdditionalStorageVolumes~f:Boolean.to_value));("Volumes",(Option.mapx.volumes~f:ValidVolumeOptionsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvolumes=(Option.map~f:ValidVolumeOptionsList.of_xml)(Xml.childxml_arg0"Volumes")inletsupportsAdditionalStorageVolumes=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsAdditionalStorageVolumes")inmake?volumes?supportsAdditionalStorageVolumes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvolumes=field_mapjson__"Volumes"ValidVolumeOptionsList.of_jsoninletsupportsAdditionalStorageVolumes=field_mapjson__"SupportsAdditionalStorageVolumes"Boolean.of_jsoninmake?volumes?supportsAdditionalStorageVolumes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the valid options for additional storage volumes for a DB instance."]moduleIntegration=structtypecreateIntegrationResult={sourceArn:SourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the database used as the source for replication."];targetArn:Arn.toption[@ocaml.doc"The ARN of the Redshift data warehouse used as the target for replication."];integrationName:IntegrationName.toption[@ocaml.doc"The name of the integration."];integrationArn:IntegrationArn.toption[@ocaml.doc"The ARN of the integration."];kMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key used to to encrypt the integration."];additionalEncryptionContext:EncryptionContextMap.toption[@ocaml.doc"The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide."];status:IntegrationStatus.toption[@ocaml.doc"The current status of the integration."];tags:TagList.toption;dataFilter:DataFilter.toption[@ocaml.doc"Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse."];description:IntegrationDescription.toption[@ocaml.doc"A description of the integration."];createTime:TStamp.toption[@ocaml.doc"The time when the integration was created, in Universal Coordinated Time (UTC)."];errors:IntegrationErrorList.toption[@ocaml.doc"Any errors associated with the integration."]}andresponseMetaData=unitandt={createIntegrationResult:createIntegrationResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`IntegrationAlreadyExistsFaultofIntegrationAlreadyExistsFault.t|`IntegrationConflictOperationFaultofIntegrationConflictOperationFault.t|`IntegrationQuotaExceededFaultofIntegrationQuotaExceededFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="Integration"letmake?sourceArn=fun?targetArn->fun?integrationName->fun?integrationArn->fun?kMSKeyId->fun?additionalEncryptionContext->fun?status->fun?tags->fun?dataFilter->fun?description->fun?createTime->fun?errors->fun()->{createIntegrationResult={sourceArn;targetArn;integrationName;integrationArn;kMSKeyId;additionalEncryptionContext;status;tags;dataFilter;description;createTime;errors};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"IntegrationAlreadyExistsFault"->`IntegrationAlreadyExistsFault(IntegrationAlreadyExistsFault.of_jsonjson)|"IntegrationConflictOperationFault"->`IntegrationConflictOperationFault(IntegrationConflictOperationFault.of_jsonjson)|"IntegrationQuotaExceededFault"->`IntegrationQuotaExceededFault(IntegrationQuotaExceededFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"IntegrationAlreadyExistsFault"->`IntegrationAlreadyExistsFault(IntegrationAlreadyExistsFault.of_xmlxml)|"IntegrationConflictOperationFault"->`IntegrationConflictOperationFault(IntegrationConflictOperationFault.of_xmlxml)|"IntegrationQuotaExceededFault"->`IntegrationQuotaExceededFault(IntegrationQuotaExceededFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`IntegrationAlreadyExistsFaulte->`Assoc[("error",(`String"IntegrationAlreadyExistsFault"));("details",(IntegrationAlreadyExistsFault.to_jsone))]|`IntegrationConflictOperationFaulte->`Assoc[("error",(`String"IntegrationConflictOperationFault"));("details",(IntegrationConflictOperationFault.to_jsone))]|`IntegrationQuotaExceededFaulte->`Assoc[("error",(`String"IntegrationQuotaExceededFault"));("details",(IntegrationQuotaExceededFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createIntegrationResultinstructure_to_wrapped_value[("SourceArn",(Option.mapx.sourceArn~f:SourceArn.to_value));("TargetArn",(Option.mapx.targetArn~f:Arn.to_value));("IntegrationName",(Option.mapx.integrationName~f:IntegrationName.to_value));("IntegrationArn",(Option.mapx.integrationArn~f:IntegrationArn.to_value));("KMSKeyId",(Option.mapx.kMSKeyId~f:String_.to_value));("AdditionalEncryptionContext",(Option.mapx.additionalEncryptionContext~f:EncryptionContextMap.to_value));("Status",(Option.mapx.status~f:IntegrationStatus.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("DataFilter",(Option.mapx.dataFilter~f:DataFilter.to_value));("Description",(Option.mapx.description~f:IntegrationDescription.to_value));("CreateTime",(Option.mapx.createTime~f:TStamp.to_value));("Errors",(Option.mapx.errors~f:IntegrationErrorList.to_value))]~wrapper:"CreateIntegrationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateIntegrationResult"inleterrors=(Option.map~f:IntegrationErrorList.of_xml)(Xml.childxml_arg0"Errors")inletcreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreateTime")inletdescription=(Option.map~f:IntegrationDescription.of_xml)(Xml.childxml_arg0"Description")inletdataFilter=(Option.map~f:DataFilter.of_xml)(Xml.childxml_arg0"DataFilter")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletstatus=(Option.map~f:IntegrationStatus.of_xml)(Xml.childxml_arg0"Status")inletadditionalEncryptionContext=(Option.map~f:EncryptionContextMap.of_xml)(Xml.childxml_arg0"AdditionalEncryptionContext")inletkMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KMSKeyId")inletintegrationArn=(Option.map~f:IntegrationArn.of_xml)(Xml.childxml_arg0"IntegrationArn")inletintegrationName=(Option.map~f:IntegrationName.of_xml)(Xml.childxml_arg0"IntegrationName")inlettargetArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"TargetArn")inletsourceArn=(Option.map~f:SourceArn.of_xml)(Xml.childxml_arg0"SourceArn")inmake?errors?createTime?description?dataFilter?tags?status?additionalEncryptionContext?kMSKeyId?integrationArn?integrationName?targetArn?sourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"Errors"IntegrationErrorList.of_jsoninletcreateTime=field_mapjson__"CreateTime"TStamp.of_jsoninletdescription=field_mapjson__"Description"IntegrationDescription.of_jsoninletdataFilter=field_mapjson__"DataFilter"DataFilter.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletstatus=field_mapjson__"Status"IntegrationStatus.of_jsoninletadditionalEncryptionContext=field_mapjson__"AdditionalEncryptionContext"EncryptionContextMap.of_jsoninletkMSKeyId=field_mapjson__"KMSKeyId"String_.of_jsoninletintegrationArn=field_mapjson__"IntegrationArn"IntegrationArn.of_jsoninletintegrationName=field_mapjson__"IntegrationName"IntegrationName.of_jsoninlettargetArn=field_mapjson__"TargetArn"Arn.of_jsoninletsourceArn=field_mapjson__"SourceArn"SourceArn.of_jsoninmake?errors?createTime?description?dataFilter?tags?status?additionalEncryptionContext?kMSKeyId?integrationArn?integrationName?targetArn?sourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A zero-ETL integration with Amazon Redshift."]moduleParametersList=structtypenonrect=Parameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Parameter.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:Parameter.of_xml)letof_jsonj=list_of_json~kind:"ParametersList"~of_json:Parameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBShardGroup=structtypecreateDBShardGroupResult={dBShardGroupResourceId:String_.toption[@ocaml.doc"The Amazon Web Services Region-unique, immutable identifier for the DB shard group."];dBShardGroupIdentifier:DBShardGroupIdentifier.toption[@ocaml.doc"The name of the DB shard group."];dBClusterIdentifier:String_.toption[@ocaml.doc"The name of the primary DB cluster for the DB shard group."];maxACU:DoubleOptional.toption[@ocaml.doc"The maximum capacity of the DB shard group in Aurora capacity units (ACUs)."];minACU:DoubleOptional.toption[@ocaml.doc"The minimum capacity of the DB shard group in Aurora capacity units (ACUs)."];computeRedundancy:IntegerOptional.toption[@ocaml.doc"Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following: 0 - Creates a DB shard group without a standby DB shard group. This is the default value. 1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ). 2 - Creates a DB shard group with two standby DB shard groups in two different AZs."];status:String_.toption[@ocaml.doc"The status of the DB shard group."];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB shard group is publicly accessible. When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB shard group doesn't permit it. When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address. For more information, see CreateDBShardGroup. This setting is only for Aurora Limitless Database."];endpoint:String_.toption[@ocaml.doc"The connection endpoint for the DB shard group."];dBShardGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB shard group."];tagList:TagList.toption}andresponseMetaData=unitandt={createDBShardGroupResult:createDBShardGroupResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBShardGroupAlreadyExistsFaultofDBShardGroupAlreadyExistsFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`MaxDBShardGroupLimitReachedofMaxDBShardGroupLimitReached.t|`NetworkTypeNotSupportedofNetworkTypeNotSupported.t|`UnsupportedDBEngineVersionFaultofUnsupportedDBEngineVersionFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DBShardGroup"letmake?dBShardGroupResourceId=fun?dBShardGroupIdentifier->fun?dBClusterIdentifier->fun?maxACU->fun?minACU->fun?computeRedundancy->fun?status->fun?publiclyAccessible->fun?endpoint->fun?dBShardGroupArn->fun?tagList->fun()->{createDBShardGroupResult={dBShardGroupResourceId;dBShardGroupIdentifier;dBClusterIdentifier;maxACU;minACU;computeRedundancy;status;publiclyAccessible;endpoint;dBShardGroupArn;tagList};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBShardGroupAlreadyExistsFault"->`DBShardGroupAlreadyExistsFault(DBShardGroupAlreadyExistsFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"MaxDBShardGroupLimitReached"->`MaxDBShardGroupLimitReached(MaxDBShardGroupLimitReached.of_jsonjson)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_jsonjson)|"UnsupportedDBEngineVersionFault"->`UnsupportedDBEngineVersionFault(UnsupportedDBEngineVersionFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBShardGroupAlreadyExistsFault"->`DBShardGroupAlreadyExistsFault(DBShardGroupAlreadyExistsFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"MaxDBShardGroupLimitReached"->`MaxDBShardGroupLimitReached(MaxDBShardGroupLimitReached.of_xmlxml)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_xmlxml)|"UnsupportedDBEngineVersionFault"->`UnsupportedDBEngineVersionFault(UnsupportedDBEngineVersionFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBShardGroupAlreadyExistsFaulte->`Assoc[("error",(`String"DBShardGroupAlreadyExistsFault"));("details",(DBShardGroupAlreadyExistsFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`MaxDBShardGroupLimitReachede->`Assoc[("error",(`String"MaxDBShardGroupLimitReached"));("details",(MaxDBShardGroupLimitReached.to_jsone))]|`NetworkTypeNotSupportede->`Assoc[("error",(`String"NetworkTypeNotSupported"));("details",(NetworkTypeNotSupported.to_jsone))]|`UnsupportedDBEngineVersionFaulte->`Assoc[("error",(`String"UnsupportedDBEngineVersionFault"));("details",(UnsupportedDBEngineVersionFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createDBShardGroupResultinstructure_to_wrapped_value[("DBShardGroupResourceId",(Option.mapx.dBShardGroupResourceId~f:String_.to_value));("DBShardGroupIdentifier",(Option.mapx.dBShardGroupIdentifier~f:DBShardGroupIdentifier.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("MaxACU",(Option.mapx.maxACU~f:DoubleOptional.to_value));("MinACU",(Option.mapx.minACU~f:DoubleOptional.to_value));("ComputeRedundancy",(Option.mapx.computeRedundancy~f:IntegerOptional.to_value));("Status",(Option.mapx.status~f:String_.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("DBShardGroupArn",(Option.mapx.dBShardGroupArn~f:String_.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]~wrapper:"CreateDBShardGroupResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateDBShardGroupResult"inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletdBShardGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBShardGroupArn")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletcomputeRedundancy=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"ComputeRedundancy")inletminACU=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinACU")inletmaxACU=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxACU")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdBShardGroupIdentifier=(Option.map~f:DBShardGroupIdentifier.of_xml)(Xml.childxml_arg0"DBShardGroupIdentifier")inletdBShardGroupResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBShardGroupResourceId")inmake?tagList?dBShardGroupArn?endpoint?publiclyAccessible?status?computeRedundancy?minACU?maxACU?dBClusterIdentifier?dBShardGroupIdentifier?dBShardGroupResourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletdBShardGroupArn=field_mapjson__"DBShardGroupArn"String_.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletcomputeRedundancy=field_mapjson__"ComputeRedundancy"IntegerOptional.of_jsoninletminACU=field_mapjson__"MinACU"DoubleOptional.of_jsoninletmaxACU=field_mapjson__"MaxACU"DoubleOptional.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdBShardGroupIdentifier=field_mapjson__"DBShardGroupIdentifier"DBShardGroupIdentifier.of_jsoninletdBShardGroupResourceId=field_mapjson__"DBShardGroupResourceId"String_.of_jsoninmake?tagList?dBShardGroupArn?endpoint?publiclyAccessible?status?computeRedundancy?minACU?maxACU?dBClusterIdentifier?dBShardGroupIdentifier?dBShardGroupResourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details for an Amazon RDS DB shard group."]moduleDBProxyTargetGroup=structtypenonrect={dBProxyName:String_.toption[@ocaml.doc"The identifier for the RDS proxy associated with this target group."];targetGroupName:String_.toption[@ocaml.doc"The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region."];targetGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) representing the target group."];isDefault:Boolean.toption[@ocaml.doc"Indicates whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true."];status:String_.toption[@ocaml.doc"The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue."];connectionPoolConfig:ConnectionPoolConfigurationInfo.toption[@ocaml.doc"The settings that determine the size and behavior of the connection pool for the target group."];createdDate:TStamp.toption[@ocaml.doc"The date and time when the target group was first created."];updatedDate:TStamp.toption[@ocaml.doc"The date and time when the target group was last updated."]}letmake?dBProxyName=fun?targetGroupName->fun?targetGroupArn->fun?isDefault->fun?status->fun?connectionPoolConfig->fun?createdDate->fun?updatedDate->fun()->{dBProxyName;targetGroupName;targetGroupArn;isDefault;status;connectionPoolConfig;createdDate;updatedDate}letto_valuex=structure_to_value[("DBProxyName",(Option.mapx.dBProxyName~f:String_.to_value));("TargetGroupName",(Option.mapx.targetGroupName~f:String_.to_value));("TargetGroupArn",(Option.mapx.targetGroupArn~f:String_.to_value));("IsDefault",(Option.mapx.isDefault~f:Boolean.to_value));("Status",(Option.mapx.status~f:String_.to_value));("ConnectionPoolConfig",(Option.mapx.connectionPoolConfig~f:ConnectionPoolConfigurationInfo.to_value));("CreatedDate",(Option.mapx.createdDate~f:TStamp.to_value));("UpdatedDate",(Option.mapx.updatedDate~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"UpdatedDate")inletcreatedDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreatedDate")inletconnectionPoolConfig=(Option.map~f:ConnectionPoolConfigurationInfo.of_xml)(Xml.childxml_arg0"ConnectionPoolConfig")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletisDefault=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsDefault")inlettargetGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TargetGroupArn")inlettargetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TargetGroupName")inletdBProxyName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyName")inmake?updatedDate?createdDate?connectionPoolConfig?status?isDefault?targetGroupArn?targetGroupName?dBProxyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedDate=field_mapjson__"UpdatedDate"TStamp.of_jsoninletcreatedDate=field_mapjson__"CreatedDate"TStamp.of_jsoninletconnectionPoolConfig=field_mapjson__"ConnectionPoolConfig"ConnectionPoolConfigurationInfo.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletisDefault=field_mapjson__"IsDefault"Boolean.of_jsoninlettargetGroupArn=field_mapjson__"TargetGroupArn"String_.of_jsoninlettargetGroupName=field_mapjson__"TargetGroupName"String_.of_jsoninletdBProxyName=field_mapjson__"DBProxyName"String_.of_jsoninmake?updatedDate?createdDate?connectionPoolConfig?status?isDefault?targetGroupArn?targetGroupName?dBProxyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a set of RDS DB instances, Aurora DB clusters, or both that a proxy can connect to. Currently, each target group is associated with exactly one RDS DB instance or Aurora DB cluster. This data type is used as a response element in the DescribeDBProxyTargetGroups action."]moduleDBProxyEndpoint=structtypenonrect={dBProxyEndpointName:String_.toption[@ocaml.doc"The name for the DB proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens."];dBProxyEndpointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB proxy endpoint."];dBProxyName:String_.toption[@ocaml.doc"The identifier for the DB proxy that is associated with this DB proxy endpoint."];status:DBProxyEndpointStatus.toption[@ocaml.doc"The current status of this DB proxy endpoint. A status of available means the endpoint is ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some action to resolve an issue."];vpcId:String_.toption[@ocaml.doc"Provides the VPC ID of the DB proxy endpoint."];vpcSecurityGroupIds:StringList.toption[@ocaml.doc"Provides a list of VPC security groups that the DB proxy endpoint belongs to."];vpcSubnetIds:StringList.toption[@ocaml.doc"The EC2 subnet IDs for the DB proxy endpoint."];endpoint:String_.toption[@ocaml.doc"The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application."];createdDate:TStamp.toption[@ocaml.doc"The date and time when the DB proxy endpoint was first created."];targetRole:DBProxyEndpointTargetRole.toption[@ocaml.doc"A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations."];isDefault:Boolean.toption[@ocaml.doc"Indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only."];endpointNetworkType:EndpointNetworkType.toption[@ocaml.doc"The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports. Valid values: IPV4 - The proxy endpoint supports IPv4 only. IPV6 - The proxy endpoint supports IPv6 only. DUAL - The proxy endpoint supports both IPv4 and IPv6."]}letmake?dBProxyEndpointName=fun?dBProxyEndpointArn->fun?dBProxyName->fun?status->fun?vpcId->fun?vpcSecurityGroupIds->fun?vpcSubnetIds->fun?endpoint->fun?createdDate->fun?targetRole->fun?isDefault->fun?endpointNetworkType->fun()->{dBProxyEndpointName;dBProxyEndpointArn;dBProxyName;status;vpcId;vpcSecurityGroupIds;vpcSubnetIds;endpoint;createdDate;targetRole;isDefault;endpointNetworkType}letto_valuex=structure_to_value[("DBProxyEndpointName",(Option.mapx.dBProxyEndpointName~f:String_.to_value));("DBProxyEndpointArn",(Option.mapx.dBProxyEndpointArn~f:String_.to_value));("DBProxyName",(Option.mapx.dBProxyName~f:String_.to_value));("Status",(Option.mapx.status~f:DBProxyEndpointStatus.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:StringList.to_value));("VpcSubnetIds",(Option.mapx.vpcSubnetIds~f:StringList.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("CreatedDate",(Option.mapx.createdDate~f:TStamp.to_value));("TargetRole",(Option.mapx.targetRole~f:DBProxyEndpointTargetRole.to_value));("IsDefault",(Option.mapx.isDefault~f:Boolean.to_value));("EndpointNetworkType",(Option.mapx.endpointNetworkType~f:EndpointNetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpointNetworkType=(Option.map~f:EndpointNetworkType.of_xml)(Xml.childxml_arg0"EndpointNetworkType")inletisDefault=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsDefault")inlettargetRole=(Option.map~f:DBProxyEndpointTargetRole.of_xml)(Xml.childxml_arg0"TargetRole")inletcreatedDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreatedDate")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletvpcSubnetIds=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"VpcSubnetIds")inletvpcSecurityGroupIds=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletstatus=(Option.map~f:DBProxyEndpointStatus.of_xml)(Xml.childxml_arg0"Status")inletdBProxyName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyName")inletdBProxyEndpointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyEndpointArn")inletdBProxyEndpointName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyEndpointName")inmake?endpointNetworkType?isDefault?targetRole?createdDate?endpoint?vpcSubnetIds?vpcSecurityGroupIds?vpcId?status?dBProxyName?dBProxyEndpointArn?dBProxyEndpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpointNetworkType=field_mapjson__"EndpointNetworkType"EndpointNetworkType.of_jsoninletisDefault=field_mapjson__"IsDefault"Boolean.of_jsoninlettargetRole=field_mapjson__"TargetRole"DBProxyEndpointTargetRole.of_jsoninletcreatedDate=field_mapjson__"CreatedDate"TStamp.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletvpcSubnetIds=field_mapjson__"VpcSubnetIds"StringList.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"StringList.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletstatus=field_mapjson__"Status"DBProxyEndpointStatus.of_jsoninletdBProxyName=field_mapjson__"DBProxyName"String_.of_jsoninletdBProxyEndpointArn=field_mapjson__"DBProxyEndpointArn"String_.of_jsoninletdBProxyEndpointName=field_mapjson__"DBProxyEndpointName"String_.of_jsoninmake?endpointNetworkType?isDefault?targetRole?createdDate?endpoint?vpcSubnetIds?vpcSecurityGroupIds?vpcId?status?dBProxyName?dBProxyEndpointArn?dBProxyEndpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The data structure representing an endpoint associated with a DB proxy. RDS automatically creates one endpoint for each DB proxy. For Aurora DB clusters, you can associate additional endpoints with the same DB proxy. These endpoints can be read/write or read-only. They can also reside in different VPCs than the associated DB proxy. This data type is used as a response element in the DescribeDBProxyEndpoints operation."]moduleDBProxy=structtypenonrect={dBProxyName:String_.toption[@ocaml.doc"The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region."];dBProxyArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the proxy."];status:DBProxyStatus.toption[@ocaml.doc"The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue."];engineFamily:String_.toption[@ocaml.doc"The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases. SQLSERVER supports RDS for Microsoft SQL Server databases."];vpcId:String_.toption[@ocaml.doc"Provides the VPC ID of the DB proxy."];vpcSecurityGroupIds:StringList.toption[@ocaml.doc"Provides a list of VPC security groups that the proxy belongs to."];vpcSubnetIds:StringList.toption[@ocaml.doc"The EC2 subnet IDs for the proxy."];defaultAuthScheme:String_.toption[@ocaml.doc"The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are NONE and IAM_AUTH. When set to IAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database."];auth:UserAuthConfigInfoList.toption[@ocaml.doc"One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster."];roleArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager."];endpoint:String_.toption[@ocaml.doc"The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application."];requireTLS:Boolean.toption[@ocaml.doc"Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy."];idleClientTimeout:Integer.toption[@ocaml.doc"The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests. Default: 1800 (30 minutes) Constraints: 1 to 28,800"];debugLogging:Boolean.toption[@ocaml.doc"Specifies whether the proxy logs detailed connection and query information. When you enable DebugLogging, the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues."];createdDate:TStamp.toption[@ocaml.doc"The date and time when the proxy was first created."];updatedDate:TStamp.toption[@ocaml.doc"The date and time when the proxy was last updated."];endpointNetworkType:EndpointNetworkType.toption[@ocaml.doc"The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports. Valid values: IPV4 - The proxy endpoint supports IPv4 only. IPV6 - The proxy endpoint supports IPv6 only. DUAL - The proxy endpoint supports both IPv4 and IPv6."];targetConnectionNetworkType:TargetConnectionNetworkType.toption[@ocaml.doc"The network type that the proxy uses to connect to the target database. The network type determines the IP version that the proxy uses for connections to the database. Valid values: IPV4 - The proxy connects to the database using IPv4 only. IPV6 - The proxy connects to the database using IPv6 only."]}letmake?dBProxyName=fun?dBProxyArn->fun?status->fun?engineFamily->fun?vpcId->fun?vpcSecurityGroupIds->fun?vpcSubnetIds->fun?defaultAuthScheme->fun?auth->fun?roleArn->fun?endpoint->fun?requireTLS->fun?idleClientTimeout->fun?debugLogging->fun?createdDate->fun?updatedDate->fun?endpointNetworkType->fun?targetConnectionNetworkType->fun()->{dBProxyName;dBProxyArn;status;engineFamily;vpcId;vpcSecurityGroupIds;vpcSubnetIds;defaultAuthScheme;auth;roleArn;endpoint;requireTLS;idleClientTimeout;debugLogging;createdDate;updatedDate;endpointNetworkType;targetConnectionNetworkType}letto_valuex=structure_to_value[("DBProxyName",(Option.mapx.dBProxyName~f:String_.to_value));("DBProxyArn",(Option.mapx.dBProxyArn~f:String_.to_value));("Status",(Option.mapx.status~f:DBProxyStatus.to_value));("EngineFamily",(Option.mapx.engineFamily~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:StringList.to_value));("VpcSubnetIds",(Option.mapx.vpcSubnetIds~f:StringList.to_value));("DefaultAuthScheme",(Option.mapx.defaultAuthScheme~f:String_.to_value));("Auth",(Option.mapx.auth~f:UserAuthConfigInfoList.to_value));("RoleArn",(Option.mapx.roleArn~f:String_.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("RequireTLS",(Option.mapx.requireTLS~f:Boolean.to_value));("IdleClientTimeout",(Option.mapx.idleClientTimeout~f:Integer.to_value));("DebugLogging",(Option.mapx.debugLogging~f:Boolean.to_value));("CreatedDate",(Option.mapx.createdDate~f:TStamp.to_value));("UpdatedDate",(Option.mapx.updatedDate~f:TStamp.to_value));("EndpointNetworkType",(Option.mapx.endpointNetworkType~f:EndpointNetworkType.to_value));("TargetConnectionNetworkType",(Option.mapx.targetConnectionNetworkType~f:TargetConnectionNetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetConnectionNetworkType=(Option.map~f:TargetConnectionNetworkType.of_xml)(Xml.childxml_arg0"TargetConnectionNetworkType")inletendpointNetworkType=(Option.map~f:EndpointNetworkType.of_xml)(Xml.childxml_arg0"EndpointNetworkType")inletupdatedDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"UpdatedDate")inletcreatedDate=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreatedDate")inletdebugLogging=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DebugLogging")inletidleClientTimeout=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"IdleClientTimeout")inletrequireTLS=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"RequireTLS")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletroleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RoleArn")inletauth=(Option.map~f:UserAuthConfigInfoList.of_xml)(Xml.childxml_arg0"Auth")inletdefaultAuthScheme=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DefaultAuthScheme")inletvpcSubnetIds=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"VpcSubnetIds")inletvpcSecurityGroupIds=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletengineFamily=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineFamily")inletstatus=(Option.map~f:DBProxyStatus.of_xml)(Xml.childxml_arg0"Status")inletdBProxyArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyArn")inletdBProxyName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBProxyName")inmake?targetConnectionNetworkType?endpointNetworkType?updatedDate?createdDate?debugLogging?idleClientTimeout?requireTLS?endpoint?roleArn?auth?defaultAuthScheme?vpcSubnetIds?vpcSecurityGroupIds?vpcId?engineFamily?status?dBProxyArn?dBProxyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetConnectionNetworkType=field_mapjson__"TargetConnectionNetworkType"TargetConnectionNetworkType.of_jsoninletendpointNetworkType=field_mapjson__"EndpointNetworkType"EndpointNetworkType.of_jsoninletupdatedDate=field_mapjson__"UpdatedDate"TStamp.of_jsoninletcreatedDate=field_mapjson__"CreatedDate"TStamp.of_jsoninletdebugLogging=field_mapjson__"DebugLogging"Boolean.of_jsoninletidleClientTimeout=field_mapjson__"IdleClientTimeout"Integer.of_jsoninletrequireTLS=field_mapjson__"RequireTLS"Boolean.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletroleArn=field_mapjson__"RoleArn"String_.of_jsoninletauth=field_mapjson__"Auth"UserAuthConfigInfoList.of_jsoninletdefaultAuthScheme=field_mapjson__"DefaultAuthScheme"String_.of_jsoninletvpcSubnetIds=field_mapjson__"VpcSubnetIds"StringList.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"StringList.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletengineFamily=field_mapjson__"EngineFamily"String_.of_jsoninletstatus=field_mapjson__"Status"DBProxyStatus.of_jsoninletdBProxyArn=field_mapjson__"DBProxyArn"String_.of_jsoninletdBProxyName=field_mapjson__"DBProxyName"String_.of_jsoninmake?targetConnectionNetworkType?endpointNetworkType?updatedDate?createdDate?debugLogging?idleClientTimeout?requireTLS?endpoint?roleArn?auth?defaultAuthScheme?vpcSubnetIds?vpcSecurityGroupIds?vpcId?engineFamily?status?dBProxyArn?dBProxyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The data structure representing a proxy managed by the RDS Proxy. This data type is used as a response element in the DescribeDBProxies action."]moduleDBMajorEngineVersion=structtypenonrect={engine:String_.toption[@ocaml.doc"The name of the database engine."];majorEngineVersion:String_.toption[@ocaml.doc"The major version number of the database engine."];supportedEngineLifecycles:SupportedEngineLifecycleList.toption[@ocaml.doc"A list of the lifecycles supported by this engine for the DescribeDBMajorEngineVersions operation."]}letmake?engine=fun?majorEngineVersion->fun?supportedEngineLifecycles->fun()->{engine;majorEngineVersion;supportedEngineLifecycles}letto_valuex=structure_to_value[("Engine",(Option.mapx.engine~f:String_.to_value));("MajorEngineVersion",(Option.mapx.majorEngineVersion~f:String_.to_value));("SupportedEngineLifecycles",(Option.mapx.supportedEngineLifecycles~f:SupportedEngineLifecycleList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportedEngineLifecycles=(Option.map~f:SupportedEngineLifecycleList.of_xml)(Xml.childxml_arg0"SupportedEngineLifecycles")inletmajorEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MajorEngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inmake?supportedEngineLifecycles?majorEngineVersion?engine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportedEngineLifecycles=field_mapjson__"SupportedEngineLifecycles"SupportedEngineLifecycleList.of_jsoninletmajorEngineVersion=field_mapjson__"MajorEngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninmake?supportedEngineLifecycles?majorEngineVersion?engine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the operation DescribeDBMajorEngineVersions."]moduleDescribeDBLogFilesDetails=structtypenonrect={logFileName:String_.toption[@ocaml.doc"The name of the log file for the specified DB instance."];lastWritten:Long.toption[@ocaml.doc"A POSIX timestamp when the last log entry was written."];size:Long.toption[@ocaml.doc"The size, in bytes, of the log file for the specified DB instance."]}letmake?logFileName=fun?lastWritten->fun?size->fun()->{logFileName;lastWritten;size}letto_valuex=structure_to_value[("LogFileName",(Option.mapx.logFileName~f:String_.to_value));("LastWritten",(Option.mapx.lastWritten~f:Long.to_value));("Size",(Option.mapx.size~f:Long.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsize=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"Size")inletlastWritten=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"LastWritten")inletlogFileName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LogFileName")inmake?size?lastWritten?logFileName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsize=field_mapjson__"Size"Long.of_jsoninletlastWritten=field_mapjson__"LastWritten"Long.of_jsoninletlogFileName=field_mapjson__"LogFileName"String_.of_jsoninmake?size?lastWritten?logFileName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element to DescribeDBLogFiles."]moduleBlueGreenDeployment=structtypenonrect={blueGreenDeploymentIdentifier:BlueGreenDeploymentIdentifier.toption[@ocaml.doc"The unique identifier of the blue/green deployment."];blueGreenDeploymentName:BlueGreenDeploymentName.toption[@ocaml.doc"The user-supplied name of the blue/green deployment."];source:DatabaseArn.toption[@ocaml.doc"The source database for the blue/green deployment. Before switchover, the source database is the production database in the blue environment."];target:DatabaseArn.toption[@ocaml.doc"The target database for the blue/green deployment. Before switchover, the target database is the clone database in the green environment."];switchoverDetails:SwitchoverDetailList.toption[@ocaml.doc"The details about each source and target resource in the blue/green deployment."];tasks:BlueGreenDeploymentTaskList.toption[@ocaml.doc"Either tasks to be performed or tasks that have been completed on the target database before switchover."];status:BlueGreenDeploymentStatus.toption[@ocaml.doc"The status of the blue/green deployment. Valid Values: PROVISIONING - Resources are being created in the green environment. AVAILABLE - Resources are available in the green environment. SWITCHOVER_IN_PROGRESS - The deployment is being switched from the blue environment to the green environment. SWITCHOVER_COMPLETED - Switchover from the blue environment to the green environment is complete. INVALID_CONFIGURATION - Resources in the green environment are invalid, so switchover isn't possible. SWITCHOVER_FAILED - Switchover was attempted but failed. DELETING - The blue/green deployment is being deleted."];statusDetails:BlueGreenDeploymentStatusDetails.toption[@ocaml.doc"Additional information about the status of the blue/green deployment."];createTime:TStamp.toption[@ocaml.doc"The time when the blue/green deployment was created, in Universal Coordinated Time (UTC)."];deleteTime:TStamp.toption[@ocaml.doc"The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC)."];tagList:TagList.toption}letmake?blueGreenDeploymentIdentifier=fun?blueGreenDeploymentName->fun?source->fun?target->fun?switchoverDetails->fun?tasks->fun?status->fun?statusDetails->fun?createTime->fun?deleteTime->fun?tagList->fun()->{blueGreenDeploymentIdentifier;blueGreenDeploymentName;source;target;switchoverDetails;tasks;status;statusDetails;createTime;deleteTime;tagList}letto_valuex=structure_to_value[("BlueGreenDeploymentIdentifier",(Option.mapx.blueGreenDeploymentIdentifier~f:BlueGreenDeploymentIdentifier.to_value));("BlueGreenDeploymentName",(Option.mapx.blueGreenDeploymentName~f:BlueGreenDeploymentName.to_value));("Source",(Option.mapx.source~f:DatabaseArn.to_value));("Target",(Option.mapx.target~f:DatabaseArn.to_value));("SwitchoverDetails",(Option.mapx.switchoverDetails~f:SwitchoverDetailList.to_value));("Tasks",(Option.mapx.tasks~f:BlueGreenDeploymentTaskList.to_value));("Status",(Option.mapx.status~f:BlueGreenDeploymentStatus.to_value));("StatusDetails",(Option.mapx.statusDetails~f:BlueGreenDeploymentStatusDetails.to_value));("CreateTime",(Option.mapx.createTime~f:TStamp.to_value));("DeleteTime",(Option.mapx.deleteTime~f:TStamp.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletdeleteTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"DeleteTime")inletcreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreateTime")inletstatusDetails=(Option.map~f:BlueGreenDeploymentStatusDetails.of_xml)(Xml.childxml_arg0"StatusDetails")inletstatus=(Option.map~f:BlueGreenDeploymentStatus.of_xml)(Xml.childxml_arg0"Status")inlettasks=(Option.map~f:BlueGreenDeploymentTaskList.of_xml)(Xml.childxml_arg0"Tasks")inletswitchoverDetails=(Option.map~f:SwitchoverDetailList.of_xml)(Xml.childxml_arg0"SwitchoverDetails")inlettarget=(Option.map~f:DatabaseArn.of_xml)(Xml.childxml_arg0"Target")inletsource=(Option.map~f:DatabaseArn.of_xml)(Xml.childxml_arg0"Source")inletblueGreenDeploymentName=(Option.map~f:BlueGreenDeploymentName.of_xml)(Xml.childxml_arg0"BlueGreenDeploymentName")inletblueGreenDeploymentIdentifier=(Option.map~f:BlueGreenDeploymentIdentifier.of_xml)(Xml.childxml_arg0"BlueGreenDeploymentIdentifier")inmake?tagList?deleteTime?createTime?statusDetails?status?tasks?switchoverDetails?target?source?blueGreenDeploymentName?blueGreenDeploymentIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletdeleteTime=field_mapjson__"DeleteTime"TStamp.of_jsoninletcreateTime=field_mapjson__"CreateTime"TStamp.of_jsoninletstatusDetails=field_mapjson__"StatusDetails"BlueGreenDeploymentStatusDetails.of_jsoninletstatus=field_mapjson__"Status"BlueGreenDeploymentStatus.of_jsoninlettasks=field_mapjson__"Tasks"BlueGreenDeploymentTaskList.of_jsoninletswitchoverDetails=field_mapjson__"SwitchoverDetails"SwitchoverDetailList.of_jsoninlettarget=field_mapjson__"Target"DatabaseArn.of_jsoninletsource=field_mapjson__"Source"DatabaseArn.of_jsoninletblueGreenDeploymentName=field_mapjson__"BlueGreenDeploymentName"BlueGreenDeploymentName.of_jsoninletblueGreenDeploymentIdentifier=field_mapjson__"BlueGreenDeploymentIdentifier"BlueGreenDeploymentIdentifier.of_jsoninmake?tagList?deleteTime?createTime?statusDetails?status?tasks?switchoverDetails?target?source?blueGreenDeploymentName?blueGreenDeploymentIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about a blue/green deployment. For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide."]moduleDBSnapshotTenantDatabase=structtypenonrect={dBSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier for the snapshot of the DB instance."];dBInstanceIdentifier:String_.toption[@ocaml.doc"The ID for the DB instance that contains the tenant databases."];dbiResourceId:String_.toption[@ocaml.doc"The resource identifier of the source CDB instance. This identifier can't be changed and is unique to an Amazon Web Services Region."];engineName:String_.toption[@ocaml.doc"The name of the database engine."];snapshotType:String_.toption[@ocaml.doc"The type of DB snapshot."];tenantDatabaseCreateTime:TStamp.toption[@ocaml.doc"The time the DB snapshot was taken, specified in Coordinated Universal Time (UTC). If you copy the snapshot, the creation time changes."];tenantDBName:String_.toption[@ocaml.doc"The name of the tenant database."];masterUsername:String_.toption[@ocaml.doc"The master username of the tenant database."];tenantDatabaseResourceId:String_.toption[@ocaml.doc"The resource ID of the tenant database."];characterSetName:String_.toption[@ocaml.doc"The name of the character set of a tenant database."];dBSnapshotTenantDatabaseARN:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the snapshot tenant database."];ncharCharacterSetName:String_.toption[@ocaml.doc"The NCHAR character set name of the tenant database."];tagList:TagList.toption}letmake?dBSnapshotIdentifier=fun?dBInstanceIdentifier->fun?dbiResourceId->fun?engineName->fun?snapshotType->fun?tenantDatabaseCreateTime->fun?tenantDBName->fun?masterUsername->fun?tenantDatabaseResourceId->fun?characterSetName->fun?dBSnapshotTenantDatabaseARN->fun?ncharCharacterSetName->fun?tagList->fun()->{dBSnapshotIdentifier;dBInstanceIdentifier;dbiResourceId;engineName;snapshotType;tenantDatabaseCreateTime;tenantDBName;masterUsername;tenantDatabaseResourceId;characterSetName;dBSnapshotTenantDatabaseARN;ncharCharacterSetName;tagList}letto_valuex=structure_to_value[("DBSnapshotIdentifier",(Option.mapx.dBSnapshotIdentifier~f:String_.to_value));("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("DbiResourceId",(Option.mapx.dbiResourceId~f:String_.to_value));("EngineName",(Option.mapx.engineName~f:String_.to_value));("SnapshotType",(Option.mapx.snapshotType~f:String_.to_value));("TenantDatabaseCreateTime",(Option.mapx.tenantDatabaseCreateTime~f:TStamp.to_value));("TenantDBName",(Option.mapx.tenantDBName~f:String_.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("TenantDatabaseResourceId",(Option.mapx.tenantDatabaseResourceId~f:String_.to_value));("CharacterSetName",(Option.mapx.characterSetName~f:String_.to_value));("DBSnapshotTenantDatabaseARN",(Option.mapx.dBSnapshotTenantDatabaseARN~f:String_.to_value));("NcharCharacterSetName",(Option.mapx.ncharCharacterSetName~f:String_.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletncharCharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NcharCharacterSetName")inletdBSnapshotTenantDatabaseARN=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotTenantDatabaseARN")inletcharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetName")inlettenantDatabaseResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDatabaseResourceId")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inlettenantDBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TenantDBName")inlettenantDatabaseCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"TenantDatabaseCreateTime")inletsnapshotType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnapshotType")inletengineName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineName")inletdbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbiResourceId")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inletdBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotIdentifier")inmake?tagList?ncharCharacterSetName?dBSnapshotTenantDatabaseARN?characterSetName?tenantDatabaseResourceId?masterUsername?tenantDBName?tenantDatabaseCreateTime?snapshotType?engineName?dbiResourceId?dBInstanceIdentifier?dBSnapshotIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletncharCharacterSetName=field_mapjson__"NcharCharacterSetName"String_.of_jsoninletdBSnapshotTenantDatabaseARN=field_mapjson__"DBSnapshotTenantDatabaseARN"String_.of_jsoninletcharacterSetName=field_mapjson__"CharacterSetName"String_.of_jsoninlettenantDatabaseResourceId=field_mapjson__"TenantDatabaseResourceId"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninlettenantDBName=field_mapjson__"TenantDBName"String_.of_jsoninlettenantDatabaseCreateTime=field_mapjson__"TenantDatabaseCreateTime"TStamp.of_jsoninletsnapshotType=field_mapjson__"SnapshotType"String_.of_jsoninletengineName=field_mapjson__"EngineName"String_.of_jsoninletdbiResourceId=field_mapjson__"DbiResourceId"String_.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninletdBSnapshotIdentifier=field_mapjson__"DBSnapshotIdentifier"String_.of_jsoninmake?tagList?ncharCharacterSetName?dBSnapshotTenantDatabaseARN?characterSetName?tenantDatabaseResourceId?masterUsername?tenantDBName?tenantDatabaseCreateTime?snapshotType?engineName?dbiResourceId?dBInstanceIdentifier?dBSnapshotIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of a tenant database in a snapshot of a DB instance."]moduleDBSnapshot=structtypenonrect={dBSnapshotIdentifier:String_.toption[@ocaml.doc"Specifies the identifier for the DB snapshot."];dBInstanceIdentifier:String_.toption[@ocaml.doc"Specifies the DB instance identifier of the DB instance this DB snapshot was created from."];snapshotCreateTime:TStamp.toption[@ocaml.doc"Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied."];engine:String_.toption[@ocaml.doc"Specifies the name of the database engine."];allocatedStorage:Integer.toption[@ocaml.doc"Specifies the allocated storage size in gibibytes (GiB)."];status:String_.toption[@ocaml.doc"Specifies the status of this DB snapshot."];port:Integer.toption[@ocaml.doc"Specifies the port that the database engine was listening on at the time of the snapshot."];availabilityZone:String_.toption[@ocaml.doc"Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot."];vpcId:String_.toption[@ocaml.doc"Provides the VPC ID associated with the DB snapshot."];instanceCreateTime:TStamp.toption[@ocaml.doc"Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created."];masterUsername:String_.toption[@ocaml.doc"Provides the master username for the DB snapshot."];engineVersion:String_.toption[@ocaml.doc"Specifies the version of the database engine."];licenseModel:String_.toption[@ocaml.doc"License model information for the restored DB instance."];snapshotType:String_.toption[@ocaml.doc"Provides the type of the DB snapshot."];iops:IntegerOptional.toption[@ocaml.doc"Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot."];storageThroughput:IntegerOptional.toption[@ocaml.doc"Specifies the storage throughput for the DB snapshot."];optionGroupName:String_.toption[@ocaml.doc"Provides the option group name for the DB snapshot."];percentProgress:Integer.toption[@ocaml.doc"The percentage of the estimated data that has been transferred."];sourceRegion:String_.toption[@ocaml.doc"The Amazon Web Services Region that the DB snapshot was created in or copied from."];sourceDBSnapshotIdentifier:String_.toption[@ocaml.doc"The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy."];storageType:String_.toption[@ocaml.doc"Specifies the storage type associated with DB snapshot."];tdeCredentialArn:String_.toption[@ocaml.doc"The ARN from the key store with which to associate the instance for TDE encryption."];encrypted:Boolean.toption[@ocaml.doc"Indicates whether the DB snapshot is encrypted."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the DB snapshot. Possible values: none - The DB snapshot is not encrypted. sse-rds - The DB snapshot is encrypted using an Amazon Web Services owned KMS key. sse-kms - The DB snapshot is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automatic DB snapshots are retained."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];kmsKeyId:String_.toption[@ocaml.doc"If Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];dBSnapshotArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB snapshot."];timezone:String_.toption[@ocaml.doc"The time zone of the DB snapshot. In most cases, the Timezone element is empty. Timezone content appears only for snapshots taken from Microsoft SQL Server DB instances that were created with a time zone specified."];iAMDatabaseAuthenticationEnabled:Boolean.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created."];dbiResourceId:String_.toption[@ocaml.doc"The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region."];tagList:TagList.toption;snapshotTarget:String_.toption[@ocaml.doc"Specifies where manual snapshots are stored: Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web Services Region."];originalSnapshotCreateTime:TStamp.toption[@ocaml.doc"Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied."];snapshotDatabaseTime:TStamp.toption[@ocaml.doc"The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed. If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours."];dBSystemId:String_.toption[@ocaml.doc"The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB."];multiTenant:BooleanOptional.toption[@ocaml.doc"Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE)."];dedicatedLogVolume:Boolean.toption[@ocaml.doc"Indicates whether the DB instance has a dedicated log volume (DLV) enabled."];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"The additional storage volumes associated with the DB snapshot. RDS supports additional storage volumes for RDS for Oracle and RDS for SQL Server."];snapshotAvailabilityZone:String_.toption[@ocaml.doc"Specifies the name of the Availability Zone where RDS stores the DB snapshot. This value is valid only for snapshots that RDS stores on a Dedicated Local Zone."]}letmake?dBSnapshotIdentifier=fun?dBInstanceIdentifier->fun?snapshotCreateTime->fun?engine->fun?allocatedStorage->fun?status->fun?port->fun?availabilityZone->fun?vpcId->fun?instanceCreateTime->fun?masterUsername->fun?engineVersion->fun?licenseModel->fun?snapshotType->fun?iops->fun?storageThroughput->fun?optionGroupName->fun?percentProgress->fun?sourceRegion->fun?sourceDBSnapshotIdentifier->fun?storageType->fun?tdeCredentialArn->fun?encrypted->fun?storageEncryptionType->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?kmsKeyId->fun?dBSnapshotArn->fun?timezone->fun?iAMDatabaseAuthenticationEnabled->fun?processorFeatures->fun?dbiResourceId->fun?tagList->fun?snapshotTarget->fun?originalSnapshotCreateTime->fun?snapshotDatabaseTime->fun?dBSystemId->fun?multiTenant->fun?dedicatedLogVolume->fun?additionalStorageVolumes->fun?snapshotAvailabilityZone->fun()->{dBSnapshotIdentifier;dBInstanceIdentifier;snapshotCreateTime;engine;allocatedStorage;status;port;availabilityZone;vpcId;instanceCreateTime;masterUsername;engineVersion;licenseModel;snapshotType;iops;storageThroughput;optionGroupName;percentProgress;sourceRegion;sourceDBSnapshotIdentifier;storageType;tdeCredentialArn;encrypted;storageEncryptionType;backupRetentionPeriod;preferredBackupWindow;kmsKeyId;dBSnapshotArn;timezone;iAMDatabaseAuthenticationEnabled;processorFeatures;dbiResourceId;tagList;snapshotTarget;originalSnapshotCreateTime;snapshotDatabaseTime;dBSystemId;multiTenant;dedicatedLogVolume;additionalStorageVolumes;snapshotAvailabilityZone}letto_valuex=structure_to_value[("DBSnapshotIdentifier",(Option.mapx.dBSnapshotIdentifier~f:String_.to_value));("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("SnapshotCreateTime",(Option.mapx.snapshotCreateTime~f:TStamp.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("InstanceCreateTime",(Option.mapx.instanceCreateTime~f:TStamp.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("SnapshotType",(Option.mapx.snapshotType~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("PercentProgress",(Option.mapx.percentProgress~f:Integer.to_value));("SourceRegion",(Option.mapx.sourceRegion~f:String_.to_value));("SourceDBSnapshotIdentifier",(Option.mapx.sourceDBSnapshotIdentifier~f:String_.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("TdeCredentialArn",(Option.mapx.tdeCredentialArn~f:String_.to_value));("Encrypted",(Option.mapx.encrypted~f:Boolean.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("DBSnapshotArn",(Option.mapx.dBSnapshotArn~f:String_.to_value));("Timezone",(Option.mapx.timezone~f:String_.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:Boolean.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("DbiResourceId",(Option.mapx.dbiResourceId~f:String_.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("SnapshotTarget",(Option.mapx.snapshotTarget~f:String_.to_value));("OriginalSnapshotCreateTime",(Option.mapx.originalSnapshotCreateTime~f:TStamp.to_value));("SnapshotDatabaseTime",(Option.mapx.snapshotDatabaseTime~f:TStamp.to_value));("DBSystemId",(Option.mapx.dBSystemId~f:String_.to_value));("MultiTenant",(Option.mapx.multiTenant~f:BooleanOptional.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:Boolean.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value));("SnapshotAvailabilityZone",(Option.mapx.snapshotAvailabilityZone~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsnapshotAvailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnapshotAvailabilityZone")inletadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletdedicatedLogVolume=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletmultiTenant=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiTenant")inletdBSystemId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSystemId")inletsnapshotDatabaseTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"SnapshotDatabaseTime")inletoriginalSnapshotCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"OriginalSnapshotCreateTime")inletsnapshotTarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnapshotTarget")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletdbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbiResourceId")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inlettimezone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Timezone")inletdBSnapshotArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotArn")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletencrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Encrypted")inlettdeCredentialArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TdeCredentialArn")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletsourceDBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDBSnapshotIdentifier")inletsourceRegion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceRegion")inletpercentProgress=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"PercentProgress")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletsnapshotType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnapshotType")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletinstanceCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"InstanceCreateTime")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletsnapshotCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"SnapshotCreateTime")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inletdBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotIdentifier")inmake?snapshotAvailabilityZone?additionalStorageVolumes?dedicatedLogVolume?multiTenant?dBSystemId?snapshotDatabaseTime?originalSnapshotCreateTime?snapshotTarget?tagList?dbiResourceId?processorFeatures?iAMDatabaseAuthenticationEnabled?timezone?dBSnapshotArn?kmsKeyId?preferredBackupWindow?backupRetentionPeriod?storageEncryptionType?encrypted?tdeCredentialArn?storageType?sourceDBSnapshotIdentifier?sourceRegion?percentProgress?optionGroupName?storageThroughput?iops?snapshotType?licenseModel?engineVersion?masterUsername?instanceCreateTime?vpcId?availabilityZone?port?status?allocatedStorage?engine?snapshotCreateTime?dBInstanceIdentifier?dBSnapshotIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsnapshotAvailabilityZone=field_mapjson__"SnapshotAvailabilityZone"String_.of_jsoninletadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"Boolean.of_jsoninletmultiTenant=field_mapjson__"MultiTenant"BooleanOptional.of_jsoninletdBSystemId=field_mapjson__"DBSystemId"String_.of_jsoninletsnapshotDatabaseTime=field_mapjson__"SnapshotDatabaseTime"TStamp.of_jsoninletoriginalSnapshotCreateTime=field_mapjson__"OriginalSnapshotCreateTime"TStamp.of_jsoninletsnapshotTarget=field_mapjson__"SnapshotTarget"String_.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletdbiResourceId=field_mapjson__"DbiResourceId"String_.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"Boolean.of_jsoninlettimezone=field_mapjson__"Timezone"String_.of_jsoninletdBSnapshotArn=field_mapjson__"DBSnapshotArn"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletencrypted=field_mapjson__"Encrypted"Boolean.of_jsoninlettdeCredentialArn=field_mapjson__"TdeCredentialArn"String_.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletsourceDBSnapshotIdentifier=field_mapjson__"SourceDBSnapshotIdentifier"String_.of_jsoninletsourceRegion=field_mapjson__"SourceRegion"String_.of_jsoninletpercentProgress=field_mapjson__"PercentProgress"Integer.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletsnapshotType=field_mapjson__"SnapshotType"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletinstanceCreateTime=field_mapjson__"InstanceCreateTime"TStamp.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletsnapshotCreateTime=field_mapjson__"SnapshotCreateTime"TStamp.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninletdBSnapshotIdentifier=field_mapjson__"DBSnapshotIdentifier"String_.of_jsoninmake?snapshotAvailabilityZone?additionalStorageVolumes?dedicatedLogVolume?multiTenant?dBSystemId?snapshotDatabaseTime?originalSnapshotCreateTime?snapshotTarget?tagList?dbiResourceId?processorFeatures?iAMDatabaseAuthenticationEnabled?timezone?dBSnapshotArn?kmsKeyId?preferredBackupWindow?backupRetentionPeriod?storageEncryptionType?encrypted?tdeCredentialArn?storageType?sourceDBSnapshotIdentifier?sourceRegion?percentProgress?optionGroupName?storageThroughput?iops?snapshotType?licenseModel?engineVersion?masterUsername?instanceCreateTime?vpcId?availabilityZone?port?status?allocatedStorage?engine?snapshotCreateTime?dBInstanceIdentifier?dBSnapshotIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon RDS DB snapshot. This data type is used as a response element in the DescribeDBSnapshots action."]moduleDBSecurityGroup=structtypenonrect={ownerId:String_.toption[@ocaml.doc"Provides the Amazon Web Services ID of the owner of a specific DB security group."];dBSecurityGroupName:String_.toption[@ocaml.doc"Specifies the name of the DB security group."];dBSecurityGroupDescription:String_.toption[@ocaml.doc"Provides the description of the DB security group."];vpcId:String_.toption[@ocaml.doc"Provides the VpcId of the DB security group."];eC2SecurityGroups:EC2SecurityGroupList.toption[@ocaml.doc"Contains a list of EC2SecurityGroup elements."];iPRanges:IPRangeList.toption[@ocaml.doc"Contains a list of IPRange elements."];dBSecurityGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB security group."]}letmake?ownerId=fun?dBSecurityGroupName->fun?dBSecurityGroupDescription->fun?vpcId->fun?eC2SecurityGroups->fun?iPRanges->fun?dBSecurityGroupArn->fun()->{ownerId;dBSecurityGroupName;dBSecurityGroupDescription;vpcId;eC2SecurityGroups;iPRanges;dBSecurityGroupArn}letto_valuex=structure_to_value[("OwnerId",(Option.mapx.ownerId~f:String_.to_value));("DBSecurityGroupName",(Option.mapx.dBSecurityGroupName~f:String_.to_value));("DBSecurityGroupDescription",(Option.mapx.dBSecurityGroupDescription~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("EC2SecurityGroups",(Option.mapx.eC2SecurityGroups~f:EC2SecurityGroupList.to_value));("IPRanges",(Option.mapx.iPRanges~f:IPRangeList.to_value));("DBSecurityGroupArn",(Option.mapx.dBSecurityGroupArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBSecurityGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSecurityGroupArn")inletiPRanges=(Option.map~f:IPRangeList.of_xml)(Xml.childxml_arg0"IPRanges")inleteC2SecurityGroups=(Option.map~f:EC2SecurityGroupList.of_xml)(Xml.childxml_arg0"EC2SecurityGroups")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletdBSecurityGroupDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSecurityGroupDescription")inletdBSecurityGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSecurityGroupName")inletownerId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OwnerId")inmake?dBSecurityGroupArn?iPRanges?eC2SecurityGroups?vpcId?dBSecurityGroupDescription?dBSecurityGroupName?ownerId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBSecurityGroupArn=field_mapjson__"DBSecurityGroupArn"String_.of_jsoninletiPRanges=field_mapjson__"IPRanges"IPRangeList.of_jsoninleteC2SecurityGroups=field_mapjson__"EC2SecurityGroups"EC2SecurityGroupList.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletdBSecurityGroupDescription=field_mapjson__"DBSecurityGroupDescription"String_.of_jsoninletdBSecurityGroupName=field_mapjson__"DBSecurityGroupName"String_.of_jsoninletownerId=field_mapjson__"OwnerId"String_.of_jsoninmake?dBSecurityGroupArn?iPRanges?eC2SecurityGroups?vpcId?dBSecurityGroupDescription?dBSecurityGroupName?ownerId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details for an Amazon RDS DB security group. This data type is used as a response element in the DescribeDBSecurityGroups action."]moduleDBRecommendation=structtypenonrect={recommendationId:String_.toption[@ocaml.doc"The unique identifier of the recommendation."];typeId:String_.toption[@ocaml.doc"A value that indicates the type of recommendation. This value determines how the description is rendered."];severity:String_.toption[@ocaml.doc"The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation. Valid values: high medium low informational"];resourceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation."];status:String_.toption[@ocaml.doc"The current status of the recommendation. Valid values: active - The recommendations which are ready for you to apply. pending - The applied or scheduled recommendations which are in progress. resolved - The recommendations which are completed. dismissed - The recommendations that you dismissed."];createdTime:TStamp.toption[@ocaml.doc"The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00."];updatedTime:TStamp.toption[@ocaml.doc"The time when the recommendation was last updated."];detection:String_.toption[@ocaml.doc"A short description of the issue identified for this recommendation. The description might contain markdown."];recommendation:String_.toption[@ocaml.doc"A short description of the recommendation to resolve an issue. The description might contain markdown."];description:String_.toption[@ocaml.doc"A detailed description of the recommendation. The description might contain markdown."];reason:String_.toption[@ocaml.doc"The reason why this recommendation was created. The information might contain markdown."];recommendedActions:RecommendedActionList.toption[@ocaml.doc"A list of recommended actions."];category:String_.toption[@ocaml.doc"The category of the recommendation. Valid values: performance efficiency security reliability cost optimization operational excellence sustainability"];source:String_.toption[@ocaml.doc"The Amazon Web Services service that generated the recommendations."];typeDetection:String_.toption[@ocaml.doc"A short description of the recommendation type. The description might contain markdown."];typeRecommendation:String_.toption[@ocaml.doc"A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown."];impact:String_.toption[@ocaml.doc"A short description that explains the possible impact of an issue."];additionalInfo:String_.toption[@ocaml.doc"Additional information about the recommendation. The information might contain markdown."];links:DocLinkList.toption[@ocaml.doc"A link to documentation that provides additional information about the recommendation."];issueDetails:IssueDetails.toption[@ocaml.doc"Details of the issue that caused the recommendation."]}letmake?recommendationId=fun?typeId->fun?severity->fun?resourceArn->fun?status->fun?createdTime->fun?updatedTime->fun?detection->fun?recommendation->fun?description->fun?reason->fun?recommendedActions->fun?category->fun?source->fun?typeDetection->fun?typeRecommendation->fun?impact->fun?additionalInfo->fun?links->fun?issueDetails->fun()->{recommendationId;typeId;severity;resourceArn;status;createdTime;updatedTime;detection;recommendation;description;reason;recommendedActions;category;source;typeDetection;typeRecommendation;impact;additionalInfo;links;issueDetails}letto_valuex=structure_to_value[("RecommendationId",(Option.mapx.recommendationId~f:String_.to_value));("TypeId",(Option.mapx.typeId~f:String_.to_value));("Severity",(Option.mapx.severity~f:String_.to_value));("ResourceArn",(Option.mapx.resourceArn~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("CreatedTime",(Option.mapx.createdTime~f:TStamp.to_value));("UpdatedTime",(Option.mapx.updatedTime~f:TStamp.to_value));("Detection",(Option.mapx.detection~f:String_.to_value));("Recommendation",(Option.mapx.recommendation~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("Reason",(Option.mapx.reason~f:String_.to_value));("RecommendedActions",(Option.mapx.recommendedActions~f:RecommendedActionList.to_value));("Category",(Option.mapx.category~f:String_.to_value));("Source",(Option.mapx.source~f:String_.to_value));("TypeDetection",(Option.mapx.typeDetection~f:String_.to_value));("TypeRecommendation",(Option.mapx.typeRecommendation~f:String_.to_value));("Impact",(Option.mapx.impact~f:String_.to_value));("AdditionalInfo",(Option.mapx.additionalInfo~f:String_.to_value));("Links",(Option.mapx.links~f:DocLinkList.to_value));("IssueDetails",(Option.mapx.issueDetails~f:IssueDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letissueDetails=(Option.map~f:IssueDetails.of_xml)(Xml.childxml_arg0"IssueDetails")inletlinks=(Option.map~f:DocLinkList.of_xml)(Xml.childxml_arg0"Links")inletadditionalInfo=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AdditionalInfo")inletimpact=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Impact")inlettypeRecommendation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TypeRecommendation")inlettypeDetection=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TypeDetection")inletsource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Source")inletcategory=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Category")inletrecommendedActions=(Option.map~f:RecommendedActionList.of_xml)(Xml.childxml_arg0"RecommendedActions")inletreason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Reason")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletrecommendation=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Recommendation")inletdetection=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Detection")inletupdatedTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"UpdatedTime")inletcreatedTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreatedTime")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletresourceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceArn")inletseverity=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Severity")inlettypeId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TypeId")inletrecommendationId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RecommendationId")inmake?issueDetails?links?additionalInfo?impact?typeRecommendation?typeDetection?source?category?recommendedActions?reason?description?recommendation?detection?updatedTime?createdTime?status?resourceArn?severity?typeId?recommendationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letissueDetails=field_mapjson__"IssueDetails"IssueDetails.of_jsoninletlinks=field_mapjson__"Links"DocLinkList.of_jsoninletadditionalInfo=field_mapjson__"AdditionalInfo"String_.of_jsoninletimpact=field_mapjson__"Impact"String_.of_jsoninlettypeRecommendation=field_mapjson__"TypeRecommendation"String_.of_jsoninlettypeDetection=field_mapjson__"TypeDetection"String_.of_jsoninletsource=field_mapjson__"Source"String_.of_jsoninletcategory=field_mapjson__"Category"String_.of_jsoninletrecommendedActions=field_mapjson__"RecommendedActions"RecommendedActionList.of_jsoninletreason=field_mapjson__"Reason"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletrecommendation=field_mapjson__"Recommendation"String_.of_jsoninletdetection=field_mapjson__"Detection"String_.of_jsoninletupdatedTime=field_mapjson__"UpdatedTime"TStamp.of_jsoninletcreatedTime=field_mapjson__"CreatedTime"TStamp.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletresourceArn=field_mapjson__"ResourceArn"String_.of_jsoninletseverity=field_mapjson__"Severity"String_.of_jsoninlettypeId=field_mapjson__"TypeId"String_.of_jsoninletrecommendationId=field_mapjson__"RecommendationId"String_.of_jsoninmake?issueDetails?links?additionalInfo?impact?typeRecommendation?typeDetection?source?category?recommendedActions?reason?description?recommendation?detection?updatedTime?createdTime?status?resourceArn?severity?typeId?recommendationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The recommendation for your DB instances, DB clusters, and DB parameter groups."]moduleDBParameterGroup=structtypenonrect={dBParameterGroupName:String_.toption[@ocaml.doc"The name of the DB parameter group."];dBParameterGroupFamily:String_.toption[@ocaml.doc"The name of the DB parameter group family that this DB parameter group is compatible with."];description:String_.toption[@ocaml.doc"Provides the customer-specified description for this DB parameter group."];dBParameterGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB parameter group."]}letmake?dBParameterGroupName=fun?dBParameterGroupFamily->fun?description->fun?dBParameterGroupArn->fun()->{dBParameterGroupName;dBParameterGroupFamily;description;dBParameterGroupArn}letto_valuex=structure_to_value[("DBParameterGroupName",(Option.mapx.dBParameterGroupName~f:String_.to_value));("DBParameterGroupFamily",(Option.mapx.dBParameterGroupFamily~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("DBParameterGroupArn",(Option.mapx.dBParameterGroupArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBParameterGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupArn")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletdBParameterGroupFamily=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupFamily")inletdBParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupName")inmake?dBParameterGroupArn?description?dBParameterGroupFamily?dBParameterGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBParameterGroupArn=field_mapjson__"DBParameterGroupArn"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletdBParameterGroupFamily=field_mapjson__"DBParameterGroupFamily"String_.of_jsoninletdBParameterGroupName=field_mapjson__"DBParameterGroupName"String_.of_jsoninmake?dBParameterGroupArn?description?dBParameterGroupFamily?dBParameterGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon RDS DB parameter group. This data type is used as a response element in the DescribeDBParameterGroups action."]moduleDBInstance=structtypenonrect={dBInstanceIdentifier:String_.toption[@ocaml.doc"The user-supplied database identifier. This identifier is the unique key that identifies a DB instance."];dBInstanceClass:String_.toption[@ocaml.doc"The name of the compute and memory capacity class of the DB instance."];engine:String_.toption[@ocaml.doc"The database engine used for this DB instance."];dBInstanceStatus:String_.toption[@ocaml.doc"The current state of this database. For information about DB instance statuses, see Viewing DB instance status in the Amazon RDS User Guide."];masterUsername:String_.toption[@ocaml.doc"The master username for the DB instance."];dBName:String_.toption[@ocaml.doc"The initial database name that you provided (if required) when you created the DB instance. This name is returned for the life of your DB instance. For an RDS for Oracle CDB instance, the name identifies the PDB rather than the CDB."];endpoint:Endpoint.toption[@ocaml.doc"The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating."];allocatedStorage:Integer.toption[@ocaml.doc"The amount of storage in gibibytes (GiB) allocated for the DB instance."];instanceCreateTime:TStamp.toption[@ocaml.doc"The date and time when the DB instance was created."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];backupRetentionPeriod:Integer.toption[@ocaml.doc"The number of days for which automatic DB snapshots are retained."];dBSecurityGroups:DBSecurityGroupMembershipList.toption[@ocaml.doc"A list of DB security group elements containing DBSecurityGroup.Name and DBSecurityGroup.Status subelements."];vpcSecurityGroups:VpcSecurityGroupMembershipList.toption[@ocaml.doc"The list of Amazon EC2 VPC security groups that the DB instance belongs to."];dBParameterGroups:DBParameterGroupStatusList.toption[@ocaml.doc"The list of DB parameter groups applied to this DB instance."];availabilityZone:String_.toption[@ocaml.doc"The name of the Availability Zone where the DB instance is located."];dBSubnetGroup:DBSubnetGroup.toption[@ocaml.doc"Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group."];preferredMaintenanceWindow:String_.toption[@ocaml.doc"The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC)."];upgradeRolloutOrder:UpgradeRolloutOrder.toption[@ocaml.doc"This data type represents the order in which the instances are upgraded. \\[first\\] - Typically used for development or testing environments. \\[second\\] - Default order for resources not specifically configured. \\[last\\] - Usually reserved for production environments."];pendingModifiedValues:PendingModifiedValues.toption[@ocaml.doc"Information about pending changes to the DB instance. This information is returned only when there are pending changes. Specific changes are identified by subelements."];latestRestorableTime:TStamp.toption[@ocaml.doc"The latest time to which a database in this DB instance can be restored with point-in-time restore."];multiAZ:Boolean.toption[@ocaml.doc"Indicates whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom DB instances."];engineVersion:String_.toption[@ocaml.doc"The version of the database engine."];autoMinorVersionUpgrade:Boolean.toption[@ocaml.doc"Indicates whether minor version patches are applied automatically. For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version."];readReplicaSourceDBInstanceIdentifier:String_.toption[@ocaml.doc"The identifier of the source DB instance if this DB instance is a read replica."];readReplicaDBInstanceIdentifiers:ReadReplicaDBInstanceIdentifierList.toption[@ocaml.doc"The identifiers of the read replicas associated with this DB instance."];readReplicaDBClusterIdentifiers:ReadReplicaDBClusterIdentifierList.toption[@ocaml.doc"The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output doesn't contain information about cross-Region Aurora read replicas. Currently, each RDS DB instance can have only one Aurora read replica."];replicaMode:ReplicaMode.toption[@ocaml.doc"The open mode of a Db2 or an Oracle read replica. The default is open-read-only. For more information, see Working with replicas for Amazon RDS for Db2 and Working with read replicas for Amazon RDS for Oracle in the Amazon RDS User Guide. This attribute is only supported in RDS for Db2, RDS for Oracle, and RDS Custom for Oracle."];licenseModel:String_.toption[@ocaml.doc"The license model information for this DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances."];iops:IntegerOptional.toption[@ocaml.doc"The Provisioned IOPS (I/O operations per second) value for the DB instance."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput for the DB instance. This setting applies only to the gp3 storage type."];optionGroupMemberships:OptionGroupMembershipList.toption[@ocaml.doc"The list of option group memberships for this DB instance."];characterSetName:String_.toption[@ocaml.doc"If present, specifies the name of the character set that this instance is associated with."];ncharCharacterSetName:String_.toption[@ocaml.doc"The name of the NCHAR character set for the Oracle DB instance. This character set specifies the Unicode encoding for data stored in table columns of type NCHAR, NCLOB, or NVARCHAR2."];secondaryAvailabilityZone:String_.toption[@ocaml.doc"If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support."];publiclyAccessible:Boolean.toption[@ocaml.doc"Indicates whether the DB instance is publicly accessible. When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address. For more information, see CreateDBInstance."];statusInfos:DBInstanceStatusInfoList.toption[@ocaml.doc"The status of a read replica. If the DB instance isn't a read replica, the value is blank."];storageType:String_.toption[@ocaml.doc"The storage type associated with the DB instance."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the DB instance. Possible values: none - The DB instance is not encrypted. sse-rds - The DB instance is encrypted using an Amazon Web Services owned KMS key. sse-kms - The DB instance is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];tdeCredentialArn:String_.toption[@ocaml.doc"The ARN from the key store with which the instance is associated for TDE encryption."];dbInstancePort:Integer.toption[@ocaml.doc"The port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port."];dBClusterIdentifier:String_.toption[@ocaml.doc"If the DB instance is a member of a DB cluster, indicates the name of the DB cluster that the DB instance is a member of."];storageEncrypted:Boolean.toption[@ocaml.doc"Indicates whether the DB instance is encrypted."];kmsKeyId:String_.toption[@ocaml.doc"If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB instance. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];dbiResourceId:String_.toption[@ocaml.doc"The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB instance is accessed."];cACertificateIdentifier:String_.toption[@ocaml.doc"The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];domainMemberships:DomainMembershipList.toption[@ocaml.doc"The Active Directory Domain membership records associated with the DB instance."];copyTagsToSnapshot:Boolean.toption[@ocaml.doc"Indicates whether tags are copied from the DB instance to snapshots of the DB instance. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting. For more information, see DBCluster."];monitoringInterval:IntegerOptional.toption[@ocaml.doc"The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance."];enhancedMonitoringResourceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance."];monitoringRoleArn:String_.toption[@ocaml.doc"The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs."];promotionTier:IntegerOptional.toption[@ocaml.doc"The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide."];dBInstanceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB instance."];timezone:String_.toption[@ocaml.doc"The time zone of the DB instance. In most cases, the Timezone element is empty. Timezone content appears only for RDS for Db2 and RDS for SQL Server DB instances that were created with a time zone specified."];iAMDatabaseAuthenticationEnabled:Boolean.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the DB instance. For a list of engine versions that support IAM database authentication, see IAM database authentication in the Amazon RDS User Guide and IAM database authentication in Aurora in the Amazon Aurora User Guide."];databaseInsightsMode:DatabaseInsightsMode.toption[@ocaml.doc"The mode of Database Insights that is enabled for the instance."];performanceInsightsEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether Performance Insights is enabled for the DB instance."];performanceInsightsKMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of Performance Insights data. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];performanceInsightsRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain Performance Insights data. Valid Values: 7 month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), 341 (11 months * 31), 589 (19 months * 31) 731 Default: 7 days"];enabledCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"A list of log types that this DB instance is configured to export to CloudWatch Logs. Log types vary by DB engine. For information about the log types for each DB engine, see Monitoring Amazon RDS log files in the Amazon RDS User Guide."];processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance."];deletionProtection:Boolean.toption[@ocaml.doc"Indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. For more information, see Deleting a DB Instance."];associatedRoles:DBInstanceRoles.toption[@ocaml.doc"The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance."];listenerEndpoint:Endpoint.toption[@ocaml.doc"The listener connection endpoint for SQL Server Always On."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance."];tagList:TagList.toption;automationMode:AutomationMode.toption[@ocaml.doc"The automation mode of the RDS Custom DB instance: full or all paused. If full, the DB instance automates monitoring and instance recovery. If all paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes."];resumeFullAutomationModeTime:TStamp.toption[@ocaml.doc"The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440."];customerOwnedIpEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance. A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network. For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide. For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide."];networkType:String_.toption[@ocaml.doc"The network type of the DB instance. The network type is determined by the DBSubnetGroup specified for the DB instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide and Working with a DB instance in a VPC in the Amazon Aurora User Guide. Valid Values: IPV4 | DUAL"];activityStreamStatus:ActivityStreamStatus.toption[@ocaml.doc"The status of the database activity stream."];activityStreamKmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];activityStreamKinesisStreamName:String_.toption[@ocaml.doc"The name of the Amazon Kinesis data stream used for the database activity stream."];activityStreamMode:ActivityStreamMode.toption[@ocaml.doc"The mode of the database activity stream. Database events such as a change or access generate an activity stream event. RDS for Oracle always handles these events asynchronously."];activityStreamEngineNativeAuditFieldsIncluded:BooleanOptional.toption[@ocaml.doc"Indicates whether engine-native audit fields are included in the database activity stream."];awsBackupRecoveryPointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup."];dBInstanceAutomatedBackupsReplications:DBInstanceAutomatedBackupsReplicationList.toption[@ocaml.doc"The list of replicated automated backups associated with the DB instance."];backupTarget:String_.toption[@ocaml.doc"The location where automated backups and manual snapshots are stored: Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web Services Region."];automaticRestartTime:TStamp.toption[@ocaml.doc"The time when a stopped DB instance is restarted automatically."];customIamInstanceProfile:String_.toption[@ocaml.doc"The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements: The profile must exist in your account. The profile must have an IAM role that Amazon EC2 has permissions to assume. The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide."];activityStreamPolicyStatus:ActivityStreamPolicyStatus.toption[@ocaml.doc"The status of the policy state of the activity stream."];certificateDetails:CertificateDetails.toption[@ocaml.doc"The details of the DB instance's server certificate."];dBSystemId:String_.toption[@ocaml.doc"The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle SID is also the name of the CDB. This setting is only valid for RDS Custom DB instances."];masterUserSecret:MasterUserSecret.toption[@ocaml.doc"The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide."];readReplicaSourceDBClusterIdentifier:String_.toption[@ocaml.doc"The identifier of the source DB cluster if this DB instance is a read replica."];percentProgress:String_.toption[@ocaml.doc"The progress of the storage optimization operation as a percentage."];multiTenant:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is in the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE)."];dedicatedLogVolume:Boolean.toption[@ocaml.doc"Indicates whether the DB instance has a dedicated log volume (DLV) enabled."];isStorageConfigUpgradeAvailable:BooleanOptional.toption[@ocaml.doc"Indicates whether an upgrade is recommended for the storage file system configuration on the DB instance. To migrate to the preferred configuration, you can either create a blue/green deployment, or create a read replica from the DB instance. For more information, see Upgrading the storage file system for a DB instance."];engineLifecycleSupport:String_.toption[@ocaml.doc"The lifecycle type for the DB instance. For more information, see CreateDBInstance."];additionalStorageVolumes:AdditionalStorageVolumesOutputList.toption[@ocaml.doc"The additional storage volumes associated with the DB instance. RDS supports additional storage volumes for RDS for Oracle and RDS for SQL Server."];storageVolumeStatus:String_.toption[@ocaml.doc"The detailed status information for storage volumes associated with the DB instance. This information helps identify which specific volume is causing the instance to be in a storage-full state."]}letmake?dBInstanceIdentifier=fun?dBInstanceClass->fun?engine->fun?dBInstanceStatus->fun?masterUsername->fun?dBName->fun?endpoint->fun?allocatedStorage->fun?instanceCreateTime->fun?preferredBackupWindow->fun?backupRetentionPeriod->fun?dBSecurityGroups->fun?vpcSecurityGroups->fun?dBParameterGroups->fun?availabilityZone->fun?dBSubnetGroup->fun?preferredMaintenanceWindow->fun?upgradeRolloutOrder->fun?pendingModifiedValues->fun?latestRestorableTime->fun?multiAZ->fun?engineVersion->fun?autoMinorVersionUpgrade->fun?readReplicaSourceDBInstanceIdentifier->fun?readReplicaDBInstanceIdentifiers->fun?readReplicaDBClusterIdentifiers->fun?replicaMode->fun?licenseModel->fun?iops->fun?storageThroughput->fun?optionGroupMemberships->fun?characterSetName->fun?ncharCharacterSetName->fun?secondaryAvailabilityZone->fun?publiclyAccessible->fun?statusInfos->fun?storageType->fun?storageEncryptionType->fun?tdeCredentialArn->fun?dbInstancePort->fun?dBClusterIdentifier->fun?storageEncrypted->fun?kmsKeyId->fun?dbiResourceId->fun?cACertificateIdentifier->fun?domainMemberships->fun?copyTagsToSnapshot->fun?monitoringInterval->fun?enhancedMonitoringResourceArn->fun?monitoringRoleArn->fun?promotionTier->fun?dBInstanceArn->fun?timezone->fun?iAMDatabaseAuthenticationEnabled->fun?databaseInsightsMode->fun?performanceInsightsEnabled->fun?performanceInsightsKMSKeyId->fun?performanceInsightsRetentionPeriod->fun?enabledCloudwatchLogsExports->fun?processorFeatures->fun?deletionProtection->fun?associatedRoles->fun?listenerEndpoint->fun?maxAllocatedStorage->fun?tagList->fun?automationMode->fun?resumeFullAutomationModeTime->fun?customerOwnedIpEnabled->fun?networkType->fun?activityStreamStatus->fun?activityStreamKmsKeyId->fun?activityStreamKinesisStreamName->fun?activityStreamMode->fun?activityStreamEngineNativeAuditFieldsIncluded->fun?awsBackupRecoveryPointArn->fun?dBInstanceAutomatedBackupsReplications->fun?backupTarget->fun?automaticRestartTime->fun?customIamInstanceProfile->fun?activityStreamPolicyStatus->fun?certificateDetails->fun?dBSystemId->fun?masterUserSecret->fun?readReplicaSourceDBClusterIdentifier->fun?percentProgress->fun?multiTenant->fun?dedicatedLogVolume->fun?isStorageConfigUpgradeAvailable->fun?engineLifecycleSupport->fun?additionalStorageVolumes->fun?storageVolumeStatus->fun()->{dBInstanceIdentifier;dBInstanceClass;engine;dBInstanceStatus;masterUsername;dBName;endpoint;allocatedStorage;instanceCreateTime;preferredBackupWindow;backupRetentionPeriod;dBSecurityGroups;vpcSecurityGroups;dBParameterGroups;availabilityZone;dBSubnetGroup;preferredMaintenanceWindow;upgradeRolloutOrder;pendingModifiedValues;latestRestorableTime;multiAZ;engineVersion;autoMinorVersionUpgrade;readReplicaSourceDBInstanceIdentifier;readReplicaDBInstanceIdentifiers;readReplicaDBClusterIdentifiers;replicaMode;licenseModel;iops;storageThroughput;optionGroupMemberships;characterSetName;ncharCharacterSetName;secondaryAvailabilityZone;publiclyAccessible;statusInfos;storageType;storageEncryptionType;tdeCredentialArn;dbInstancePort;dBClusterIdentifier;storageEncrypted;kmsKeyId;dbiResourceId;cACertificateIdentifier;domainMemberships;copyTagsToSnapshot;monitoringInterval;enhancedMonitoringResourceArn;monitoringRoleArn;promotionTier;dBInstanceArn;timezone;iAMDatabaseAuthenticationEnabled;databaseInsightsMode;performanceInsightsEnabled;performanceInsightsKMSKeyId;performanceInsightsRetentionPeriod;enabledCloudwatchLogsExports;processorFeatures;deletionProtection;associatedRoles;listenerEndpoint;maxAllocatedStorage;tagList;automationMode;resumeFullAutomationModeTime;customerOwnedIpEnabled;networkType;activityStreamStatus;activityStreamKmsKeyId;activityStreamKinesisStreamName;activityStreamMode;activityStreamEngineNativeAuditFieldsIncluded;awsBackupRecoveryPointArn;dBInstanceAutomatedBackupsReplications;backupTarget;automaticRestartTime;customIamInstanceProfile;activityStreamPolicyStatus;certificateDetails;dBSystemId;masterUserSecret;readReplicaSourceDBClusterIdentifier;percentProgress;multiTenant;dedicatedLogVolume;isStorageConfigUpgradeAvailable;engineLifecycleSupport;additionalStorageVolumes;storageVolumeStatus}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("DBInstanceStatus",(Option.mapx.dBInstanceStatus~f:String_.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("DBName",(Option.mapx.dBName~f:String_.to_value));("Endpoint",(Option.mapx.endpoint~f:Endpoint.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("InstanceCreateTime",(Option.mapx.instanceCreateTime~f:TStamp.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:Integer.to_value));("DBSecurityGroups",(Option.mapx.dBSecurityGroups~f:DBSecurityGroupMembershipList.to_value));("VpcSecurityGroups",(Option.mapx.vpcSecurityGroups~f:VpcSecurityGroupMembershipList.to_value));("DBParameterGroups",(Option.mapx.dBParameterGroups~f:DBParameterGroupStatusList.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("DBSubnetGroup",(Option.mapx.dBSubnetGroup~f:DBSubnetGroup.to_value));("PreferredMaintenanceWindow",(Option.mapx.preferredMaintenanceWindow~f:String_.to_value));("UpgradeRolloutOrder",(Option.mapx.upgradeRolloutOrder~f:UpgradeRolloutOrder.to_value));("PendingModifiedValues",(Option.mapx.pendingModifiedValues~f:PendingModifiedValues.to_value));("LatestRestorableTime",(Option.mapx.latestRestorableTime~f:TStamp.to_value));("MultiAZ",(Option.mapx.multiAZ~f:Boolean.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("AutoMinorVersionUpgrade",(Option.mapx.autoMinorVersionUpgrade~f:Boolean.to_value));("ReadReplicaSourceDBInstanceIdentifier",(Option.mapx.readReplicaSourceDBInstanceIdentifier~f:String_.to_value));("ReadReplicaDBInstanceIdentifiers",(Option.mapx.readReplicaDBInstanceIdentifiers~f:ReadReplicaDBInstanceIdentifierList.to_value));("ReadReplicaDBClusterIdentifiers",(Option.mapx.readReplicaDBClusterIdentifiers~f:ReadReplicaDBClusterIdentifierList.to_value));("ReplicaMode",(Option.mapx.replicaMode~f:ReplicaMode.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupMemberships",(Option.mapx.optionGroupMemberships~f:OptionGroupMembershipList.to_value));("CharacterSetName",(Option.mapx.characterSetName~f:String_.to_value));("NcharCharacterSetName",(Option.mapx.ncharCharacterSetName~f:String_.to_value));("SecondaryAvailabilityZone",(Option.mapx.secondaryAvailabilityZone~f:String_.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:Boolean.to_value));("StatusInfos",(Option.mapx.statusInfos~f:DBInstanceStatusInfoList.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("TdeCredentialArn",(Option.mapx.tdeCredentialArn~f:String_.to_value));("DbInstancePort",(Option.mapx.dbInstancePort~f:Integer.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:Boolean.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("DbiResourceId",(Option.mapx.dbiResourceId~f:String_.to_value));("CACertificateIdentifier",(Option.mapx.cACertificateIdentifier~f:String_.to_value));("DomainMemberships",(Option.mapx.domainMemberships~f:DomainMembershipList.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:Boolean.to_value));("MonitoringInterval",(Option.mapx.monitoringInterval~f:IntegerOptional.to_value));("EnhancedMonitoringResourceArn",(Option.mapx.enhancedMonitoringResourceArn~f:String_.to_value));("MonitoringRoleArn",(Option.mapx.monitoringRoleArn~f:String_.to_value));("PromotionTier",(Option.mapx.promotionTier~f:IntegerOptional.to_value));("DBInstanceArn",(Option.mapx.dBInstanceArn~f:String_.to_value));("Timezone",(Option.mapx.timezone~f:String_.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:Boolean.to_value));("DatabaseInsightsMode",(Option.mapx.databaseInsightsMode~f:DatabaseInsightsMode.to_value));("PerformanceInsightsEnabled",(Option.mapx.performanceInsightsEnabled~f:BooleanOptional.to_value));("PerformanceInsightsKMSKeyId",(Option.mapx.performanceInsightsKMSKeyId~f:String_.to_value));("PerformanceInsightsRetentionPeriod",(Option.mapx.performanceInsightsRetentionPeriod~f:IntegerOptional.to_value));("EnabledCloudwatchLogsExports",(Option.mapx.enabledCloudwatchLogsExports~f:LogTypeList.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:Boolean.to_value));("AssociatedRoles",(Option.mapx.associatedRoles~f:DBInstanceRoles.to_value));("ListenerEndpoint",(Option.mapx.listenerEndpoint~f:Endpoint.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("AutomationMode",(Option.mapx.automationMode~f:AutomationMode.to_value));("ResumeFullAutomationModeTime",(Option.mapx.resumeFullAutomationModeTime~f:TStamp.to_value));("CustomerOwnedIpEnabled",(Option.mapx.customerOwnedIpEnabled~f:BooleanOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("ActivityStreamStatus",(Option.mapx.activityStreamStatus~f:ActivityStreamStatus.to_value));("ActivityStreamKmsKeyId",(Option.mapx.activityStreamKmsKeyId~f:String_.to_value));("ActivityStreamKinesisStreamName",(Option.mapx.activityStreamKinesisStreamName~f:String_.to_value));("ActivityStreamMode",(Option.mapx.activityStreamMode~f:ActivityStreamMode.to_value));("ActivityStreamEngineNativeAuditFieldsIncluded",(Option.mapx.activityStreamEngineNativeAuditFieldsIncluded~f:BooleanOptional.to_value));("AwsBackupRecoveryPointArn",(Option.mapx.awsBackupRecoveryPointArn~f:String_.to_value));("DBInstanceAutomatedBackupsReplications",(Option.mapx.dBInstanceAutomatedBackupsReplications~f:DBInstanceAutomatedBackupsReplicationList.to_value));("BackupTarget",(Option.mapx.backupTarget~f:String_.to_value));("AutomaticRestartTime",(Option.mapx.automaticRestartTime~f:TStamp.to_value));("CustomIamInstanceProfile",(Option.mapx.customIamInstanceProfile~f:String_.to_value));("ActivityStreamPolicyStatus",(Option.mapx.activityStreamPolicyStatus~f:ActivityStreamPolicyStatus.to_value));("CertificateDetails",(Option.mapx.certificateDetails~f:CertificateDetails.to_value));("DBSystemId",(Option.mapx.dBSystemId~f:String_.to_value));("MasterUserSecret",(Option.mapx.masterUserSecret~f:MasterUserSecret.to_value));("ReadReplicaSourceDBClusterIdentifier",(Option.mapx.readReplicaSourceDBClusterIdentifier~f:String_.to_value));("PercentProgress",(Option.mapx.percentProgress~f:String_.to_value));("MultiTenant",(Option.mapx.multiTenant~f:BooleanOptional.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:Boolean.to_value));("IsStorageConfigUpgradeAvailable",(Option.mapx.isStorageConfigUpgradeAvailable~f:BooleanOptional.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesOutputList.to_value));("StorageVolumeStatus",(Option.mapx.storageVolumeStatus~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstorageVolumeStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageVolumeStatus")inletadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesOutputList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletisStorageConfigUpgradeAvailable=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"IsStorageConfigUpgradeAvailable")inletdedicatedLogVolume=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletmultiTenant=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiTenant")inletpercentProgress=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PercentProgress")inletreadReplicaSourceDBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReadReplicaSourceDBClusterIdentifier")inletmasterUserSecret=(Option.map~f:MasterUserSecret.of_xml)(Xml.childxml_arg0"MasterUserSecret")inletdBSystemId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSystemId")inletcertificateDetails=(Option.map~f:CertificateDetails.of_xml)(Xml.childxml_arg0"CertificateDetails")inletactivityStreamPolicyStatus=(Option.map~f:ActivityStreamPolicyStatus.of_xml)(Xml.childxml_arg0"ActivityStreamPolicyStatus")inletcustomIamInstanceProfile=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustomIamInstanceProfile")inletautomaticRestartTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"AutomaticRestartTime")inletbackupTarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"BackupTarget")inletdBInstanceAutomatedBackupsReplications=(Option.map~f:DBInstanceAutomatedBackupsReplicationList.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackupsReplications")inletawsBackupRecoveryPointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsBackupRecoveryPointArn")inletactivityStreamEngineNativeAuditFieldsIncluded=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ActivityStreamEngineNativeAuditFieldsIncluded")inletactivityStreamMode=(Option.map~f:ActivityStreamMode.of_xml)(Xml.childxml_arg0"ActivityStreamMode")inletactivityStreamKinesisStreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ActivityStreamKinesisStreamName")inletactivityStreamKmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ActivityStreamKmsKeyId")inletactivityStreamStatus=(Option.map~f:ActivityStreamStatus.of_xml)(Xml.childxml_arg0"ActivityStreamStatus")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletcustomerOwnedIpEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CustomerOwnedIpEnabled")inletresumeFullAutomationModeTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ResumeFullAutomationModeTime")inletautomationMode=(Option.map~f:AutomationMode.of_xml)(Xml.childxml_arg0"AutomationMode")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletlistenerEndpoint=(Option.map~f:Endpoint.of_xml)(Xml.childxml_arg0"ListenerEndpoint")inletassociatedRoles=(Option.map~f:DBInstanceRoles.of_xml)(Xml.childxml_arg0"AssociatedRoles")inletdeletionProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DeletionProtection")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletenabledCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnabledCloudwatchLogsExports")inletperformanceInsightsRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsRetentionPeriod")inletperformanceInsightsKMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PerformanceInsightsKMSKeyId")inletperformanceInsightsEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsEnabled")inletdatabaseInsightsMode=(Option.map~f:DatabaseInsightsMode.of_xml)(Xml.childxml_arg0"DatabaseInsightsMode")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inlettimezone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Timezone")inletdBInstanceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceArn")inletpromotionTier=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PromotionTier")inletmonitoringRoleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MonitoringRoleArn")inletenhancedMonitoringResourceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EnhancedMonitoringResourceArn")inletmonitoringInterval=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MonitoringInterval")inletcopyTagsToSnapshot=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletdomainMemberships=(Option.map~f:DomainMembershipList.of_xml)(Xml.childxml_arg0"DomainMemberships")inletcACertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CACertificateIdentifier")inletdbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbiResourceId")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletstorageEncrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"StorageEncrypted")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdbInstancePort=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"DbInstancePort")inlettdeCredentialArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TdeCredentialArn")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletstatusInfos=(Option.map~f:DBInstanceStatusInfoList.of_xml)(Xml.childxml_arg0"StatusInfos")inletpubliclyAccessible=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletsecondaryAvailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SecondaryAvailabilityZone")inletncharCharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NcharCharacterSetName")inletcharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetName")inletoptionGroupMemberships=(Option.map~f:OptionGroupMembershipList.of_xml)(Xml.childxml_arg0"OptionGroupMemberships")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletreplicaMode=(Option.map~f:ReplicaMode.of_xml)(Xml.childxml_arg0"ReplicaMode")inletreadReplicaDBClusterIdentifiers=(Option.map~f:ReadReplicaDBClusterIdentifierList.of_xml)(Xml.childxml_arg0"ReadReplicaDBClusterIdentifiers")inletreadReplicaDBInstanceIdentifiers=(Option.map~f:ReadReplicaDBInstanceIdentifierList.of_xml)(Xml.childxml_arg0"ReadReplicaDBInstanceIdentifiers")inletreadReplicaSourceDBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReadReplicaSourceDBInstanceIdentifier")inletautoMinorVersionUpgrade=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AutoMinorVersionUpgrade")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmultiAZ=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"MultiAZ")inletlatestRestorableTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"LatestRestorableTime")inletpendingModifiedValues=(Option.map~f:PendingModifiedValues.of_xml)(Xml.childxml_arg0"PendingModifiedValues")inletupgradeRolloutOrder=(Option.map~f:UpgradeRolloutOrder.of_xml)(Xml.childxml_arg0"UpgradeRolloutOrder")inletpreferredMaintenanceWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredMaintenanceWindow")inletdBSubnetGroup=(Option.map~f:DBSubnetGroup.of_xml)(Xml.childxml_arg0"DBSubnetGroup")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletdBParameterGroups=(Option.map~f:DBParameterGroupStatusList.of_xml)(Xml.childxml_arg0"DBParameterGroups")inletvpcSecurityGroups=(Option.map~f:VpcSecurityGroupMembershipList.of_xml)(Xml.childxml_arg0"VpcSecurityGroups")inletdBSecurityGroups=(Option.map~f:DBSecurityGroupMembershipList.of_xml)(Xml.childxml_arg0"DBSecurityGroups")inletbackupRetentionPeriod=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletinstanceCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"InstanceCreateTime")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletendpoint=(Option.map~f:Endpoint.of_xml)(Xml.childxml_arg0"Endpoint")inletdBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBName")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletdBInstanceStatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceStatus")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inmake?storageVolumeStatus?additionalStorageVolumes?engineLifecycleSupport?isStorageConfigUpgradeAvailable?dedicatedLogVolume?multiTenant?percentProgress?readReplicaSourceDBClusterIdentifier?masterUserSecret?dBSystemId?certificateDetails?activityStreamPolicyStatus?customIamInstanceProfile?automaticRestartTime?backupTarget?dBInstanceAutomatedBackupsReplications?awsBackupRecoveryPointArn?activityStreamEngineNativeAuditFieldsIncluded?activityStreamMode?activityStreamKinesisStreamName?activityStreamKmsKeyId?activityStreamStatus?networkType?customerOwnedIpEnabled?resumeFullAutomationModeTime?automationMode?tagList?maxAllocatedStorage?listenerEndpoint?associatedRoles?deletionProtection?processorFeatures?enabledCloudwatchLogsExports?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?performanceInsightsEnabled?databaseInsightsMode?iAMDatabaseAuthenticationEnabled?timezone?dBInstanceArn?promotionTier?monitoringRoleArn?enhancedMonitoringResourceArn?monitoringInterval?copyTagsToSnapshot?domainMemberships?cACertificateIdentifier?dbiResourceId?kmsKeyId?storageEncrypted?dBClusterIdentifier?dbInstancePort?tdeCredentialArn?storageEncryptionType?storageType?statusInfos?publiclyAccessible?secondaryAvailabilityZone?ncharCharacterSetName?characterSetName?optionGroupMemberships?storageThroughput?iops?licenseModel?replicaMode?readReplicaDBClusterIdentifiers?readReplicaDBInstanceIdentifiers?readReplicaSourceDBInstanceIdentifier?autoMinorVersionUpgrade?engineVersion?multiAZ?latestRestorableTime?pendingModifiedValues?upgradeRolloutOrder?preferredMaintenanceWindow?dBSubnetGroup?availabilityZone?dBParameterGroups?vpcSecurityGroups?dBSecurityGroups?backupRetentionPeriod?preferredBackupWindow?instanceCreateTime?allocatedStorage?endpoint?dBName?masterUsername?dBInstanceStatus?engine?dBInstanceClass?dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstorageVolumeStatus=field_mapjson__"StorageVolumeStatus"String_.of_jsoninletadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesOutputList.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletisStorageConfigUpgradeAvailable=field_mapjson__"IsStorageConfigUpgradeAvailable"BooleanOptional.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"Boolean.of_jsoninletmultiTenant=field_mapjson__"MultiTenant"BooleanOptional.of_jsoninletpercentProgress=field_mapjson__"PercentProgress"String_.of_jsoninletreadReplicaSourceDBClusterIdentifier=field_mapjson__"ReadReplicaSourceDBClusterIdentifier"String_.of_jsoninletmasterUserSecret=field_mapjson__"MasterUserSecret"MasterUserSecret.of_jsoninletdBSystemId=field_mapjson__"DBSystemId"String_.of_jsoninletcertificateDetails=field_mapjson__"CertificateDetails"CertificateDetails.of_jsoninletactivityStreamPolicyStatus=field_mapjson__"ActivityStreamPolicyStatus"ActivityStreamPolicyStatus.of_jsoninletcustomIamInstanceProfile=field_mapjson__"CustomIamInstanceProfile"String_.of_jsoninletautomaticRestartTime=field_mapjson__"AutomaticRestartTime"TStamp.of_jsoninletbackupTarget=field_mapjson__"BackupTarget"String_.of_jsoninletdBInstanceAutomatedBackupsReplications=field_mapjson__"DBInstanceAutomatedBackupsReplications"DBInstanceAutomatedBackupsReplicationList.of_jsoninletawsBackupRecoveryPointArn=field_mapjson__"AwsBackupRecoveryPointArn"String_.of_jsoninletactivityStreamEngineNativeAuditFieldsIncluded=field_mapjson__"ActivityStreamEngineNativeAuditFieldsIncluded"BooleanOptional.of_jsoninletactivityStreamMode=field_mapjson__"ActivityStreamMode"ActivityStreamMode.of_jsoninletactivityStreamKinesisStreamName=field_mapjson__"ActivityStreamKinesisStreamName"String_.of_jsoninletactivityStreamKmsKeyId=field_mapjson__"ActivityStreamKmsKeyId"String_.of_jsoninletactivityStreamStatus=field_mapjson__"ActivityStreamStatus"ActivityStreamStatus.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletcustomerOwnedIpEnabled=field_mapjson__"CustomerOwnedIpEnabled"BooleanOptional.of_jsoninletresumeFullAutomationModeTime=field_mapjson__"ResumeFullAutomationModeTime"TStamp.of_jsoninletautomationMode=field_mapjson__"AutomationMode"AutomationMode.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletlistenerEndpoint=field_mapjson__"ListenerEndpoint"Endpoint.of_jsoninletassociatedRoles=field_mapjson__"AssociatedRoles"DBInstanceRoles.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"Boolean.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletenabledCloudwatchLogsExports=field_mapjson__"EnabledCloudwatchLogsExports"LogTypeList.of_jsoninletperformanceInsightsRetentionPeriod=field_mapjson__"PerformanceInsightsRetentionPeriod"IntegerOptional.of_jsoninletperformanceInsightsKMSKeyId=field_mapjson__"PerformanceInsightsKMSKeyId"String_.of_jsoninletperformanceInsightsEnabled=field_mapjson__"PerformanceInsightsEnabled"BooleanOptional.of_jsoninletdatabaseInsightsMode=field_mapjson__"DatabaseInsightsMode"DatabaseInsightsMode.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"Boolean.of_jsoninlettimezone=field_mapjson__"Timezone"String_.of_jsoninletdBInstanceArn=field_mapjson__"DBInstanceArn"String_.of_jsoninletpromotionTier=field_mapjson__"PromotionTier"IntegerOptional.of_jsoninletmonitoringRoleArn=field_mapjson__"MonitoringRoleArn"String_.of_jsoninletenhancedMonitoringResourceArn=field_mapjson__"EnhancedMonitoringResourceArn"String_.of_jsoninletmonitoringInterval=field_mapjson__"MonitoringInterval"IntegerOptional.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"Boolean.of_jsoninletdomainMemberships=field_mapjson__"DomainMemberships"DomainMembershipList.of_jsoninletcACertificateIdentifier=field_mapjson__"CACertificateIdentifier"String_.of_jsoninletdbiResourceId=field_mapjson__"DbiResourceId"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"Boolean.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdbInstancePort=field_mapjson__"DbInstancePort"Integer.of_jsoninlettdeCredentialArn=field_mapjson__"TdeCredentialArn"String_.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletstatusInfos=field_mapjson__"StatusInfos"DBInstanceStatusInfoList.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"Boolean.of_jsoninletsecondaryAvailabilityZone=field_mapjson__"SecondaryAvailabilityZone"String_.of_jsoninletncharCharacterSetName=field_mapjson__"NcharCharacterSetName"String_.of_jsoninletcharacterSetName=field_mapjson__"CharacterSetName"String_.of_jsoninletoptionGroupMemberships=field_mapjson__"OptionGroupMemberships"OptionGroupMembershipList.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletreplicaMode=field_mapjson__"ReplicaMode"ReplicaMode.of_jsoninletreadReplicaDBClusterIdentifiers=field_mapjson__"ReadReplicaDBClusterIdentifiers"ReadReplicaDBClusterIdentifierList.of_jsoninletreadReplicaDBInstanceIdentifiers=field_mapjson__"ReadReplicaDBInstanceIdentifiers"ReadReplicaDBInstanceIdentifierList.of_jsoninletreadReplicaSourceDBInstanceIdentifier=field_mapjson__"ReadReplicaSourceDBInstanceIdentifier"String_.of_jsoninletautoMinorVersionUpgrade=field_mapjson__"AutoMinorVersionUpgrade"Boolean.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"Boolean.of_jsoninletlatestRestorableTime=field_mapjson__"LatestRestorableTime"TStamp.of_jsoninletpendingModifiedValues=field_mapjson__"PendingModifiedValues"PendingModifiedValues.of_jsoninletupgradeRolloutOrder=field_mapjson__"UpgradeRolloutOrder"UpgradeRolloutOrder.of_jsoninletpreferredMaintenanceWindow=field_mapjson__"PreferredMaintenanceWindow"String_.of_jsoninletdBSubnetGroup=field_mapjson__"DBSubnetGroup"DBSubnetGroup.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletdBParameterGroups=field_mapjson__"DBParameterGroups"DBParameterGroupStatusList.of_jsoninletvpcSecurityGroups=field_mapjson__"VpcSecurityGroups"VpcSecurityGroupMembershipList.of_jsoninletdBSecurityGroups=field_mapjson__"DBSecurityGroups"DBSecurityGroupMembershipList.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"Integer.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletinstanceCreateTime=field_mapjson__"InstanceCreateTime"TStamp.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletendpoint=field_mapjson__"Endpoint"Endpoint.of_jsoninletdBName=field_mapjson__"DBName"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletdBInstanceStatus=field_mapjson__"DBInstanceStatus"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninmake?storageVolumeStatus?additionalStorageVolumes?engineLifecycleSupport?isStorageConfigUpgradeAvailable?dedicatedLogVolume?multiTenant?percentProgress?readReplicaSourceDBClusterIdentifier?masterUserSecret?dBSystemId?certificateDetails?activityStreamPolicyStatus?customIamInstanceProfile?automaticRestartTime?backupTarget?dBInstanceAutomatedBackupsReplications?awsBackupRecoveryPointArn?activityStreamEngineNativeAuditFieldsIncluded?activityStreamMode?activityStreamKinesisStreamName?activityStreamKmsKeyId?activityStreamStatus?networkType?customerOwnedIpEnabled?resumeFullAutomationModeTime?automationMode?tagList?maxAllocatedStorage?listenerEndpoint?associatedRoles?deletionProtection?processorFeatures?enabledCloudwatchLogsExports?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?performanceInsightsEnabled?databaseInsightsMode?iAMDatabaseAuthenticationEnabled?timezone?dBInstanceArn?promotionTier?monitoringRoleArn?enhancedMonitoringResourceArn?monitoringInterval?copyTagsToSnapshot?domainMemberships?cACertificateIdentifier?dbiResourceId?kmsKeyId?storageEncrypted?dBClusterIdentifier?dbInstancePort?tdeCredentialArn?storageEncryptionType?storageType?statusInfos?publiclyAccessible?secondaryAvailabilityZone?ncharCharacterSetName?characterSetName?optionGroupMemberships?storageThroughput?iops?licenseModel?replicaMode?readReplicaDBClusterIdentifiers?readReplicaDBInstanceIdentifiers?readReplicaSourceDBInstanceIdentifier?autoMinorVersionUpgrade?engineVersion?multiAZ?latestRestorableTime?pendingModifiedValues?upgradeRolloutOrder?preferredMaintenanceWindow?dBSubnetGroup?availabilityZone?dBParameterGroups?vpcSecurityGroups?dBSecurityGroups?backupRetentionPeriod?preferredBackupWindow?instanceCreateTime?allocatedStorage?endpoint?dBName?masterUsername?dBInstanceStatus?engine?dBInstanceClass?dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon RDS DB instance. This data type is used as a response element in the operations CreateDBInstance, CreateDBInstanceReadReplica, DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, PromoteReadReplica, RebootDBInstance, RestoreDBInstanceFromDBSnapshot, RestoreDBInstanceFromS3, RestoreDBInstanceToPointInTime, StartDBInstance, and StopDBInstance."]moduleDBInstanceAutomatedBackup=structtypenonrect={dBInstanceArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the automated backups."];dbiResourceId:String_.toption[@ocaml.doc"The resource ID for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region."];region:String_.toption[@ocaml.doc"The Amazon Web Services Region associated with the automated backup."];dBInstanceIdentifier:String_.toption[@ocaml.doc"The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region."];restoreWindow:RestoreWindow.toption[@ocaml.doc"The earliest and latest time a DB instance can be restored to."];allocatedStorage:Integer.toption[@ocaml.doc"The allocated storage size for the automated backup in gibibytes (GiB)."];status:String_.toption[@ocaml.doc"A list of status information for an automated backup: active - Automated backups for current instances. retained - Automated backups for deleted instances. creating - Automated backups that are waiting for the first automated snapshot to be available."];port:Integer.toption[@ocaml.doc"The port number that the automated backup used for connections. Default: Inherits from the source DB instance Valid Values: 1150-65535"];availabilityZone:String_.toption[@ocaml.doc"The Availability Zone that the automated backup was created in. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones."];vpcId:String_.toption[@ocaml.doc"The VPC ID associated with the DB instance."];instanceCreateTime:TStamp.toption[@ocaml.doc"The date and time when the DB instance was created."];masterUsername:String_.toption[@ocaml.doc"The master user name of an automated backup."];engine:String_.toption[@ocaml.doc"The name of the database engine for this automated backup."];engineVersion:String_.toption[@ocaml.doc"The version of the database engine for the automated backup."];licenseModel:String_.toption[@ocaml.doc"The license model information for the automated backup."];iops:IntegerOptional.toption[@ocaml.doc"The IOPS (I/O operations per second) value for the automated backup."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput for the automated backup."];optionGroupName:String_.toption[@ocaml.doc"The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used."];tdeCredentialArn:String_.toption[@ocaml.doc"The ARN from the key store with which the automated backup is associated for TDE encryption."];encrypted:Boolean.toption[@ocaml.doc"Indicates whether the automated backup is encrypted."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the automated backup. Possible values: none - The automated backup is not encrypted. sse-rds - The automated backup is encrypted using an Amazon Web Services owned KMS key. sse-kms - The automated backup is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];storageType:String_.toption[@ocaml.doc"The storage type associated with the automated backup."];kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key ID for an automated backup. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];timezone:String_.toption[@ocaml.doc"The time zone of the automated backup. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified."];iAMDatabaseAuthenticationEnabled:Boolean.toption[@ocaml.doc"True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The retention period for the automated backups."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];dBInstanceAutomatedBackupsArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the replicated automated backups."];dBInstanceAutomatedBackupsReplications:DBInstanceAutomatedBackupsReplicationList.toption[@ocaml.doc"The list of replications to different Amazon Web Services Regions associated with the automated backup."];backupTarget:String_.toption[@ocaml.doc"The location where automated backups are stored: Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web Services Region."];multiTenant:BooleanOptional.toption[@ocaml.doc"Specifies whether the automatic backup is for a DB instance in the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE)."];awsBackupRecoveryPointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup."];tagList:TagList.toption;dedicatedLogVolume:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB instance has a dedicated log volume (DLV) enabled."];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"The additional storage volumes associated with the automated backup. Valid Values: GP3 | IO2"]}letmake?dBInstanceArn=fun?dbiResourceId->fun?region->fun?dBInstanceIdentifier->fun?restoreWindow->fun?allocatedStorage->fun?status->fun?port->fun?availabilityZone->fun?vpcId->fun?instanceCreateTime->fun?masterUsername->fun?engine->fun?engineVersion->fun?licenseModel->fun?iops->fun?storageThroughput->fun?optionGroupName->fun?tdeCredentialArn->fun?encrypted->fun?storageEncryptionType->fun?storageType->fun?kmsKeyId->fun?timezone->fun?iAMDatabaseAuthenticationEnabled->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?dBInstanceAutomatedBackupsArn->fun?dBInstanceAutomatedBackupsReplications->fun?backupTarget->fun?multiTenant->fun?awsBackupRecoveryPointArn->fun?tagList->fun?dedicatedLogVolume->fun?additionalStorageVolumes->fun()->{dBInstanceArn;dbiResourceId;region;dBInstanceIdentifier;restoreWindow;allocatedStorage;status;port;availabilityZone;vpcId;instanceCreateTime;masterUsername;engine;engineVersion;licenseModel;iops;storageThroughput;optionGroupName;tdeCredentialArn;encrypted;storageEncryptionType;storageType;kmsKeyId;timezone;iAMDatabaseAuthenticationEnabled;backupRetentionPeriod;preferredBackupWindow;dBInstanceAutomatedBackupsArn;dBInstanceAutomatedBackupsReplications;backupTarget;multiTenant;awsBackupRecoveryPointArn;tagList;dedicatedLogVolume;additionalStorageVolumes}letto_valuex=structure_to_value[("DBInstanceArn",(Option.mapx.dBInstanceArn~f:String_.to_value));("DbiResourceId",(Option.mapx.dbiResourceId~f:String_.to_value));("Region",(Option.mapx.region~f:String_.to_value));("DBInstanceIdentifier",(Option.mapx.dBInstanceIdentifier~f:String_.to_value));("RestoreWindow",(Option.mapx.restoreWindow~f:RestoreWindow.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("InstanceCreateTime",(Option.mapx.instanceCreateTime~f:TStamp.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("TdeCredentialArn",(Option.mapx.tdeCredentialArn~f:String_.to_value));("Encrypted",(Option.mapx.encrypted~f:Boolean.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("Timezone",(Option.mapx.timezone~f:String_.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:Boolean.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("DBInstanceAutomatedBackupsArn",(Option.mapx.dBInstanceAutomatedBackupsArn~f:String_.to_value));("DBInstanceAutomatedBackupsReplications",(Option.mapx.dBInstanceAutomatedBackupsReplications~f:DBInstanceAutomatedBackupsReplicationList.to_value));("BackupTarget",(Option.mapx.backupTarget~f:String_.to_value));("MultiTenant",(Option.mapx.multiTenant~f:BooleanOptional.to_value));("AwsBackupRecoveryPointArn",(Option.mapx.awsBackupRecoveryPointArn~f:String_.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:BooleanOptional.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletdedicatedLogVolume=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletawsBackupRecoveryPointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsBackupRecoveryPointArn")inletmultiTenant=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiTenant")inletbackupTarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"BackupTarget")inletdBInstanceAutomatedBackupsReplications=(Option.map~f:DBInstanceAutomatedBackupsReplicationList.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackupsReplications")inletdBInstanceAutomatedBackupsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackupsArn")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inlettimezone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Timezone")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletencrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Encrypted")inlettdeCredentialArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TdeCredentialArn")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletinstanceCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"InstanceCreateTime")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletrestoreWindow=(Option.map~f:RestoreWindow.of_xml)(Xml.childxml_arg0"RestoreWindow")inletdBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceIdentifier")inletregion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Region")inletdbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbiResourceId")inletdBInstanceArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceArn")inmake?additionalStorageVolumes?dedicatedLogVolume?tagList?awsBackupRecoveryPointArn?multiTenant?backupTarget?dBInstanceAutomatedBackupsReplications?dBInstanceAutomatedBackupsArn?preferredBackupWindow?backupRetentionPeriod?iAMDatabaseAuthenticationEnabled?timezone?kmsKeyId?storageType?storageEncryptionType?encrypted?tdeCredentialArn?optionGroupName?storageThroughput?iops?licenseModel?engineVersion?engine?masterUsername?instanceCreateTime?vpcId?availabilityZone?port?status?allocatedStorage?restoreWindow?dBInstanceIdentifier?region?dbiResourceId?dBInstanceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"BooleanOptional.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletawsBackupRecoveryPointArn=field_mapjson__"AwsBackupRecoveryPointArn"String_.of_jsoninletmultiTenant=field_mapjson__"MultiTenant"BooleanOptional.of_jsoninletbackupTarget=field_mapjson__"BackupTarget"String_.of_jsoninletdBInstanceAutomatedBackupsReplications=field_mapjson__"DBInstanceAutomatedBackupsReplications"DBInstanceAutomatedBackupsReplicationList.of_jsoninletdBInstanceAutomatedBackupsArn=field_mapjson__"DBInstanceAutomatedBackupsArn"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"Boolean.of_jsoninlettimezone=field_mapjson__"Timezone"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletencrypted=field_mapjson__"Encrypted"Boolean.of_jsoninlettdeCredentialArn=field_mapjson__"TdeCredentialArn"String_.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletinstanceCreateTime=field_mapjson__"InstanceCreateTime"TStamp.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletrestoreWindow=field_mapjson__"RestoreWindow"RestoreWindow.of_jsoninletdBInstanceIdentifier=field_mapjson__"DBInstanceIdentifier"String_.of_jsoninletregion=field_mapjson__"Region"String_.of_jsoninletdbiResourceId=field_mapjson__"DbiResourceId"String_.of_jsoninletdBInstanceArn=field_mapjson__"DBInstanceArn"String_.of_jsoninmake?additionalStorageVolumes?dedicatedLogVolume?tagList?awsBackupRecoveryPointArn?multiTenant?backupTarget?dBInstanceAutomatedBackupsReplications?dBInstanceAutomatedBackupsArn?preferredBackupWindow?backupRetentionPeriod?iAMDatabaseAuthenticationEnabled?timezone?kmsKeyId?storageType?storageEncryptionType?encrypted?tdeCredentialArn?optionGroupName?storageThroughput?iops?licenseModel?engineVersion?engine?masterUsername?instanceCreateTime?vpcId?availabilityZone?port?status?allocatedStorage?restoreWindow?dBInstanceIdentifier?region?dbiResourceId?dBInstanceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An automated backup of a DB instance. It consists of system backups, transaction logs, and the database instance properties that existed at the time you deleted the source instance."]moduleDBEngineVersion=structtypecreateCustomDBEngineVersionResult={engine:String_.toption[@ocaml.doc"The name of the database engine."];majorEngineVersion:String_.toption[@ocaml.doc"The major engine version of the CEV."];engineVersion:String_.toption[@ocaml.doc"The version number of the database engine."];databaseInstallationFilesS3BucketName:String_.toption[@ocaml.doc"The name of the Amazon S3 bucket that contains your database installation files."];databaseInstallationFilesS3Prefix:String_.toption[@ocaml.doc"The Amazon S3 directory that contains the database installation files. If not specified, then no prefix is assumed."];databaseInstallationFiles:StringList.toption[@ocaml.doc"The database installation files (ISO and EXE) uploaded to Amazon S3 for your database engine version to import to Amazon RDS. Required for sqlserver-dev-ee."];customDBEngineVersionManifest:CustomDBEngineVersionManifest.toption[@ocaml.doc"JSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV). RDS Custom applies the patches in the order in which they're listed in the manifest. You can set the Oracle home, Oracle base, and UNIX/Linux user and group using the installation parameters. For more information, see JSON fields in the CEV manifest in the Amazon RDS User Guide."];dBParameterGroupFamily:String_.toption[@ocaml.doc"The name of the DB parameter group family for the database engine."];dBEngineDescription:String_.toption[@ocaml.doc"The description of the database engine."];dBEngineVersionArn:String_.toption[@ocaml.doc"The ARN of the custom engine version."];dBEngineVersionDescription:String_.toption[@ocaml.doc"The description of the database engine version."];defaultCharacterSet:CharacterSet.toption[@ocaml.doc"The default character set for new instances of this engine version, if the CharacterSetName parameter of the CreateDBInstance API isn't specified."];failureReason:String_.toption[@ocaml.doc"The reason that the custom engine version creation for sqlserver-dev-ee failed with an incompatible-installation-media status."];image:CustomDBEngineVersionAMI.toption[@ocaml.doc"The EC2 image"];dBEngineMediaType:String_.toption[@ocaml.doc"A value that indicates the source media provider of the AMI based on the usage operation. Applicable for RDS Custom for SQL Server."];kMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for an encrypted CEV. This parameter is required for RDS Custom, but optional for Amazon RDS."];createTime:TStamp.toption[@ocaml.doc"The creation time of the DB engine version."];supportedCharacterSets:SupportedCharacterSetsList.toption[@ocaml.doc"A list of the character sets supported by this engine for the CharacterSetName parameter of the CreateDBInstance operation."];supportedNcharCharacterSets:SupportedCharacterSetsList.toption[@ocaml.doc"A list of the character sets supported by the Oracle DB engine for the NcharCharacterSetName parameter of the CreateDBInstance operation."];validUpgradeTarget:ValidUpgradeTargetList.toption[@ocaml.doc"A list of engine versions that this database engine version can be upgraded to."];supportedTimezones:SupportedTimezonesList.toption[@ocaml.doc"A list of the time zones supported by this engine for the Timezone parameter of the CreateDBInstance action."];exportableLogTypes:LogTypeList.toption[@ocaml.doc"The types of logs that the database engine has available for export to CloudWatch Logs."];supportsLogExportsToCloudwatchLogs:Boolean.toption[@ocaml.doc"Indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs."];supportsReadReplica:Boolean.toption[@ocaml.doc"Indicates whether the database engine version supports read replicas."];supportedEngineModes:EngineModeList.toption[@ocaml.doc"A list of the supported DB engine modes."];supportedFeatureNames:FeatureNameList.toption[@ocaml.doc"A list of features supported by the DB engine. The supported features vary by DB engine and DB engine version. To determine the supported features for a specific DB engine and DB engine version using the CLI, use the following command: aws rds describe-db-engine-versions --engine <engine_name> --engine-version <engine_version> For example, to determine the supported features for RDS for PostgreSQL version 13.3 using the CLI, use the following command: aws rds describe-db-engine-versions --engine postgres --engine-version 13.3 The supported features are listed under SupportedFeatureNames in the output."];status:String_.toption[@ocaml.doc"The status of the DB engine version, either available or deprecated."];supportsParallelQuery:Boolean.toption[@ocaml.doc"Indicates whether you can use Aurora parallel query with a specific DB engine version."];supportsGlobalDatabases:Boolean.toption[@ocaml.doc"Indicates whether you can use Aurora global databases with a specific DB engine version."];tagList:TagList.toption;supportsBabelfish:Boolean.toption[@ocaml.doc"Indicates whether the engine version supports Babelfish for Aurora PostgreSQL."];supportsLimitlessDatabase:Boolean.toption[@ocaml.doc"Indicates whether the DB engine version supports Aurora Limitless Database."];supportsCertificateRotationWithoutRestart:BooleanOptional.toption[@ocaml.doc"Indicates whether the engine version supports rotating the server certificate without rebooting the DB instance."];supportedCACertificateIdentifiers:CACertificateIdentifiersList.toption[@ocaml.doc"A list of the supported CA certificate identifiers. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];supportsLocalWriteForwarding:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. Valid for: Aurora DB clusters only"];supportsIntegrations:Boolean.toption[@ocaml.doc"Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift."];serverlessV2FeaturesSupport:ServerlessV2FeaturesSupport.toption[@ocaml.doc"Specifies any Aurora Serverless v2 properties or limits that differ between Aurora engine versions. You can test the values of this attribute when deciding which Aurora version to use in a new or upgraded DB cluster. You can also retrieve the version of an existing DB cluster and check whether that version supports certain Aurora Serverless v2 features before you attempt to use those features."]}andresponseMetaData=unitandt={createCustomDBEngineVersionResult:createCustomDBEngineVersionResult;responseMetaData:responseMetaData}typeerror=[`CreateCustomDBEngineVersionFaultofCreateCustomDBEngineVersionFault.t|`CustomDBEngineVersionAlreadyExistsFaultofCustomDBEngineVersionAlreadyExistsFault.t|`CustomDBEngineVersionNotFoundFaultofCustomDBEngineVersionNotFoundFault.t|`CustomDBEngineVersionQuotaExceededFaultofCustomDBEngineVersionQuotaExceededFault.t|`Ec2ImagePropertiesNotSupportedFaultofEc2ImagePropertiesNotSupportedFault.t|`InvalidCustomDBEngineVersionStateFaultofInvalidCustomDBEngineVersionStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DBEngineVersion"letmake?engine=fun?majorEngineVersion->fun?engineVersion->fun?databaseInstallationFilesS3BucketName->fun?databaseInstallationFilesS3Prefix->fun?databaseInstallationFiles->fun?customDBEngineVersionManifest->fun?dBParameterGroupFamily->fun?dBEngineDescription->fun?dBEngineVersionArn->fun?dBEngineVersionDescription->fun?defaultCharacterSet->fun?failureReason->fun?image->fun?dBEngineMediaType->fun?kMSKeyId->fun?createTime->fun?supportedCharacterSets->fun?supportedNcharCharacterSets->fun?validUpgradeTarget->fun?supportedTimezones->fun?exportableLogTypes->fun?supportsLogExportsToCloudwatchLogs->fun?supportsReadReplica->fun?supportedEngineModes->fun?supportedFeatureNames->fun?status->fun?supportsParallelQuery->fun?supportsGlobalDatabases->fun?tagList->fun?supportsBabelfish->fun?supportsLimitlessDatabase->fun?supportsCertificateRotationWithoutRestart->fun?supportedCACertificateIdentifiers->fun?supportsLocalWriteForwarding->fun?supportsIntegrations->fun?serverlessV2FeaturesSupport->fun()->{createCustomDBEngineVersionResult={engine;majorEngineVersion;engineVersion;databaseInstallationFilesS3BucketName;databaseInstallationFilesS3Prefix;databaseInstallationFiles;customDBEngineVersionManifest;dBParameterGroupFamily;dBEngineDescription;dBEngineVersionArn;dBEngineVersionDescription;defaultCharacterSet;failureReason;image;dBEngineMediaType;kMSKeyId;createTime;supportedCharacterSets;supportedNcharCharacterSets;validUpgradeTarget;supportedTimezones;exportableLogTypes;supportsLogExportsToCloudwatchLogs;supportsReadReplica;supportedEngineModes;supportedFeatureNames;status;supportsParallelQuery;supportsGlobalDatabases;tagList;supportsBabelfish;supportsLimitlessDatabase;supportsCertificateRotationWithoutRestart;supportedCACertificateIdentifiers;supportsLocalWriteForwarding;supportsIntegrations;serverlessV2FeaturesSupport};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CreateCustomDBEngineVersionFault"->`CreateCustomDBEngineVersionFault(CreateCustomDBEngineVersionFault.of_jsonjson)|"CustomDBEngineVersionAlreadyExistsFault"->`CustomDBEngineVersionAlreadyExistsFault(CustomDBEngineVersionAlreadyExistsFault.of_jsonjson)|"CustomDBEngineVersionNotFoundFault"->`CustomDBEngineVersionNotFoundFault(CustomDBEngineVersionNotFoundFault.of_jsonjson)|"CustomDBEngineVersionQuotaExceededFault"->`CustomDBEngineVersionQuotaExceededFault(CustomDBEngineVersionQuotaExceededFault.of_jsonjson)|"Ec2ImagePropertiesNotSupportedFault"->`Ec2ImagePropertiesNotSupportedFault(Ec2ImagePropertiesNotSupportedFault.of_jsonjson)|"InvalidCustomDBEngineVersionStateFault"->`InvalidCustomDBEngineVersionStateFault(InvalidCustomDBEngineVersionStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CreateCustomDBEngineVersionFault"->`CreateCustomDBEngineVersionFault(CreateCustomDBEngineVersionFault.of_xmlxml)|"CustomDBEngineVersionAlreadyExistsFault"->`CustomDBEngineVersionAlreadyExistsFault(CustomDBEngineVersionAlreadyExistsFault.of_xmlxml)|"CustomDBEngineVersionNotFoundFault"->`CustomDBEngineVersionNotFoundFault(CustomDBEngineVersionNotFoundFault.of_xmlxml)|"CustomDBEngineVersionQuotaExceededFault"->`CustomDBEngineVersionQuotaExceededFault(CustomDBEngineVersionQuotaExceededFault.of_xmlxml)|"Ec2ImagePropertiesNotSupportedFault"->`Ec2ImagePropertiesNotSupportedFault(Ec2ImagePropertiesNotSupportedFault.of_xmlxml)|"InvalidCustomDBEngineVersionStateFault"->`InvalidCustomDBEngineVersionStateFault(InvalidCustomDBEngineVersionStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CreateCustomDBEngineVersionFaulte->`Assoc[("error",(`String"CreateCustomDBEngineVersionFault"));("details",(CreateCustomDBEngineVersionFault.to_jsone))]|`CustomDBEngineVersionAlreadyExistsFaulte->`Assoc[("error",(`String"CustomDBEngineVersionAlreadyExistsFault"));("details",(CustomDBEngineVersionAlreadyExistsFault.to_jsone))]|`CustomDBEngineVersionNotFoundFaulte->`Assoc[("error",(`String"CustomDBEngineVersionNotFoundFault"));("details",(CustomDBEngineVersionNotFoundFault.to_jsone))]|`CustomDBEngineVersionQuotaExceededFaulte->`Assoc[("error",(`String"CustomDBEngineVersionQuotaExceededFault"));("details",(CustomDBEngineVersionQuotaExceededFault.to_jsone))]|`Ec2ImagePropertiesNotSupportedFaulte->`Assoc[("error",(`String"Ec2ImagePropertiesNotSupportedFault"));("details",(Ec2ImagePropertiesNotSupportedFault.to_jsone))]|`InvalidCustomDBEngineVersionStateFaulte->`Assoc[("error",(`String"InvalidCustomDBEngineVersionStateFault"));("details",(InvalidCustomDBEngineVersionStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createCustomDBEngineVersionResultinstructure_to_wrapped_value[("Engine",(Option.mapx.engine~f:String_.to_value));("MajorEngineVersion",(Option.mapx.majorEngineVersion~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("DatabaseInstallationFilesS3BucketName",(Option.mapx.databaseInstallationFilesS3BucketName~f:String_.to_value));("DatabaseInstallationFilesS3Prefix",(Option.mapx.databaseInstallationFilesS3Prefix~f:String_.to_value));("DatabaseInstallationFiles",(Option.mapx.databaseInstallationFiles~f:StringList.to_value));("CustomDBEngineVersionManifest",(Option.mapx.customDBEngineVersionManifest~f:CustomDBEngineVersionManifest.to_value));("DBParameterGroupFamily",(Option.mapx.dBParameterGroupFamily~f:String_.to_value));("DBEngineDescription",(Option.mapx.dBEngineDescription~f:String_.to_value));("DBEngineVersionArn",(Option.mapx.dBEngineVersionArn~f:String_.to_value));("DBEngineVersionDescription",(Option.mapx.dBEngineVersionDescription~f:String_.to_value));("DefaultCharacterSet",(Option.mapx.defaultCharacterSet~f:CharacterSet.to_value));("FailureReason",(Option.mapx.failureReason~f:String_.to_value));("Image",(Option.mapx.image~f:CustomDBEngineVersionAMI.to_value));("DBEngineMediaType",(Option.mapx.dBEngineMediaType~f:String_.to_value));("KMSKeyId",(Option.mapx.kMSKeyId~f:String_.to_value));("CreateTime",(Option.mapx.createTime~f:TStamp.to_value));("SupportedCharacterSets",(Option.mapx.supportedCharacterSets~f:SupportedCharacterSetsList.to_value));("SupportedNcharCharacterSets",(Option.mapx.supportedNcharCharacterSets~f:SupportedCharacterSetsList.to_value));("ValidUpgradeTarget",(Option.mapx.validUpgradeTarget~f:ValidUpgradeTargetList.to_value));("SupportedTimezones",(Option.mapx.supportedTimezones~f:SupportedTimezonesList.to_value));("ExportableLogTypes",(Option.mapx.exportableLogTypes~f:LogTypeList.to_value));("SupportsLogExportsToCloudwatchLogs",(Option.mapx.supportsLogExportsToCloudwatchLogs~f:Boolean.to_value));("SupportsReadReplica",(Option.mapx.supportsReadReplica~f:Boolean.to_value));("SupportedEngineModes",(Option.mapx.supportedEngineModes~f:EngineModeList.to_value));("SupportedFeatureNames",(Option.mapx.supportedFeatureNames~f:FeatureNameList.to_value));("Status",(Option.mapx.status~f:String_.to_value));("SupportsParallelQuery",(Option.mapx.supportsParallelQuery~f:Boolean.to_value));("SupportsGlobalDatabases",(Option.mapx.supportsGlobalDatabases~f:Boolean.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("SupportsBabelfish",(Option.mapx.supportsBabelfish~f:Boolean.to_value));("SupportsLimitlessDatabase",(Option.mapx.supportsLimitlessDatabase~f:Boolean.to_value));("SupportsCertificateRotationWithoutRestart",(Option.mapx.supportsCertificateRotationWithoutRestart~f:BooleanOptional.to_value));("SupportedCACertificateIdentifiers",(Option.mapx.supportedCACertificateIdentifiers~f:CACertificateIdentifiersList.to_value));("SupportsLocalWriteForwarding",(Option.mapx.supportsLocalWriteForwarding~f:BooleanOptional.to_value));("SupportsIntegrations",(Option.mapx.supportsIntegrations~f:Boolean.to_value));("ServerlessV2FeaturesSupport",(Option.mapx.serverlessV2FeaturesSupport~f:ServerlessV2FeaturesSupport.to_value))]~wrapper:"CreateCustomDBEngineVersionResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateCustomDBEngineVersionResult"inletserverlessV2FeaturesSupport=(Option.map~f:ServerlessV2FeaturesSupport.of_xml)(Xml.childxml_arg0"ServerlessV2FeaturesSupport")inletsupportsIntegrations=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsIntegrations")inletsupportsLocalWriteForwarding=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsLocalWriteForwarding")inletsupportedCACertificateIdentifiers=(Option.map~f:CACertificateIdentifiersList.of_xml)(Xml.childxml_arg0"SupportedCACertificateIdentifiers")inletsupportsCertificateRotationWithoutRestart=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"SupportsCertificateRotationWithoutRestart")inletsupportsLimitlessDatabase=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsLimitlessDatabase")inletsupportsBabelfish=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsBabelfish")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletsupportsGlobalDatabases=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsGlobalDatabases")inletsupportsParallelQuery=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsParallelQuery")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletsupportedFeatureNames=(Option.map~f:FeatureNameList.of_xml)(Xml.childxml_arg0"SupportedFeatureNames")inletsupportedEngineModes=(Option.map~f:EngineModeList.of_xml)(Xml.childxml_arg0"SupportedEngineModes")inletsupportsReadReplica=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsReadReplica")inletsupportsLogExportsToCloudwatchLogs=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsLogExportsToCloudwatchLogs")inletexportableLogTypes=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"ExportableLogTypes")inletsupportedTimezones=(Option.map~f:SupportedTimezonesList.of_xml)(Xml.childxml_arg0"SupportedTimezones")inletvalidUpgradeTarget=(Option.map~f:ValidUpgradeTargetList.of_xml)(Xml.childxml_arg0"ValidUpgradeTarget")inletsupportedNcharCharacterSets=(Option.map~f:SupportedCharacterSetsList.of_xml)(Xml.childxml_arg0"SupportedNcharCharacterSets")inletsupportedCharacterSets=(Option.map~f:SupportedCharacterSetsList.of_xml)(Xml.childxml_arg0"SupportedCharacterSets")inletcreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CreateTime")inletkMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KMSKeyId")inletdBEngineMediaType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBEngineMediaType")inletimage=(Option.map~f:CustomDBEngineVersionAMI.of_xml)(Xml.childxml_arg0"Image")inletfailureReason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FailureReason")inletdefaultCharacterSet=(Option.map~f:CharacterSet.of_xml)(Xml.childxml_arg0"DefaultCharacterSet")inletdBEngineVersionDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBEngineVersionDescription")inletdBEngineVersionArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBEngineVersionArn")inletdBEngineDescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBEngineDescription")inletdBParameterGroupFamily=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupFamily")inletcustomDBEngineVersionManifest=(Option.map~f:CustomDBEngineVersionManifest.of_xml)(Xml.childxml_arg0"CustomDBEngineVersionManifest")inletdatabaseInstallationFiles=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"DatabaseInstallationFiles")inletdatabaseInstallationFilesS3Prefix=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DatabaseInstallationFilesS3Prefix")inletdatabaseInstallationFilesS3BucketName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DatabaseInstallationFilesS3BucketName")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmajorEngineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MajorEngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inmake?serverlessV2FeaturesSupport?supportsIntegrations?supportsLocalWriteForwarding?supportedCACertificateIdentifiers?supportsCertificateRotationWithoutRestart?supportsLimitlessDatabase?supportsBabelfish?tagList?supportsGlobalDatabases?supportsParallelQuery?status?supportedFeatureNames?supportedEngineModes?supportsReadReplica?supportsLogExportsToCloudwatchLogs?exportableLogTypes?supportedTimezones?validUpgradeTarget?supportedNcharCharacterSets?supportedCharacterSets?createTime?kMSKeyId?dBEngineMediaType?image?failureReason?defaultCharacterSet?dBEngineVersionDescription?dBEngineVersionArn?dBEngineDescription?dBParameterGroupFamily?customDBEngineVersionManifest?databaseInstallationFiles?databaseInstallationFilesS3Prefix?databaseInstallationFilesS3BucketName?engineVersion?majorEngineVersion?engine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverlessV2FeaturesSupport=field_mapjson__"ServerlessV2FeaturesSupport"ServerlessV2FeaturesSupport.of_jsoninletsupportsIntegrations=field_mapjson__"SupportsIntegrations"Boolean.of_jsoninletsupportsLocalWriteForwarding=field_mapjson__"SupportsLocalWriteForwarding"BooleanOptional.of_jsoninletsupportedCACertificateIdentifiers=field_mapjson__"SupportedCACertificateIdentifiers"CACertificateIdentifiersList.of_jsoninletsupportsCertificateRotationWithoutRestart=field_mapjson__"SupportsCertificateRotationWithoutRestart"BooleanOptional.of_jsoninletsupportsLimitlessDatabase=field_mapjson__"SupportsLimitlessDatabase"Boolean.of_jsoninletsupportsBabelfish=field_mapjson__"SupportsBabelfish"Boolean.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletsupportsGlobalDatabases=field_mapjson__"SupportsGlobalDatabases"Boolean.of_jsoninletsupportsParallelQuery=field_mapjson__"SupportsParallelQuery"Boolean.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletsupportedFeatureNames=field_mapjson__"SupportedFeatureNames"FeatureNameList.of_jsoninletsupportedEngineModes=field_mapjson__"SupportedEngineModes"EngineModeList.of_jsoninletsupportsReadReplica=field_mapjson__"SupportsReadReplica"Boolean.of_jsoninletsupportsLogExportsToCloudwatchLogs=field_mapjson__"SupportsLogExportsToCloudwatchLogs"Boolean.of_jsoninletexportableLogTypes=field_mapjson__"ExportableLogTypes"LogTypeList.of_jsoninletsupportedTimezones=field_mapjson__"SupportedTimezones"SupportedTimezonesList.of_jsoninletvalidUpgradeTarget=field_mapjson__"ValidUpgradeTarget"ValidUpgradeTargetList.of_jsoninletsupportedNcharCharacterSets=field_mapjson__"SupportedNcharCharacterSets"SupportedCharacterSetsList.of_jsoninletsupportedCharacterSets=field_mapjson__"SupportedCharacterSets"SupportedCharacterSetsList.of_jsoninletcreateTime=field_mapjson__"CreateTime"TStamp.of_jsoninletkMSKeyId=field_mapjson__"KMSKeyId"String_.of_jsoninletdBEngineMediaType=field_mapjson__"DBEngineMediaType"String_.of_jsoninletimage=field_mapjson__"Image"CustomDBEngineVersionAMI.of_jsoninletfailureReason=field_mapjson__"FailureReason"String_.of_jsoninletdefaultCharacterSet=field_mapjson__"DefaultCharacterSet"CharacterSet.of_jsoninletdBEngineVersionDescription=field_mapjson__"DBEngineVersionDescription"String_.of_jsoninletdBEngineVersionArn=field_mapjson__"DBEngineVersionArn"String_.of_jsoninletdBEngineDescription=field_mapjson__"DBEngineDescription"String_.of_jsoninletdBParameterGroupFamily=field_mapjson__"DBParameterGroupFamily"String_.of_jsoninletcustomDBEngineVersionManifest=field_mapjson__"CustomDBEngineVersionManifest"CustomDBEngineVersionManifest.of_jsoninletdatabaseInstallationFiles=field_mapjson__"DatabaseInstallationFiles"StringList.of_jsoninletdatabaseInstallationFilesS3Prefix=field_mapjson__"DatabaseInstallationFilesS3Prefix"String_.of_jsoninletdatabaseInstallationFilesS3BucketName=field_mapjson__"DatabaseInstallationFilesS3BucketName"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmajorEngineVersion=field_mapjson__"MajorEngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninmake?serverlessV2FeaturesSupport?supportsIntegrations?supportsLocalWriteForwarding?supportedCACertificateIdentifiers?supportsCertificateRotationWithoutRestart?supportsLimitlessDatabase?supportsBabelfish?tagList?supportsGlobalDatabases?supportsParallelQuery?status?supportedFeatureNames?supportedEngineModes?supportsReadReplica?supportsLogExportsToCloudwatchLogs?exportableLogTypes?supportedTimezones?validUpgradeTarget?supportedNcharCharacterSets?supportedCharacterSets?createTime?kMSKeyId?dBEngineMediaType?image?failureReason?defaultCharacterSet?dBEngineVersionDescription?dBEngineVersionArn?dBEngineDescription?dBParameterGroupFamily?customDBEngineVersionManifest?databaseInstallationFiles?databaseInstallationFilesS3Prefix?databaseInstallationFilesS3BucketName?engineVersion?majorEngineVersion?engine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the action DescribeDBEngineVersions."]moduleDBClusterSnapshot=structtypenonrect={availabilityZones:AvailabilityZones.toption[@ocaml.doc"The list of Availability Zones (AZs) where instances in the DB cluster snapshot can be restored."];dBClusterSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier for the DB cluster snapshot."];dBClusterIdentifier:String_.toption[@ocaml.doc"The DB cluster identifier of the DB cluster that this DB cluster snapshot was created from."];snapshotCreateTime:TStamp.toption[@ocaml.doc"The time when the snapshot was taken, in Universal Coordinated Time (UTC)."];engine:String_.toption[@ocaml.doc"The name of the database engine for this DB cluster snapshot."];engineMode:String_.toption[@ocaml.doc"The engine mode of the database engine for this DB cluster snapshot."];allocatedStorage:Integer.toption[@ocaml.doc"The allocated storage size of the DB cluster snapshot in gibibytes (GiB)."];status:String_.toption[@ocaml.doc"The status of this DB cluster snapshot. Valid statuses are the following: available copying creating"];port:Integer.toption[@ocaml.doc"The port that the DB cluster was listening on at the time of the snapshot."];vpcId:String_.toption[@ocaml.doc"The VPC ID associated with the DB cluster snapshot."];clusterCreateTime:TStamp.toption[@ocaml.doc"The time when the DB cluster was created, in Universal Coordinated Time (UTC)."];masterUsername:String_.toption[@ocaml.doc"The master username for this DB cluster snapshot."];engineVersion:String_.toption[@ocaml.doc"The version of the database engine for this DB cluster snapshot."];licenseModel:String_.toption[@ocaml.doc"The license model information for this DB cluster snapshot."];snapshotType:String_.toption[@ocaml.doc"The type of the DB cluster snapshot."];percentProgress:Integer.toption[@ocaml.doc"The percentage of the estimated data that has been transferred."];storageEncrypted:Boolean.toption[@ocaml.doc"Indicates whether the DB cluster snapshot is encrypted."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the DB cluster snapshot. Possible values: none - The DB cluster snapshot is not encrypted. sse-rds - The DB cluster snapshot is encrypted using an Amazon Web Services owned KMS key. sse-kms - The DB cluster snapshot is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automatic DB snapshots are retained."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];kmsKeyId:String_.toption[@ocaml.doc"If StorageEncrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB cluster snapshot. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];dBClusterSnapshotArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB cluster snapshot."];sourceDBClusterSnapshotArn:String_.toption[@ocaml.doc"If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value."];iAMDatabaseAuthenticationEnabled:Boolean.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];tagList:TagList.toption;storageType:String_.toption[@ocaml.doc"The storage type associated with the DB cluster snapshot. This setting is only for Aurora DB clusters."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable. This setting is only for non-Aurora Multi-AZ DB clusters."];dbClusterResourceId:String_.toption[@ocaml.doc"The resource ID of the DB cluster that this DB cluster snapshot was created from."];dBSystemId:String_.toption[@ocaml.doc"Reserved for future use."]}letmake?availabilityZones=fun?dBClusterSnapshotIdentifier->fun?dBClusterIdentifier->fun?snapshotCreateTime->fun?engine->fun?engineMode->fun?allocatedStorage->fun?status->fun?port->fun?vpcId->fun?clusterCreateTime->fun?masterUsername->fun?engineVersion->fun?licenseModel->fun?snapshotType->fun?percentProgress->fun?storageEncrypted->fun?storageEncryptionType->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?kmsKeyId->fun?dBClusterSnapshotArn->fun?sourceDBClusterSnapshotArn->fun?iAMDatabaseAuthenticationEnabled->fun?tagList->fun?storageType->fun?storageThroughput->fun?dbClusterResourceId->fun?dBSystemId->fun()->{availabilityZones;dBClusterSnapshotIdentifier;dBClusterIdentifier;snapshotCreateTime;engine;engineMode;allocatedStorage;status;port;vpcId;clusterCreateTime;masterUsername;engineVersion;licenseModel;snapshotType;percentProgress;storageEncrypted;storageEncryptionType;backupRetentionPeriod;preferredBackupWindow;kmsKeyId;dBClusterSnapshotArn;sourceDBClusterSnapshotArn;iAMDatabaseAuthenticationEnabled;tagList;storageType;storageThroughput;dbClusterResourceId;dBSystemId}letto_valuex=structure_to_value[("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value));("DBClusterSnapshotIdentifier",(Option.mapx.dBClusterSnapshotIdentifier~f:String_.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("SnapshotCreateTime",(Option.mapx.snapshotCreateTime~f:TStamp.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("EngineMode",(Option.mapx.engineMode~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("Status",(Option.mapx.status~f:String_.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("ClusterCreateTime",(Option.mapx.clusterCreateTime~f:TStamp.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("SnapshotType",(Option.mapx.snapshotType~f:String_.to_value));("PercentProgress",(Option.mapx.percentProgress~f:Integer.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:Boolean.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("DBClusterSnapshotArn",(Option.mapx.dBClusterSnapshotArn~f:String_.to_value));("SourceDBClusterSnapshotArn",(Option.mapx.sourceDBClusterSnapshotArn~f:String_.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:Boolean.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("DbClusterResourceId",(Option.mapx.dbClusterResourceId~f:String_.to_value));("DBSystemId",(Option.mapx.dBSystemId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBSystemId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSystemId")inletdbClusterResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbClusterResourceId")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inletsourceDBClusterSnapshotArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDBClusterSnapshotArn")inletdBClusterSnapshotArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterSnapshotArn")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletstorageEncrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"StorageEncrypted")inletpercentProgress=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"PercentProgress")inletsnapshotType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SnapshotType")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletclusterCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ClusterCreateTime")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletengineMode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineMode")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletsnapshotCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"SnapshotCreateTime")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdBClusterSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterSnapshotIdentifier")inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inmake?dBSystemId?dbClusterResourceId?storageThroughput?storageType?tagList?iAMDatabaseAuthenticationEnabled?sourceDBClusterSnapshotArn?dBClusterSnapshotArn?kmsKeyId?preferredBackupWindow?backupRetentionPeriod?storageEncryptionType?storageEncrypted?percentProgress?snapshotType?licenseModel?engineVersion?masterUsername?clusterCreateTime?vpcId?port?status?allocatedStorage?engineMode?engine?snapshotCreateTime?dBClusterIdentifier?dBClusterSnapshotIdentifier?availabilityZones()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBSystemId=field_mapjson__"DBSystemId"String_.of_jsoninletdbClusterResourceId=field_mapjson__"DbClusterResourceId"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"Boolean.of_jsoninletsourceDBClusterSnapshotArn=field_mapjson__"SourceDBClusterSnapshotArn"String_.of_jsoninletdBClusterSnapshotArn=field_mapjson__"DBClusterSnapshotArn"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"Boolean.of_jsoninletpercentProgress=field_mapjson__"PercentProgress"Integer.of_jsoninletsnapshotType=field_mapjson__"SnapshotType"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletclusterCreateTime=field_mapjson__"ClusterCreateTime"TStamp.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletengineMode=field_mapjson__"EngineMode"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletsnapshotCreateTime=field_mapjson__"SnapshotCreateTime"TStamp.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdBClusterSnapshotIdentifier=field_mapjson__"DBClusterSnapshotIdentifier"String_.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninmake?dBSystemId?dbClusterResourceId?storageThroughput?storageType?tagList?iAMDatabaseAuthenticationEnabled?sourceDBClusterSnapshotArn?dBClusterSnapshotArn?kmsKeyId?preferredBackupWindow?backupRetentionPeriod?storageEncryptionType?storageEncrypted?percentProgress?snapshotType?licenseModel?engineVersion?masterUsername?clusterCreateTime?vpcId?port?status?allocatedStorage?engineMode?engine?snapshotCreateTime?dBClusterIdentifier?dBClusterSnapshotIdentifier?availabilityZones()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details for an Amazon RDS DB cluster snapshot This data type is used as a response element in the DescribeDBClusterSnapshots action."]moduleDBClusterParameterGroup=structtypenonrect={dBClusterParameterGroupName:String_.toption[@ocaml.doc"The name of the DB cluster parameter group."];dBParameterGroupFamily:String_.toption[@ocaml.doc"The name of the DB parameter group family that this DB cluster parameter group is compatible with."];description:String_.toption[@ocaml.doc"Provides the customer-specified description for this DB cluster parameter group."];dBClusterParameterGroupArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB cluster parameter group."]}letmake?dBClusterParameterGroupName=fun?dBParameterGroupFamily->fun?description->fun?dBClusterParameterGroupArn->fun()->{dBClusterParameterGroupName;dBParameterGroupFamily;description;dBClusterParameterGroupArn}letto_valuex=structure_to_value[("DBClusterParameterGroupName",(Option.mapx.dBClusterParameterGroupName~f:String_.to_value));("DBParameterGroupFamily",(Option.mapx.dBParameterGroupFamily~f:String_.to_value));("Description",(Option.mapx.description~f:String_.to_value));("DBClusterParameterGroupArn",(Option.mapx.dBClusterParameterGroupArn~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBClusterParameterGroupArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterParameterGroupArn")inletdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Description")inletdBParameterGroupFamily=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupFamily")inletdBClusterParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterParameterGroupName")inmake?dBClusterParameterGroupArn?description?dBParameterGroupFamily?dBClusterParameterGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBClusterParameterGroupArn=field_mapjson__"DBClusterParameterGroupArn"String_.of_jsoninletdescription=field_mapjson__"Description"String_.of_jsoninletdBParameterGroupFamily=field_mapjson__"DBParameterGroupFamily"String_.of_jsoninletdBClusterParameterGroupName=field_mapjson__"DBClusterParameterGroupName"String_.of_jsoninmake?dBClusterParameterGroupArn?description?dBParameterGroupFamily?dBClusterParameterGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon RDS DB cluster parameter group. This data type is used as a response element in the DescribeDBClusterParameterGroups action."]moduleDBCluster=structtypenonrect={allocatedStorage:IntegerOptional.toption[@ocaml.doc"AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage can vary because Aurora DB cluster storage size adjusts as needed."];availabilityZones:AvailabilityZones.toption[@ocaml.doc"The list of Availability Zones (AZs) where instances in the DB cluster can be created."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automatic DB snapshots are retained."];characterSetName:String_.toption[@ocaml.doc"If present, specifies the name of the character set that this cluster is associated with."];databaseName:String_.toption[@ocaml.doc"The name of the initial database that was specified for the DB cluster when it was created, if one was provided. This same name is returned for the life of the DB cluster."];dBClusterIdentifier:String_.toption[@ocaml.doc"The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster."];dBClusterParameterGroup:String_.toption[@ocaml.doc"The name of the DB cluster parameter group for the DB cluster."];dBSubnetGroup:String_.toption[@ocaml.doc"Information about the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group."];status:String_.toption[@ocaml.doc"The current state of this DB cluster."];percentProgress:String_.toption[@ocaml.doc"The progress of the operation as a percentage."];earliestRestorableTime:TStamp.toption[@ocaml.doc"The earliest time to which a database can be restored with point-in-time restore."];endpoint:String_.toption[@ocaml.doc"The connection endpoint for the primary instance of the DB cluster."];readerEndpoint:String_.toption[@ocaml.doc"The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster. If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint."];customEndpoints:StringList.toption[@ocaml.doc"The custom endpoints associated with the DB cluster."];multiAZ:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster has instances in multiple Availability Zones."];engine:String_.toption[@ocaml.doc"The database engine used for this DB cluster."];engineVersion:String_.toption[@ocaml.doc"The version of the database engine."];latestRestorableTime:TStamp.toption[@ocaml.doc"The latest time to which a database can be restored with point-in-time restore."];port:IntegerOptional.toption[@ocaml.doc"The port that the database engine is listening on."];masterUsername:String_.toption[@ocaml.doc"The master username for the DB cluster."];dBClusterOptionGroupMemberships:DBClusterOptionGroupMemberships.toption[@ocaml.doc"The list of option group memberships for this DB cluster."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];preferredMaintenanceWindow:String_.toption[@ocaml.doc"The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC)."];upgradeRolloutOrder:UpgradeRolloutOrder.toption[@ocaml.doc"This data type represents the order in which the clusters are upgraded. \\[first\\] - Typically used for development or testing environments. \\[second\\] - Default order for resources not specifically configured. \\[last\\] - Usually reserved for production environments."];replicationSourceIdentifier:String_.toption[@ocaml.doc"The identifier of the source DB cluster if this DB cluster is a read replica."];readReplicaIdentifiers:ReadReplicaIdentifierList.toption[@ocaml.doc"Contains one or more identifiers of the read replicas associated with this DB cluster."];statusInfos:DBClusterStatusInfoList.toption[@ocaml.doc"Reserved for future use."];dBClusterMembers:DBClusterMemberList.toption[@ocaml.doc"The list of DB instances that make up the DB cluster."];vpcSecurityGroups:VpcSecurityGroupMembershipList.toption[@ocaml.doc"The list of VPC security groups that the DB cluster belongs to."];hostedZoneId:String_.toption[@ocaml.doc"The ID that Amazon Route 53 assigns when you create a hosted zone."];storageEncrypted:Boolean.toption[@ocaml.doc"Indicates whether the DB cluster is encrypted."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the DB cluster. Possible values: none - The DB cluster is not encrypted. sse-rds - The DB cluster is encrypted using an Amazon Web Services owned KMS key. sse-kms - The DB cluster is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];kmsKeyId:String_.toption[@ocaml.doc"If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB cluster. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];dbClusterResourceId:String_.toption[@ocaml.doc"The Amazon Web Services Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the KMS key for the DB cluster is accessed."];dBClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the DB cluster."];associatedRoles:DBClusterRoles.toption[@ocaml.doc"A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf."];iAMDatabaseAuthenticationEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];cloneGroupId:String_.toption[@ocaml.doc"The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null. If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation. For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster."];clusterCreateTime:TStamp.toption[@ocaml.doc"The time when the DB cluster was created, in Universal Coordinated Time (UTC)."];earliestBacktrackTime:TStamp.toption[@ocaml.doc"The earliest time to which a DB cluster can be backtracked."];backtrackWindow:LongOptional.toption[@ocaml.doc"The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled."];backtrackConsumedChangeRecords:LongOptional.toption[@ocaml.doc"The number of change records stored for Backtrack."];enabledCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"A list of log types that this DB cluster is configured to export to CloudWatch Logs. Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files in the Amazon Aurora User Guide."];capacity:IntegerOptional.toption[@ocaml.doc"The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the cluster is paused. For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide."];pendingModifiedValues:ClusterPendingModifiedValues.toption[@ocaml.doc"Information about pending changes to the DB cluster. This information is returned only when there are pending changes. Specific changes are identified by subelements."];engineMode:String_.toption[@ocaml.doc"The DB engine mode of the DB cluster, either provisioned or serverless. For more information, see CreateDBCluster."];scalingConfigurationInfo:ScalingConfigurationInfo.toption;rdsCustomClusterConfiguration:RdsCustomClusterConfiguration.toption[@ocaml.doc"Reserved for future use."];dBClusterInstanceClass:String_.toption[@ocaml.doc"The name of the compute and memory capacity class of the DB instance. This setting is only for non-Aurora Multi-AZ DB clusters."];storageType:String_.toption[@ocaml.doc"The storage type associated with the DB cluster."];iops:IntegerOptional.toption[@ocaml.doc"The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you provision, and is not configurable. This setting is only for non-Aurora Multi-AZ DB clusters."];iOOptimizedNextAllowedModificationTime:TStamp.toption[@ocaml.doc"The next time you can modify the DB cluster to use the aurora-iopt1 storage type. This setting is only for Aurora DB clusters."];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster is publicly accessible. When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address. For more information, see CreateDBCluster. This setting is only for non-Aurora Multi-AZ DB clusters."];autoMinorVersionUpgrade:Boolean.toption[@ocaml.doc"Indicates whether minor version patches are applied automatically. This setting is for Aurora DB clusters and Multi-AZ DB clusters. For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version."];deletionProtection:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled."];httpEndpointEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. For more information, see Using RDS Data API in the Amazon Aurora User Guide."];activityStreamMode:ActivityStreamMode.toption[@ocaml.doc"The mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously."];activityStreamStatus:ActivityStreamStatus.toption[@ocaml.doc"The status of the database activity stream."];activityStreamKmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];activityStreamKinesisStreamName:String_.toption[@ocaml.doc"The name of the Amazon Kinesis data stream used for the database activity stream."];copyTagsToSnapshot:BooleanOptional.toption[@ocaml.doc"Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster."];crossAccountClone:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account."];domainMemberships:DomainMembershipList.toption[@ocaml.doc"The Active Directory Domain membership records associated with the DB cluster."];tagList:TagList.toption;globalClusterIdentifier:GlobalClusterIdentifier.toption[@ocaml.doc"Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster."];globalWriteForwardingStatus:WriteForwardingStatus.toption[@ocaml.doc"The status of write forwarding for a secondary cluster in an Aurora global database."];globalWriteForwardingRequested:BooleanOptional.toption[@ocaml.doc"Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the request has completed before using the write forwarding feature for this cluster."];networkType:String_.toption[@ocaml.doc"The network type of the DB instance. The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide. This setting is only for Aurora DB clusters. Valid Values: IPV4 | DUAL"];automaticRestartTime:TStamp.toption[@ocaml.doc"The time when a stopped DB cluster is restarted automatically."];serverlessV2ScalingConfiguration:ServerlessV2ScalingConfigurationInfo.toption;serverlessV2PlatformVersion:String_.toption[@ocaml.doc"The version of the Aurora Serverless V2 platform used by the DB cluster. For more information, see Using Aurora Serverless v2 in the Amazon Aurora User Guide."];monitoringInterval:IntegerOptional.toption[@ocaml.doc"The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. This setting is only for -Aurora DB clusters and Multi-AZ DB clusters."];monitoringRoleArn:String_.toption[@ocaml.doc"The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. This setting is only for Aurora DB clusters and Multi-AZ DB clusters."];databaseInsightsMode:DatabaseInsightsMode.toption[@ocaml.doc"The mode of Database Insights that is enabled for the DB cluster."];performanceInsightsEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether Performance Insights is enabled for the DB cluster. This setting is only for Aurora DB clusters and Multi-AZ DB clusters."];performanceInsightsKMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of Performance Insights data. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. This setting is only for Aurora DB clusters and Multi-AZ DB clusters."];performanceInsightsRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain Performance Insights data. This setting is only for Aurora DB clusters and Multi-AZ DB clusters. Valid Values: 7 month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), 341 (11 months * 31), 589 (19 months * 31) 731 Default: 7 days"];dBSystemId:String_.toption[@ocaml.doc"Reserved for future use."];masterUserSecret:MasterUserSecret.toption[@ocaml.doc"The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide."];localWriteForwardingStatus:LocalWriteForwardingStatus.toption[@ocaml.doc"Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process of enabling it."];awsBackupRecoveryPointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup."];limitlessDatabase:LimitlessDatabase.toption[@ocaml.doc"The details for Aurora Limitless Database."];clusterScalabilityType:ClusterScalabilityType.toption[@ocaml.doc"The scalability mode of the Aurora DB cluster. When set to limitless, the cluster operates as an Aurora Limitless Database. When set to standard (the default), the cluster uses normal DB instance creation."];certificateDetails:CertificateDetails.toption;engineLifecycleSupport:String_.toption[@ocaml.doc"The lifecycle type for the DB cluster. For more information, see CreateDBCluster."];vPCNetworkingEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster uses VPC-based networking. This setting is applicable only for Aurora PostgreSQL clusters created through express configuration."];internetAccessGatewayEnabled:BooleanOptional.toption[@ocaml.doc"Indicates whether the DB cluster has internet-based connectivity enabled through an internet access gateway. This setting is applicable only for Aurora PostgreSQL clusters created through express configuration."]}letmake?allocatedStorage=fun?availabilityZones->fun?backupRetentionPeriod->fun?characterSetName->fun?databaseName->fun?dBClusterIdentifier->fun?dBClusterParameterGroup->fun?dBSubnetGroup->fun?status->fun?percentProgress->fun?earliestRestorableTime->fun?endpoint->fun?readerEndpoint->fun?customEndpoints->fun?multiAZ->fun?engine->fun?engineVersion->fun?latestRestorableTime->fun?port->fun?masterUsername->fun?dBClusterOptionGroupMemberships->fun?preferredBackupWindow->fun?preferredMaintenanceWindow->fun?upgradeRolloutOrder->fun?replicationSourceIdentifier->fun?readReplicaIdentifiers->fun?statusInfos->fun?dBClusterMembers->fun?vpcSecurityGroups->fun?hostedZoneId->fun?storageEncrypted->fun?storageEncryptionType->fun?kmsKeyId->fun?dbClusterResourceId->fun?dBClusterArn->fun?associatedRoles->fun?iAMDatabaseAuthenticationEnabled->fun?cloneGroupId->fun?clusterCreateTime->fun?earliestBacktrackTime->fun?backtrackWindow->fun?backtrackConsumedChangeRecords->fun?enabledCloudwatchLogsExports->fun?capacity->fun?pendingModifiedValues->fun?engineMode->fun?scalingConfigurationInfo->fun?rdsCustomClusterConfiguration->fun?dBClusterInstanceClass->fun?storageType->fun?iops->fun?storageThroughput->fun?iOOptimizedNextAllowedModificationTime->fun?publiclyAccessible->fun?autoMinorVersionUpgrade->fun?deletionProtection->fun?httpEndpointEnabled->fun?activityStreamMode->fun?activityStreamStatus->fun?activityStreamKmsKeyId->fun?activityStreamKinesisStreamName->fun?copyTagsToSnapshot->fun?crossAccountClone->fun?domainMemberships->fun?tagList->fun?globalClusterIdentifier->fun?globalWriteForwardingStatus->fun?globalWriteForwardingRequested->fun?networkType->fun?automaticRestartTime->fun?serverlessV2ScalingConfiguration->fun?serverlessV2PlatformVersion->fun?monitoringInterval->fun?monitoringRoleArn->fun?databaseInsightsMode->fun?performanceInsightsEnabled->fun?performanceInsightsKMSKeyId->fun?performanceInsightsRetentionPeriod->fun?dBSystemId->fun?masterUserSecret->fun?localWriteForwardingStatus->fun?awsBackupRecoveryPointArn->fun?limitlessDatabase->fun?clusterScalabilityType->fun?certificateDetails->fun?engineLifecycleSupport->fun?vPCNetworkingEnabled->fun?internetAccessGatewayEnabled->fun()->{allocatedStorage;availabilityZones;backupRetentionPeriod;characterSetName;databaseName;dBClusterIdentifier;dBClusterParameterGroup;dBSubnetGroup;status;percentProgress;earliestRestorableTime;endpoint;readerEndpoint;customEndpoints;multiAZ;engine;engineVersion;latestRestorableTime;port;masterUsername;dBClusterOptionGroupMemberships;preferredBackupWindow;preferredMaintenanceWindow;upgradeRolloutOrder;replicationSourceIdentifier;readReplicaIdentifiers;statusInfos;dBClusterMembers;vpcSecurityGroups;hostedZoneId;storageEncrypted;storageEncryptionType;kmsKeyId;dbClusterResourceId;dBClusterArn;associatedRoles;iAMDatabaseAuthenticationEnabled;cloneGroupId;clusterCreateTime;earliestBacktrackTime;backtrackWindow;backtrackConsumedChangeRecords;enabledCloudwatchLogsExports;capacity;pendingModifiedValues;engineMode;scalingConfigurationInfo;rdsCustomClusterConfiguration;dBClusterInstanceClass;storageType;iops;storageThroughput;iOOptimizedNextAllowedModificationTime;publiclyAccessible;autoMinorVersionUpgrade;deletionProtection;httpEndpointEnabled;activityStreamMode;activityStreamStatus;activityStreamKmsKeyId;activityStreamKinesisStreamName;copyTagsToSnapshot;crossAccountClone;domainMemberships;tagList;globalClusterIdentifier;globalWriteForwardingStatus;globalWriteForwardingRequested;networkType;automaticRestartTime;serverlessV2ScalingConfiguration;serverlessV2PlatformVersion;monitoringInterval;monitoringRoleArn;databaseInsightsMode;performanceInsightsEnabled;performanceInsightsKMSKeyId;performanceInsightsRetentionPeriod;dBSystemId;masterUserSecret;localWriteForwardingStatus;awsBackupRecoveryPointArn;limitlessDatabase;clusterScalabilityType;certificateDetails;engineLifecycleSupport;vPCNetworkingEnabled;internetAccessGatewayEnabled}letto_valuex=structure_to_value[("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("CharacterSetName",(Option.mapx.characterSetName~f:String_.to_value));("DatabaseName",(Option.mapx.databaseName~f:String_.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("DBClusterParameterGroup",(Option.mapx.dBClusterParameterGroup~f:String_.to_value));("DBSubnetGroup",(Option.mapx.dBSubnetGroup~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("PercentProgress",(Option.mapx.percentProgress~f:String_.to_value));("EarliestRestorableTime",(Option.mapx.earliestRestorableTime~f:TStamp.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("ReaderEndpoint",(Option.mapx.readerEndpoint~f:String_.to_value));("CustomEndpoints",(Option.mapx.customEndpoints~f:StringList.to_value));("MultiAZ",(Option.mapx.multiAZ~f:BooleanOptional.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("LatestRestorableTime",(Option.mapx.latestRestorableTime~f:TStamp.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("DBClusterOptionGroupMemberships",(Option.mapx.dBClusterOptionGroupMemberships~f:DBClusterOptionGroupMemberships.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("PreferredMaintenanceWindow",(Option.mapx.preferredMaintenanceWindow~f:String_.to_value));("UpgradeRolloutOrder",(Option.mapx.upgradeRolloutOrder~f:UpgradeRolloutOrder.to_value));("ReplicationSourceIdentifier",(Option.mapx.replicationSourceIdentifier~f:String_.to_value));("ReadReplicaIdentifiers",(Option.mapx.readReplicaIdentifiers~f:ReadReplicaIdentifierList.to_value));("StatusInfos",(Option.mapx.statusInfos~f:DBClusterStatusInfoList.to_value));("DBClusterMembers",(Option.mapx.dBClusterMembers~f:DBClusterMemberList.to_value));("VpcSecurityGroups",(Option.mapx.vpcSecurityGroups~f:VpcSecurityGroupMembershipList.to_value));("HostedZoneId",(Option.mapx.hostedZoneId~f:String_.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:Boolean.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("DbClusterResourceId",(Option.mapx.dbClusterResourceId~f:String_.to_value));("DBClusterArn",(Option.mapx.dBClusterArn~f:String_.to_value));("AssociatedRoles",(Option.mapx.associatedRoles~f:DBClusterRoles.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:BooleanOptional.to_value));("CloneGroupId",(Option.mapx.cloneGroupId~f:String_.to_value));("ClusterCreateTime",(Option.mapx.clusterCreateTime~f:TStamp.to_value));("EarliestBacktrackTime",(Option.mapx.earliestBacktrackTime~f:TStamp.to_value));("BacktrackWindow",(Option.mapx.backtrackWindow~f:LongOptional.to_value));("BacktrackConsumedChangeRecords",(Option.mapx.backtrackConsumedChangeRecords~f:LongOptional.to_value));("EnabledCloudwatchLogsExports",(Option.mapx.enabledCloudwatchLogsExports~f:LogTypeList.to_value));("Capacity",(Option.mapx.capacity~f:IntegerOptional.to_value));("PendingModifiedValues",(Option.mapx.pendingModifiedValues~f:ClusterPendingModifiedValues.to_value));("EngineMode",(Option.mapx.engineMode~f:String_.to_value));("ScalingConfigurationInfo",(Option.mapx.scalingConfigurationInfo~f:ScalingConfigurationInfo.to_value));("RdsCustomClusterConfiguration",(Option.mapx.rdsCustomClusterConfiguration~f:RdsCustomClusterConfiguration.to_value));("DBClusterInstanceClass",(Option.mapx.dBClusterInstanceClass~f:String_.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("IOOptimizedNextAllowedModificationTime",(Option.mapx.iOOptimizedNextAllowedModificationTime~f:TStamp.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("AutoMinorVersionUpgrade",(Option.mapx.autoMinorVersionUpgrade~f:Boolean.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("HttpEndpointEnabled",(Option.mapx.httpEndpointEnabled~f:BooleanOptional.to_value));("ActivityStreamMode",(Option.mapx.activityStreamMode~f:ActivityStreamMode.to_value));("ActivityStreamStatus",(Option.mapx.activityStreamStatus~f:ActivityStreamStatus.to_value));("ActivityStreamKmsKeyId",(Option.mapx.activityStreamKmsKeyId~f:String_.to_value));("ActivityStreamKinesisStreamName",(Option.mapx.activityStreamKinesisStreamName~f:String_.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:BooleanOptional.to_value));("CrossAccountClone",(Option.mapx.crossAccountClone~f:BooleanOptional.to_value));("DomainMemberships",(Option.mapx.domainMemberships~f:DomainMembershipList.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value));("GlobalClusterIdentifier",(Option.mapx.globalClusterIdentifier~f:GlobalClusterIdentifier.to_value));("GlobalWriteForwardingStatus",(Option.mapx.globalWriteForwardingStatus~f:WriteForwardingStatus.to_value));("GlobalWriteForwardingRequested",(Option.mapx.globalWriteForwardingRequested~f:BooleanOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("AutomaticRestartTime",(Option.mapx.automaticRestartTime~f:TStamp.to_value));("ServerlessV2ScalingConfiguration",(Option.mapx.serverlessV2ScalingConfiguration~f:ServerlessV2ScalingConfigurationInfo.to_value));("ServerlessV2PlatformVersion",(Option.mapx.serverlessV2PlatformVersion~f:String_.to_value));("MonitoringInterval",(Option.mapx.monitoringInterval~f:IntegerOptional.to_value));("MonitoringRoleArn",(Option.mapx.monitoringRoleArn~f:String_.to_value));("DatabaseInsightsMode",(Option.mapx.databaseInsightsMode~f:DatabaseInsightsMode.to_value));("PerformanceInsightsEnabled",(Option.mapx.performanceInsightsEnabled~f:BooleanOptional.to_value));("PerformanceInsightsKMSKeyId",(Option.mapx.performanceInsightsKMSKeyId~f:String_.to_value));("PerformanceInsightsRetentionPeriod",(Option.mapx.performanceInsightsRetentionPeriod~f:IntegerOptional.to_value));("DBSystemId",(Option.mapx.dBSystemId~f:String_.to_value));("MasterUserSecret",(Option.mapx.masterUserSecret~f:MasterUserSecret.to_value));("LocalWriteForwardingStatus",(Option.mapx.localWriteForwardingStatus~f:LocalWriteForwardingStatus.to_value));("AwsBackupRecoveryPointArn",(Option.mapx.awsBackupRecoveryPointArn~f:String_.to_value));("LimitlessDatabase",(Option.mapx.limitlessDatabase~f:LimitlessDatabase.to_value));("ClusterScalabilityType",(Option.mapx.clusterScalabilityType~f:ClusterScalabilityType.to_value));("CertificateDetails",(Option.mapx.certificateDetails~f:CertificateDetails.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("VPCNetworkingEnabled",(Option.mapx.vPCNetworkingEnabled~f:BooleanOptional.to_value));("InternetAccessGatewayEnabled",(Option.mapx.internetAccessGatewayEnabled~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinternetAccessGatewayEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"InternetAccessGatewayEnabled")inletvPCNetworkingEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"VPCNetworkingEnabled")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletcertificateDetails=(Option.map~f:CertificateDetails.of_xml)(Xml.childxml_arg0"CertificateDetails")inletclusterScalabilityType=(Option.map~f:ClusterScalabilityType.of_xml)(Xml.childxml_arg0"ClusterScalabilityType")inletlimitlessDatabase=(Option.map~f:LimitlessDatabase.of_xml)(Xml.childxml_arg0"LimitlessDatabase")inletawsBackupRecoveryPointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsBackupRecoveryPointArn")inletlocalWriteForwardingStatus=(Option.map~f:LocalWriteForwardingStatus.of_xml)(Xml.childxml_arg0"LocalWriteForwardingStatus")inletmasterUserSecret=(Option.map~f:MasterUserSecret.of_xml)(Xml.childxml_arg0"MasterUserSecret")inletdBSystemId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSystemId")inletperformanceInsightsRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsRetentionPeriod")inletperformanceInsightsKMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PerformanceInsightsKMSKeyId")inletperformanceInsightsEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsEnabled")inletdatabaseInsightsMode=(Option.map~f:DatabaseInsightsMode.of_xml)(Xml.childxml_arg0"DatabaseInsightsMode")inletmonitoringRoleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MonitoringRoleArn")inletmonitoringInterval=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MonitoringInterval")inletserverlessV2PlatformVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ServerlessV2PlatformVersion")inletserverlessV2ScalingConfiguration=(Option.map~f:ServerlessV2ScalingConfigurationInfo.of_xml)(Xml.childxml_arg0"ServerlessV2ScalingConfiguration")inletautomaticRestartTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"AutomaticRestartTime")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletglobalWriteForwardingRequested=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"GlobalWriteForwardingRequested")inletglobalWriteForwardingStatus=(Option.map~f:WriteForwardingStatus.of_xml)(Xml.childxml_arg0"GlobalWriteForwardingStatus")inletglobalClusterIdentifier=(Option.map~f:GlobalClusterIdentifier.of_xml)(Xml.childxml_arg0"GlobalClusterIdentifier")inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletdomainMemberships=(Option.map~f:DomainMembershipList.of_xml)(Xml.childxml_arg0"DomainMemberships")inletcrossAccountClone=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CrossAccountClone")inletcopyTagsToSnapshot=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletactivityStreamKinesisStreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ActivityStreamKinesisStreamName")inletactivityStreamKmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ActivityStreamKmsKeyId")inletactivityStreamStatus=(Option.map~f:ActivityStreamStatus.of_xml)(Xml.childxml_arg0"ActivityStreamStatus")inletactivityStreamMode=(Option.map~f:ActivityStreamMode.of_xml)(Xml.childxml_arg0"ActivityStreamMode")inlethttpEndpointEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"HttpEndpointEnabled")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletautoMinorVersionUpgrade=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AutoMinorVersionUpgrade")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletiOOptimizedNextAllowedModificationTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"IOOptimizedNextAllowedModificationTime")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletdBClusterInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterInstanceClass")inletrdsCustomClusterConfiguration=(Option.map~f:RdsCustomClusterConfiguration.of_xml)(Xml.childxml_arg0"RdsCustomClusterConfiguration")inletscalingConfigurationInfo=(Option.map~f:ScalingConfigurationInfo.of_xml)(Xml.childxml_arg0"ScalingConfigurationInfo")inletengineMode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineMode")inletpendingModifiedValues=(Option.map~f:ClusterPendingModifiedValues.of_xml)(Xml.childxml_arg0"PendingModifiedValues")inletcapacity=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Capacity")inletenabledCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnabledCloudwatchLogsExports")inletbacktrackConsumedChangeRecords=(Option.map~f:LongOptional.of_xml)(Xml.childxml_arg0"BacktrackConsumedChangeRecords")inletbacktrackWindow=(Option.map~f:LongOptional.of_xml)(Xml.childxml_arg0"BacktrackWindow")inletearliestBacktrackTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"EarliestBacktrackTime")inletclusterCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ClusterCreateTime")inletcloneGroupId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CloneGroupId")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inletassociatedRoles=(Option.map~f:DBClusterRoles.of_xml)(Xml.childxml_arg0"AssociatedRoles")inletdBClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterArn")inletdbClusterResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbClusterResourceId")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletstorageEncrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"StorageEncrypted")inlethostedZoneId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"HostedZoneId")inletvpcSecurityGroups=(Option.map~f:VpcSecurityGroupMembershipList.of_xml)(Xml.childxml_arg0"VpcSecurityGroups")inletdBClusterMembers=(Option.map~f:DBClusterMemberList.of_xml)(Xml.childxml_arg0"DBClusterMembers")inletstatusInfos=(Option.map~f:DBClusterStatusInfoList.of_xml)(Xml.childxml_arg0"StatusInfos")inletreadReplicaIdentifiers=(Option.map~f:ReadReplicaIdentifierList.of_xml)(Xml.childxml_arg0"ReadReplicaIdentifiers")inletreplicationSourceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReplicationSourceIdentifier")inletupgradeRolloutOrder=(Option.map~f:UpgradeRolloutOrder.of_xml)(Xml.childxml_arg0"UpgradeRolloutOrder")inletpreferredMaintenanceWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredMaintenanceWindow")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletdBClusterOptionGroupMemberships=(Option.map~f:DBClusterOptionGroupMemberships.of_xml)(Xml.childxml_arg0"DBClusterOptionGroupMemberships")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletlatestRestorableTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"LatestRestorableTime")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletmultiAZ=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiAZ")inletcustomEndpoints=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"CustomEndpoints")inletreaderEndpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ReaderEndpoint")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletearliestRestorableTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"EarliestRestorableTime")inletpercentProgress=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PercentProgress")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletdBSubnetGroup=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroup")inletdBClusterParameterGroup=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterParameterGroup")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdatabaseName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DatabaseName")inletcharacterSetName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CharacterSetName")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inmake?internetAccessGatewayEnabled?vPCNetworkingEnabled?engineLifecycleSupport?certificateDetails?clusterScalabilityType?limitlessDatabase?awsBackupRecoveryPointArn?localWriteForwardingStatus?masterUserSecret?dBSystemId?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?performanceInsightsEnabled?databaseInsightsMode?monitoringRoleArn?monitoringInterval?serverlessV2PlatformVersion?serverlessV2ScalingConfiguration?automaticRestartTime?networkType?globalWriteForwardingRequested?globalWriteForwardingStatus?globalClusterIdentifier?tagList?domainMemberships?crossAccountClone?copyTagsToSnapshot?activityStreamKinesisStreamName?activityStreamKmsKeyId?activityStreamStatus?activityStreamMode?httpEndpointEnabled?deletionProtection?autoMinorVersionUpgrade?publiclyAccessible?iOOptimizedNextAllowedModificationTime?storageThroughput?iops?storageType?dBClusterInstanceClass?rdsCustomClusterConfiguration?scalingConfigurationInfo?engineMode?pendingModifiedValues?capacity?enabledCloudwatchLogsExports?backtrackConsumedChangeRecords?backtrackWindow?earliestBacktrackTime?clusterCreateTime?cloneGroupId?iAMDatabaseAuthenticationEnabled?associatedRoles?dBClusterArn?dbClusterResourceId?kmsKeyId?storageEncryptionType?storageEncrypted?hostedZoneId?vpcSecurityGroups?dBClusterMembers?statusInfos?readReplicaIdentifiers?replicationSourceIdentifier?upgradeRolloutOrder?preferredMaintenanceWindow?preferredBackupWindow?dBClusterOptionGroupMemberships?masterUsername?port?latestRestorableTime?engineVersion?engine?multiAZ?customEndpoints?readerEndpoint?endpoint?earliestRestorableTime?percentProgress?status?dBSubnetGroup?dBClusterParameterGroup?dBClusterIdentifier?databaseName?characterSetName?backupRetentionPeriod?availabilityZones?allocatedStorage()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinternetAccessGatewayEnabled=field_mapjson__"InternetAccessGatewayEnabled"BooleanOptional.of_jsoninletvPCNetworkingEnabled=field_mapjson__"VPCNetworkingEnabled"BooleanOptional.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletcertificateDetails=field_mapjson__"CertificateDetails"CertificateDetails.of_jsoninletclusterScalabilityType=field_mapjson__"ClusterScalabilityType"ClusterScalabilityType.of_jsoninletlimitlessDatabase=field_mapjson__"LimitlessDatabase"LimitlessDatabase.of_jsoninletawsBackupRecoveryPointArn=field_mapjson__"AwsBackupRecoveryPointArn"String_.of_jsoninletlocalWriteForwardingStatus=field_mapjson__"LocalWriteForwardingStatus"LocalWriteForwardingStatus.of_jsoninletmasterUserSecret=field_mapjson__"MasterUserSecret"MasterUserSecret.of_jsoninletdBSystemId=field_mapjson__"DBSystemId"String_.of_jsoninletperformanceInsightsRetentionPeriod=field_mapjson__"PerformanceInsightsRetentionPeriod"IntegerOptional.of_jsoninletperformanceInsightsKMSKeyId=field_mapjson__"PerformanceInsightsKMSKeyId"String_.of_jsoninletperformanceInsightsEnabled=field_mapjson__"PerformanceInsightsEnabled"BooleanOptional.of_jsoninletdatabaseInsightsMode=field_mapjson__"DatabaseInsightsMode"DatabaseInsightsMode.of_jsoninletmonitoringRoleArn=field_mapjson__"MonitoringRoleArn"String_.of_jsoninletmonitoringInterval=field_mapjson__"MonitoringInterval"IntegerOptional.of_jsoninletserverlessV2PlatformVersion=field_mapjson__"ServerlessV2PlatformVersion"String_.of_jsoninletserverlessV2ScalingConfiguration=field_mapjson__"ServerlessV2ScalingConfiguration"ServerlessV2ScalingConfigurationInfo.of_jsoninletautomaticRestartTime=field_mapjson__"AutomaticRestartTime"TStamp.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletglobalWriteForwardingRequested=field_mapjson__"GlobalWriteForwardingRequested"BooleanOptional.of_jsoninletglobalWriteForwardingStatus=field_mapjson__"GlobalWriteForwardingStatus"WriteForwardingStatus.of_jsoninletglobalClusterIdentifier=field_mapjson__"GlobalClusterIdentifier"GlobalClusterIdentifier.of_jsoninlettagList=field_mapjson__"TagList"TagList.of_jsoninletdomainMemberships=field_mapjson__"DomainMemberships"DomainMembershipList.of_jsoninletcrossAccountClone=field_mapjson__"CrossAccountClone"BooleanOptional.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"BooleanOptional.of_jsoninletactivityStreamKinesisStreamName=field_mapjson__"ActivityStreamKinesisStreamName"String_.of_jsoninletactivityStreamKmsKeyId=field_mapjson__"ActivityStreamKmsKeyId"String_.of_jsoninletactivityStreamStatus=field_mapjson__"ActivityStreamStatus"ActivityStreamStatus.of_jsoninletactivityStreamMode=field_mapjson__"ActivityStreamMode"ActivityStreamMode.of_jsoninlethttpEndpointEnabled=field_mapjson__"HttpEndpointEnabled"BooleanOptional.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletautoMinorVersionUpgrade=field_mapjson__"AutoMinorVersionUpgrade"Boolean.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletiOOptimizedNextAllowedModificationTime=field_mapjson__"IOOptimizedNextAllowedModificationTime"TStamp.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletdBClusterInstanceClass=field_mapjson__"DBClusterInstanceClass"String_.of_jsoninletrdsCustomClusterConfiguration=field_mapjson__"RdsCustomClusterConfiguration"RdsCustomClusterConfiguration.of_jsoninletscalingConfigurationInfo=field_mapjson__"ScalingConfigurationInfo"ScalingConfigurationInfo.of_jsoninletengineMode=field_mapjson__"EngineMode"String_.of_jsoninletpendingModifiedValues=field_mapjson__"PendingModifiedValues"ClusterPendingModifiedValues.of_jsoninletcapacity=field_mapjson__"Capacity"IntegerOptional.of_jsoninletenabledCloudwatchLogsExports=field_mapjson__"EnabledCloudwatchLogsExports"LogTypeList.of_jsoninletbacktrackConsumedChangeRecords=field_mapjson__"BacktrackConsumedChangeRecords"LongOptional.of_jsoninletbacktrackWindow=field_mapjson__"BacktrackWindow"LongOptional.of_jsoninletearliestBacktrackTime=field_mapjson__"EarliestBacktrackTime"TStamp.of_jsoninletclusterCreateTime=field_mapjson__"ClusterCreateTime"TStamp.of_jsoninletcloneGroupId=field_mapjson__"CloneGroupId"String_.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"BooleanOptional.of_jsoninletassociatedRoles=field_mapjson__"AssociatedRoles"DBClusterRoles.of_jsoninletdBClusterArn=field_mapjson__"DBClusterArn"String_.of_jsoninletdbClusterResourceId=field_mapjson__"DbClusterResourceId"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"Boolean.of_jsoninlethostedZoneId=field_mapjson__"HostedZoneId"String_.of_jsoninletvpcSecurityGroups=field_mapjson__"VpcSecurityGroups"VpcSecurityGroupMembershipList.of_jsoninletdBClusterMembers=field_mapjson__"DBClusterMembers"DBClusterMemberList.of_jsoninletstatusInfos=field_mapjson__"StatusInfos"DBClusterStatusInfoList.of_jsoninletreadReplicaIdentifiers=field_mapjson__"ReadReplicaIdentifiers"ReadReplicaIdentifierList.of_jsoninletreplicationSourceIdentifier=field_mapjson__"ReplicationSourceIdentifier"String_.of_jsoninletupgradeRolloutOrder=field_mapjson__"UpgradeRolloutOrder"UpgradeRolloutOrder.of_jsoninletpreferredMaintenanceWindow=field_mapjson__"PreferredMaintenanceWindow"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletdBClusterOptionGroupMemberships=field_mapjson__"DBClusterOptionGroupMemberships"DBClusterOptionGroupMemberships.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletlatestRestorableTime=field_mapjson__"LatestRestorableTime"TStamp.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"BooleanOptional.of_jsoninletcustomEndpoints=field_mapjson__"CustomEndpoints"StringList.of_jsoninletreaderEndpoint=field_mapjson__"ReaderEndpoint"String_.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletearliestRestorableTime=field_mapjson__"EarliestRestorableTime"TStamp.of_jsoninletpercentProgress=field_mapjson__"PercentProgress"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletdBSubnetGroup=field_mapjson__"DBSubnetGroup"String_.of_jsoninletdBClusterParameterGroup=field_mapjson__"DBClusterParameterGroup"String_.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdatabaseName=field_mapjson__"DatabaseName"String_.of_jsoninletcharacterSetName=field_mapjson__"CharacterSetName"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninmake?internetAccessGatewayEnabled?vPCNetworkingEnabled?engineLifecycleSupport?certificateDetails?clusterScalabilityType?limitlessDatabase?awsBackupRecoveryPointArn?localWriteForwardingStatus?masterUserSecret?dBSystemId?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?performanceInsightsEnabled?databaseInsightsMode?monitoringRoleArn?monitoringInterval?serverlessV2PlatformVersion?serverlessV2ScalingConfiguration?automaticRestartTime?networkType?globalWriteForwardingRequested?globalWriteForwardingStatus?globalClusterIdentifier?tagList?domainMemberships?crossAccountClone?copyTagsToSnapshot?activityStreamKinesisStreamName?activityStreamKmsKeyId?activityStreamStatus?activityStreamMode?httpEndpointEnabled?deletionProtection?autoMinorVersionUpgrade?publiclyAccessible?iOOptimizedNextAllowedModificationTime?storageThroughput?iops?storageType?dBClusterInstanceClass?rdsCustomClusterConfiguration?scalingConfigurationInfo?engineMode?pendingModifiedValues?capacity?enabledCloudwatchLogsExports?backtrackConsumedChangeRecords?backtrackWindow?earliestBacktrackTime?clusterCreateTime?cloneGroupId?iAMDatabaseAuthenticationEnabled?associatedRoles?dBClusterArn?dbClusterResourceId?kmsKeyId?storageEncryptionType?storageEncrypted?hostedZoneId?vpcSecurityGroups?dBClusterMembers?statusInfos?readReplicaIdentifiers?replicationSourceIdentifier?upgradeRolloutOrder?preferredMaintenanceWindow?preferredBackupWindow?dBClusterOptionGroupMemberships?masterUsername?port?latestRestorableTime?engineVersion?engine?multiAZ?customEndpoints?readerEndpoint?endpoint?earliestRestorableTime?percentProgress?status?dBSubnetGroup?dBClusterParameterGroup?dBClusterIdentifier?databaseName?characterSetName?backupRetentionPeriod?availabilityZones?allocatedStorage()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster. For an Amazon Aurora DB cluster, this data type is used as a response element in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, ModifyDBCluster, PromoteReadReplicaDBCluster, RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, RestoreDBClusterToPointInTime, StartDBCluster, and StopDBCluster. For a Multi-AZ DB cluster, this data type is used as a response element in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, ModifyDBCluster, RebootDBCluster, RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide. For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide."]moduleDBClusterEndpoint=structtypecreateDBClusterEndpointResult={dBClusterEndpointIdentifier:String_.toption[@ocaml.doc"The identifier associated with the endpoint. This parameter is stored as a lowercase string."];dBClusterIdentifier:String_.toption[@ocaml.doc"The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string."];dBClusterEndpointResourceIdentifier:String_.toption[@ocaml.doc"A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint."];endpoint:String_.toption[@ocaml.doc"The DNS address of the endpoint."];status:String_.toption[@ocaml.doc"The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that can't be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database."];endpointType:String_.toption[@ocaml.doc"The type of the endpoint. One of: READER, WRITER, CUSTOM."];customEndpointType:String_.toption[@ocaml.doc"The type associated with a custom endpoint. One of: READER, WRITER, ANY."];staticMembers:StringList.toption[@ocaml.doc"List of DB instance identifiers that are part of the custom endpoint group."];excludedMembers:StringList.toption[@ocaml.doc"List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty."];dBClusterEndpointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the endpoint."]}andresponseMetaData=unitandt={createDBClusterEndpointResult:createDBClusterEndpointResult;responseMetaData:responseMetaData}typeerror=[`DBClusterEndpointAlreadyExistsFaultofDBClusterEndpointAlreadyExistsFault.t|`DBClusterEndpointQuotaExceededFaultofDBClusterEndpointQuotaExceededFault.t|`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DBClusterEndpoint"letmake?dBClusterEndpointIdentifier=fun?dBClusterIdentifier->fun?dBClusterEndpointResourceIdentifier->fun?endpoint->fun?status->fun?endpointType->fun?customEndpointType->fun?staticMembers->fun?excludedMembers->fun?dBClusterEndpointArn->fun()->{createDBClusterEndpointResult={dBClusterEndpointIdentifier;dBClusterIdentifier;dBClusterEndpointResourceIdentifier;endpoint;status;endpointType;customEndpointType;staticMembers;excludedMembers;dBClusterEndpointArn};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterEndpointAlreadyExistsFault"->`DBClusterEndpointAlreadyExistsFault(DBClusterEndpointAlreadyExistsFault.of_jsonjson)|"DBClusterEndpointQuotaExceededFault"->`DBClusterEndpointQuotaExceededFault(DBClusterEndpointQuotaExceededFault.of_jsonjson)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterEndpointAlreadyExistsFault"->`DBClusterEndpointAlreadyExistsFault(DBClusterEndpointAlreadyExistsFault.of_xmlxml)|"DBClusterEndpointQuotaExceededFault"->`DBClusterEndpointQuotaExceededFault(DBClusterEndpointQuotaExceededFault.of_xmlxml)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterEndpointAlreadyExistsFaulte->`Assoc[("error",(`String"DBClusterEndpointAlreadyExistsFault"));("details",(DBClusterEndpointAlreadyExistsFault.to_jsone))]|`DBClusterEndpointQuotaExceededFaulte->`Assoc[("error",(`String"DBClusterEndpointQuotaExceededFault"));("details",(DBClusterEndpointQuotaExceededFault.to_jsone))]|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createDBClusterEndpointResultinstructure_to_wrapped_value[("DBClusterEndpointIdentifier",(Option.mapx.dBClusterEndpointIdentifier~f:String_.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("DBClusterEndpointResourceIdentifier",(Option.mapx.dBClusterEndpointResourceIdentifier~f:String_.to_value));("Endpoint",(Option.mapx.endpoint~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("EndpointType",(Option.mapx.endpointType~f:String_.to_value));("CustomEndpointType",(Option.mapx.customEndpointType~f:String_.to_value));("StaticMembers",(Option.mapx.staticMembers~f:StringList.to_value));("ExcludedMembers",(Option.mapx.excludedMembers~f:StringList.to_value));("DBClusterEndpointArn",(Option.mapx.dBClusterEndpointArn~f:String_.to_value))]~wrapper:"CreateDBClusterEndpointResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateDBClusterEndpointResult"inletdBClusterEndpointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterEndpointArn")inletexcludedMembers=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"ExcludedMembers")inletstaticMembers=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"StaticMembers")inletcustomEndpointType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustomEndpointType")inletendpointType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EndpointType")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletendpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Endpoint")inletdBClusterEndpointResourceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterEndpointResourceIdentifier")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdBClusterEndpointIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterEndpointIdentifier")inmake?dBClusterEndpointArn?excludedMembers?staticMembers?customEndpointType?endpointType?status?endpoint?dBClusterEndpointResourceIdentifier?dBClusterIdentifier?dBClusterEndpointIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBClusterEndpointArn=field_mapjson__"DBClusterEndpointArn"String_.of_jsoninletexcludedMembers=field_mapjson__"ExcludedMembers"StringList.of_jsoninletstaticMembers=field_mapjson__"StaticMembers"StringList.of_jsoninletcustomEndpointType=field_mapjson__"CustomEndpointType"String_.of_jsoninletendpointType=field_mapjson__"EndpointType"String_.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletendpoint=field_mapjson__"Endpoint"String_.of_jsoninletdBClusterEndpointResourceIdentifier=field_mapjson__"DBClusterEndpointResourceIdentifier"String_.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdBClusterEndpointIdentifier=field_mapjson__"DBClusterEndpointIdentifier"String_.of_jsoninmake?dBClusterEndpointArn?excludedMembers?staticMembers?customEndpointType?endpointType?status?endpoint?dBClusterEndpointResourceIdentifier?dBClusterIdentifier?dBClusterEndpointIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions: CreateDBClusterEndpoint DescribeDBClusterEndpoints ModifyDBClusterEndpoint DeleteDBClusterEndpoint For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint."]moduleDBClusterBacktrack=structtypebacktrackDBClusterResult={dBClusterIdentifier:String_.toption[@ocaml.doc"Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster."];backtrackIdentifier:String_.toption[@ocaml.doc"Contains the backtrack identifier."];backtrackTo:TStamp.toption[@ocaml.doc"The timestamp of the time to which the DB cluster was backtracked."];backtrackedFrom:TStamp.toption[@ocaml.doc"The timestamp of the time from which the DB cluster was backtracked."];backtrackRequestCreationTime:TStamp.toption[@ocaml.doc"The timestamp of the time at which the backtrack was requested."];status:String_.toption[@ocaml.doc"The status of the backtrack. This property returns one of the following values: applying - The backtrack is currently being applied to or rolled back from the DB cluster. completed - The backtrack has successfully been applied to or rolled back from the DB cluster. failed - An error occurred while the backtrack was applied to or rolled back from the DB cluster. pending - The backtrack is currently pending application to or rollback from the DB cluster."]}andresponseMetaData=unitandt={backtrackDBClusterResult:backtrackDBClusterResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DBClusterBacktrack"letmake?dBClusterIdentifier=fun?backtrackIdentifier->fun?backtrackTo->fun?backtrackedFrom->fun?backtrackRequestCreationTime->fun?status->fun()->{backtrackDBClusterResult={dBClusterIdentifier;backtrackIdentifier;backtrackTo;backtrackedFrom;backtrackRequestCreationTime;status};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.backtrackDBClusterResultinstructure_to_wrapped_value[("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("BacktrackIdentifier",(Option.mapx.backtrackIdentifier~f:String_.to_value));("BacktrackTo",(Option.mapx.backtrackTo~f:TStamp.to_value));("BacktrackedFrom",(Option.mapx.backtrackedFrom~f:TStamp.to_value));("BacktrackRequestCreationTime",(Option.mapx.backtrackRequestCreationTime~f:TStamp.to_value));("Status",(Option.mapx.status~f:String_.to_value))]~wrapper:"BacktrackDBClusterResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"BacktrackDBClusterResult"inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletbacktrackRequestCreationTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"BacktrackRequestCreationTime")inletbacktrackedFrom=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"BacktrackedFrom")inletbacktrackTo=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"BacktrackTo")inletbacktrackIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"BacktrackIdentifier")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inmake?status?backtrackRequestCreationTime?backtrackedFrom?backtrackTo?backtrackIdentifier?dBClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"String_.of_jsoninletbacktrackRequestCreationTime=field_mapjson__"BacktrackRequestCreationTime"TStamp.of_jsoninletbacktrackedFrom=field_mapjson__"BacktrackedFrom"TStamp.of_jsoninletbacktrackTo=field_mapjson__"BacktrackTo"TStamp.of_jsoninletbacktrackIdentifier=field_mapjson__"BacktrackIdentifier"String_.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninmake?status?backtrackRequestCreationTime?backtrackedFrom?backtrackTo?backtrackIdentifier?dBClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used as a response element in the DescribeDBClusterBacktracks action."]moduleDBClusterAutomatedBackup=structtypenonrect={engine:String_.toption[@ocaml.doc"The name of the database engine for this automated backup."];vpcId:String_.toption[@ocaml.doc"The VPC ID associated with the DB cluster."];dBClusterAutomatedBackupsArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the automated backups."];dBClusterIdentifier:String_.toption[@ocaml.doc"The identifier for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region."];restoreWindow:RestoreWindow.toption;masterUsername:String_.toption[@ocaml.doc"The master user name of the automated backup."];dbClusterResourceId:String_.toption[@ocaml.doc"The resource ID for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region."];region:String_.toption[@ocaml.doc"The Amazon Web Services Region associated with the automated backup."];licenseModel:String_.toption[@ocaml.doc"The license model information for this DB cluster automated backup."];status:String_.toption[@ocaml.doc"A list of status information for an automated backup: retained - Automated backups for deleted clusters."];iAMDatabaseAuthenticationEnabled:Boolean.toption[@ocaml.doc"Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled."];clusterCreateTime:TStamp.toption[@ocaml.doc"The time when the DB cluster was created, in Universal Coordinated Time (UTC)."];storageEncrypted:Boolean.toption[@ocaml.doc"Indicates whether the source DB cluster is encrypted."];storageEncryptionType:StorageEncryptionType.toption[@ocaml.doc"The type of encryption used to protect data at rest in the automated backup. Possible values: none - The automated backup is not encrypted. sse-rds - The automated backup is encrypted using an Amazon Web Services owned KMS key. sse-kms - The automated backup is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key."];allocatedStorage:Integer.toption[@ocaml.doc"For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed."];engineVersion:String_.toption[@ocaml.doc"The version of the database engine for the automated backup."];dBClusterArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the source DB cluster."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The retention period for the automated backups."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod."];engineMode:String_.toption[@ocaml.doc"The engine mode of the database engine for the automated backup."];availabilityZones:AvailabilityZones.toption[@ocaml.doc"The Availability Zones where instances in the DB cluster can be created. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones."];port:Integer.toption[@ocaml.doc"The port number that the automated backup used for connections. Default: Inherits from the source DB cluster Valid Values: 1150-65535"];kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key ID for an automated backup. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];storageType:String_.toption[@ocaml.doc"The storage type associated with the DB cluster. This setting is only for non-Aurora Multi-AZ DB clusters."];iops:IntegerOptional.toption[@ocaml.doc"The IOPS (I/O operations per second) value for the automated backup. This setting is only for non-Aurora Multi-AZ DB clusters."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput for the automated backup. The throughput is automatically set based on the IOPS that you provision, and is not configurable. This setting is only for non-Aurora Multi-AZ DB clusters."];awsBackupRecoveryPointArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup."];tagList:TagList.toption}letmake?engine=fun?vpcId->fun?dBClusterAutomatedBackupsArn->fun?dBClusterIdentifier->fun?restoreWindow->fun?masterUsername->fun?dbClusterResourceId->fun?region->fun?licenseModel->fun?status->fun?iAMDatabaseAuthenticationEnabled->fun?clusterCreateTime->fun?storageEncrypted->fun?storageEncryptionType->fun?allocatedStorage->fun?engineVersion->fun?dBClusterArn->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?engineMode->fun?availabilityZones->fun?port->fun?kmsKeyId->fun?storageType->fun?iops->fun?storageThroughput->fun?awsBackupRecoveryPointArn->fun?tagList->fun()->{engine;vpcId;dBClusterAutomatedBackupsArn;dBClusterIdentifier;restoreWindow;masterUsername;dbClusterResourceId;region;licenseModel;status;iAMDatabaseAuthenticationEnabled;clusterCreateTime;storageEncrypted;storageEncryptionType;allocatedStorage;engineVersion;dBClusterArn;backupRetentionPeriod;preferredBackupWindow;engineMode;availabilityZones;port;kmsKeyId;storageType;iops;storageThroughput;awsBackupRecoveryPointArn;tagList}letto_valuex=structure_to_value[("Engine",(Option.mapx.engine~f:String_.to_value));("VpcId",(Option.mapx.vpcId~f:String_.to_value));("DBClusterAutomatedBackupsArn",(Option.mapx.dBClusterAutomatedBackupsArn~f:String_.to_value));("DBClusterIdentifier",(Option.mapx.dBClusterIdentifier~f:String_.to_value));("RestoreWindow",(Option.mapx.restoreWindow~f:RestoreWindow.to_value));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("DbClusterResourceId",(Option.mapx.dbClusterResourceId~f:String_.to_value));("Region",(Option.mapx.region~f:String_.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("Status",(Option.mapx.status~f:String_.to_value));("IAMDatabaseAuthenticationEnabled",(Option.mapx.iAMDatabaseAuthenticationEnabled~f:Boolean.to_value));("ClusterCreateTime",(Option.mapx.clusterCreateTime~f:TStamp.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:Boolean.to_value));("StorageEncryptionType",(Option.mapx.storageEncryptionType~f:StorageEncryptionType.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:Integer.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("DBClusterArn",(Option.mapx.dBClusterArn~f:String_.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("EngineMode",(Option.mapx.engineMode~f:String_.to_value));("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value));("Port",(Option.mapx.port~f:Integer.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("AwsBackupRecoveryPointArn",(Option.mapx.awsBackupRecoveryPointArn~f:String_.to_value));("TagList",(Option.mapx.tagList~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inletawsBackupRecoveryPointArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsBackupRecoveryPointArn")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletport=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Port")inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inletengineMode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineMode")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletdBClusterArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterArn")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletallocatedStorage=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletstorageEncryptionType=(Option.map~f:StorageEncryptionType.of_xml)(Xml.childxml_arg0"StorageEncryptionType")inletstorageEncrypted=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"StorageEncrypted")inletclusterCreateTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ClusterCreateTime")inletiAMDatabaseAuthenticationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IAMDatabaseAuthenticationEnabled")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Status")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletregion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Region")inletdbClusterResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DbClusterResourceId")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletrestoreWindow=(Option.map~f:RestoreWindow.of_xml)(Xml.childxml_arg0"RestoreWindow")inletdBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterIdentifier")inletdBClusterAutomatedBackupsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterAutomatedBackupsArn")inletvpcId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"VpcId")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inmake?tagList?awsBackupRecoveryPointArn?storageThroughput?iops?storageType?kmsKeyId?port?availabilityZones?engineMode?preferredBackupWindow?backupRetentionPeriod?dBClusterArn?engineVersion?allocatedStorage?storageEncryptionType?storageEncrypted?clusterCreateTime?iAMDatabaseAuthenticationEnabled?status?licenseModel?region?dbClusterResourceId?masterUsername?restoreWindow?dBClusterIdentifier?dBClusterAutomatedBackupsArn?vpcId?engine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninletawsBackupRecoveryPointArn=field_mapjson__"AwsBackupRecoveryPointArn"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletport=field_mapjson__"Port"Integer.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninletengineMode=field_mapjson__"EngineMode"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletdBClusterArn=field_mapjson__"DBClusterArn"String_.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"Integer.of_jsoninletstorageEncryptionType=field_mapjson__"StorageEncryptionType"StorageEncryptionType.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"Boolean.of_jsoninletclusterCreateTime=field_mapjson__"ClusterCreateTime"TStamp.of_jsoninletiAMDatabaseAuthenticationEnabled=field_mapjson__"IAMDatabaseAuthenticationEnabled"Boolean.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletregion=field_mapjson__"Region"String_.of_jsoninletdbClusterResourceId=field_mapjson__"DbClusterResourceId"String_.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletrestoreWindow=field_mapjson__"RestoreWindow"RestoreWindow.of_jsoninletdBClusterIdentifier=field_mapjson__"DBClusterIdentifier"String_.of_jsoninletdBClusterAutomatedBackupsArn=field_mapjson__"DBClusterAutomatedBackupsArn"String_.of_jsoninletvpcId=field_mapjson__"VpcId"String_.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninmake?tagList?awsBackupRecoveryPointArn?storageThroughput?iops?storageType?kmsKeyId?port?availabilityZones?engineMode?preferredBackupWindow?backupRetentionPeriod?dBClusterArn?engineVersion?allocatedStorage?storageEncryptionType?storageEncrypted?clusterCreateTime?iAMDatabaseAuthenticationEnabled?status?licenseModel?region?dbClusterResourceId?masterUsername?restoreWindow?dBClusterIdentifier?dBClusterAutomatedBackupsArn?vpcId?engine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An automated backup of a DB cluster. It consists of system backups, transaction logs, and the database cluster properties that existed at the time you deleted the source cluster."]moduleCertificate=structtypenonrect={certificateIdentifier:String_.toption[@ocaml.doc"The unique key that identifies a certificate."];certificateType:String_.toption[@ocaml.doc"The type of the certificate."];thumbprint:String_.toption[@ocaml.doc"The thumbprint of the certificate."];validFrom:TStamp.toption[@ocaml.doc"The starting date from which the certificate is valid."];validTill:TStamp.toption[@ocaml.doc"The final date that the certificate continues to be valid."];certificateArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the certificate."];customerOverride:BooleanOptional.toption[@ocaml.doc"Indicates whether there is an override for the default certificate identifier."];customerOverrideValidTill:TStamp.toption[@ocaml.doc"If there is an override for the default certificate identifier, when the override expires."]}letmake?certificateIdentifier=fun?certificateType->fun?thumbprint->fun?validFrom->fun?validTill->fun?certificateArn->fun?customerOverride->fun?customerOverrideValidTill->fun()->{certificateIdentifier;certificateType;thumbprint;validFrom;validTill;certificateArn;customerOverride;customerOverrideValidTill}letto_valuex=structure_to_value[("CertificateIdentifier",(Option.mapx.certificateIdentifier~f:String_.to_value));("CertificateType",(Option.mapx.certificateType~f:String_.to_value));("Thumbprint",(Option.mapx.thumbprint~f:String_.to_value));("ValidFrom",(Option.mapx.validFrom~f:TStamp.to_value));("ValidTill",(Option.mapx.validTill~f:TStamp.to_value));("CertificateArn",(Option.mapx.certificateArn~f:String_.to_value));("CustomerOverride",(Option.mapx.customerOverride~f:BooleanOptional.to_value));("CustomerOverrideValidTill",(Option.mapx.customerOverrideValidTill~f:TStamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcustomerOverrideValidTill=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"CustomerOverrideValidTill")inletcustomerOverride=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CustomerOverride")inletcertificateArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CertificateArn")inletvalidTill=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ValidTill")inletvalidFrom=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"ValidFrom")inletthumbprint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Thumbprint")inletcertificateType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CertificateType")inletcertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CertificateIdentifier")inmake?customerOverrideValidTill?customerOverride?certificateArn?validTill?validFrom?thumbprint?certificateType?certificateIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcustomerOverrideValidTill=field_mapjson__"CustomerOverrideValidTill"TStamp.of_jsoninletcustomerOverride=field_mapjson__"CustomerOverride"BooleanOptional.of_jsoninletcertificateArn=field_mapjson__"CertificateArn"String_.of_jsoninletvalidTill=field_mapjson__"ValidTill"TStamp.of_jsoninletvalidFrom=field_mapjson__"ValidFrom"TStamp.of_jsoninletthumbprint=field_mapjson__"Thumbprint"String_.of_jsoninletcertificateType=field_mapjson__"CertificateType"String_.of_jsoninletcertificateIdentifier=field_mapjson__"CertificateIdentifier"String_.of_jsoninmake?customerOverrideValidTill?customerOverride?certificateArn?validTill?validFrom?thumbprint?certificateType?certificateIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A CA certificate for an Amazon Web Services account. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."]moduleAccountQuota=structtypenonrect={accountQuotaName:String_.toption[@ocaml.doc"The name of the Amazon RDS quota for this Amazon Web Services account."];used:Long.toption[@ocaml.doc"The amount currently used toward the quota maximum."];max:Long.toption[@ocaml.doc"The maximum allowed value for the quota."]}letmake?accountQuotaName=fun?used->fun?max->fun()->{accountQuotaName;used;max}letto_valuex=structure_to_value[("AccountQuotaName",(Option.mapx.accountQuotaName~f:String_.to_value));("Used",(Option.mapx.used~f:Long.to_value));("Max",(Option.mapx.max~f:Long.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmax=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"Max")inletused=(Option.map~f:Long.of_xml)(Xml.childxml_arg0"Used")inletaccountQuotaName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AccountQuotaName")inmake?max?used?accountQuotaName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmax=field_mapjson__"Max"Long.of_jsoninletused=field_mapjson__"Used"Long.of_jsoninletaccountQuotaName=field_mapjson__"AccountQuotaName"String_.of_jsoninmake?max?used?accountQuotaName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes a quota for an Amazon Web Services account. The following are account quotas: AllocatedStorage - The total allocated storage per account, in GiB. The used value is the total allocated storage in the account, in GiB. AuthorizationsPerDBSecurityGroup - The number of ingress rules per DB security group. The used value is the highest number of ingress rules in a DB security group in the account. Other DB security groups in the account might have a lower number of ingress rules. CustomEndpointsPerDBCluster - The number of custom endpoints per DB cluster. The used value is the highest number of custom endpoints in a DB clusters in the account. Other DB clusters in the account might have a lower number of custom endpoints. DBClusterParameterGroups - The number of DB cluster parameter groups per account, excluding default parameter groups. The used value is the count of nondefault DB cluster parameter groups in the account. DBClusterRoles - The number of associated Amazon Web Services Identity and Access Management (IAM) roles per DB cluster. The used value is the highest number of associated IAM roles for a DB cluster in the account. Other DB clusters in the account might have a lower number of associated IAM roles. DBClusters - The number of DB clusters per account. The used value is the count of DB clusters in the account. DBInstanceRoles - The number of associated IAM roles per DB instance. The used value is the highest number of associated IAM roles for a DB instance in the account. Other DB instances in the account might have a lower number of associated IAM roles. DBInstances - The number of DB instances per account. The used value is the count of the DB instances in the account. Amazon RDS DB instances, Amazon Aurora DB instances, Amazon Neptune instances, and Amazon DocumentDB instances apply to this quota. DBParameterGroups - The number of DB parameter groups per account, excluding default parameter groups. The used value is the count of nondefault DB parameter groups in the account. DBSecurityGroups - The number of DB security groups (not VPC security groups) per account, excluding the default security group. The used value is the count of nondefault DB security groups in the account. DBSubnetGroups - The number of DB subnet groups per account. The used value is the count of the DB subnet groups in the account. EventSubscriptions - The number of event subscriptions per account. The used value is the count of the event subscriptions in the account. ManualClusterSnapshots - The number of manual DB cluster snapshots per account. The used value is the count of the manual DB cluster snapshots in the account. ManualSnapshots - The number of manual DB instance snapshots per account. The used value is the count of the manual DB instance snapshots in the account. OptionGroups - The number of DB option groups per account, excluding default option groups. The used value is the count of nondefault DB option groups in the account. ReadReplicasPerMaster - The number of read replicas per DB instance. The used value is the highest number of read replicas for a DB instance in the account. Other DB instances in the account might have a lower number of read replicas. ReservedDBInstances - The number of reserved DB instances per account. The used value is the count of the active reserved DB instances in the account. SubnetsPerDBSubnetGroup - The number of subnets per DB subnet group. The used value is highest number of subnets for a DB subnet group in the account. Other DB subnet groups in the account might have a lower number of subnets. For more information, see Quotas for Amazon RDS in the Amazon RDS User Guide and Quotas for Amazon Aurora in the Amazon Aurora User Guide."]moduleTenantDatabasesList=structtypenonrect=TenantDatabase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TenantDatabase.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:TenantDatabase.of_xml)letof_jsonj=list_of_json~kind:"TenantDatabasesList"~of_json:TenantDatabase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlueGreenDeploymentNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"BlueGreenDeploymentIdentifier doesn't refer to an existing blue/green deployment."]moduleDBProxyEndpointNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB proxy endpoint doesn't exist."]moduleDBProxyNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region."]moduleDBProxyTargetGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified target group isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region."]moduleDBSnapshotTenantDatabaseNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified snapshot tenant database wasn't found."]moduleTenantDatabaseNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified tenant database wasn't found in the DB instance."]moduleGlobalClusterNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The GlobalClusterIdentifier doesn't refer to an existing global database cluster."]moduleInvalidGlobalClusterStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The global cluster is in an invalid state and can't perform the requested operation."]moduleDBClusterIdentifier=structtypenonrect=stringletcontext_="DBClusterIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[A-Za-z][0-9A-Za-z-:._]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DBClusterIdentifier"jletto_json=simple_to_jsonto_valueendmoduleInvalidBlueGreenDeploymentStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The blue/green deployment can't be switched over or deleted because there is an invalid configuration in the green environment."]moduleSwitchoverTimeout=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:30);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 SwitchoverTimeout"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDBSnapshotAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBSnapshotIdentifier is already used by an existing snapshot."]moduleSnapshotQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of DB snapshots."]moduleResourceNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource ID was not found."]moduleAuthorizationNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified CIDR IP range or Amazon EC2 security group might not be authorized for the specified DB security group. Or, RDS might not be authorized to perform necessary actions using IAM on your behalf."]moduleDBSubnetGroupDoesNotCoverEnoughAZs=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone."]moduleDBSubnetGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBSubnetGroupName doesn't refer to an existing DB subnet group."]moduleInsufficientDBInstanceCapacityFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified DB instance class isn't available in the specified Availability Zone."]moduleInvalidSubnet=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC."]moduleVpcEncryptionControlViolationException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation violates VPC encryption control settings. Make sure that your DB instance type supports the Nitro encryption-in-transit capability, or modify your VPC's encryption controls to not enforce encryption-in-transit."]moduleDBInstanceAutomatedBackupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated backups. The retained automated backups quota is the same as your DB instance quota."]moduleInvalidDBInstanceAutomatedBackupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The automated backup is in an invalid state. For example, this automated backup is associated with an active instance."]moduleStorageTypeNotSupportedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified StorageType can't be associated with the DB instance."]moduleSourceRegionList=structtypenonrect=SourceRegion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SourceRegion.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:SourceRegion.of_xml)letof_jsonj=list_of_json~kind:"SourceRegionList"~of_json:SourceRegion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServerlessV2PlatformVersionList=structtypenonrect=ServerlessV2PlatformVersionInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerlessV2PlatformVersionInfo.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:ServerlessV2PlatformVersionInfo.of_xml)letof_jsonj=list_of_json~kind:"ServerlessV2PlatformVersionList"~of_json:ServerlessV2PlatformVersionInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSecurityGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBSecurityGroupName doesn't refer to an existing DB security group."]moduleInvalidDBSecurityGroupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The state of the DB security group doesn't allow deletion."]moduleBackupPolicyNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevendmoduleCertificateNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"CertificateIdentifier doesn't refer to an existing certificate."]moduleDBInstanceAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user already has a DB instance with the given identifier."]moduleDBInstanceAutomatedBackupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"No automated backup for this DB instance was found."]moduleDBParameterGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBParameterGroupName doesn't refer to an existing DB parameter group."]moduleDomainNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Domain doesn't refer to an existing Active Directory domain."]moduleInstanceQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of DB instances."]moduleInvalidRestoreFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Cannot restore from VPC backup to non-VPC DB instance."]moduleOptionGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified option group could not be found."]modulePointInTimeRestoreNotEnabledFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod equal to 0."]moduleProvisionedIopsNotAvailableInAZFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provisioned IOPS not available in the specified Availability Zone."]moduleStorageQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed amount of storage available across all DB instances."]moduleTenantDatabaseQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You attempted to create more tenant databases than are permitted in your Amazon Web Services account."]moduleTagSpecificationList=structtypenonrect=TagSpecification.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagSpecification.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:TagSpecification.of_xml)letof_jsonj=list_of_json~kind:"TagSpecificationList"~of_json:TagSpecification.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidDBSnapshotStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The state of the DB snapshot doesn't allow deletion."]moduleDBClusterAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user already has a DB cluster with the given identifier."]moduleDBClusterAutomatedBackupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"No automated backup for this DB cluster was found."]moduleDBClusterParameterGroupNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter group."]moduleDBClusterQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota."]moduleInsufficientDBClusterCapacityFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB cluster doesn't have enough capacity for the current operation."]moduleInsufficientStorageClusterCapacityFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"There is insufficient storage available for the current action. You might be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available."]moduleInvalidDBClusterSnapshotStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The supplied value isn't a valid DB cluster snapshot state."]moduleScalingConfiguration=structtypenonrect={minCapacity:IntegerOptional.toption[@ocaml.doc"The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity."];maxCapacity:IntegerOptional.toption[@ocaml.doc"The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity."];autoPause:BooleanOptional.toption[@ocaml.doc"Indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it."];secondsUntilAutoPause:IntegerOptional.toption[@ocaml.doc"The time, in seconds, before an Aurora DB cluster in serverless mode is paused. Specify a value between 300 and 86,400 seconds."];timeoutAction:String_.toption[@ocaml.doc"The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period. If you specify ForceApplyCapacityChange, connections that prevent Aurora Serverless v1 from finding a scaling point might be dropped. For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide."];secondsBeforeTimeout:IntegerOptional.toption[@ocaml.doc"The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300. Specify a value between 60 and 600 seconds."]}letmake?minCapacity=fun?maxCapacity->fun?autoPause->fun?secondsUntilAutoPause->fun?timeoutAction->fun?secondsBeforeTimeout->fun()->{minCapacity;maxCapacity;autoPause;secondsUntilAutoPause;timeoutAction;secondsBeforeTimeout}letto_valuex=structure_to_value[("MinCapacity",(Option.mapx.minCapacity~f:IntegerOptional.to_value));("MaxCapacity",(Option.mapx.maxCapacity~f:IntegerOptional.to_value));("AutoPause",(Option.mapx.autoPause~f:BooleanOptional.to_value));("SecondsUntilAutoPause",(Option.mapx.secondsUntilAutoPause~f:IntegerOptional.to_value));("TimeoutAction",(Option.mapx.timeoutAction~f:String_.to_value));("SecondsBeforeTimeout",(Option.mapx.secondsBeforeTimeout~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondsBeforeTimeout=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsBeforeTimeout")inlettimeoutAction=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TimeoutAction")inletsecondsUntilAutoPause=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsUntilAutoPause")inletautoPause=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"AutoPause")inletmaxCapacity=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxCapacity")inletminCapacity=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MinCapacity")inmake?secondsBeforeTimeout?timeoutAction?secondsUntilAutoPause?autoPause?maxCapacity?minCapacity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondsBeforeTimeout=field_mapjson__"SecondsBeforeTimeout"IntegerOptional.of_jsoninlettimeoutAction=field_mapjson__"TimeoutAction"String_.of_jsoninletsecondsUntilAutoPause=field_mapjson__"SecondsUntilAutoPause"IntegerOptional.of_jsoninletautoPause=field_mapjson__"AutoPause"BooleanOptional.of_jsoninletmaxCapacity=field_mapjson__"MaxCapacity"IntegerOptional.of_jsoninletminCapacity=field_mapjson__"MinCapacity"IntegerOptional.of_jsoninmake?secondsBeforeTimeout?timeoutAction?secondsUntilAutoPause?autoPause?maxCapacity?minCapacity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the scaling configuration of an Aurora Serverless v1 DB cluster. For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide."]moduleServerlessV2ScalingConfiguration=structtypenonrect={minCapacity:DoubleOptional.toption[@ocaml.doc"The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5."];maxCapacity:DoubleOptional.toption[@ocaml.doc"The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions. You can check the attributes of your engine version or platform version to determine the specific maximum capacity supported."];secondsUntilAutoPause:IntegerOptional.toption[@ocaml.doc"Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it. Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds."]}letmake?minCapacity=fun?maxCapacity->fun?secondsUntilAutoPause->fun()->{minCapacity;maxCapacity;secondsUntilAutoPause}letto_valuex=structure_to_value[("MinCapacity",(Option.mapx.minCapacity~f:DoubleOptional.to_value));("MaxCapacity",(Option.mapx.maxCapacity~f:DoubleOptional.to_value));("SecondsUntilAutoPause",(Option.mapx.secondsUntilAutoPause~f:IntegerOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecondsUntilAutoPause=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"SecondsUntilAutoPause")inletmaxCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MaxCapacity")inletminCapacity=(Option.map~f:DoubleOptional.of_xml)(Xml.childxml_arg0"MinCapacity")inmake?secondsUntilAutoPause?maxCapacity?minCapacity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecondsUntilAutoPause=field_mapjson__"SecondsUntilAutoPause"IntegerOptional.of_jsoninletmaxCapacity=field_mapjson__"MaxCapacity"DoubleOptional.of_jsoninletminCapacity=field_mapjson__"MinCapacity"DoubleOptional.of_jsoninmake?secondsUntilAutoPause?maxCapacity?minCapacity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the scaling configuration of an Aurora Serverless v2 DB cluster. For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide."]moduleInvalidDBSubnetGroupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB subnet group cannot be deleted because it's in use."]moduleReservedDBInstancesOfferingList=structtypenonrect=ReservedDBInstancesOffering.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReservedDBInstancesOffering.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:ReservedDBInstancesOffering.of_xml)letof_jsonj=list_of_json~kind:"ReservedDBInstancesOfferingList"~of_json:ReservedDBInstancesOffering.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReservedDBInstancesOfferingNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specified offering does not exist."]moduleReservedDBInstanceList=structtypenonrect=ReservedDBInstance.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReservedDBInstance.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:ReservedDBInstance.of_xml)letof_jsonj=list_of_json~kind:"ReservedDBInstanceList"~of_json:ReservedDBInstance.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReservedDBInstanceNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified reserved DB Instance not found."]moduleKeyList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"KeyList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSourceNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested source could not be found."]moduleSubscriptionNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The subscription name does not exist."]moduleDBProxyTargetAlreadyRegisteredFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The proxy is already associated with the specified RDS DB instance or Aurora DB cluster."]moduleInsufficientAvailableIPsInSubnetFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested operation can't be performed because there aren't enough available IP addresses in the proxy's subnets. Add more CIDR blocks to the VPC or remove IP address that aren't required from the subnets."]moduleInvalidDBProxyStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested operation can't be performed while the proxy is in this state."]moduleTargetList=structtypenonrect=DBProxyTarget.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBProxyTarget.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:DBProxyTarget.of_xml)letof_jsonj=list_of_json~kind:"TargetList"~of_json:DBProxyTarget.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBProxyName=structtypenonrect=stringletcontext_="DBProxyName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"DBProxyName"jletto_json=simple_to_jsonto_valueendmoduleDBProxyTargetGroupName=structtypenonrect=stringletcontext_="DBProxyTargetGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"DBProxyTargetGroupName"jletto_json=simple_to_jsonto_valueendmoduleReservedDBInstanceAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"User already has a reservation with the given identifier."]moduleReservedDBInstanceQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Request would exceed the user's DB Instance quota."]modulePendingMaintenanceActions=structtypenonrect=ResourcePendingMaintenanceActions.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourcePendingMaintenanceActions.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:ResourcePendingMaintenanceActions.of_xml)letof_jsonj=list_of_json~kind:"PendingMaintenanceActions"~of_json:ResourcePendingMaintenanceActions.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOrderableDBInstanceOptionsList=structtypenonrect=OrderableDBInstanceOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OrderableDBInstanceOption.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:OrderableDBInstanceOption.of_xml)letof_jsonj=list_of_json~kind:"OrderableDBInstanceOptionsList"~of_json:OrderableDBInstanceOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupsList=structtypenonrect=OptionGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionGroup.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:OptionGroup.of_xml)letof_jsonj=list_of_json~kind:"OptionGroupsList"~of_json:OptionGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupOptionsList=structtypenonrect=OptionGroupOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionGroupOption.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:OptionGroupOption.of_xml)letof_jsonj=list_of_json~kind:"OptionGroupOptionsList"~of_json:OptionGroupOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTenantDatabaseAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You attempted to either create a tenant database that already exists or modify a tenant database to use the name of an existing tenant database."]moduleInvalidOptionGroupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The option group isn't in the available state."]moduleOptionConfigurationList=structtypenonrect=OptionConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OptionConfiguration.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:OptionConfiguration.of_xml)letof_jsonj=list_of_json~kind:"OptionConfigurationList"~of_json:OptionConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionNamesList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"OptionNamesList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIntegrationIdentifier=structtypenonrect=stringletcontext_="IntegrationIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9_:\\-\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IntegrationIdentifier"jletto_json=simple_to_jsonto_valueendmoduleGlobalClusterAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The GlobalClusterIdentifier already exists. Specify a new global database identifier (unique name) to create a new global database cluster or to rename an existing one."]moduleEventSubscriptionQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have reached the maximum number of event subscriptions."]moduleSNSInvalidTopicFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"SNS has responded that there is a problem with the SNS topic specified."]moduleSNSNoAuthorizationFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You do not have permission to publish to the SNS topic ARN."]moduleSNSTopicArnNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The SNS topic ARN does not exist."]moduleSubscriptionCategoryNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The supplied category does not exist."]moduleDBSubnetQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of subnets in a DB subnet groups."]moduleSubnetAlreadyInUse=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB subnet is already in use in the Availability Zone."]moduleSubnetIdentifierList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"SubnetIdentifierList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSnapshotAttributesResult=structtypenonrect={dBSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier of the manual DB snapshot that the attributes apply to."];dBSnapshotAttributes:DBSnapshotAttributeList.toption[@ocaml.doc"The list of attributes and values for the manual DB snapshot."]}letmake?dBSnapshotIdentifier=fun?dBSnapshotAttributes->fun()->{dBSnapshotIdentifier;dBSnapshotAttributes}letto_valuex=structure_to_value[("DBSnapshotIdentifier",(Option.mapx.dBSnapshotIdentifier~f:String_.to_value));("DBSnapshotAttributes",(Option.mapx.dBSnapshotAttributes~f:DBSnapshotAttributeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBSnapshotAttributes=(Option.map~f:DBSnapshotAttributeList.of_xml)(Xml.childxml_arg0"DBSnapshotAttributes")inletdBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotIdentifier")inmake?dBSnapshotAttributes?dBSnapshotIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBSnapshotAttributes=field_mapjson__"DBSnapshotAttributes"DBSnapshotAttributeList.of_jsoninletdBSnapshotIdentifier=field_mapjson__"DBSnapshotIdentifier"String_.of_jsoninmake?dBSnapshotAttributes?dBSnapshotIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the results of a successful call to the DescribeDBSnapshotAttributes API action. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API action."]moduleSharedSnapshotQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have exceeded the maximum number of accounts that you can share a manual DB snapshot with."]moduleRecommendedActionUpdateList=structtypenonrect=RecommendedActionUpdate.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RecommendedActionUpdate.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:RecommendedActionUpdate.of_xml)letof_jsonj=list_of_json~kind:"RecommendedActionUpdateList"~of_json:RecommendedActionUpdate.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConnectionPoolConfiguration=structtypenonrect={maxConnectionsPercent:IntegerOptional.toption[@ocaml.doc"The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. If you specify MaxIdleConnectionsPercent, then you must also include a value for this parameter. Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines Constraints: Must be between 1 and 100."];maxIdleConnectionsPercent:IntegerOptional.toption[@ocaml.doc"A value that controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database. If you specify this parameter, then you must also include a value for MaxConnectionsPercent. Default: The default value is half of the value of MaxConnectionsPercent. For example, if MaxConnectionsPercent is 80, then the default value of MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't specified, then for SQL Server, MaxIdleConnectionsPercent is 5, and for all other engines, the default is 50. Constraints: Must be between 0 and the value of MaxConnectionsPercent."];connectionBorrowTimeout:IntegerOptional.toption[@ocaml.doc"The number of seconds for a proxy to wait for a connection to become available in the connection pool. This setting only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Default: 120 Constraints: Must be between 0 and 300."];sessionPinningFilters:StringList.toption[@ocaml.doc"Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. Default: no session pinning filters"];initQuery:OperatorSensitiveString.toption[@ocaml.doc"Add an initialization query, or modify the current one. You can specify one or more SQL statements for the proxy to run when opening each new database connection. The setting is typically used with SET statements to make sure that each connection has identical settings. Make sure the query added here is valid. This is an optional field, so you can choose to leave it empty. For including multiple variables in a single SET statement, use a comma separator. For example: SET variable1=value1, variable2=value2 Default: no initialization query Since you can access initialization query as part of target group configuration, it is not protected by authentication or cryptographic methods. Anyone with access to view or manage your proxy target group configuration can view the initialization query. You should not add sensitive data, such as passwords or long-lived encryption keys, to this option."]}letmake?maxConnectionsPercent=fun?maxIdleConnectionsPercent->fun?connectionBorrowTimeout->fun?sessionPinningFilters->fun?initQuery->fun()->{maxConnectionsPercent;maxIdleConnectionsPercent;connectionBorrowTimeout;sessionPinningFilters;initQuery}letto_valuex=structure_to_value[("MaxConnectionsPercent",(Option.mapx.maxConnectionsPercent~f:IntegerOptional.to_value));("MaxIdleConnectionsPercent",(Option.mapx.maxIdleConnectionsPercent~f:IntegerOptional.to_value));("ConnectionBorrowTimeout",(Option.mapx.connectionBorrowTimeout~f:IntegerOptional.to_value));("SessionPinningFilters",(Option.mapx.sessionPinningFilters~f:StringList.to_value));("InitQuery",(Option.mapx.initQuery~f:OperatorSensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinitQuery=(Option.map~f:OperatorSensitiveString.of_xml)(Xml.childxml_arg0"InitQuery")inletsessionPinningFilters=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"SessionPinningFilters")inletconnectionBorrowTimeout=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"ConnectionBorrowTimeout")inletmaxIdleConnectionsPercent=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxIdleConnectionsPercent")inletmaxConnectionsPercent=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxConnectionsPercent")inmake?initQuery?sessionPinningFilters?connectionBorrowTimeout?maxIdleConnectionsPercent?maxConnectionsPercent()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinitQuery=field_mapjson__"InitQuery"OperatorSensitiveString.of_jsoninletsessionPinningFilters=field_mapjson__"SessionPinningFilters"StringList.of_jsoninletconnectionBorrowTimeout=field_mapjson__"ConnectionBorrowTimeout"IntegerOptional.of_jsoninletmaxIdleConnectionsPercent=field_mapjson__"MaxIdleConnectionsPercent"IntegerOptional.of_jsoninletmaxConnectionsPercent=field_mapjson__"MaxConnectionsPercent"IntegerOptional.of_jsoninmake?initQuery?sessionPinningFilters?connectionBorrowTimeout?maxIdleConnectionsPercent?maxConnectionsPercent()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies the settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup."]moduleDBProxyAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified proxy name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region."]moduleDefaultAuthScheme=structtypenonrect=|IAM_AUTH|NONE|Non_static_idofstringletmakei=iletto_string=function|IAM_AUTH->"IAM_AUTH"|NONE->"NONE"|Non_static_ids->sletof_string=function|"IAM_AUTH"->IAM_AUTH|"NONE"->NONE|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 DefaultAuthScheme"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DefaultAuthScheme"j)letto_json=simple_to_jsonto_valueendmoduleUserAuthConfigList=structtypenonrect=UserAuthConfig.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UserAuthConfig.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:UserAuthConfig.of_xml)letof_jsonj=list_of_json~kind:"UserAuthConfigList"~of_json:UserAuthConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBProxyEndpointAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified DB proxy endpoint name must be unique for all DB proxy endpoints owned by your Amazon Web Services account in the specified Amazon Web Services Region."]moduleInvalidDBProxyEndpointStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't perform this operation while the DB proxy endpoint is in a particular state."]moduleDBProxyEndpointName=structtypenonrect=stringletcontext_="DBProxyEndpointName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[a-zA-Z](?:-?[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:"DBProxyEndpointName"jletto_json=simple_to_jsonto_valueendmoduleDBUpgradeDependencyFailureFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB upgrade failed because a resource the DB depends on can't be modified."]moduleAwsBackupRecoveryPointArn=structtypenonrect=stringletcontext_="AwsBackupRecoveryPointArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:43)>>=(fun()->(check_string_maxi~max:350)>>=(fun()->check_patterni~pattern:"arn:aws[a-z-]*:backup:[-a-z0-9]+:[0-9]{12}:[-a-z]+:([a-z0-9\\-]+:)?[a-z][a-z0-9\\-]{0,255}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AwsBackupRecoveryPointArn"jletto_json=simple_to_jsonto_valueendmoduleCloudwatchLogsExportConfiguration=structtypenonrect={enableLogTypes:LogTypeList.toption[@ocaml.doc"The list of log types to enable. The following values are valid for each DB engine: Aurora MySQL - audit | error | general | slowquery Aurora PostgreSQL - postgresql RDS for MySQL - error | general | slowquery RDS for PostgreSQL - postgresql | upgrade"];disableLogTypes:LogTypeList.toption[@ocaml.doc"The list of log types to disable. The following values are valid for each DB engine: Aurora MySQL - audit | error | general | slowquery Aurora PostgreSQL - postgresql RDS for MySQL - error | general | slowquery RDS for PostgreSQL - postgresql | upgrade"]}letmake?enableLogTypes=fun?disableLogTypes->fun()->{enableLogTypes;disableLogTypes}letto_valuex=structure_to_value[("EnableLogTypes",(Option.mapx.enableLogTypes~f:LogTypeList.to_value));("DisableLogTypes",(Option.mapx.disableLogTypes~f:LogTypeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisableLogTypes=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"DisableLogTypes")inletenableLogTypes=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnableLogTypes")inmake?disableLogTypes?enableLogTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisableLogTypes=field_mapjson__"DisableLogTypes"LogTypeList.of_jsoninletenableLogTypes=field_mapjson__"EnableLogTypes"LogTypeList.of_jsoninmake?disableLogTypes?enableLogTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs will be exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the DB engine being used. For more information about exporting CloudWatch Logs for Amazon RDS DB instances, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. For more information about exporting CloudWatch Logs for Amazon Aurora DB clusters, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide."]moduleMasterUserAuthenticationType=structtypenonrect=|Password|Iam_db_auth|Non_static_idofstringletmakei=iletto_string=function|Password->"password"|Iam_db_auth->"iam-db-auth"|Non_static_ids->sletof_string=function|"password"->Password|"iam-db-auth"->Iam_db_auth|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 MasterUserAuthenticationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MasterUserAuthenticationType"j)letto_json=simple_to_jsonto_valueendmoduleModifyAdditionalStorageVolumesList=structtypenonrect=ModifyAdditionalStorageVolume.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ModifyAdditionalStorageVolume.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:ModifyAdditionalStorageVolume.of_xml)letof_jsonj=list_of_json~kind:"ModifyAdditionalStorageVolumesList"~of_json:ModifyAdditionalStorageVolume.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterSnapshotAttributesResult=structtypenonrect={dBClusterSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier of the manual DB cluster snapshot that the attributes apply to."];dBClusterSnapshotAttributes:DBClusterSnapshotAttributeList.toption[@ocaml.doc"The list of attributes and values for the manual DB cluster snapshot."]}letmake?dBClusterSnapshotIdentifier=fun?dBClusterSnapshotAttributes->fun()->{dBClusterSnapshotIdentifier;dBClusterSnapshotAttributes}letto_valuex=structure_to_value[("DBClusterSnapshotIdentifier",(Option.mapx.dBClusterSnapshotIdentifier~f:String_.to_value));("DBClusterSnapshotAttributes",(Option.mapx.dBClusterSnapshotAttributes~f:DBClusterSnapshotAttributeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBClusterSnapshotAttributes=(Option.map~f:DBClusterSnapshotAttributeList.of_xml)(Xml.childxml_arg0"DBClusterSnapshotAttributes")inletdBClusterSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterSnapshotIdentifier")inmake?dBClusterSnapshotAttributes?dBClusterSnapshotIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBClusterSnapshotAttributes=field_mapjson__"DBClusterSnapshotAttributes"DBClusterSnapshotAttributeList.of_jsoninletdBClusterSnapshotIdentifier=field_mapjson__"DBClusterSnapshotIdentifier"String_.of_jsoninmake?dBClusterSnapshotAttributes?dBClusterSnapshotIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action."]moduleStorageTypeNotAvailableFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The aurora-iopt1 storage type isn't available, because you modified the DB cluster to use this storage type less than one month ago."]moduleCustomEngineName=structtypenonrect=stringletcontext_="CustomEngineName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:35)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-]{1,35}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CustomEngineName"jletto_json=simple_to_jsonto_valueendmoduleCustomEngineVersion=structtypenonrect=stringletcontext_="CustomEngineVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:60)>>=(fun()->check_patterni~pattern:"[a-z0-9_.-]{1,60}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CustomEngineVersion"jletto_json=simple_to_jsonto_valueendmoduleCustomEngineVersionStatus=structtypenonrect=|Available|Inactive|Inactive_except_restore|Non_static_idofstringletmakei=iletto_string=function|Available->"available"|Inactive->"inactive"|Inactive_except_restore->"inactive-except-restore"|Non_static_ids->sletof_string=function|"available"->Available|"inactive"->Inactive|"inactive-except-restore"->Inactive_except_restore|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 CustomEngineVersionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CustomEngineVersionStatus"j)letto_json=simple_to_jsonto_valueendmoduleAuditPolicyState=structtypenonrect=|Locked|Unlocked|Non_static_idofstringletmakei=iletto_string=function|Locked->"locked"|Unlocked->"unlocked"|Non_static_ids->sletof_string=function|"locked"->Locked|"unlocked"->Unlocked|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 AuditPolicyState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuditPolicyState"j)letto_json=simple_to_jsonto_valueendmoduleFilterList=structtypenonrect=Filter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Filter.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:Filter.of_xml)letof_jsonj=list_of_json~kind:"FilterList"~of_json:Filter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleGlobalClusterList=structtypenonrect=GlobalCluster.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:GlobalCluster.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:GlobalCluster.of_xml)letof_jsonj=list_of_json~kind:"GlobalClusterList"~of_json:GlobalCluster.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExportTasksList=structtypenonrect=ExportTask.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ExportTask.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:ExportTask.of_xml)letof_jsonj=list_of_json~kind:"ExportTasksList"~of_json:ExportTask.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEventList=structtypenonrect=Event.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Event.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:Event.of_xml)letof_jsonj=list_of_json~kind:"EventList"~of_json:Event.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEventSubscriptionsList=structtypenonrect=EventSubscription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EventSubscription.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:EventSubscription.of_xml)letof_jsonj=list_of_json~kind:"EventSubscriptionsList"~of_json:EventSubscription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEventCategoriesMapList=structtypenonrect=EventCategoriesMap.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EventCategoriesMap.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:EventCategoriesMap.of_xml)letof_jsonj=list_of_json~kind:"EventCategoriesMapList"~of_json:EventCategoriesMap.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidResourceStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation can't be performed because another operation is in progress."]moduleDBInstanceNotReadyFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused."]moduleDBLogFileNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"LogFileName doesn't refer to an existing DB log file."]moduleValidDBInstanceModificationsMessage=structtypenonrect={storage:ValidStorageOptionsList.toption[@ocaml.doc"Valid storage options for your DB instance."];validProcessorFeatures:AvailableProcessorFeatureList.toption[@ocaml.doc"Valid processor features for your DB instance."];supportsDedicatedLogVolume:Boolean.toption[@ocaml.doc"Indicates whether a DB instance supports using a dedicated log volume (DLV)."];additionalStorage:ValidAdditionalStorageOptions.toption[@ocaml.doc"The valid additional storage options for the DB instance."]}letmake?storage=fun?validProcessorFeatures->fun?supportsDedicatedLogVolume->fun?additionalStorage->fun()->{storage;validProcessorFeatures;supportsDedicatedLogVolume;additionalStorage}letto_valuex=structure_to_value[("Storage",(Option.mapx.storage~f:ValidStorageOptionsList.to_value));("ValidProcessorFeatures",(Option.mapx.validProcessorFeatures~f:AvailableProcessorFeatureList.to_value));("SupportsDedicatedLogVolume",(Option.mapx.supportsDedicatedLogVolume~f:Boolean.to_value));("AdditionalStorage",(Option.mapx.additionalStorage~f:ValidAdditionalStorageOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalStorage=(Option.map~f:ValidAdditionalStorageOptions.of_xml)(Xml.childxml_arg0"AdditionalStorage")inletsupportsDedicatedLogVolume=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SupportsDedicatedLogVolume")inletvalidProcessorFeatures=(Option.map~f:AvailableProcessorFeatureList.of_xml)(Xml.childxml_arg0"ValidProcessorFeatures")inletstorage=(Option.map~f:ValidStorageOptionsList.of_xml)(Xml.childxml_arg0"Storage")inmake?additionalStorage?supportsDedicatedLogVolume?validProcessorFeatures?storage()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalStorage=field_mapjson__"AdditionalStorage"ValidAdditionalStorageOptions.of_jsoninletsupportsDedicatedLogVolume=field_mapjson__"SupportsDedicatedLogVolume"Boolean.of_jsoninletvalidProcessorFeatures=field_mapjson__"ValidProcessorFeatures"AvailableProcessorFeatureList.of_jsoninletstorage=field_mapjson__"Storage"ValidStorageOptionsList.of_jsoninmake?additionalStorage?supportsDedicatedLogVolume?validProcessorFeatures?storage()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications action. You can use this information when you call ModifyDBInstance."]moduleIntegrationList=structtypenonrect=Integration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Integration.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:Integration.of_xml)letof_jsonj=list_of_json~kind:"IntegrationList"~of_json:Integration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMarker=structtypenonrect=stringletcontext_="Marker"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:340)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Marker"jletto_json=simple_to_jsonto_valueendmoduleMaxRecords=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:20));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 MaxRecords"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleEngineDefaults=structtypenonrect={dBParameterGroupFamily:String_.toption[@ocaml.doc"Specifies the name of the DB parameter group family that the engine default parameters apply to."];marker:String_.toption[@ocaml.doc"An optional pagination token provided by a previous EngineDefaults request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords ."];parameters:ParametersList.toption[@ocaml.doc"Contains a list of engine default parameters."]}letmake?dBParameterGroupFamily=fun?marker->fun?parameters->fun()->{dBParameterGroupFamily;marker;parameters}letto_valuex=structure_to_value[("DBParameterGroupFamily",(Option.mapx.dBParameterGroupFamily~f:String_.to_value));("Marker",(Option.mapx.marker~f:String_.to_value));("Parameters",(Option.mapx.parameters~f:ParametersList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:ParametersList.of_xml)(Xml.childxml_arg0"Parameters")inletmarker=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Marker")inletdBParameterGroupFamily=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupFamily")inmake?parameters?marker?dBParameterGroupFamily()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"Parameters"ParametersList.of_jsoninletmarker=field_mapjson__"Marker"String_.of_jsoninletdBParameterGroupFamily=field_mapjson__"DBParameterGroupFamily"String_.of_jsoninmake?parameters?marker?dBParameterGroupFamily()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the result of a successful invocation of the DescribeEngineDefaultParameters action."]moduleDBShardGroupsList=structtypenonrect=DBShardGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBShardGroup.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:DBShardGroup.of_xml)letof_jsonj=list_of_json~kind:"DBShardGroupsList"~of_json:DBShardGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBProxyTargetNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified RDS DB instance or Aurora DB cluster isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region."]moduleTargetGroupList=structtypenonrect=DBProxyTargetGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBProxyTargetGroup.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:DBProxyTargetGroup.of_xml)letof_jsonj=list_of_json~kind:"TargetGroupList"~of_json:DBProxyTargetGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBProxyEndpointList=structtypenonrect=DBProxyEndpoint.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBProxyEndpoint.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:DBProxyEndpoint.of_xml)letof_jsonj=list_of_json~kind:"DBProxyEndpointList"~of_json:DBProxyEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBProxyList=structtypenonrect=DBProxy.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBProxy.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:DBProxy.of_xml)letof_jsonj=list_of_json~kind:"DBProxyList"~of_json:DBProxy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBMajorEngineVersionsList=structtypenonrect=DBMajorEngineVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBMajorEngineVersion.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:DBMajorEngineVersion.of_xml)letof_jsonj=list_of_json~kind:"DBMajorEngineVersionsList"~of_json:DBMajorEngineVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEngine=structtypenonrect=stringletcontext_="Engine"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Engine"jletto_json=simple_to_jsonto_valueendmoduleMajorEngineVersion=structtypenonrect=stringletcontext_="MajorEngineVersion"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MajorEngineVersion"jletto_json=simple_to_jsonto_valueendmoduleDescribeDBLogFilesList=structtypenonrect=DescribeDBLogFilesDetails.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DescribeDBLogFilesDetails.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:DescribeDBLogFilesDetails.of_xml)letof_jsonj=list_of_json~kind:"DescribeDBLogFilesList"~of_json:DescribeDBLogFilesDetails.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlueGreenDeploymentList=structtypenonrect=BlueGreenDeployment.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlueGreenDeployment.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:BlueGreenDeployment.of_xml)letof_jsonj=list_of_json~kind:"BlueGreenDeploymentList"~of_json:BlueGreenDeployment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidEventSubscriptionStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This error can occur if someone else is modifying a subscription. You should retry the action."]moduleDBClusterAutomatedBackupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated backups. The retained automated backups quota is the same as your DB cluster quota."]moduleDBClusterSnapshotAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user already has a DB cluster snapshot with the given identifier."]moduleInvalidDBClusterAutomatedBackupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The automated backup is in an invalid state. For example, this automated backup is associated with an active cluster."]moduleDBSubnetGroups=structtypenonrect=DBSubnetGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSubnetGroup.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:DBSubnetGroup.of_xml)letof_jsonj=list_of_json~kind:"DBSubnetGroups"~of_json:DBSubnetGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSnapshotTenantDatabasesList=structtypenonrect=DBSnapshotTenantDatabase.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSnapshotTenantDatabase.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:DBSnapshotTenantDatabase.of_xml)letof_jsonj=list_of_json~kind:"DBSnapshotTenantDatabasesList"~of_json:DBSnapshotTenantDatabase.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSnapshotList=structtypenonrect=DBSnapshot.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSnapshot.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:DBSnapshot.of_xml)letof_jsonj=list_of_json~kind:"DBSnapshotList"~of_json:DBSnapshot.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBSecurityGroups=structtypenonrect=DBSecurityGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBSecurityGroup.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:DBSecurityGroup.of_xml)letof_jsonj=list_of_json~kind:"DBSecurityGroups"~of_json:DBSecurityGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBRecommendationList=structtypenonrect=DBRecommendation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBRecommendation.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:DBRecommendation.of_xml)letof_jsonj=list_of_json~kind:"DBRecommendationList"~of_json:DBRecommendation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBParameterGroupList=structtypenonrect=DBParameterGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBParameterGroup.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:DBParameterGroup.of_xml)letof_jsonj=list_of_json~kind:"DBParameterGroupList"~of_json:DBParameterGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidDBParameterGroupStateFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you can't delete it when the parameter group is in this state."]moduleDBInstanceList=structtypenonrect=DBInstance.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBInstance.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:DBInstance.of_xml)letof_jsonj=list_of_json~kind:"DBInstanceList"~of_json:DBInstance.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBInstanceAutomatedBackupList=structtypenonrect=DBInstanceAutomatedBackup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBInstanceAutomatedBackup.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:DBInstanceAutomatedBackup.of_xml)letof_jsonj=list_of_json~kind:"DBInstanceAutomatedBackupList"~of_json:DBInstanceAutomatedBackup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBEngineVersionList=structtypenonrect=DBEngineVersion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBEngineVersion.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:DBEngineVersion.of_xml)letof_jsonj=list_of_json~kind:"DBEngineVersionList"~of_json:DBEngineVersion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterSnapshotList=structtypenonrect=DBClusterSnapshot.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterSnapshot.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:DBClusterSnapshot.of_xml)letof_jsonj=list_of_json~kind:"DBClusterSnapshotList"~of_json:DBClusterSnapshot.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterParameterGroupList=structtypenonrect=DBClusterParameterGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterParameterGroup.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:DBClusterParameterGroup.of_xml)letof_jsonj=list_of_json~kind:"DBClusterParameterGroupList"~of_json:DBClusterParameterGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterList=structtypenonrect=DBCluster.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBCluster.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:DBCluster.of_xml)letof_jsonj=list_of_json~kind:"DBClusterList"~of_json:DBCluster.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterEndpointList=structtypenonrect=DBClusterEndpoint.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterEndpoint.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:DBClusterEndpoint.of_xml)letof_jsonj=list_of_json~kind:"DBClusterEndpointList"~of_json:DBClusterEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidDBClusterCapacityFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Capacity isn't a valid Aurora Serverless DB cluster capacity. Valid capacity values are 2, 4, 8, 16, 32, 64, 128, and 256."]moduleDBClusterBacktrackList=structtypenonrect=DBClusterBacktrack.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterBacktrack.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:DBClusterBacktrack.of_xml)letof_jsonj=list_of_json~kind:"DBClusterBacktrackList"~of_json:DBClusterBacktrack.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDBClusterBacktrackNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"BacktrackIdentifier doesn't refer to an existing backtrack."]moduleDBClusterAutomatedBackupList=structtypenonrect=DBClusterAutomatedBackup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DBClusterAutomatedBackup.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:DBClusterAutomatedBackup.of_xml)letof_jsonj=list_of_json~kind:"DBClusterAutomatedBackupList"~of_json:DBClusterAutomatedBackup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptionGroupAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The option group you are trying to create already exists."]moduleOptionGroupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota of 20 option groups was exceeded for this Amazon Web Services account."]moduleGlobalClusterQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of global database clusters for this account is already at the maximum allowed."]moduleSubscriptionAlreadyExistFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The supplied subscription name already exists."]moduleDBSubnetGroupAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"DBSubnetGroupName is already used by an existing DB subnet group."]moduleDBSubnetGroupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of DB subnet groups."]moduleDBSecurityGroupAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A DB security group with the name specified in DBSecurityGroupName already exists."]moduleDBSecurityGroupNotSupportedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A DB security group isn't allowed for this action."]moduleDBSecurityGroupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of DB security groups."]moduleDBProxyQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Your Amazon Web Services account already has the maximum number of proxies in the specified Amazon Web Services Region."]moduleEngineFamily=structtypenonrect=|MYSQL|POSTGRESQL|SQLSERVER|Non_static_idofstringletmakei=iletto_string=function|MYSQL->"MYSQL"|POSTGRESQL->"POSTGRESQL"|SQLSERVER->"SQLSERVER"|Non_static_ids->sletof_string=function|"MYSQL"->MYSQL|"POSTGRESQL"->POSTGRESQL|"SQLSERVER"->SQLSERVER|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 EngineFamily"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EngineFamily"j)letto_json=simple_to_jsonto_valueendmoduleDBProxyEndpointQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB proxy already has the maximum number of endpoints."]moduleDBParameterGroupAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A DB parameter group with the same name exists."]moduleDBParameterGroupQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request would result in the user exceeding the allowed number of DB parameter groups."]moduleDBSubnetGroupNotAllowedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DBSubnetGroup shouldn't be specified while creating read replicas that lie in the same region as the source instance."]moduleInvalidDBSubnetGroupFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DBSubnetGroup doesn't belong to the same VPC as that of an existing cross-region read replica of the same source instance."]moduleBucketName=structtypenonrect=stringletcontext_="BucketName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:63)>>=(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:"BucketName"jletto_json=simple_to_jsonto_valueendmoduleKmsKeyIdOrArn=structtypenonrect=stringletcontext_="KmsKeyIdOrArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9_:\\-\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KmsKeyIdOrArn"jletto_json=simple_to_jsonto_valueendmoduleString255=structtypenonrect=stringletcontext_="String255"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(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:"String255"jletto_json=simple_to_jsonto_valueendmoduleBlueGreenDeploymentAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A blue/green deployment with the specified name already exists."]moduleSourceClusterNotSupportedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The source DB cluster isn't supported for a blue/green deployment."]moduleSourceDatabaseNotSupportedFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The source DB instance isn't supported for a blue/green deployment."]moduleTargetDBClusterParameterGroupName=structtypenonrect=stringletcontext_="TargetDBClusterParameterGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[A-Za-z](?!.*--)[0-9A-Za-z-]*[^-]|^default(?!.*--)(?!.*\\.\\.)[0-9A-Za-z-.]*[^-]")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TargetDBClusterParameterGroupName"jletto_json=simple_to_jsonto_valueendmoduleTargetDBInstanceClass=structtypenonrect=stringletcontext_="TargetDBInstanceClass"letmakei=letopenResultinok_or_failwith((check_string_mini~min:5)>>=(fun()->(check_string_maxi~max:20)>>=(fun()->check_patterni~pattern:"db\\.[0-9a-z]{2,6}\\.[0-9a-z]{4,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:"TargetDBInstanceClass"jletto_json=simple_to_jsonto_valueendmoduleTargetDBParameterGroupName=structtypenonrect=stringletcontext_="TargetDBParameterGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[A-Za-z](?!.*--)[0-9A-Za-z-]*[^-]|^default(?!.*--)(?!.*\\.\\.)[0-9A-Za-z-.]*[^-]")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TargetDBParameterGroupName"jletto_json=simple_to_jsonto_valueendmoduleTargetEngineVersion=structtypenonrect=stringletcontext_="TargetEngineVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"[0-9A-Za-z-_.]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TargetEngineVersion"jletto_json=simple_to_jsonto_valueendmoduleTargetStorageType=structtypenonrect=stringletcontext_="TargetStorageType"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:"TargetStorageType"jletto_json=simple_to_jsonto_valueendmoduleCustomAvailabilityZoneNotFoundFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"CustomAvailabilityZoneId doesn't refer to an existing custom Availability Zone identifier."]moduleCertificateList=structtypenonrect=Certificate.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Certificate.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:Certificate.of_xml)letof_jsonj=list_of_json~kind:"CertificateList"~of_json:Certificate.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAuthorizationAlreadyExistsFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified CIDR IP range or Amazon EC2 security group is already authorized for the specified DB security group."]moduleAuthorizationQuotaExceededFault=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The DB security group authorization quota has been reached."]moduleAccountQuotaList=structtypenonrect=AccountQuota.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccountQuota.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:AccountQuota.of_xml)letof_jsonj=list_of_json~kind:"AccountQuotaList"~of_json:AccountQuota.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTenantDatabasesMessage=structtypedescribeTenantDatabasesResult={marker:String_.toption[@ocaml.doc"An optional pagination token provided by a previous DescribeTenantDatabases request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."];tenantDatabases:TenantDatabasesList.toption[@ocaml.doc"An array of the tenant databases requested by the DescribeTenantDatabases operation."]}andresponseMetaData=unitandt={describeTenantDatabasesResult:describeTenantDatabasesResult;responseMetaData:responseMetaData}typeerror=[`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="TenantDatabasesMessage"letmake?marker=fun?tenantDatabases->fun()->{describeTenantDatabasesResult={marker;tenantDatabases};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeTenantDatabasesResultinstructure_to_wrapped_value[("Marker",(Option.mapx.marker~f:String_.to_value));("TenantDatabases",(Option.mapx.tenantDatabases~f:TenantDatabasesList.to_value))]~wrapper:"DescribeTenantDatabasesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeTenantDatabasesResult"inlettenantDatabases=(Option.map~f:TenantDatabasesList.of_xml)(Xml.childxml_arg0"TenantDatabases")inletmarker=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Marker")inmake?tenantDatabases?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantDatabases=field_mapjson__"TenantDatabases"TenantDatabasesList.of_jsoninletmarker=field_mapjson__"Marker"String_.of_jsoninmake?tenantDatabases?marker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the tenant databases in a DB instance that uses the multi-tenant configuration. Only RDS for Oracle CDB instances are supported."]moduleTagListMessage=structtypelistTagsForResourceResult={tagList:TagList.toption[@ocaml.doc"List of tags returned by the ListTagsForResource operation."]}andresponseMetaData=unitandt={listTagsForResourceResult:listTagsForResourceResult;responseMetaData:responseMetaData}typeerror=[`BlueGreenDeploymentNotFoundFaultofBlueGreenDeploymentNotFoundFault.t|`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`DBProxyEndpointNotFoundFaultofDBProxyEndpointNotFoundFault.t|`DBProxyNotFoundFaultofDBProxyNotFoundFault.t|`DBProxyTargetGroupNotFoundFaultofDBProxyTargetGroupNotFoundFault.t|`DBShardGroupNotFoundFaultofDBShardGroupNotFoundFault.t|`DBSnapshotNotFoundFaultofDBSnapshotNotFoundFault.t|`DBSnapshotTenantDatabaseNotFoundFaultofDBSnapshotTenantDatabaseNotFoundFault.t|`IntegrationNotFoundFaultofIntegrationNotFoundFault.t|`TenantDatabaseNotFoundFaultofTenantDatabaseNotFoundFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="TagListMessage"letmake?tagList=fun()->{listTagsForResourceResult={tagList};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"BlueGreenDeploymentNotFoundFault"->`BlueGreenDeploymentNotFoundFault(BlueGreenDeploymentNotFoundFault.of_jsonjson)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"DBProxyEndpointNotFoundFault"->`DBProxyEndpointNotFoundFault(DBProxyEndpointNotFoundFault.of_jsonjson)|"DBProxyNotFoundFault"->`DBProxyNotFoundFault(DBProxyNotFoundFault.of_jsonjson)|"DBProxyTargetGroupNotFoundFault"->`DBProxyTargetGroupNotFoundFault(DBProxyTargetGroupNotFoundFault.of_jsonjson)|"DBShardGroupNotFoundFault"->`DBShardGroupNotFoundFault(DBShardGroupNotFoundFault.of_jsonjson)|"DBSnapshotNotFoundFault"->`DBSnapshotNotFoundFault(DBSnapshotNotFoundFault.of_jsonjson)|"DBSnapshotTenantDatabaseNotFoundFault"->`DBSnapshotTenantDatabaseNotFoundFault(DBSnapshotTenantDatabaseNotFoundFault.of_jsonjson)|"IntegrationNotFoundFault"->`IntegrationNotFoundFault(IntegrationNotFoundFault.of_jsonjson)|"TenantDatabaseNotFoundFault"->`TenantDatabaseNotFoundFault(TenantDatabaseNotFoundFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BlueGreenDeploymentNotFoundFault"->`BlueGreenDeploymentNotFoundFault(BlueGreenDeploymentNotFoundFault.of_xmlxml)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"DBProxyEndpointNotFoundFault"->`DBProxyEndpointNotFoundFault(DBProxyEndpointNotFoundFault.of_xmlxml)|"DBProxyNotFoundFault"->`DBProxyNotFoundFault(DBProxyNotFoundFault.of_xmlxml)|"DBProxyTargetGroupNotFoundFault"->`DBProxyTargetGroupNotFoundFault(DBProxyTargetGroupNotFoundFault.of_xmlxml)|"DBShardGroupNotFoundFault"->`DBShardGroupNotFoundFault(DBShardGroupNotFoundFault.of_xmlxml)|"DBSnapshotNotFoundFault"->`DBSnapshotNotFoundFault(DBSnapshotNotFoundFault.of_xmlxml)|"DBSnapshotTenantDatabaseNotFoundFault"->`DBSnapshotTenantDatabaseNotFoundFault(DBSnapshotTenantDatabaseNotFoundFault.of_xmlxml)|"IntegrationNotFoundFault"->`IntegrationNotFoundFault(IntegrationNotFoundFault.of_xmlxml)|"TenantDatabaseNotFoundFault"->`TenantDatabaseNotFoundFault(TenantDatabaseNotFoundFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BlueGreenDeploymentNotFoundFaulte->`Assoc[("error",(`String"BlueGreenDeploymentNotFoundFault"));("details",(BlueGreenDeploymentNotFoundFault.to_jsone))]|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`DBProxyEndpointNotFoundFaulte->`Assoc[("error",(`String"DBProxyEndpointNotFoundFault"));("details",(DBProxyEndpointNotFoundFault.to_jsone))]|`DBProxyNotFoundFaulte->`Assoc[("error",(`String"DBProxyNotFoundFault"));("details",(DBProxyNotFoundFault.to_jsone))]|`DBProxyTargetGroupNotFoundFaulte->`Assoc[("error",(`String"DBProxyTargetGroupNotFoundFault"));("details",(DBProxyTargetGroupNotFoundFault.to_jsone))]|`DBShardGroupNotFoundFaulte->`Assoc[("error",(`String"DBShardGroupNotFoundFault"));("details",(DBShardGroupNotFoundFault.to_jsone))]|`DBSnapshotNotFoundFaulte->`Assoc[("error",(`String"DBSnapshotNotFoundFault"));("details",(DBSnapshotNotFoundFault.to_jsone))]|`DBSnapshotTenantDatabaseNotFoundFaulte->`Assoc[("error",(`String"DBSnapshotTenantDatabaseNotFoundFault"));("details",(DBSnapshotTenantDatabaseNotFoundFault.to_jsone))]|`IntegrationNotFoundFaulte->`Assoc[("error",(`String"IntegrationNotFoundFault"));("details",(IntegrationNotFoundFault.to_jsone))]|`TenantDatabaseNotFoundFaulte->`Assoc[("error",(`String"TenantDatabaseNotFoundFault"));("details",(TenantDatabaseNotFoundFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listTagsForResourceResultinstructure_to_wrapped_value[("TagList",(Option.mapx.tagList~f:TagList.to_value))]~wrapper:"ListTagsForResourceResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListTagsForResourceResult"inlettagList=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"TagList")inmake?tagList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagList=field_mapjson__"TagList"TagList.of_jsoninmake?tagList()letto_jsonv=composed_to_jsonto_valuevendmoduleSwitchoverReadReplicaResult=structtypeswitchoverReadReplicaResult={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={switchoverReadReplicaResult:switchoverReadReplicaResult;responseMetaData:responseMetaData}typeerror=[`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="SwitchoverReadReplicaResult"letmake?dBInstance=fun()->{switchoverReadReplicaResult={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.switchoverReadReplicaResultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"SwitchoverReadReplicaResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"SwitchoverReadReplicaResult"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the Region that hosts the current standby database."]moduleSwitchoverReadReplicaMessage=structtypenonrect={dBInstanceIdentifier:String_.t[@ocaml.doc"The DB instance identifier of the current standby database. This value is stored as a lowercase string. Constraints: Must match the identi\239\172\129er of an existing Oracle read replica DB instance."]}letcontext_="SwitchoverReadReplicaMessage"letmake~dBInstanceIdentifier=fun()->{dBInstanceIdentifier}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Some(String_.to_valuex.dBInstanceIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceIdentifier")inmake~dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstanceIdentifier=field_map_exnjson__"DBInstanceIdentifier"String_.of_jsoninmake~dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the Region that hosts the current standby database."]moduleSwitchoverGlobalClusterResult=structtypeswitchoverGlobalClusterResult={globalCluster:GlobalCluster.toption}andresponseMetaData=unitandt={switchoverGlobalClusterResult:switchoverGlobalClusterResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`GlobalClusterNotFoundFaultofGlobalClusterNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidGlobalClusterStateFaultofInvalidGlobalClusterStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="SwitchoverGlobalClusterResult"letmake?globalCluster=fun()->{switchoverGlobalClusterResult={globalCluster};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"GlobalClusterNotFoundFault"->`GlobalClusterNotFoundFault(GlobalClusterNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidGlobalClusterStateFault"->`InvalidGlobalClusterStateFault(InvalidGlobalClusterStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"GlobalClusterNotFoundFault"->`GlobalClusterNotFoundFault(GlobalClusterNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidGlobalClusterStateFault"->`InvalidGlobalClusterStateFault(InvalidGlobalClusterStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`GlobalClusterNotFoundFaulte->`Assoc[("error",(`String"GlobalClusterNotFoundFault"));("details",(GlobalClusterNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidGlobalClusterStateFaulte->`Assoc[("error",(`String"InvalidGlobalClusterStateFault"));("details",(InvalidGlobalClusterStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.switchoverGlobalClusterResultinstructure_to_wrapped_value[("GlobalCluster",(Option.mapx.globalCluster~f:GlobalCluster.to_value))]~wrapper:"SwitchoverGlobalClusterResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"SwitchoverGlobalClusterResult"inletglobalCluster=(Option.map~f:GlobalCluster.of_xml)(Xml.childxml_arg0"GlobalCluster")inmake?globalCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letglobalCluster=field_mapjson__"GlobalCluster"GlobalCluster.of_jsoninmake?globalCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over the specified secondary DB cluster to be the new primary DB cluster in the global database cluster. Switchover operations were previously called \"managed planned failovers.\" Aurora promotes the specified secondary cluster to assume full read/write capabilities and demotes the current primary cluster to a secondary (read-only) cluster, maintaining the orginal replication topology. All secondary clusters are synchronized with the primary at the beginning of the process so the new primary continues operations for the Aurora global database without losing any data. Your database is unavailable for a short time while the primary and selected secondary clusters are assuming their new roles. For more information about switching over an Aurora global database, see Performing switchovers for Amazon Aurora global databases in the Amazon Aurora User Guide. This operation is intended for controlled environments, for operations such as \"regional rotation\" or to fall back to the original primary after a global database failover."]moduleSwitchoverGlobalClusterMessage=structtypenonrect={globalClusterIdentifier:GlobalClusterIdentifier.t[@ocaml.doc"The identifier of the global database cluster to switch over. This parameter isn't case-sensitive. Constraints: Must match the identifier of an existing global database cluster (Aurora global database)."];targetDbClusterIdentifier:DBClusterIdentifier.t[@ocaml.doc"The identifier of the secondary Aurora DB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region."]}letcontext_="SwitchoverGlobalClusterMessage"letmake~globalClusterIdentifier=fun~targetDbClusterIdentifier->fun()->{globalClusterIdentifier;targetDbClusterIdentifier}letto_valuex=structure_to_value[("GlobalClusterIdentifier",(Some(GlobalClusterIdentifier.to_valuex.globalClusterIdentifier)));("TargetDbClusterIdentifier",(Some(DBClusterIdentifier.to_valuex.targetDbClusterIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDbClusterIdentifier=DBClusterIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"TargetDbClusterIdentifier")inletglobalClusterIdentifier=GlobalClusterIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"GlobalClusterIdentifier")inmake~targetDbClusterIdentifier~globalClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDbClusterIdentifier=field_map_exnjson__"TargetDbClusterIdentifier"DBClusterIdentifier.of_jsoninletglobalClusterIdentifier=field_map_exnjson__"GlobalClusterIdentifier"GlobalClusterIdentifier.of_jsoninmake~targetDbClusterIdentifier~globalClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over the specified secondary DB cluster to be the new primary DB cluster in the global database cluster. Switchover operations were previously called \"managed planned failovers.\" Aurora promotes the specified secondary cluster to assume full read/write capabilities and demotes the current primary cluster to a secondary (read-only) cluster, maintaining the orginal replication topology. All secondary clusters are synchronized with the primary at the beginning of the process so the new primary continues operations for the Aurora global database without losing any data. Your database is unavailable for a short time while the primary and selected secondary clusters are assuming their new roles. For more information about switching over an Aurora global database, see Performing switchovers for Amazon Aurora global databases in the Amazon Aurora User Guide. This operation is intended for controlled environments, for operations such as \"regional rotation\" or to fall back to the original primary after a global database failover."]moduleSwitchoverBlueGreenDeploymentResponse=structtypeswitchoverBlueGreenDeploymentResult={blueGreenDeployment:BlueGreenDeployment.toption}andresponseMetaData=unitandt={switchoverBlueGreenDeploymentResult:switchoverBlueGreenDeploymentResult;responseMetaData:responseMetaData}typeerror=[`BlueGreenDeploymentNotFoundFaultofBlueGreenDeploymentNotFoundFault.t|`InvalidBlueGreenDeploymentStateFaultofInvalidBlueGreenDeploymentStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="SwitchoverBlueGreenDeploymentResponse"letmake?blueGreenDeployment=fun()->{switchoverBlueGreenDeploymentResult={blueGreenDeployment};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"BlueGreenDeploymentNotFoundFault"->`BlueGreenDeploymentNotFoundFault(BlueGreenDeploymentNotFoundFault.of_jsonjson)|"InvalidBlueGreenDeploymentStateFault"->`InvalidBlueGreenDeploymentStateFault(InvalidBlueGreenDeploymentStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BlueGreenDeploymentNotFoundFault"->`BlueGreenDeploymentNotFoundFault(BlueGreenDeploymentNotFoundFault.of_xmlxml)|"InvalidBlueGreenDeploymentStateFault"->`InvalidBlueGreenDeploymentStateFault(InvalidBlueGreenDeploymentStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BlueGreenDeploymentNotFoundFaulte->`Assoc[("error",(`String"BlueGreenDeploymentNotFoundFault"));("details",(BlueGreenDeploymentNotFoundFault.to_jsone))]|`InvalidBlueGreenDeploymentStateFaulte->`Assoc[("error",(`String"InvalidBlueGreenDeploymentStateFault"));("details",(InvalidBlueGreenDeploymentStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.switchoverBlueGreenDeploymentResultinstructure_to_wrapped_value[("BlueGreenDeployment",(Option.mapx.blueGreenDeployment~f:BlueGreenDeployment.to_value))]~wrapper:"SwitchoverBlueGreenDeploymentResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"SwitchoverBlueGreenDeploymentResult"inletblueGreenDeployment=(Option.map~f:BlueGreenDeployment.of_xml)(Xml.childxml_arg0"BlueGreenDeployment")inmake?blueGreenDeployment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblueGreenDeployment=field_mapjson__"BlueGreenDeployment"BlueGreenDeployment.of_jsoninmake?blueGreenDeployment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over a blue/green deployment. Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment. For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide."]moduleSwitchoverBlueGreenDeploymentRequest=structtypenonrect={blueGreenDeploymentIdentifier:BlueGreenDeploymentIdentifier.t[@ocaml.doc"The resource ID of the blue/green deployment. Constraints: Must match an existing blue/green deployment resource ID."];switchoverTimeout:SwitchoverTimeout.toption[@ocaml.doc"The amount of time, in seconds, for the switchover to complete. Default: 300 If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments."]}letcontext_="SwitchoverBlueGreenDeploymentRequest"letmake?switchoverTimeout=fun~blueGreenDeploymentIdentifier->fun()->{switchoverTimeout;blueGreenDeploymentIdentifier}letto_valuex=structure_to_value[("BlueGreenDeploymentIdentifier",(Some(BlueGreenDeploymentIdentifier.to_valuex.blueGreenDeploymentIdentifier)));("SwitchoverTimeout",(Option.mapx.switchoverTimeout~f:SwitchoverTimeout.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letswitchoverTimeout=(Option.map~f:SwitchoverTimeout.of_xml)(Xml.childxml_arg0"SwitchoverTimeout")inletblueGreenDeploymentIdentifier=BlueGreenDeploymentIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"BlueGreenDeploymentIdentifier")inmake?switchoverTimeout~blueGreenDeploymentIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letswitchoverTimeout=field_mapjson__"SwitchoverTimeout"SwitchoverTimeout.of_jsoninletblueGreenDeploymentIdentifier=field_map_exnjson__"BlueGreenDeploymentIdentifier"BlueGreenDeploymentIdentifier.of_jsoninmake?switchoverTimeout~blueGreenDeploymentIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Switches over a blue/green deployment. Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment. For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide."]moduleStopDBInstanceResult=structtypestopDBInstanceResult={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={stopDBInstanceResult:stopDBInstanceResult;responseMetaData:responseMetaData}typeerror=[`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`DBSnapshotAlreadyExistsFaultofDBSnapshotAlreadyExistsFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`SnapshotQuotaExceededFaultofSnapshotQuotaExceededFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StopDBInstanceResult"letmake?dBInstance=fun()->{stopDBInstanceResult={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"DBSnapshotAlreadyExistsFault"->`DBSnapshotAlreadyExistsFault(DBSnapshotAlreadyExistsFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"SnapshotQuotaExceededFault"->`SnapshotQuotaExceededFault(SnapshotQuotaExceededFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"DBSnapshotAlreadyExistsFault"->`DBSnapshotAlreadyExistsFault(DBSnapshotAlreadyExistsFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"SnapshotQuotaExceededFault"->`SnapshotQuotaExceededFault(SnapshotQuotaExceededFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`DBSnapshotAlreadyExistsFaulte->`Assoc[("error",(`String"DBSnapshotAlreadyExistsFault"));("details",(DBSnapshotAlreadyExistsFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`SnapshotQuotaExceededFaulte->`Assoc[("error",(`String"SnapshotQuotaExceededFault"));("details",(SnapshotQuotaExceededFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.stopDBInstanceResultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"StopDBInstanceResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StopDBInstanceResult"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops an Amazon RDS DB instance temporarily. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. The instance restarts automatically after 7 days. For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster instead."]moduleStopDBInstanceMessage=structtypenonrect={dBInstanceIdentifier:String_.t[@ocaml.doc"The user-supplied instance identifier."];dBSnapshotIdentifier:String_.toption[@ocaml.doc"The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped."]}letcontext_="StopDBInstanceMessage"letmake?dBSnapshotIdentifier=fun~dBInstanceIdentifier->fun()->{dBSnapshotIdentifier;dBInstanceIdentifier}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Some(String_.to_valuex.dBInstanceIdentifier)));("DBSnapshotIdentifier",(Option.mapx.dBSnapshotIdentifier~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotIdentifier")inletdBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceIdentifier")inmake?dBSnapshotIdentifier~dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBSnapshotIdentifier=field_mapjson__"DBSnapshotIdentifier"String_.of_jsoninletdBInstanceIdentifier=field_map_exnjson__"DBInstanceIdentifier"String_.of_jsoninmake?dBSnapshotIdentifier~dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops an Amazon RDS DB instance temporarily. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. The instance restarts automatically after 7 days. For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster instead."]moduleStopDBInstanceAutomatedBackupsReplicationResult=structtypestopDBInstanceAutomatedBackupsReplicationResult={dBInstanceAutomatedBackup:DBInstanceAutomatedBackup.toption}andresponseMetaData=unitandt={stopDBInstanceAutomatedBackupsReplicationResult:stopDBInstanceAutomatedBackupsReplicationResult;responseMetaData:responseMetaData}typeerror=[`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StopDBInstanceAutomatedBackupsReplicationResult"letmake?dBInstanceAutomatedBackup=fun()->{stopDBInstanceAutomatedBackupsReplicationResult={dBInstanceAutomatedBackup};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.stopDBInstanceAutomatedBackupsReplicationResultinstructure_to_wrapped_value[("DBInstanceAutomatedBackup",(Option.mapx.dBInstanceAutomatedBackup~f:DBInstanceAutomatedBackup.to_value))]~wrapper:"StopDBInstanceAutomatedBackupsReplicationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StopDBInstanceAutomatedBackupsReplicationResult"inletdBInstanceAutomatedBackup=(Option.map~f:DBInstanceAutomatedBackup.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackup")inmake?dBInstanceAutomatedBackup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstanceAutomatedBackup=field_mapjson__"DBInstanceAutomatedBackup"DBInstanceAutomatedBackup.of_jsoninmake?dBInstanceAutomatedBackup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops automated backup replication for a DB instance. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide."]moduleStopDBInstanceAutomatedBackupsReplicationMessage=structtypenonrect={sourceDBInstanceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating automate backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase."]}letcontext_="StopDBInstanceAutomatedBackupsReplicationMessage"letmake~sourceDBInstanceArn=fun()->{sourceDBInstanceArn}letto_valuex=structure_to_value[("SourceDBInstanceArn",(Some(String_.to_valuex.sourceDBInstanceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceDBInstanceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"SourceDBInstanceArn")inmake~sourceDBInstanceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceDBInstanceArn=field_map_exnjson__"SourceDBInstanceArn"String_.of_jsoninmake~sourceDBInstanceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops automated backup replication for a DB instance. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide."]moduleStopDBClusterResult=structtypestopDBClusterResult={dBCluster:DBCluster.toption}andresponseMetaData=unitandt={stopDBClusterResult:stopDBClusterResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`InvalidDBShardGroupStateFaultofInvalidDBShardGroupStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StopDBClusterResult"letmake?dBCluster=fun()->{stopDBClusterResult={dBCluster};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"InvalidDBShardGroupStateFault"->`InvalidDBShardGroupStateFault(InvalidDBShardGroupStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"InvalidDBShardGroupStateFault"->`InvalidDBShardGroupStateFault(InvalidDBShardGroupStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`InvalidDBShardGroupStateFaulte->`Assoc[("error",(`String"InvalidDBShardGroupStateFault"));("details",(InvalidDBShardGroupStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.stopDBClusterResultinstructure_to_wrapped_value[("DBCluster",(Option.mapx.dBCluster~f:DBCluster.to_value))]~wrapper:"StopDBClusterResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StopDBClusterResult"inletdBCluster=(Option.map~f:DBCluster.of_xml)(Xml.childxml_arg0"DBCluster")inmake?dBCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBCluster=field_mapjson__"DBCluster"DBCluster.of_jsoninmake?dBCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide. This operation only applies to Aurora DB clusters."]moduleStopDBClusterMessage=structtypenonrect={dBClusterIdentifier:String_.t[@ocaml.doc"The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string."]}letcontext_="StopDBClusterMessage"letmake~dBClusterIdentifier=fun()->{dBClusterIdentifier}letto_valuex=structure_to_value[("DBClusterIdentifier",(Some(String_.to_valuex.dBClusterIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBClusterIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBClusterIdentifier")inmake~dBClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBClusterIdentifier=field_map_exnjson__"DBClusterIdentifier"String_.of_jsoninmake~dBClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide. This operation only applies to Aurora DB clusters."]moduleStopActivityStreamResponse=structtypestopActivityStreamResult={kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];kinesisStreamName:String_.toption[@ocaml.doc"The name of the Amazon Kinesis data stream used for the database activity stream."];status:ActivityStreamStatus.toption[@ocaml.doc"The status of the database activity stream."]}andresponseMetaData=unitandt={stopActivityStreamResult:stopActivityStreamResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`ResourceNotFoundFaultofResourceNotFoundFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StopActivityStreamResponse"letmake?kmsKeyId=fun?kinesisStreamName->fun?status->fun()->{stopActivityStreamResult={kmsKeyId;kinesisStreamName;status};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"ResourceNotFoundFault"->`ResourceNotFoundFault(ResourceNotFoundFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"ResourceNotFoundFault"->`ResourceNotFoundFault(ResourceNotFoundFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`ResourceNotFoundFaulte->`Assoc[("error",(`String"ResourceNotFoundFault"));("details",(ResourceNotFoundFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.stopActivityStreamResultinstructure_to_wrapped_value[("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("KinesisStreamName",(Option.mapx.kinesisStreamName~f:String_.to_value));("Status",(Option.mapx.status~f:ActivityStreamStatus.to_value))]~wrapper:"StopActivityStreamResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StopActivityStreamResult"inletstatus=(Option.map~f:ActivityStreamStatus.of_xml)(Xml.childxml_arg0"Status")inletkinesisStreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KinesisStreamName")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inmake?status?kinesisStreamName?kmsKeyId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"ActivityStreamStatus.of_jsoninletkinesisStreamName=field_mapjson__"KinesisStreamName"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninmake?status?kinesisStreamName?kmsKeyId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a database activity stream that was started using the Amazon Web Services console, the start-activity-stream CLI command, or the StartActivityStream operation. For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide."]moduleStopActivityStreamRequest=structtypenonrect={resourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) of the DB cluster for the database activity stream. For example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster."];applyImmediately:BooleanOptional.toption[@ocaml.doc"Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database."]}letcontext_="StopActivityStreamRequest"letmake?applyImmediately=fun~resourceArn->fun()->{applyImmediately;resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(String_.to_valuex.resourceArn)));("ApplyImmediately",(Option.mapx.applyImmediately~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplyImmediately=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ApplyImmediately")inletresourceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake?applyImmediately~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplyImmediately=field_mapjson__"ApplyImmediately"BooleanOptional.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"String_.of_jsoninmake?applyImmediately~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a database activity stream that was started using the Amazon Web Services console, the start-activity-stream CLI command, or the StartActivityStream operation. For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide."]moduleStartExportTaskMessage=structtypenonrect={exportTaskIdentifier:String_.t[@ocaml.doc"A unique identifier for the export task. This ID isn't an identifier for the Amazon S3 bucket where the data is to be exported."];sourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) of the snapshot or cluster to export to Amazon S3."];s3BucketName:String_.t[@ocaml.doc"The name of the Amazon S3 bucket to export the snapshot or cluster data to."];iamRoleArn:String_.t[@ocaml.doc"The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot or cluster. In the IAM policy attached to your IAM role, include the following required actions to allow the transfer of files from Amazon RDS or Amazon Aurora to an S3 bucket: s3:PutObject* s3:GetObject* s3:ListBucket s3:DeleteObject* s3:GetBucketLocation In the policy, include the resources to identify the S3 bucket and objects in the bucket. The following list of resources shows the Amazon Resource Name (ARN) format for accessing S3: arn:aws:s3:::your-s3-bucket arn:aws:s3:::your-s3-bucket/*"];kmsKeyId:String_.t[@ocaml.doc"The ID of the Amazon Web Services KMS key to use to encrypt the data exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to run the following operations. These can be set in the Amazon Web Services KMS key policy: kms:CreateGrant kms:DescribeKey"];s3Prefix:String_.toption[@ocaml.doc"The Amazon S3 bucket prefix to use as the file name and path of the exported data."];exportOnly:StringList.toption[@ocaml.doc"The data to be exported from the snapshot or cluster. If this parameter isn't provided, all of the data is exported. Valid Values: database - Export all the data from a specified database. database.table table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. database.schema schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. database.schema.table table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL."]}letcontext_="StartExportTaskMessage"letmake?s3Prefix=fun?exportOnly->fun~exportTaskIdentifier->fun~sourceArn->fun~s3BucketName->fun~iamRoleArn->fun~kmsKeyId->fun()->{s3Prefix;exportOnly;exportTaskIdentifier;sourceArn;s3BucketName;iamRoleArn;kmsKeyId}letto_valuex=structure_to_value[("ExportTaskIdentifier",(Some(String_.to_valuex.exportTaskIdentifier)));("SourceArn",(Some(String_.to_valuex.sourceArn)));("S3BucketName",(Some(String_.to_valuex.s3BucketName)));("IamRoleArn",(Some(String_.to_valuex.iamRoleArn)));("KmsKeyId",(Some(String_.to_valuex.kmsKeyId)));("S3Prefix",(Option.mapx.s3Prefix~f:String_.to_value));("ExportOnly",(Option.mapx.exportOnly~f:StringList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexportOnly=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"ExportOnly")inlets3Prefix=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"S3Prefix")inletkmsKeyId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"KmsKeyId")inletiamRoleArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"IamRoleArn")inlets3BucketName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"S3BucketName")inletsourceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"SourceArn")inletexportTaskIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"ExportTaskIdentifier")inmake?exportOnly?s3Prefix~kmsKeyId~iamRoleArn~s3BucketName~sourceArn~exportTaskIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexportOnly=field_mapjson__"ExportOnly"StringList.of_jsoninlets3Prefix=field_mapjson__"S3Prefix"String_.of_jsoninletkmsKeyId=field_map_exnjson__"KmsKeyId"String_.of_jsoninletiamRoleArn=field_map_exnjson__"IamRoleArn"String_.of_jsoninlets3BucketName=field_map_exnjson__"S3BucketName"String_.of_jsoninletsourceArn=field_map_exnjson__"SourceArn"String_.of_jsoninletexportTaskIdentifier=field_map_exnjson__"ExportTaskIdentifier"String_.of_jsoninmake?exportOnly?s3Prefix~kmsKeyId~iamRoleArn~s3BucketName~sourceArn~exportTaskIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket. You can't export snapshot data from RDS Custom DB instances. For more information, see Supported Regions and DB engines for exporting snapshots to S3 in Amazon RDS. For more information on exporting DB snapshot data, see Exporting DB snapshot data to Amazon S3 in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon S3 in the Amazon Aurora User Guide. For more information on exporting DB cluster data, see Exporting DB cluster data to Amazon S3 in the Amazon Aurora User Guide."]moduleStartDBInstanceResult=structtypestartDBInstanceResult={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={startDBInstanceResult:startDBInstanceResult;responseMetaData:responseMetaData}typeerror=[`AuthorizationNotFoundFaultofAuthorizationNotFoundFault.t|`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`DBSubnetGroupDoesNotCoverEnoughAZsofDBSubnetGroupDoesNotCoverEnoughAZs.t|`DBSubnetGroupNotFoundFaultofDBSubnetGroupNotFoundFault.t|`InsufficientDBInstanceCapacityFaultofInsufficientDBInstanceCapacityFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`InvalidSubnetofInvalidSubnet.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StartDBInstanceResult"letmake?dBInstance=fun()->{startDBInstanceResult={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_jsonjson)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_jsonjson)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_jsonjson)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_xmlxml)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_xmlxml)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_xmlxml)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorizationNotFoundFaulte->`Assoc[("error",(`String"AuthorizationNotFoundFault"));("details",(AuthorizationNotFoundFault.to_jsone))]|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`DBSubnetGroupDoesNotCoverEnoughAZse->`Assoc[("error",(`String"DBSubnetGroupDoesNotCoverEnoughAZs"));("details",(DBSubnetGroupDoesNotCoverEnoughAZs.to_jsone))]|`DBSubnetGroupNotFoundFaulte->`Assoc[("error",(`String"DBSubnetGroupNotFoundFault"));("details",(DBSubnetGroupNotFoundFault.to_jsone))]|`InsufficientDBInstanceCapacityFaulte->`Assoc[("error",(`String"InsufficientDBInstanceCapacityFault"));("details",(InsufficientDBInstanceCapacityFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`InvalidSubnete->`Assoc[("error",(`String"InvalidSubnet"));("details",(InvalidSubnet.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.startDBInstanceResultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"StartDBInstanceResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StartDBInstanceResult"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts an Amazon RDS DB instance that was stopped using the Amazon Web Services console, the stop-db-instance CLI command, or the StopDBInstance operation. For more information, see Starting an Amazon RDS DB instance That Was Previously Stopped in the Amazon RDS User Guide. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora DB clusters, use StartDBCluster instead."]moduleStartDBInstanceMessage=structtypenonrect={dBInstanceIdentifier:String_.t[@ocaml.doc"The user-supplied instance identifier."]}letcontext_="StartDBInstanceMessage"letmake~dBInstanceIdentifier=fun()->{dBInstanceIdentifier}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Some(String_.to_valuex.dBInstanceIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceIdentifier")inmake~dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstanceIdentifier=field_map_exnjson__"DBInstanceIdentifier"String_.of_jsoninmake~dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts an Amazon RDS DB instance that was stopped using the Amazon Web Services console, the stop-db-instance CLI command, or the StopDBInstance operation. For more information, see Starting an Amazon RDS DB instance That Was Previously Stopped in the Amazon RDS User Guide. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora DB clusters, use StartDBCluster instead."]moduleStartDBInstanceAutomatedBackupsReplicationResult=structtypestartDBInstanceAutomatedBackupsReplicationResult={dBInstanceAutomatedBackup:DBInstanceAutomatedBackup.toption}andresponseMetaData=unitandt={startDBInstanceAutomatedBackupsReplicationResult:startDBInstanceAutomatedBackupsReplicationResult;responseMetaData:responseMetaData}typeerror=[`DBInstanceAutomatedBackupQuotaExceededFaultofDBInstanceAutomatedBackupQuotaExceededFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBInstanceAutomatedBackupStateFaultofInvalidDBInstanceAutomatedBackupStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`StorageTypeNotSupportedFaultofStorageTypeNotSupportedFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StartDBInstanceAutomatedBackupsReplicationResult"letmake?dBInstanceAutomatedBackup=fun()->{startDBInstanceAutomatedBackupsReplicationResult={dBInstanceAutomatedBackup};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBInstanceAutomatedBackupQuotaExceededFault"->`DBInstanceAutomatedBackupQuotaExceededFault(DBInstanceAutomatedBackupQuotaExceededFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBInstanceAutomatedBackupStateFault"->`InvalidDBInstanceAutomatedBackupStateFault(InvalidDBInstanceAutomatedBackupStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBInstanceAutomatedBackupQuotaExceededFault"->`DBInstanceAutomatedBackupQuotaExceededFault(DBInstanceAutomatedBackupQuotaExceededFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBInstanceAutomatedBackupStateFault"->`InvalidDBInstanceAutomatedBackupStateFault(InvalidDBInstanceAutomatedBackupStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBInstanceAutomatedBackupQuotaExceededFaulte->`Assoc[("error",(`String"DBInstanceAutomatedBackupQuotaExceededFault"));("details",(DBInstanceAutomatedBackupQuotaExceededFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBInstanceAutomatedBackupStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceAutomatedBackupStateFault"));("details",(InvalidDBInstanceAutomatedBackupStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`StorageTypeNotSupportedFaulte->`Assoc[("error",(`String"StorageTypeNotSupportedFault"));("details",(StorageTypeNotSupportedFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.startDBInstanceAutomatedBackupsReplicationResultinstructure_to_wrapped_value[("DBInstanceAutomatedBackup",(Option.mapx.dBInstanceAutomatedBackup~f:DBInstanceAutomatedBackup.to_value))]~wrapper:"StartDBInstanceAutomatedBackupsReplicationResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StartDBInstanceAutomatedBackupsReplicationResult"inletdBInstanceAutomatedBackup=(Option.map~f:DBInstanceAutomatedBackup.of_xml)(Xml.childxml_arg0"DBInstanceAutomatedBackup")inmake?dBInstanceAutomatedBackup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstanceAutomatedBackup=field_mapjson__"DBInstanceAutomatedBackup"DBInstanceAutomatedBackup.of_jsoninmake?dBInstanceAutomatedBackup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enables replication of automated backups to a different Amazon Web Services Region. This command doesn't apply to RDS Custom. For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide."]moduleStartDBInstanceAutomatedBackupsReplicationMessage=structtypenonrect={sourceDBInstanceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The retention period for the replicated automated backups."];kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE."];preSignedUrl:SensitiveString.toption[@ocaml.doc"In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance. This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process. If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region."];tags:TagList.toption[@ocaml.doc"A list of tags to associate with the replicated automated backups."]}letcontext_="StartDBInstanceAutomatedBackupsReplicationMessage"letmake?backupRetentionPeriod=fun?kmsKeyId->fun?preSignedUrl->fun?tags->fun~sourceDBInstanceArn->fun()->{backupRetentionPeriod;kmsKeyId;preSignedUrl;tags;sourceDBInstanceArn}letto_valuex=structure_to_value[("SourceDBInstanceArn",(Some(String_.to_valuex.sourceDBInstanceArn)));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("PreSignedUrl",(Option.mapx.preSignedUrl~f:SensitiveString.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletpreSignedUrl=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"PreSignedUrl")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletsourceDBInstanceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"SourceDBInstanceArn")inmake?tags?preSignedUrl?kmsKeyId?backupRetentionPeriod~sourceDBInstanceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletpreSignedUrl=field_mapjson__"PreSignedUrl"SensitiveString.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletsourceDBInstanceArn=field_map_exnjson__"SourceDBInstanceArn"String_.of_jsoninmake?tags?preSignedUrl?kmsKeyId?backupRetentionPeriod~sourceDBInstanceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enables replication of automated backups to a different Amazon Web Services Region. This command doesn't apply to RDS Custom. For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide."]moduleStartDBClusterResult=structtypestartDBClusterResult={dBCluster:DBCluster.toption}andresponseMetaData=unitandt={startDBClusterResult:startDBClusterResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`InvalidDBShardGroupStateFaultofInvalidDBShardGroupStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StartDBClusterResult"letmake?dBCluster=fun()->{startDBClusterResult={dBCluster};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"InvalidDBShardGroupStateFault"->`InvalidDBShardGroupStateFault(InvalidDBShardGroupStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"InvalidDBShardGroupStateFault"->`InvalidDBShardGroupStateFault(InvalidDBShardGroupStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`InvalidDBShardGroupStateFaulte->`Assoc[("error",(`String"InvalidDBShardGroupStateFault"));("details",(InvalidDBShardGroupStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.startDBClusterResultinstructure_to_wrapped_value[("DBCluster",(Option.mapx.dBCluster~f:DBCluster.to_value))]~wrapper:"StartDBClusterResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StartDBClusterResult"inletdBCluster=(Option.map~f:DBCluster.of_xml)(Xml.childxml_arg0"DBCluster")inmake?dBCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBCluster=field_mapjson__"DBCluster"DBCluster.of_jsoninmake?dBCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts an Amazon Aurora DB cluster that was stopped using the Amazon Web Services console, the stop-db-cluster CLI command, or the StopDBCluster operation. For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide. This operation only applies to Aurora DB clusters."]moduleStartDBClusterMessage=structtypenonrect={dBClusterIdentifier:String_.t[@ocaml.doc"The DB cluster identifier of the Amazon Aurora DB cluster to be started. This parameter is stored as a lowercase string."]}letcontext_="StartDBClusterMessage"letmake~dBClusterIdentifier=fun()->{dBClusterIdentifier}letto_valuex=structure_to_value[("DBClusterIdentifier",(Some(String_.to_valuex.dBClusterIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdBClusterIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBClusterIdentifier")inmake~dBClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBClusterIdentifier=field_map_exnjson__"DBClusterIdentifier"String_.of_jsoninmake~dBClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts an Amazon Aurora DB cluster that was stopped using the Amazon Web Services console, the stop-db-cluster CLI command, or the StopDBCluster operation. For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide. This operation only applies to Aurora DB clusters."]moduleStartActivityStreamResponse=structtypestartActivityStreamResult={kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of messages in the database activity stream."];kinesisStreamName:String_.toption[@ocaml.doc"The name of the Amazon Kinesis data stream to be used for the database activity stream."];status:ActivityStreamStatus.toption[@ocaml.doc"The status of the database activity stream."];mode:ActivityStreamMode.toption[@ocaml.doc"The mode of the database activity stream."];engineNativeAuditFieldsIncluded:BooleanOptional.toption[@ocaml.doc"Indicates whether engine-native audit fields are included in the database activity stream."];applyImmediately:Boolean.toption[@ocaml.doc"Indicates whether or not the database activity stream will start as soon as possible, regardless of the maintenance window for the database."]}andresponseMetaData=unitandt={startActivityStreamResult:startActivityStreamResult;responseMetaData:responseMetaData}typeerror=[`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`ResourceNotFoundFaultofResourceNotFoundFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="StartActivityStreamResponse"letmake?kmsKeyId=fun?kinesisStreamName->fun?status->fun?mode->fun?engineNativeAuditFieldsIncluded->fun?applyImmediately->fun()->{startActivityStreamResult={kmsKeyId;kinesisStreamName;status;mode;engineNativeAuditFieldsIncluded;applyImmediately};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"ResourceNotFoundFault"->`ResourceNotFoundFault(ResourceNotFoundFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"ResourceNotFoundFault"->`ResourceNotFoundFault(ResourceNotFoundFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`ResourceNotFoundFaulte->`Assoc[("error",(`String"ResourceNotFoundFault"));("details",(ResourceNotFoundFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.startActivityStreamResultinstructure_to_wrapped_value[("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("KinesisStreamName",(Option.mapx.kinesisStreamName~f:String_.to_value));("Status",(Option.mapx.status~f:ActivityStreamStatus.to_value));("Mode",(Option.mapx.mode~f:ActivityStreamMode.to_value));("EngineNativeAuditFieldsIncluded",(Option.mapx.engineNativeAuditFieldsIncluded~f:BooleanOptional.to_value));("ApplyImmediately",(Option.mapx.applyImmediately~f:Boolean.to_value))]~wrapper:"StartActivityStreamResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"StartActivityStreamResult"inletapplyImmediately=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ApplyImmediately")inletengineNativeAuditFieldsIncluded=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EngineNativeAuditFieldsIncluded")inletmode=(Option.map~f:ActivityStreamMode.of_xml)(Xml.childxml_arg0"Mode")inletstatus=(Option.map~f:ActivityStreamStatus.of_xml)(Xml.childxml_arg0"Status")inletkinesisStreamName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KinesisStreamName")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inmake?applyImmediately?engineNativeAuditFieldsIncluded?mode?status?kinesisStreamName?kmsKeyId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplyImmediately=field_mapjson__"ApplyImmediately"Boolean.of_jsoninletengineNativeAuditFieldsIncluded=field_mapjson__"EngineNativeAuditFieldsIncluded"BooleanOptional.of_jsoninletmode=field_mapjson__"Mode"ActivityStreamMode.of_jsoninletstatus=field_mapjson__"Status"ActivityStreamStatus.of_jsoninletkinesisStreamName=field_mapjson__"KinesisStreamName"String_.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninmake?applyImmediately?engineNativeAuditFieldsIncluded?mode?status?kinesisStreamName?kmsKeyId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a database activity stream to monitor activity on the database. For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide."]moduleStartActivityStreamRequest=structtypenonrect={resourceArn:String_.t[@ocaml.doc"The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster."];mode:ActivityStreamMode.t[@ocaml.doc"Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously."];kmsKeyId:String_.t[@ocaml.doc"The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key."];applyImmediately:BooleanOptional.toption[@ocaml.doc"Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database."];engineNativeAuditFieldsIncluded:BooleanOptional.toption[@ocaml.doc"Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included."]}letcontext_="StartActivityStreamRequest"letmake?applyImmediately=fun?engineNativeAuditFieldsIncluded->fun~resourceArn->fun~mode->fun~kmsKeyId->fun()->{applyImmediately;engineNativeAuditFieldsIncluded;resourceArn;mode;kmsKeyId}letto_valuex=structure_to_value[("ResourceArn",(Some(String_.to_valuex.resourceArn)));("Mode",(Some(ActivityStreamMode.to_valuex.mode)));("KmsKeyId",(Some(String_.to_valuex.kmsKeyId)));("ApplyImmediately",(Option.mapx.applyImmediately~f:BooleanOptional.to_value));("EngineNativeAuditFieldsIncluded",(Option.mapx.engineNativeAuditFieldsIncluded~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letengineNativeAuditFieldsIncluded=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EngineNativeAuditFieldsIncluded")inletapplyImmediately=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ApplyImmediately")inletkmsKeyId=String_.of_xml(Xml.child_exn~context:context_xml_arg0"KmsKeyId")inletmode=ActivityStreamMode.of_xml(Xml.child_exn~context:context_xml_arg0"Mode")inletresourceArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake?engineNativeAuditFieldsIncluded?applyImmediately~kmsKeyId~mode~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letengineNativeAuditFieldsIncluded=field_mapjson__"EngineNativeAuditFieldsIncluded"BooleanOptional.of_jsoninletapplyImmediately=field_mapjson__"ApplyImmediately"BooleanOptional.of_jsoninletkmsKeyId=field_map_exnjson__"KmsKeyId"String_.of_jsoninletmode=field_map_exnjson__"Mode"ActivityStreamMode.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"String_.of_jsoninmake?engineNativeAuditFieldsIncluded?applyImmediately~kmsKeyId~mode~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a database activity stream to monitor activity on the database. For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide."]moduleSourceRegionMessage=structtypedescribeSourceRegionsResult={marker:String_.toption[@ocaml.doc"An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."];sourceRegions:SourceRegionList.toption[@ocaml.doc"A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from."]}andresponseMetaData=unitandt={describeSourceRegionsResult:describeSourceRegionsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="SourceRegionMessage"letmake?marker=fun?sourceRegions->fun()->{describeSourceRegionsResult={marker;sourceRegions};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeSourceRegionsResultinstructure_to_wrapped_value[("Marker",(Option.mapx.marker~f:String_.to_value));("SourceRegions",(Option.mapx.sourceRegions~f:SourceRegionList.to_value))]~wrapper:"DescribeSourceRegionsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeSourceRegionsResult"inletsourceRegions=(Option.map~f:SourceRegionList.of_xml)(Xml.childxml_arg0"SourceRegions")inletmarker=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Marker")inmake?sourceRegions?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceRegions=field_mapjson__"SourceRegions"SourceRegionList.of_jsoninletmarker=field_mapjson__"Marker"String_.of_jsoninmake?sourceRegions?marker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the result of a successful invocation of the DescribeSourceRegions action."]moduleServerlessV2PlatformVersionsMessage=structtypedescribeServerlessV2PlatformVersionsResult={marker:String_.toption[@ocaml.doc"An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."];serverlessV2PlatformVersions:ServerlessV2PlatformVersionList.toption[@ocaml.doc"A list of ServerlessV2PlatformVersionInfo elements."]}andresponseMetaData=unitandt={describeServerlessV2PlatformVersionsResult:describeServerlessV2PlatformVersionsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="ServerlessV2PlatformVersionsMessage"letmake?marker=fun?serverlessV2PlatformVersions->fun()->{describeServerlessV2PlatformVersionsResult={marker;serverlessV2PlatformVersions};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeServerlessV2PlatformVersionsResultinstructure_to_wrapped_value[("Marker",(Option.mapx.marker~f:String_.to_value));("ServerlessV2PlatformVersions",(Option.mapx.serverlessV2PlatformVersions~f:ServerlessV2PlatformVersionList.to_value))]~wrapper:"DescribeServerlessV2PlatformVersionsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeServerlessV2PlatformVersionsResult"inletserverlessV2PlatformVersions=(Option.map~f:ServerlessV2PlatformVersionList.of_xml)(Xml.childxml_arg0"ServerlessV2PlatformVersions")inletmarker=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Marker")inmake?serverlessV2PlatformVersions?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverlessV2PlatformVersions=field_mapjson__"ServerlessV2PlatformVersions"ServerlessV2PlatformVersionList.of_jsoninletmarker=field_mapjson__"Marker"String_.of_jsoninmake?serverlessV2PlatformVersions?marker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the result of a successful invocation of the DescribeServerlessV2PlatformVersions action."]moduleRevokeDBSecurityGroupIngressResult=structtyperevokeDBSecurityGroupIngressResult={dBSecurityGroup:DBSecurityGroup.toption}andresponseMetaData=unitandt={revokeDBSecurityGroupIngressResult:revokeDBSecurityGroupIngressResult;responseMetaData:responseMetaData}typeerror=[`AuthorizationNotFoundFaultofAuthorizationNotFoundFault.t|`DBSecurityGroupNotFoundFaultofDBSecurityGroupNotFoundFault.t|`InvalidDBSecurityGroupStateFaultofInvalidDBSecurityGroupStateFault.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RevokeDBSecurityGroupIngressResult"letmake?dBSecurityGroup=fun()->{revokeDBSecurityGroupIngressResult={dBSecurityGroup};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_jsonjson)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_jsonjson)|"InvalidDBSecurityGroupStateFault"->`InvalidDBSecurityGroupStateFault(InvalidDBSecurityGroupStateFault.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_xmlxml)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_xmlxml)|"InvalidDBSecurityGroupStateFault"->`InvalidDBSecurityGroupStateFault(InvalidDBSecurityGroupStateFault.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorizationNotFoundFaulte->`Assoc[("error",(`String"AuthorizationNotFoundFault"));("details",(AuthorizationNotFoundFault.to_jsone))]|`DBSecurityGroupNotFoundFaulte->`Assoc[("error",(`String"DBSecurityGroupNotFoundFault"));("details",(DBSecurityGroupNotFoundFault.to_jsone))]|`InvalidDBSecurityGroupStateFaulte->`Assoc[("error",(`String"InvalidDBSecurityGroupStateFault"));("details",(InvalidDBSecurityGroupStateFault.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.revokeDBSecurityGroupIngressResultinstructure_to_wrapped_value[("DBSecurityGroup",(Option.mapx.dBSecurityGroup~f:DBSecurityGroup.to_value))]~wrapper:"RevokeDBSecurityGroupIngressResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RevokeDBSecurityGroupIngressResult"inletdBSecurityGroup=(Option.map~f:DBSecurityGroup.of_xml)(Xml.childxml_arg0"DBSecurityGroup")inmake?dBSecurityGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBSecurityGroup=field_mapjson__"DBSecurityGroup"DBSecurityGroup.of_jsoninmake?dBSecurityGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId). EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring \226\128\147 Here\226\128\153s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide."]moduleRevokeDBSecurityGroupIngressMessage=structtypenonrect={dBSecurityGroupName:String_.t[@ocaml.doc"The name of the DB security group to revoke ingress from."];cIDRIP:String_.toption[@ocaml.doc"The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId can't be provided."];eC2SecurityGroupName:String_.toption[@ocaml.doc"The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided."];eC2SecurityGroupId:String_.toption[@ocaml.doc"The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided."];eC2SecurityGroupOwnerId:String_.toption[@ocaml.doc"The Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided."]}letcontext_="RevokeDBSecurityGroupIngressMessage"letmake?cIDRIP=fun?eC2SecurityGroupName->fun?eC2SecurityGroupId->fun?eC2SecurityGroupOwnerId->fun~dBSecurityGroupName->fun()->{cIDRIP;eC2SecurityGroupName;eC2SecurityGroupId;eC2SecurityGroupOwnerId;dBSecurityGroupName}letto_valuex=structure_to_value[("DBSecurityGroupName",(Some(String_.to_valuex.dBSecurityGroupName)));("CIDRIP",(Option.mapx.cIDRIP~f:String_.to_value));("EC2SecurityGroupName",(Option.mapx.eC2SecurityGroupName~f:String_.to_value));("EC2SecurityGroupId",(Option.mapx.eC2SecurityGroupId~f:String_.to_value));("EC2SecurityGroupOwnerId",(Option.mapx.eC2SecurityGroupOwnerId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteC2SecurityGroupOwnerId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupOwnerId")inleteC2SecurityGroupId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupId")inleteC2SecurityGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EC2SecurityGroupName")inletcIDRIP=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CIDRIP")inletdBSecurityGroupName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBSecurityGroupName")inmake?eC2SecurityGroupOwnerId?eC2SecurityGroupId?eC2SecurityGroupName?cIDRIP~dBSecurityGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteC2SecurityGroupOwnerId=field_mapjson__"EC2SecurityGroupOwnerId"String_.of_jsoninleteC2SecurityGroupId=field_mapjson__"EC2SecurityGroupId"String_.of_jsoninleteC2SecurityGroupName=field_mapjson__"EC2SecurityGroupName"String_.of_jsoninletcIDRIP=field_mapjson__"CIDRIP"String_.of_jsoninletdBSecurityGroupName=field_map_exnjson__"DBSecurityGroupName"String_.of_jsoninmake?eC2SecurityGroupOwnerId?eC2SecurityGroupId?eC2SecurityGroupName?cIDRIP~dBSecurityGroupName()letto_jsonv=composed_to_jsonto_valuevendmoduleRestoreDBInstanceToPointInTimeResult=structtyperestoreDBInstanceToPointInTimeResult={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={restoreDBInstanceToPointInTimeResult:restoreDBInstanceToPointInTimeResult;responseMetaData:responseMetaData}typeerror=[`AuthorizationNotFoundFaultofAuthorizationNotFoundFault.t|`BackupPolicyNotFoundFaultofBackupPolicyNotFoundFault.t|`CertificateNotFoundFaultofCertificateNotFoundFault.t|`DBInstanceAlreadyExistsFaultofDBInstanceAlreadyExistsFault.t|`DBInstanceAutomatedBackupNotFoundFaultofDBInstanceAutomatedBackupNotFoundFault.t|`DBInstanceNotFoundFaultofDBInstanceNotFoundFault.t|`DBParameterGroupNotFoundFaultofDBParameterGroupNotFoundFault.t|`DBSecurityGroupNotFoundFaultofDBSecurityGroupNotFoundFault.t|`DBSubnetGroupDoesNotCoverEnoughAZsofDBSubnetGroupDoesNotCoverEnoughAZs.t|`DBSubnetGroupNotFoundFaultofDBSubnetGroupNotFoundFault.t|`DomainNotFoundFaultofDomainNotFoundFault.t|`InstanceQuotaExceededFaultofInstanceQuotaExceededFault.t|`InsufficientDBInstanceCapacityFaultofInsufficientDBInstanceCapacityFault.t|`InvalidDBInstanceStateFaultofInvalidDBInstanceStateFault.t|`InvalidRestoreFaultofInvalidRestoreFault.t|`InvalidSubnetofInvalidSubnet.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`NetworkTypeNotSupportedofNetworkTypeNotSupported.t|`OptionGroupNotFoundFaultofOptionGroupNotFoundFault.t|`PointInTimeRestoreNotEnabledFaultofPointInTimeRestoreNotEnabledFault.t|`ProvisionedIopsNotAvailableInAZFaultofProvisionedIopsNotAvailableInAZFault.t|`StorageQuotaExceededFaultofStorageQuotaExceededFault.t|`StorageTypeNotSupportedFaultofStorageTypeNotSupportedFault.t|`TenantDatabaseQuotaExceededFaultofTenantDatabaseQuotaExceededFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RestoreDBInstanceToPointInTimeResult"letmake?dBInstance=fun()->{restoreDBInstanceToPointInTimeResult={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_jsonjson)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_jsonjson)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_jsonjson)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_jsonjson)|"DBInstanceAutomatedBackupNotFoundFault"->`DBInstanceAutomatedBackupNotFoundFault(DBInstanceAutomatedBackupNotFoundFault.of_jsonjson)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_jsonjson)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_jsonjson)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_jsonjson)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_jsonjson)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_jsonjson)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_jsonjson)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_jsonjson)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_jsonjson)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_jsonjson)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_jsonjson)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_jsonjson)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_jsonjson)|"PointInTimeRestoreNotEnabledFault"->`PointInTimeRestoreNotEnabledFault(PointInTimeRestoreNotEnabledFault.of_jsonjson)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_jsonjson)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_jsonjson)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_jsonjson)|"TenantDatabaseQuotaExceededFault"->`TenantDatabaseQuotaExceededFault(TenantDatabaseQuotaExceededFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_xmlxml)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_xmlxml)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_xmlxml)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_xmlxml)|"DBInstanceAutomatedBackupNotFoundFault"->`DBInstanceAutomatedBackupNotFoundFault(DBInstanceAutomatedBackupNotFoundFault.of_xmlxml)|"DBInstanceNotFoundFault"->`DBInstanceNotFoundFault(DBInstanceNotFoundFault.of_xmlxml)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_xmlxml)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_xmlxml)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_xmlxml)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_xmlxml)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_xmlxml)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_xmlxml)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_xmlxml)|"InvalidDBInstanceStateFault"->`InvalidDBInstanceStateFault(InvalidDBInstanceStateFault.of_xmlxml)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_xmlxml)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_xmlxml)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_xmlxml)|"PointInTimeRestoreNotEnabledFault"->`PointInTimeRestoreNotEnabledFault(PointInTimeRestoreNotEnabledFault.of_xmlxml)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_xmlxml)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_xmlxml)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_xmlxml)|"TenantDatabaseQuotaExceededFault"->`TenantDatabaseQuotaExceededFault(TenantDatabaseQuotaExceededFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorizationNotFoundFaulte->`Assoc[("error",(`String"AuthorizationNotFoundFault"));("details",(AuthorizationNotFoundFault.to_jsone))]|`BackupPolicyNotFoundFaulte->`Assoc[("error",(`String"BackupPolicyNotFoundFault"));("details",(BackupPolicyNotFoundFault.to_jsone))]|`CertificateNotFoundFaulte->`Assoc[("error",(`String"CertificateNotFoundFault"));("details",(CertificateNotFoundFault.to_jsone))]|`DBInstanceAlreadyExistsFaulte->`Assoc[("error",(`String"DBInstanceAlreadyExistsFault"));("details",(DBInstanceAlreadyExistsFault.to_jsone))]|`DBInstanceAutomatedBackupNotFoundFaulte->`Assoc[("error",(`String"DBInstanceAutomatedBackupNotFoundFault"));("details",(DBInstanceAutomatedBackupNotFoundFault.to_jsone))]|`DBInstanceNotFoundFaulte->`Assoc[("error",(`String"DBInstanceNotFoundFault"));("details",(DBInstanceNotFoundFault.to_jsone))]|`DBParameterGroupNotFoundFaulte->`Assoc[("error",(`String"DBParameterGroupNotFoundFault"));("details",(DBParameterGroupNotFoundFault.to_jsone))]|`DBSecurityGroupNotFoundFaulte->`Assoc[("error",(`String"DBSecurityGroupNotFoundFault"));("details",(DBSecurityGroupNotFoundFault.to_jsone))]|`DBSubnetGroupDoesNotCoverEnoughAZse->`Assoc[("error",(`String"DBSubnetGroupDoesNotCoverEnoughAZs"));("details",(DBSubnetGroupDoesNotCoverEnoughAZs.to_jsone))]|`DBSubnetGroupNotFoundFaulte->`Assoc[("error",(`String"DBSubnetGroupNotFoundFault"));("details",(DBSubnetGroupNotFoundFault.to_jsone))]|`DomainNotFoundFaulte->`Assoc[("error",(`String"DomainNotFoundFault"));("details",(DomainNotFoundFault.to_jsone))]|`InstanceQuotaExceededFaulte->`Assoc[("error",(`String"InstanceQuotaExceededFault"));("details",(InstanceQuotaExceededFault.to_jsone))]|`InsufficientDBInstanceCapacityFaulte->`Assoc[("error",(`String"InsufficientDBInstanceCapacityFault"));("details",(InsufficientDBInstanceCapacityFault.to_jsone))]|`InvalidDBInstanceStateFaulte->`Assoc[("error",(`String"InvalidDBInstanceStateFault"));("details",(InvalidDBInstanceStateFault.to_jsone))]|`InvalidRestoreFaulte->`Assoc[("error",(`String"InvalidRestoreFault"));("details",(InvalidRestoreFault.to_jsone))]|`InvalidSubnete->`Assoc[("error",(`String"InvalidSubnet"));("details",(InvalidSubnet.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`NetworkTypeNotSupportede->`Assoc[("error",(`String"NetworkTypeNotSupported"));("details",(NetworkTypeNotSupported.to_jsone))]|`OptionGroupNotFoundFaulte->`Assoc[("error",(`String"OptionGroupNotFoundFault"));("details",(OptionGroupNotFoundFault.to_jsone))]|`PointInTimeRestoreNotEnabledFaulte->`Assoc[("error",(`String"PointInTimeRestoreNotEnabledFault"));("details",(PointInTimeRestoreNotEnabledFault.to_jsone))]|`ProvisionedIopsNotAvailableInAZFaulte->`Assoc[("error",(`String"ProvisionedIopsNotAvailableInAZFault"));("details",(ProvisionedIopsNotAvailableInAZFault.to_jsone))]|`StorageQuotaExceededFaulte->`Assoc[("error",(`String"StorageQuotaExceededFault"));("details",(StorageQuotaExceededFault.to_jsone))]|`StorageTypeNotSupportedFaulte->`Assoc[("error",(`String"StorageTypeNotSupportedFault"));("details",(StorageTypeNotSupportedFault.to_jsone))]|`TenantDatabaseQuotaExceededFaulte->`Assoc[("error",(`String"TenantDatabaseQuotaExceededFault"));("details",(TenantDatabaseQuotaExceededFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.restoreDBInstanceToPointInTimeResultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"RestoreDBInstanceToPointInTimeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RestoreDBInstanceToPointInTimeResult"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property. The target database is created with most of the original configuration, but in a system-selected Availability Zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment. This operation doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora, use RestoreDBClusterToPointInTime."]moduleRestoreDBInstanceToPointInTimeMessage=structtypenonrect={sourceDBInstanceIdentifier:String_.toption[@ocaml.doc"The identifier of the source DB instance from which to restore. Constraints: Must match the identifier of an existing DB instance."];targetDBInstanceIdentifier:String_.t[@ocaml.doc"The name of the new DB instance to create. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens."];restoreTime:TStamp.toption[@ocaml.doc"The date and time to restore from. Constraints: Must be a time in Universal Coordinated Time (UTC) format. Must be before the latest restorable time for the DB instance. Can't be specified if the UseLatestRestorableTime parameter is enabled. Example: 2009-09-07T23:45:00Z"];useLatestRestorableTime:Boolean.toption[@ocaml.doc"Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: Can't be specified if the RestoreTime parameter is provided."];dBInstanceClass:String_.toption[@ocaml.doc"The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Default: The same DB instance class as the original DB instance."];port:IntegerOptional.toption[@ocaml.doc"The port number on which the database accepts connections. Default: The same port as the original DB instance. Constraints: The value must be 1150-65535."];availabilityZone:String_.toption[@ocaml.doc"The Availability Zone (AZ) where the DB instance will be created. Default: A random, system-chosen Availability Zone. Constraints: You can't specify the AvailabilityZone parameter if the DB instance is a Multi-AZ deployment. Example: us-east-1a"];dBSubnetGroupName:String_.toption[@ocaml.doc"The DB subnet group name to use for the new instance. Constraints: If supplied, must match the name of an existing DB subnet group. Example: mydbsubnetgroup"];multiAZ:BooleanOptional.toption[@ocaml.doc"Secifies whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom. Constraints: You can't specify the AvailabilityZone parameter if the DB instance is a Multi-AZ deployment."];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is publicly accessible. When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address. For more information, see CreateDBInstance."];autoMinorVersionUpgrade:BooleanOptional.toption[@ocaml.doc"Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance window. This setting doesn't apply to RDS Custom. For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version."];licenseModel:String_.toption[@ocaml.doc"The license model information for the restored DB instance. License models for RDS for Db2 require additional configuration. The bring your own license (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see Amazon RDS for Db2 licensing options in the Amazon RDS User Guide. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. Valid Values: RDS for Db2 - bring-your-own-license | marketplace-license RDS for MariaDB - general-public-license RDS for Microsoft SQL Server - license-included RDS for MySQL - general-public-license RDS for Oracle - bring-your-own-license | license-included RDS for PostgreSQL - postgresql-license Default: Same as the source."];dBName:String_.toption[@ocaml.doc"The database name for the restored DB instance. This parameter doesn't apply to the following DB instances: RDS Custom RDS for Db2 RDS for MariaDB RDS for MySQL"];engine:String_.toption[@ocaml.doc"The database engine to use for the new instance. This setting doesn't apply to RDS Custom. Valid Values: db2-ae db2-se mariadb mysql oracle-ee oracle-ee-cdb oracle-se2 oracle-se2-cdb postgres sqlserver-ee sqlserver-se sqlserver-ex sqlserver-web Default: The same as source Constraints: Must be compatible with the engine of the source."];iops:IntegerOptional.toption[@ocaml.doc"The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance. This setting doesn't apply to SQL Server. Constraints: Must be an integer greater than 1000."];storageThroughput:IntegerOptional.toption[@ocaml.doc"The storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora."];optionGroupName:String_.toption[@ocaml.doc"The name of the option group to use for the restored DB instance. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance after it is associated with a DB instance This setting doesn't apply to RDS Custom."];copyTagsToSnapshot:BooleanOptional.toption[@ocaml.doc"Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default, tags are not copied."];tags:TagList.toption;storageType:String_.toption[@ocaml.doc"The storage type to associate with the DB instance. Valid Values: gp2 | gp3 | io1 | io2 | standard Default: io1, if the Iops parameter is specified. Otherwise, gp3. Constraints: If you specify io1, io2, or gp3, you must also include a value for the Iops parameter."];tdeCredentialArn:String_.toption[@ocaml.doc"The ARN from the key store with which to associate the instance for TDE encryption. This setting doesn't apply to RDS Custom."];tdeCredentialPassword:SensitiveString.toption[@ocaml.doc"The password for the given ARN from the key store in order to access the device. This setting doesn't apply to RDS Custom."];vpcSecurityGroupIds:VpcSecurityGroupIdList.toption[@ocaml.doc"A list of EC2 VPC security groups to associate with this DB instance. Default: The default EC2 VPC security group for the DB subnet group's VPC."];domain:String_.toption[@ocaml.doc"The Active Directory directory ID to restore the DB instance in. Create the domain before running this command. Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain. This setting doesn't apply to RDS Custom. For more information, see Kerberos Authentication in the Amazon RDS User Guide."];domainIAMRoleName:String_.toption[@ocaml.doc"The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to RDS Custom DB instances."];domainFqdn:String_.toption[@ocaml.doc"The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain"];domainOu:String_.toption[@ocaml.doc"The Active Directory organizational unit for your DB instance to join. Constraints: Must be in the distinguished name format. Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain"];domainAuthSecretArn:String_.toption[@ocaml.doc"The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Constraints: Can't be longer than 64 characters. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456"];domainDnsIps:StringList.toption[@ocaml.doc"The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237"];enableIAMDatabaseAuthentication:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled. This setting doesn't apply to RDS Custom. For more information about IAM database authentication, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide."];enableCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom."];processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to RDS Custom."];useDefaultProcessorFeatures:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom."];dBParameterGroupName:String_.toption[@ocaml.doc"The name of the DB parameter group to associate with this DB instance. If you do not specify a value for DBParameterGroupName, then the default DBParameterGroup for the specified DB engine is used. This setting doesn't apply to RDS Custom. Constraints: If supplied, must match the name of an existing DB parameter group. Must be 1 to 255 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens."];deletionProtection:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance."];sourceDbiResourceId:String_.toption[@ocaml.doc"The resource ID of the source DB instance from which to restore."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom."];enableCustomerOwnedIp:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network. This setting doesn't apply to RDS Custom. For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide. For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide."];networkType:String_.toption[@ocaml.doc"The network type of the DB instance. The network type is determined by the DBSubnetGroup specified for the DB instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide. Valid Values: IPV4 DUAL"];sourceDBInstanceAutomatedBackupsArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom."];backupTarget:String_.toption[@ocaml.doc"The location for storing automated backups and manual snapshots for the restored DB instance. Valid Values: local (Dedicated Local Zone) outposts (Amazon Web Services Outposts) region (Amazon Web Services Region) Default: region For more information, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide."];customIamInstanceProfile:String_.toption[@ocaml.doc"The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements: The profile must exist in your account. The profile must have an IAM role that Amazon EC2 has permissions to assume. The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide. This setting is required for RDS Custom."];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules specified in CreateDBInstance. This setting isn't valid for RDS for SQL Server. Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can also allocate additional storage for future growth."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Enabling and disabling backups can result in a brief I/O suspension that lasts from a few seconds to a few minutes, depending on the size and class of your DB instance. This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster. For more information, see ModifyDBCluster. Default: Uses existing setting Constraints: Must be a value from 0 to 35. Can't be set to 0 if the DB instance is a source to read replicas. Can't be set to 0 for an RDS Custom for Oracle DB instance."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod parameter. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see Backup window in the Amazon RDS User Guide. This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster. For more information, see ModifyDBCluster. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes."];dedicatedLogVolume:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable a dedicated log volume (DLV) for the DB instance."];cACertificateIdentifier:String_.toption[@ocaml.doc"The CA certificate identifier to use for the DB instance's server certificate. This setting doesn't apply to RDS Custom DB instances. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];engineLifecycleSupport:String_.toption[@ocaml.doc"The life cycle type for this DB instance. By default, this value is set to open-source-rds-extended-support, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of standard support date. You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see Amazon RDS Extended Support with Amazon RDS in the Amazon RDS User Guide. This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster. Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled Default: open-source-rds-extended-support"];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"A list of additional storage volumes to restore to the DB instance. You can restore up to three additional storage volumes using the names rdsdbdata2, rdsdbdata3, and rdsdbdata4. Additional storage volumes are supported for RDS for Oracle and RDS for SQL Server DB instances only."];tagSpecifications:TagSpecificationList.toption[@ocaml.doc"Tags to assign to resources associated with the DB instance. Valid Values: auto-backup - The DB instance's automated backup."];manageMasterUserPassword:BooleanOptional.toption[@ocaml.doc"Specifies whether to manage the master user password with Amazon Web Services Secrets Manager in the restored DB instance. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide. Constraints: Applies to RDS for Oracle only."];masterUserSecretKmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager. This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the aws/secretsmanager KMS key to encrypt the secret, and you must use a customer managed KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."]}letcontext_="RestoreDBInstanceToPointInTimeMessage"letmake?sourceDBInstanceIdentifier=fun?restoreTime->fun?useLatestRestorableTime->fun?dBInstanceClass->fun?port->fun?availabilityZone->fun?dBSubnetGroupName->fun?multiAZ->fun?publiclyAccessible->fun?autoMinorVersionUpgrade->fun?licenseModel->fun?dBName->fun?engine->fun?iops->fun?storageThroughput->fun?optionGroupName->fun?copyTagsToSnapshot->fun?tags->fun?storageType->fun?tdeCredentialArn->fun?tdeCredentialPassword->fun?vpcSecurityGroupIds->fun?domain->fun?domainIAMRoleName->fun?domainFqdn->fun?domainOu->fun?domainAuthSecretArn->fun?domainDnsIps->fun?enableIAMDatabaseAuthentication->fun?enableCloudwatchLogsExports->fun?processorFeatures->fun?useDefaultProcessorFeatures->fun?dBParameterGroupName->fun?deletionProtection->fun?sourceDbiResourceId->fun?maxAllocatedStorage->fun?enableCustomerOwnedIp->fun?networkType->fun?sourceDBInstanceAutomatedBackupsArn->fun?backupTarget->fun?customIamInstanceProfile->fun?allocatedStorage->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?dedicatedLogVolume->fun?cACertificateIdentifier->fun?engineLifecycleSupport->fun?additionalStorageVolumes->fun?tagSpecifications->fun?manageMasterUserPassword->fun?masterUserSecretKmsKeyId->fun~targetDBInstanceIdentifier->fun()->{sourceDBInstanceIdentifier;restoreTime;useLatestRestorableTime;dBInstanceClass;port;availabilityZone;dBSubnetGroupName;multiAZ;publiclyAccessible;autoMinorVersionUpgrade;licenseModel;dBName;engine;iops;storageThroughput;optionGroupName;copyTagsToSnapshot;tags;storageType;tdeCredentialArn;tdeCredentialPassword;vpcSecurityGroupIds;domain;domainIAMRoleName;domainFqdn;domainOu;domainAuthSecretArn;domainDnsIps;enableIAMDatabaseAuthentication;enableCloudwatchLogsExports;processorFeatures;useDefaultProcessorFeatures;dBParameterGroupName;deletionProtection;sourceDbiResourceId;maxAllocatedStorage;enableCustomerOwnedIp;networkType;sourceDBInstanceAutomatedBackupsArn;backupTarget;customIamInstanceProfile;allocatedStorage;backupRetentionPeriod;preferredBackupWindow;dedicatedLogVolume;cACertificateIdentifier;engineLifecycleSupport;additionalStorageVolumes;tagSpecifications;manageMasterUserPassword;masterUserSecretKmsKeyId;targetDBInstanceIdentifier}letto_valuex=structure_to_value[("SourceDBInstanceIdentifier",(Option.mapx.sourceDBInstanceIdentifier~f:String_.to_value));("TargetDBInstanceIdentifier",(Some(String_.to_valuex.targetDBInstanceIdentifier)));("RestoreTime",(Option.mapx.restoreTime~f:TStamp.to_value));("UseLatestRestorableTime",(Option.mapx.useLatestRestorableTime~f:Boolean.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("MultiAZ",(Option.mapx.multiAZ~f:BooleanOptional.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("AutoMinorVersionUpgrade",(Option.mapx.autoMinorVersionUpgrade~f:BooleanOptional.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("DBName",(Option.mapx.dBName~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:BooleanOptional.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("TdeCredentialArn",(Option.mapx.tdeCredentialArn~f:String_.to_value));("TdeCredentialPassword",(Option.mapx.tdeCredentialPassword~f:SensitiveString.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:VpcSecurityGroupIdList.to_value));("Domain",(Option.mapx.domain~f:String_.to_value));("DomainIAMRoleName",(Option.mapx.domainIAMRoleName~f:String_.to_value));("DomainFqdn",(Option.mapx.domainFqdn~f:String_.to_value));("DomainOu",(Option.mapx.domainOu~f:String_.to_value));("DomainAuthSecretArn",(Option.mapx.domainAuthSecretArn~f:String_.to_value));("DomainDnsIps",(Option.mapx.domainDnsIps~f:StringList.to_value));("EnableIAMDatabaseAuthentication",(Option.mapx.enableIAMDatabaseAuthentication~f:BooleanOptional.to_value));("EnableCloudwatchLogsExports",(Option.mapx.enableCloudwatchLogsExports~f:LogTypeList.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("UseDefaultProcessorFeatures",(Option.mapx.useDefaultProcessorFeatures~f:BooleanOptional.to_value));("DBParameterGroupName",(Option.mapx.dBParameterGroupName~f:String_.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("SourceDbiResourceId",(Option.mapx.sourceDbiResourceId~f:String_.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("EnableCustomerOwnedIp",(Option.mapx.enableCustomerOwnedIp~f:BooleanOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("SourceDBInstanceAutomatedBackupsArn",(Option.mapx.sourceDBInstanceAutomatedBackupsArn~f:String_.to_value));("BackupTarget",(Option.mapx.backupTarget~f:String_.to_value));("CustomIamInstanceProfile",(Option.mapx.customIamInstanceProfile~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:BooleanOptional.to_value));("CACertificateIdentifier",(Option.mapx.cACertificateIdentifier~f:String_.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value));("TagSpecifications",(Option.mapx.tagSpecifications~f:TagSpecificationList.to_value));("ManageMasterUserPassword",(Option.mapx.manageMasterUserPassword~f:BooleanOptional.to_value));("MasterUserSecretKmsKeyId",(Option.mapx.masterUserSecretKmsKeyId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmasterUserSecretKmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUserSecretKmsKeyId")inletmanageMasterUserPassword=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ManageMasterUserPassword")inlettagSpecifications=(Option.map~f:TagSpecificationList.of_xml)(Xml.childxml_arg0"TagSpecifications")inletadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletcACertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CACertificateIdentifier")inletdedicatedLogVolume=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletcustomIamInstanceProfile=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustomIamInstanceProfile")inletbackupTarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"BackupTarget")inletsourceDBInstanceAutomatedBackupsArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDBInstanceAutomatedBackupsArn")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletenableCustomerOwnedIp=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableCustomerOwnedIp")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletsourceDbiResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDbiResourceId")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletdBParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupName")inletuseDefaultProcessorFeatures=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"UseDefaultProcessorFeatures")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletenableCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnableCloudwatchLogsExports")inletenableIAMDatabaseAuthentication=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableIAMDatabaseAuthentication")inletdomainDnsIps=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"DomainDnsIps")inletdomainAuthSecretArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainAuthSecretArn")inletdomainOu=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainOu")inletdomainFqdn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainFqdn")inletdomainIAMRoleName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainIAMRoleName")inletdomain=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Domain")inletvpcSecurityGroupIds=(Option.map~f:VpcSecurityGroupIdList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inlettdeCredentialPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"TdeCredentialPassword")inlettdeCredentialArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TdeCredentialArn")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletcopyTagsToSnapshot=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletdBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBName")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletautoMinorVersionUpgrade=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"AutoMinorVersionUpgrade")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletmultiAZ=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiAZ")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletuseLatestRestorableTime=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"UseLatestRestorableTime")inletrestoreTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"RestoreTime")inlettargetDBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"TargetDBInstanceIdentifier")inletsourceDBInstanceIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDBInstanceIdentifier")inmake?masterUserSecretKmsKeyId?manageMasterUserPassword?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?preferredBackupWindow?backupRetentionPeriod?allocatedStorage?customIamInstanceProfile?backupTarget?sourceDBInstanceAutomatedBackupsArn?networkType?enableCustomerOwnedIp?maxAllocatedStorage?sourceDbiResourceId?deletionProtection?dBParameterGroupName?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?enableIAMDatabaseAuthentication?domainDnsIps?domainAuthSecretArn?domainOu?domainFqdn?domainIAMRoleName?domain?vpcSecurityGroupIds?tdeCredentialPassword?tdeCredentialArn?storageType?tags?copyTagsToSnapshot?optionGroupName?storageThroughput?iops?engine?dBName?licenseModel?autoMinorVersionUpgrade?publiclyAccessible?multiAZ?dBSubnetGroupName?availabilityZone?port?dBInstanceClass?useLatestRestorableTime?restoreTime~targetDBInstanceIdentifier?sourceDBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmasterUserSecretKmsKeyId=field_mapjson__"MasterUserSecretKmsKeyId"String_.of_jsoninletmanageMasterUserPassword=field_mapjson__"ManageMasterUserPassword"BooleanOptional.of_jsoninlettagSpecifications=field_mapjson__"TagSpecifications"TagSpecificationList.of_jsoninletadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletcACertificateIdentifier=field_mapjson__"CACertificateIdentifier"String_.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"BooleanOptional.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletcustomIamInstanceProfile=field_mapjson__"CustomIamInstanceProfile"String_.of_jsoninletbackupTarget=field_mapjson__"BackupTarget"String_.of_jsoninletsourceDBInstanceAutomatedBackupsArn=field_mapjson__"SourceDBInstanceAutomatedBackupsArn"String_.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletenableCustomerOwnedIp=field_mapjson__"EnableCustomerOwnedIp"BooleanOptional.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletsourceDbiResourceId=field_mapjson__"SourceDbiResourceId"String_.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletdBParameterGroupName=field_mapjson__"DBParameterGroupName"String_.of_jsoninletuseDefaultProcessorFeatures=field_mapjson__"UseDefaultProcessorFeatures"BooleanOptional.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletenableCloudwatchLogsExports=field_mapjson__"EnableCloudwatchLogsExports"LogTypeList.of_jsoninletenableIAMDatabaseAuthentication=field_mapjson__"EnableIAMDatabaseAuthentication"BooleanOptional.of_jsoninletdomainDnsIps=field_mapjson__"DomainDnsIps"StringList.of_jsoninletdomainAuthSecretArn=field_mapjson__"DomainAuthSecretArn"String_.of_jsoninletdomainOu=field_mapjson__"DomainOu"String_.of_jsoninletdomainFqdn=field_mapjson__"DomainFqdn"String_.of_jsoninletdomainIAMRoleName=field_mapjson__"DomainIAMRoleName"String_.of_jsoninletdomain=field_mapjson__"Domain"String_.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"VpcSecurityGroupIdList.of_jsoninlettdeCredentialPassword=field_mapjson__"TdeCredentialPassword"SensitiveString.of_jsoninlettdeCredentialArn=field_mapjson__"TdeCredentialArn"String_.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"BooleanOptional.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletdBName=field_mapjson__"DBName"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletautoMinorVersionUpgrade=field_mapjson__"AutoMinorVersionUpgrade"BooleanOptional.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"BooleanOptional.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletuseLatestRestorableTime=field_mapjson__"UseLatestRestorableTime"Boolean.of_jsoninletrestoreTime=field_mapjson__"RestoreTime"TStamp.of_jsoninlettargetDBInstanceIdentifier=field_map_exnjson__"TargetDBInstanceIdentifier"String_.of_jsoninletsourceDBInstanceIdentifier=field_mapjson__"SourceDBInstanceIdentifier"String_.of_jsoninmake?masterUserSecretKmsKeyId?manageMasterUserPassword?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?preferredBackupWindow?backupRetentionPeriod?allocatedStorage?customIamInstanceProfile?backupTarget?sourceDBInstanceAutomatedBackupsArn?networkType?enableCustomerOwnedIp?maxAllocatedStorage?sourceDbiResourceId?deletionProtection?dBParameterGroupName?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?enableIAMDatabaseAuthentication?domainDnsIps?domainAuthSecretArn?domainOu?domainFqdn?domainIAMRoleName?domain?vpcSecurityGroupIds?tdeCredentialPassword?tdeCredentialArn?storageType?tags?copyTagsToSnapshot?optionGroupName?storageThroughput?iops?engine?dBName?licenseModel?autoMinorVersionUpgrade?publiclyAccessible?multiAZ?dBSubnetGroupName?availabilityZone?port?dBInstanceClass?useLatestRestorableTime?restoreTime~targetDBInstanceIdentifier?sourceDBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevendmoduleRestoreDBInstanceFromS3Result=structtyperestoreDBInstanceFromS3Result={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={restoreDBInstanceFromS3Result:restoreDBInstanceFromS3Result;responseMetaData:responseMetaData}typeerror=[`AuthorizationNotFoundFaultofAuthorizationNotFoundFault.t|`BackupPolicyNotFoundFaultofBackupPolicyNotFoundFault.t|`CertificateNotFoundFaultofCertificateNotFoundFault.t|`DBInstanceAlreadyExistsFaultofDBInstanceAlreadyExistsFault.t|`DBParameterGroupNotFoundFaultofDBParameterGroupNotFoundFault.t|`DBSecurityGroupNotFoundFaultofDBSecurityGroupNotFoundFault.t|`DBSubnetGroupDoesNotCoverEnoughAZsofDBSubnetGroupDoesNotCoverEnoughAZs.t|`DBSubnetGroupNotFoundFaultofDBSubnetGroupNotFoundFault.t|`InstanceQuotaExceededFaultofInstanceQuotaExceededFault.t|`InsufficientDBInstanceCapacityFaultofInsufficientDBInstanceCapacityFault.t|`InvalidS3BucketFaultofInvalidS3BucketFault.t|`InvalidSubnetofInvalidSubnet.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`NetworkTypeNotSupportedofNetworkTypeNotSupported.t|`OptionGroupNotFoundFaultofOptionGroupNotFoundFault.t|`ProvisionedIopsNotAvailableInAZFaultofProvisionedIopsNotAvailableInAZFault.t|`StorageQuotaExceededFaultofStorageQuotaExceededFault.t|`StorageTypeNotSupportedFaultofStorageTypeNotSupportedFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RestoreDBInstanceFromS3Result"letmake?dBInstance=fun()->{restoreDBInstanceFromS3Result={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_jsonjson)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_jsonjson)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_jsonjson)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_jsonjson)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_jsonjson)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_jsonjson)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_jsonjson)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_jsonjson)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_jsonjson)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_jsonjson)|"InvalidS3BucketFault"->`InvalidS3BucketFault(InvalidS3BucketFault.of_jsonjson)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_jsonjson)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_jsonjson)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_jsonjson)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_jsonjson)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_xmlxml)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_xmlxml)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_xmlxml)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_xmlxml)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_xmlxml)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_xmlxml)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_xmlxml)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_xmlxml)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_xmlxml)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_xmlxml)|"InvalidS3BucketFault"->`InvalidS3BucketFault(InvalidS3BucketFault.of_xmlxml)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_xmlxml)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_xmlxml)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_xmlxml)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_xmlxml)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorizationNotFoundFaulte->`Assoc[("error",(`String"AuthorizationNotFoundFault"));("details",(AuthorizationNotFoundFault.to_jsone))]|`BackupPolicyNotFoundFaulte->`Assoc[("error",(`String"BackupPolicyNotFoundFault"));("details",(BackupPolicyNotFoundFault.to_jsone))]|`CertificateNotFoundFaulte->`Assoc[("error",(`String"CertificateNotFoundFault"));("details",(CertificateNotFoundFault.to_jsone))]|`DBInstanceAlreadyExistsFaulte->`Assoc[("error",(`String"DBInstanceAlreadyExistsFault"));("details",(DBInstanceAlreadyExistsFault.to_jsone))]|`DBParameterGroupNotFoundFaulte->`Assoc[("error",(`String"DBParameterGroupNotFoundFault"));("details",(DBParameterGroupNotFoundFault.to_jsone))]|`DBSecurityGroupNotFoundFaulte->`Assoc[("error",(`String"DBSecurityGroupNotFoundFault"));("details",(DBSecurityGroupNotFoundFault.to_jsone))]|`DBSubnetGroupDoesNotCoverEnoughAZse->`Assoc[("error",(`String"DBSubnetGroupDoesNotCoverEnoughAZs"));("details",(DBSubnetGroupDoesNotCoverEnoughAZs.to_jsone))]|`DBSubnetGroupNotFoundFaulte->`Assoc[("error",(`String"DBSubnetGroupNotFoundFault"));("details",(DBSubnetGroupNotFoundFault.to_jsone))]|`InstanceQuotaExceededFaulte->`Assoc[("error",(`String"InstanceQuotaExceededFault"));("details",(InstanceQuotaExceededFault.to_jsone))]|`InsufficientDBInstanceCapacityFaulte->`Assoc[("error",(`String"InsufficientDBInstanceCapacityFault"));("details",(InsufficientDBInstanceCapacityFault.to_jsone))]|`InvalidS3BucketFaulte->`Assoc[("error",(`String"InvalidS3BucketFault"));("details",(InvalidS3BucketFault.to_jsone))]|`InvalidSubnete->`Assoc[("error",(`String"InvalidSubnet"));("details",(InvalidSubnet.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`NetworkTypeNotSupportede->`Assoc[("error",(`String"NetworkTypeNotSupported"));("details",(NetworkTypeNotSupported.to_jsone))]|`OptionGroupNotFoundFaulte->`Assoc[("error",(`String"OptionGroupNotFoundFault"));("details",(OptionGroupNotFoundFault.to_jsone))]|`ProvisionedIopsNotAvailableInAZFaulte->`Assoc[("error",(`String"ProvisionedIopsNotAvailableInAZFault"));("details",(ProvisionedIopsNotAvailableInAZFault.to_jsone))]|`StorageQuotaExceededFaulte->`Assoc[("error",(`String"StorageQuotaExceededFault"));("details",(StorageQuotaExceededFault.to_jsone))]|`StorageTypeNotSupportedFaulte->`Assoc[("error",(`String"StorageTypeNotSupportedFault"));("details",(StorageTypeNotSupportedFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.restoreDBInstanceFromS3Resultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"RestoreDBInstanceFromS3Result"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RestoreDBInstanceFromS3Result"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Amazon Relational Database Service (Amazon RDS) supports importing MySQL databases by using backup files. You can create a backup of your on-premises database, store it on Amazon Simple Storage Service (Amazon S3), and then restore the backup file onto a new Amazon RDS DB instance running MySQL. For more information, see Restoring a backup into an Amazon RDS for MySQL DB instance in the Amazon RDS User Guide. This operation doesn't apply to RDS Custom."]moduleRestoreDBInstanceFromS3Message=structtypenonrect={dBName:String_.toption[@ocaml.doc"The name of the database to create when the DB instance is created. Follow the naming rules specified in CreateDBInstance."];dBInstanceIdentifier:String_.t[@ocaml.doc"The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens. Example: mydbinstance"];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules specified in CreateDBInstance. This setting isn't valid for RDS for SQL Server. Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can also allocate additional storage for future growth."];dBInstanceClass:String_.t[@ocaml.doc"The compute and memory capacity of the DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class."];engine:String_.t[@ocaml.doc"The name of the database engine to be used for this instance. Valid Values: mysql"];masterUsername:String_.toption[@ocaml.doc"The name for the master user. Constraints: Must be 1 to 16 letters or numbers. First character must be a letter. Can't be a reserved word for the chosen database engine."];masterUserPassword:SensitiveString.toption[@ocaml.doc"The password for the master user. Constraints: Can't be specified if ManageMasterUserPassword is turned on. Can include any printable ASCII character except \"/\", \"\"\", or \"\\@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the \"'\" (single quotes) character. Length Constraints: RDS for Db2 - Must contain from 8 to 128 characters. RDS for MariaDB - Must contain from 8 to 41 characters. RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. RDS for MySQL - Must contain from 8 to 41 characters. RDS for Oracle - Must contain from 8 to 30 characters. RDS for PostgreSQL - Must contain from 8 to 128 characters."];dBSecurityGroups:DBSecurityGroupNameList.toption[@ocaml.doc"A list of DB security groups to associate with this DB instance. Default: The default DB security group for the database engine."];vpcSecurityGroupIds:VpcSecurityGroupIdList.toption[@ocaml.doc"A list of VPC security groups to associate with this DB instance."];availabilityZone:String_.toption[@ocaml.doc"The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones in the Amazon RDS User Guide. Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. Example: us-east-1d Constraint: The AvailabilityZone parameter can't be specified if the DB instance is a Multi-AZ deployment. The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint."];dBSubnetGroupName:String_.toption[@ocaml.doc"A DB subnet group to associate with this DB instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup"];preferredMaintenanceWindow:String_.toption[@ocaml.doc"The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide. Constraints: Must be in the format ddd:hh24:mi-ddd:hh24:mi. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred backup window. Must be at least 30 minutes."];dBParameterGroupName:String_.toption[@ocaml.doc"The name of the DB parameter group to associate with this DB instance. If you do not specify a value for DBParameterGroupName, then the default DBParameterGroup for the specified DB engine is used."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. For more information, see CreateDBInstance."];preferredBackupWindow:String_.toption[@ocaml.doc"The time range each day during which automated backups are created if automated backups are enabled. For more information, see Backup window in the Amazon RDS User Guide. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes."];port:IntegerOptional.toption[@ocaml.doc"The port number on which the database accepts connections. Type: Integer Valid Values: 1150-65535 Default: 3306"];multiAZ:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ deployment, you can't set the AvailabilityZone parameter."];engineVersion:String_.toption[@ocaml.doc"The version number of the database engine to use. Choose the latest minor version of your database engine. For information about engine versions, see CreateDBInstance, or call DescribeDBEngineVersions."];autoMinorVersionUpgrade:BooleanOptional.toption[@ocaml.doc"Specifies whether to automatically apply minor engine upgrades to the DB instance during the maintenance window. By default, minor engine upgrades are not applied automatically. For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version."];licenseModel:String_.toption[@ocaml.doc"The license model for this DB instance. Use general-public-license."];iops:IntegerOptional.toption[@ocaml.doc"The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. For information about valid IOPS values, see Amazon RDS Provisioned IOPS storage in the Amazon RDS User Guide."];storageThroughput:IntegerOptional.toption[@ocaml.doc"Specifies the storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora."];optionGroupName:String_.toption[@ocaml.doc"The name of the option group to associate with this DB instance. If this argument is omitted, the default option group for the specified engine is used."];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is publicly accessible. When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address. For more information, see CreateDBInstance."];tags:TagList.toption[@ocaml.doc"A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide."];storageType:String_.toption[@ocaml.doc"Specifies the storage type to be associated with the DB instance. Valid Values: gp2 | gp3 | io1 | io2 | standard If you specify io1, io2, or gp3, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise gp2"];storageEncrypted:BooleanOptional.toption[@ocaml.doc"Specifies whether the new DB instance is encrypted or not."];kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for an encrypted DB instance. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If the StorageEncrypted parameter is enabled, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."];copyTagsToSnapshot:BooleanOptional.toption[@ocaml.doc"Specifies whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied."];monitoringInterval:IntegerOptional.toption[@ocaml.doc"The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 Default: 0"];monitoringRoleArn:String_.toption[@ocaml.doc"The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, see Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide. If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value."];enableIAMDatabaseAuthentication:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled. For more information about IAM database authentication, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide."];sourceEngine:String_.t[@ocaml.doc"The name of the engine of your source database. Valid Values: mysql"];sourceEngineVersion:String_.t[@ocaml.doc"The version of the database that the backup files were created from. MySQL versions 5.6 and 5.7 are supported. Example: 5.6.40"];s3BucketName:String_.t[@ocaml.doc"The name of your Amazon S3 bucket that contains your database backup file."];s3Prefix:String_.toption[@ocaml.doc"The prefix of your Amazon S3 bucket."];s3IngestionRoleArn:String_.t[@ocaml.doc"An Amazon Web Services Identity and Access Management (IAM) role with a trust policy and a permissions policy that allows Amazon RDS to access your Amazon S3 bucket. For information about this role, see Creating an IAM role manually in the Amazon RDS User Guide."];databaseInsightsMode:DatabaseInsightsMode.toption[@ocaml.doc"Specifies the mode of Database Insights to enable for the DB instance. Aurora DB instances inherit this value from the DB cluster, so you can't change this value."];enablePerformanceInsights:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide."];performanceInsightsKMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of Performance Insights data. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."];performanceInsightsRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain Performance Insights data. The default is 7 days. The following values are valid: 7 month * 31, where month is a number of months from 1-23 731 For example, the following values are valid: 93 (3 months * 31) 341 (11 months * 31) 589 (19 months * 31) 731 If you specify a retention period such as 94, which isn't a valid value, RDS issues an error."];enableCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide."];processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance."];useDefaultProcessorFeatures:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance class of the DB instance uses its default processor features."];deletionProtection:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable deletion protection for the DB instance. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance."];maxAllocatedStorage:IntegerOptional.toption[@ocaml.doc"The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide."];networkType:String_.toption[@ocaml.doc"The network type of the DB instance. Valid Values: IPV4 DUAL The network type is determined by the DBSubnetGroup specified for the DB instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide."];manageMasterUserPassword:BooleanOptional.toption[@ocaml.doc"Specifies whether to manage the master user password with Amazon Web Services Secrets Manager. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide. Constraints: Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword is specified."];masterUserSecretKmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager. This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the aws/secretsmanager KMS key to encrypt the secret, and you must use a customer managed KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."];dedicatedLogVolume:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable a dedicated log volume (DLV) for the DB instance."];cACertificateIdentifier:String_.toption[@ocaml.doc"The CA certificate identifier to use for the DB instance's server certificate. This setting doesn't apply to RDS Custom DB instances. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];engineLifecycleSupport:String_.toption[@ocaml.doc"The life cycle type for this DB instance. By default, this value is set to open-source-rds-extended-support, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of standard support date. You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see Amazon RDS Extended Support Amazon RDS in the Amazon RDS User Guide. This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster. Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled Default: open-source-rds-extended-support"];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"A list of additional storage volumes to modify or delete for the DB instance. You can modify or delete up to three additional storage volumes using the names rdsdbdata2, rdsdbdata3, and rdsdbdata4. Additional storage volumes are supported for RDS for Oracle and RDS for SQL Server DB instances only."];tagSpecifications:TagSpecificationList.toption[@ocaml.doc"Tags to assign to resources associated with the DB instance. Valid Values: auto-backup - The DB instance's automated backup."]}letcontext_="RestoreDBInstanceFromS3Message"letmake?dBName=fun?allocatedStorage->fun?masterUsername->fun?masterUserPassword->fun?dBSecurityGroups->fun?vpcSecurityGroupIds->fun?availabilityZone->fun?dBSubnetGroupName->fun?preferredMaintenanceWindow->fun?dBParameterGroupName->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?port->fun?multiAZ->fun?engineVersion->fun?autoMinorVersionUpgrade->fun?licenseModel->fun?iops->fun?storageThroughput->fun?optionGroupName->fun?publiclyAccessible->fun?tags->fun?storageType->fun?storageEncrypted->fun?kmsKeyId->fun?copyTagsToSnapshot->fun?monitoringInterval->fun?monitoringRoleArn->fun?enableIAMDatabaseAuthentication->fun?s3Prefix->fun?databaseInsightsMode->fun?enablePerformanceInsights->fun?performanceInsightsKMSKeyId->fun?performanceInsightsRetentionPeriod->fun?enableCloudwatchLogsExports->fun?processorFeatures->fun?useDefaultProcessorFeatures->fun?deletionProtection->fun?maxAllocatedStorage->fun?networkType->fun?manageMasterUserPassword->fun?masterUserSecretKmsKeyId->fun?dedicatedLogVolume->fun?cACertificateIdentifier->fun?engineLifecycleSupport->fun?additionalStorageVolumes->fun?tagSpecifications->fun~dBInstanceIdentifier->fun~dBInstanceClass->fun~engine->fun~sourceEngine->fun~sourceEngineVersion->fun~s3BucketName->fun~s3IngestionRoleArn->fun()->{dBName;allocatedStorage;masterUsername;masterUserPassword;dBSecurityGroups;vpcSecurityGroupIds;availabilityZone;dBSubnetGroupName;preferredMaintenanceWindow;dBParameterGroupName;backupRetentionPeriod;preferredBackupWindow;port;multiAZ;engineVersion;autoMinorVersionUpgrade;licenseModel;iops;storageThroughput;optionGroupName;publiclyAccessible;tags;storageType;storageEncrypted;kmsKeyId;copyTagsToSnapshot;monitoringInterval;monitoringRoleArn;enableIAMDatabaseAuthentication;s3Prefix;databaseInsightsMode;enablePerformanceInsights;performanceInsightsKMSKeyId;performanceInsightsRetentionPeriod;enableCloudwatchLogsExports;processorFeatures;useDefaultProcessorFeatures;deletionProtection;maxAllocatedStorage;networkType;manageMasterUserPassword;masterUserSecretKmsKeyId;dedicatedLogVolume;cACertificateIdentifier;engineLifecycleSupport;additionalStorageVolumes;tagSpecifications;dBInstanceIdentifier;dBInstanceClass;engine;sourceEngine;sourceEngineVersion;s3BucketName;s3IngestionRoleArn}letto_valuex=structure_to_value[("DBName",(Option.mapx.dBName~f:String_.to_value));("DBInstanceIdentifier",(Some(String_.to_valuex.dBInstanceIdentifier)));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("DBInstanceClass",(Some(String_.to_valuex.dBInstanceClass)));("Engine",(Some(String_.to_valuex.engine)));("MasterUsername",(Option.mapx.masterUsername~f:String_.to_value));("MasterUserPassword",(Option.mapx.masterUserPassword~f:SensitiveString.to_value));("DBSecurityGroups",(Option.mapx.dBSecurityGroups~f:DBSecurityGroupNameList.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:VpcSecurityGroupIdList.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("PreferredMaintenanceWindow",(Option.mapx.preferredMaintenanceWindow~f:String_.to_value));("DBParameterGroupName",(Option.mapx.dBParameterGroupName~f:String_.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("MultiAZ",(Option.mapx.multiAZ~f:BooleanOptional.to_value));("EngineVersion",(Option.mapx.engineVersion~f:String_.to_value));("AutoMinorVersionUpgrade",(Option.mapx.autoMinorVersionUpgrade~f:BooleanOptional.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("StorageEncrypted",(Option.mapx.storageEncrypted~f:BooleanOptional.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:BooleanOptional.to_value));("MonitoringInterval",(Option.mapx.monitoringInterval~f:IntegerOptional.to_value));("MonitoringRoleArn",(Option.mapx.monitoringRoleArn~f:String_.to_value));("EnableIAMDatabaseAuthentication",(Option.mapx.enableIAMDatabaseAuthentication~f:BooleanOptional.to_value));("SourceEngine",(Some(String_.to_valuex.sourceEngine)));("SourceEngineVersion",(Some(String_.to_valuex.sourceEngineVersion)));("S3BucketName",(Some(String_.to_valuex.s3BucketName)));("S3Prefix",(Option.mapx.s3Prefix~f:String_.to_value));("S3IngestionRoleArn",(Some(String_.to_valuex.s3IngestionRoleArn)));("DatabaseInsightsMode",(Option.mapx.databaseInsightsMode~f:DatabaseInsightsMode.to_value));("EnablePerformanceInsights",(Option.mapx.enablePerformanceInsights~f:BooleanOptional.to_value));("PerformanceInsightsKMSKeyId",(Option.mapx.performanceInsightsKMSKeyId~f:String_.to_value));("PerformanceInsightsRetentionPeriod",(Option.mapx.performanceInsightsRetentionPeriod~f:IntegerOptional.to_value));("EnableCloudwatchLogsExports",(Option.mapx.enableCloudwatchLogsExports~f:LogTypeList.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("UseDefaultProcessorFeatures",(Option.mapx.useDefaultProcessorFeatures~f:BooleanOptional.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("MaxAllocatedStorage",(Option.mapx.maxAllocatedStorage~f:IntegerOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("ManageMasterUserPassword",(Option.mapx.manageMasterUserPassword~f:BooleanOptional.to_value));("MasterUserSecretKmsKeyId",(Option.mapx.masterUserSecretKmsKeyId~f:String_.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:BooleanOptional.to_value));("CACertificateIdentifier",(Option.mapx.cACertificateIdentifier~f:String_.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value));("TagSpecifications",(Option.mapx.tagSpecifications~f:TagSpecificationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagSpecifications=(Option.map~f:TagSpecificationList.of_xml)(Xml.childxml_arg0"TagSpecifications")inletadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletcACertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CACertificateIdentifier")inletdedicatedLogVolume=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletmasterUserSecretKmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUserSecretKmsKeyId")inletmanageMasterUserPassword=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ManageMasterUserPassword")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletmaxAllocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MaxAllocatedStorage")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletuseDefaultProcessorFeatures=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"UseDefaultProcessorFeatures")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletenableCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnableCloudwatchLogsExports")inletperformanceInsightsRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsRetentionPeriod")inletperformanceInsightsKMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PerformanceInsightsKMSKeyId")inletenablePerformanceInsights=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnablePerformanceInsights")inletdatabaseInsightsMode=(Option.map~f:DatabaseInsightsMode.of_xml)(Xml.childxml_arg0"DatabaseInsightsMode")inlets3IngestionRoleArn=String_.of_xml(Xml.child_exn~context:context_xml_arg0"S3IngestionRoleArn")inlets3Prefix=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"S3Prefix")inlets3BucketName=String_.of_xml(Xml.child_exn~context:context_xml_arg0"S3BucketName")inletsourceEngineVersion=String_.of_xml(Xml.child_exn~context:context_xml_arg0"SourceEngineVersion")inletsourceEngine=String_.of_xml(Xml.child_exn~context:context_xml_arg0"SourceEngine")inletenableIAMDatabaseAuthentication=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableIAMDatabaseAuthentication")inletmonitoringRoleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MonitoringRoleArn")inletmonitoringInterval=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MonitoringInterval")inletcopyTagsToSnapshot=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inletstorageEncrypted=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"StorageEncrypted")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletautoMinorVersionUpgrade=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"AutoMinorVersionUpgrade")inletengineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineVersion")inletmultiAZ=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiAZ")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletdBParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupName")inletpreferredMaintenanceWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredMaintenanceWindow")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletvpcSecurityGroupIds=(Option.map~f:VpcSecurityGroupIdList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inletdBSecurityGroups=(Option.map~f:DBSecurityGroupNameList.of_xml)(Xml.childxml_arg0"DBSecurityGroups")inletmasterUserPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"MasterUserPassword")inletmasterUsername=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUsername")inletengine=String_.of_xml(Xml.child_exn~context:context_xml_arg0"Engine")inletdBInstanceClass=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceClass")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletdBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceIdentifier")inletdBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBName")inmake?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?masterUserSecretKmsKeyId?manageMasterUserPassword?networkType?maxAllocatedStorage?deletionProtection?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?enablePerformanceInsights?databaseInsightsMode~s3IngestionRoleArn?s3Prefix~s3BucketName~sourceEngineVersion~sourceEngine?enableIAMDatabaseAuthentication?monitoringRoleArn?monitoringInterval?copyTagsToSnapshot?kmsKeyId?storageEncrypted?storageType?tags?publiclyAccessible?optionGroupName?storageThroughput?iops?licenseModel?autoMinorVersionUpgrade?engineVersion?multiAZ?port?preferredBackupWindow?backupRetentionPeriod?dBParameterGroupName?preferredMaintenanceWindow?dBSubnetGroupName?availabilityZone?vpcSecurityGroupIds?dBSecurityGroups?masterUserPassword?masterUsername~engine~dBInstanceClass?allocatedStorage~dBInstanceIdentifier?dBName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagSpecifications=field_mapjson__"TagSpecifications"TagSpecificationList.of_jsoninletadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletcACertificateIdentifier=field_mapjson__"CACertificateIdentifier"String_.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"BooleanOptional.of_jsoninletmasterUserSecretKmsKeyId=field_mapjson__"MasterUserSecretKmsKeyId"String_.of_jsoninletmanageMasterUserPassword=field_mapjson__"ManageMasterUserPassword"BooleanOptional.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletmaxAllocatedStorage=field_mapjson__"MaxAllocatedStorage"IntegerOptional.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletuseDefaultProcessorFeatures=field_mapjson__"UseDefaultProcessorFeatures"BooleanOptional.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletenableCloudwatchLogsExports=field_mapjson__"EnableCloudwatchLogsExports"LogTypeList.of_jsoninletperformanceInsightsRetentionPeriod=field_mapjson__"PerformanceInsightsRetentionPeriod"IntegerOptional.of_jsoninletperformanceInsightsKMSKeyId=field_mapjson__"PerformanceInsightsKMSKeyId"String_.of_jsoninletenablePerformanceInsights=field_mapjson__"EnablePerformanceInsights"BooleanOptional.of_jsoninletdatabaseInsightsMode=field_mapjson__"DatabaseInsightsMode"DatabaseInsightsMode.of_jsoninlets3IngestionRoleArn=field_map_exnjson__"S3IngestionRoleArn"String_.of_jsoninlets3Prefix=field_mapjson__"S3Prefix"String_.of_jsoninlets3BucketName=field_map_exnjson__"S3BucketName"String_.of_jsoninletsourceEngineVersion=field_map_exnjson__"SourceEngineVersion"String_.of_jsoninletsourceEngine=field_map_exnjson__"SourceEngine"String_.of_jsoninletenableIAMDatabaseAuthentication=field_mapjson__"EnableIAMDatabaseAuthentication"BooleanOptional.of_jsoninletmonitoringRoleArn=field_mapjson__"MonitoringRoleArn"String_.of_jsoninletmonitoringInterval=field_mapjson__"MonitoringInterval"IntegerOptional.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"BooleanOptional.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninletstorageEncrypted=field_mapjson__"StorageEncrypted"BooleanOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletautoMinorVersionUpgrade=field_mapjson__"AutoMinorVersionUpgrade"BooleanOptional.of_jsoninletengineVersion=field_mapjson__"EngineVersion"String_.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"BooleanOptional.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletdBParameterGroupName=field_mapjson__"DBParameterGroupName"String_.of_jsoninletpreferredMaintenanceWindow=field_mapjson__"PreferredMaintenanceWindow"String_.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"VpcSecurityGroupIdList.of_jsoninletdBSecurityGroups=field_mapjson__"DBSecurityGroups"DBSecurityGroupNameList.of_jsoninletmasterUserPassword=field_mapjson__"MasterUserPassword"SensitiveString.of_jsoninletmasterUsername=field_mapjson__"MasterUsername"String_.of_jsoninletengine=field_map_exnjson__"Engine"String_.of_jsoninletdBInstanceClass=field_map_exnjson__"DBInstanceClass"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletdBInstanceIdentifier=field_map_exnjson__"DBInstanceIdentifier"String_.of_jsoninletdBName=field_mapjson__"DBName"String_.of_jsoninmake?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?masterUserSecretKmsKeyId?manageMasterUserPassword?networkType?maxAllocatedStorage?deletionProtection?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?enablePerformanceInsights?databaseInsightsMode~s3IngestionRoleArn?s3Prefix~s3BucketName~sourceEngineVersion~sourceEngine?enableIAMDatabaseAuthentication?monitoringRoleArn?monitoringInterval?copyTagsToSnapshot?kmsKeyId?storageEncrypted?storageType?tags?publiclyAccessible?optionGroupName?storageThroughput?iops?licenseModel?autoMinorVersionUpgrade?engineVersion?multiAZ?port?preferredBackupWindow?backupRetentionPeriod?dBParameterGroupName?preferredMaintenanceWindow?dBSubnetGroupName?availabilityZone?vpcSecurityGroupIds?dBSecurityGroups?masterUserPassword?masterUsername~engine~dBInstanceClass?allocatedStorage~dBInstanceIdentifier?dBName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Amazon Relational Database Service (Amazon RDS) supports importing MySQL databases by using backup files. You can create a backup of your on-premises database, store it on Amazon Simple Storage Service (Amazon S3), and then restore the backup file onto a new Amazon RDS DB instance running MySQL. For more information, see Restoring a backup into an Amazon RDS for MySQL DB instance in the Amazon RDS User Guide. This operation doesn't apply to RDS Custom."]moduleRestoreDBInstanceFromDBSnapshotResult=structtyperestoreDBInstanceFromDBSnapshotResult={dBInstance:DBInstance.toption}andresponseMetaData=unitandt={restoreDBInstanceFromDBSnapshotResult:restoreDBInstanceFromDBSnapshotResult;responseMetaData:responseMetaData}typeerror=[`AuthorizationNotFoundFaultofAuthorizationNotFoundFault.t|`BackupPolicyNotFoundFaultofBackupPolicyNotFoundFault.t|`CertificateNotFoundFaultofCertificateNotFoundFault.t|`DBClusterSnapshotNotFoundFaultofDBClusterSnapshotNotFoundFault.t|`DBInstanceAlreadyExistsFaultofDBInstanceAlreadyExistsFault.t|`DBParameterGroupNotFoundFaultofDBParameterGroupNotFoundFault.t|`DBSecurityGroupNotFoundFaultofDBSecurityGroupNotFoundFault.t|`DBSnapshotNotFoundFaultofDBSnapshotNotFoundFault.t|`DBSubnetGroupDoesNotCoverEnoughAZsofDBSubnetGroupDoesNotCoverEnoughAZs.t|`DBSubnetGroupNotFoundFaultofDBSubnetGroupNotFoundFault.t|`DomainNotFoundFaultofDomainNotFoundFault.t|`InstanceQuotaExceededFaultofInstanceQuotaExceededFault.t|`InsufficientDBInstanceCapacityFaultofInsufficientDBInstanceCapacityFault.t|`InvalidDBSnapshotStateFaultofInvalidDBSnapshotStateFault.t|`InvalidRestoreFaultofInvalidRestoreFault.t|`InvalidSubnetofInvalidSubnet.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`NetworkTypeNotSupportedofNetworkTypeNotSupported.t|`OptionGroupNotFoundFaultofOptionGroupNotFoundFault.t|`ProvisionedIopsNotAvailableInAZFaultofProvisionedIopsNotAvailableInAZFault.t|`StorageQuotaExceededFaultofStorageQuotaExceededFault.t|`StorageTypeNotSupportedFaultofStorageTypeNotSupportedFault.t|`TenantDatabaseQuotaExceededFaultofTenantDatabaseQuotaExceededFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RestoreDBInstanceFromDBSnapshotResult"letmake?dBInstance=fun()->{restoreDBInstanceFromDBSnapshotResult={dBInstance};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_jsonjson)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_jsonjson)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_jsonjson)|"DBClusterSnapshotNotFoundFault"->`DBClusterSnapshotNotFoundFault(DBClusterSnapshotNotFoundFault.of_jsonjson)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_jsonjson)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_jsonjson)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_jsonjson)|"DBSnapshotNotFoundFault"->`DBSnapshotNotFoundFault(DBSnapshotNotFoundFault.of_jsonjson)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_jsonjson)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_jsonjson)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_jsonjson)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_jsonjson)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_jsonjson)|"InvalidDBSnapshotStateFault"->`InvalidDBSnapshotStateFault(InvalidDBSnapshotStateFault.of_jsonjson)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_jsonjson)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_jsonjson)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_jsonjson)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_jsonjson)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_jsonjson)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_jsonjson)|"TenantDatabaseQuotaExceededFault"->`TenantDatabaseQuotaExceededFault(TenantDatabaseQuotaExceededFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AuthorizationNotFoundFault"->`AuthorizationNotFoundFault(AuthorizationNotFoundFault.of_xmlxml)|"BackupPolicyNotFoundFault"->`BackupPolicyNotFoundFault(BackupPolicyNotFoundFault.of_xmlxml)|"CertificateNotFoundFault"->`CertificateNotFoundFault(CertificateNotFoundFault.of_xmlxml)|"DBClusterSnapshotNotFoundFault"->`DBClusterSnapshotNotFoundFault(DBClusterSnapshotNotFoundFault.of_xmlxml)|"DBInstanceAlreadyExistsFault"->`DBInstanceAlreadyExistsFault(DBInstanceAlreadyExistsFault.of_xmlxml)|"DBParameterGroupNotFoundFault"->`DBParameterGroupNotFoundFault(DBParameterGroupNotFoundFault.of_xmlxml)|"DBSecurityGroupNotFoundFault"->`DBSecurityGroupNotFoundFault(DBSecurityGroupNotFoundFault.of_xmlxml)|"DBSnapshotNotFoundFault"->`DBSnapshotNotFoundFault(DBSnapshotNotFoundFault.of_xmlxml)|"DBSubnetGroupDoesNotCoverEnoughAZs"->`DBSubnetGroupDoesNotCoverEnoughAZs(DBSubnetGroupDoesNotCoverEnoughAZs.of_xmlxml)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_xmlxml)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_xmlxml)|"InstanceQuotaExceededFault"->`InstanceQuotaExceededFault(InstanceQuotaExceededFault.of_xmlxml)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_xmlxml)|"InvalidDBSnapshotStateFault"->`InvalidDBSnapshotStateFault(InvalidDBSnapshotStateFault.of_xmlxml)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_xmlxml)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_xmlxml)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_xmlxml)|"ProvisionedIopsNotAvailableInAZFault"->`ProvisionedIopsNotAvailableInAZFault(ProvisionedIopsNotAvailableInAZFault.of_xmlxml)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_xmlxml)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_xmlxml)|"TenantDatabaseQuotaExceededFault"->`TenantDatabaseQuotaExceededFault(TenantDatabaseQuotaExceededFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AuthorizationNotFoundFaulte->`Assoc[("error",(`String"AuthorizationNotFoundFault"));("details",(AuthorizationNotFoundFault.to_jsone))]|`BackupPolicyNotFoundFaulte->`Assoc[("error",(`String"BackupPolicyNotFoundFault"));("details",(BackupPolicyNotFoundFault.to_jsone))]|`CertificateNotFoundFaulte->`Assoc[("error",(`String"CertificateNotFoundFault"));("details",(CertificateNotFoundFault.to_jsone))]|`DBClusterSnapshotNotFoundFaulte->`Assoc[("error",(`String"DBClusterSnapshotNotFoundFault"));("details",(DBClusterSnapshotNotFoundFault.to_jsone))]|`DBInstanceAlreadyExistsFaulte->`Assoc[("error",(`String"DBInstanceAlreadyExistsFault"));("details",(DBInstanceAlreadyExistsFault.to_jsone))]|`DBParameterGroupNotFoundFaulte->`Assoc[("error",(`String"DBParameterGroupNotFoundFault"));("details",(DBParameterGroupNotFoundFault.to_jsone))]|`DBSecurityGroupNotFoundFaulte->`Assoc[("error",(`String"DBSecurityGroupNotFoundFault"));("details",(DBSecurityGroupNotFoundFault.to_jsone))]|`DBSnapshotNotFoundFaulte->`Assoc[("error",(`String"DBSnapshotNotFoundFault"));("details",(DBSnapshotNotFoundFault.to_jsone))]|`DBSubnetGroupDoesNotCoverEnoughAZse->`Assoc[("error",(`String"DBSubnetGroupDoesNotCoverEnoughAZs"));("details",(DBSubnetGroupDoesNotCoverEnoughAZs.to_jsone))]|`DBSubnetGroupNotFoundFaulte->`Assoc[("error",(`String"DBSubnetGroupNotFoundFault"));("details",(DBSubnetGroupNotFoundFault.to_jsone))]|`DomainNotFoundFaulte->`Assoc[("error",(`String"DomainNotFoundFault"));("details",(DomainNotFoundFault.to_jsone))]|`InstanceQuotaExceededFaulte->`Assoc[("error",(`String"InstanceQuotaExceededFault"));("details",(InstanceQuotaExceededFault.to_jsone))]|`InsufficientDBInstanceCapacityFaulte->`Assoc[("error",(`String"InsufficientDBInstanceCapacityFault"));("details",(InsufficientDBInstanceCapacityFault.to_jsone))]|`InvalidDBSnapshotStateFaulte->`Assoc[("error",(`String"InvalidDBSnapshotStateFault"));("details",(InvalidDBSnapshotStateFault.to_jsone))]|`InvalidRestoreFaulte->`Assoc[("error",(`String"InvalidRestoreFault"));("details",(InvalidRestoreFault.to_jsone))]|`InvalidSubnete->`Assoc[("error",(`String"InvalidSubnet"));("details",(InvalidSubnet.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`NetworkTypeNotSupportede->`Assoc[("error",(`String"NetworkTypeNotSupported"));("details",(NetworkTypeNotSupported.to_jsone))]|`OptionGroupNotFoundFaulte->`Assoc[("error",(`String"OptionGroupNotFoundFault"));("details",(OptionGroupNotFoundFault.to_jsone))]|`ProvisionedIopsNotAvailableInAZFaulte->`Assoc[("error",(`String"ProvisionedIopsNotAvailableInAZFault"));("details",(ProvisionedIopsNotAvailableInAZFault.to_jsone))]|`StorageQuotaExceededFaulte->`Assoc[("error",(`String"StorageQuotaExceededFault"));("details",(StorageQuotaExceededFault.to_jsone))]|`StorageTypeNotSupportedFaulte->`Assoc[("error",(`String"StorageTypeNotSupportedFault"));("details",(StorageTypeNotSupportedFault.to_jsone))]|`TenantDatabaseQuotaExceededFaulte->`Assoc[("error",(`String"TenantDatabaseQuotaExceededFault"));("details",(TenantDatabaseQuotaExceededFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.restoreDBInstanceFromDBSnapshotResultinstructure_to_wrapped_value[("DBInstance",(Option.mapx.dBInstance~f:DBInstance.to_value))]~wrapper:"RestoreDBInstanceFromDBSnapshotResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RestoreDBInstanceFromDBSnapshotResult"inletdBInstance=(Option.map~f:DBInstance.of_xml)(Xml.childxml_arg0"DBInstance")inmake?dBInstance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBInstance=field_mapjson__"DBInstance"DBInstance.of_jsoninmake?dBInstance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with most of the source's original configuration, including the default security group and DB parameter group. By default, the new DB instance is created as a Single-AZ deployment, except when the instance is a SQL Server instance that has an option group associated with mirroring. In this case, the instance becomes a Multi-AZ deployment, not a Single-AZ deployment. If you want to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot operation. RDS doesn't allow two DB instances with the same name. After you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot operation. The result is that you replace the original DB instance with the DB instance created from the snapshot. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot. To restore from a DB snapshot with an unsupported engine version, you must first upgrade the engine version of the snapshot. For more information about upgrading a RDS for MySQL DB snapshot engine version, see Upgrading a MySQL DB snapshot engine version. For more information about upgrading a RDS for PostgreSQL DB snapshot engine version, Upgrading a PostgreSQL DB snapshot engine version. This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora, use RestoreDBClusterFromSnapshot."]moduleRestoreDBInstanceFromDBSnapshotMessage=structtypenonrect={dBInstanceIdentifier:String_.t[@ocaml.doc"The name of the DB instance to create from the DB snapshot. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 numbers, letters, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens. Example: my-snapshot-id"];dBSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier for the DB snapshot to restore from. Constraints: Must match the identifier of an existing DB snapshot. Can't be specified when DBClusterSnapshotIdentifier is specified. Must be specified when DBClusterSnapshotIdentifier isn't specified. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot."];dBInstanceClass:String_.toption[@ocaml.doc"The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Default: The same DBInstanceClass as the original DB instance."];port:IntegerOptional.toption[@ocaml.doc"The port number on which the database accepts connections. Default: The same port as the original DB instance Constraints: Value must be 1150-65535"];availabilityZone:String_.toption[@ocaml.doc"The Availability Zone (AZ) where the DB instance will be created. Default: A random, system-chosen Availability Zone. Constraint: You can't specify the AvailabilityZone parameter if the DB instance is a Multi-AZ deployment. Example: us-east-1a"];dBSubnetGroupName:String_.toption[@ocaml.doc"The name of the DB subnet group to use for the new instance. Constraints: If supplied, must match the name of an existing DB subnet group. Example: mydbsubnetgroup"];multiAZ:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom. Constraint: You can't specify the AvailabilityZone parameter if the DB instance is a Multi-AZ deployment."];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance is publicly accessible. When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address. For more information, see CreateDBInstance."];autoMinorVersionUpgrade:BooleanOptional.toption[@ocaml.doc"Specifies whether to automatically apply minor version upgrades to the DB instance during the maintenance window. If you restore an RDS Custom DB instance, you must disable this parameter. For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version."];licenseModel:String_.toption[@ocaml.doc"License model information for the restored DB instance. License models for RDS for Db2 require additional configuration. The bring your own license (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see Amazon RDS for Db2 licensing options in the Amazon RDS User Guide. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. Valid Values: RDS for Db2 - bring-your-own-license | marketplace-license RDS for MariaDB - general-public-license RDS for Microsoft SQL Server - license-included RDS for MySQL - general-public-license RDS for Oracle - bring-your-own-license | license-included RDS for PostgreSQL - postgresql-license Default: Same as the source."];dBName:String_.toption[@ocaml.doc"The name of the database for the restored DB instance. This parameter only applies to RDS for Oracle and RDS for SQL Server DB instances. It doesn't apply to the other engines or to RDS Custom DB instances."];engine:String_.toption[@ocaml.doc"The database engine to use for the new instance. This setting doesn't apply to RDS Custom. Default: The same as source Constraint: Must be compatible with the engine of the source. For example, you can restore a MariaDB 10.1 DB instance from a MySQL 5.6 snapshot. Valid Values: db2-ae db2-se mariadb mysql oracle-ee oracle-ee-cdb oracle-se2 oracle-se2-cdb postgres sqlserver-ee sqlserver-se sqlserver-ex sqlserver-web"];iops:IntegerOptional.toption[@ocaml.doc"Specifies the amount of provisioned IOPS for the DB instance, expressed in I/O operations per second. If this parameter isn't specified, the IOPS value is taken from the backup. If this parameter is set to 0, the new instance is converted to a non-PIOPS instance. The conversion takes additional time, though your DB instance is available for connections before the conversion starts. The provisioned IOPS value must follow the requirements for your database engine. For more information, see Amazon RDS Provisioned IOPS storage in the Amazon RDS User Guide. Constraints: Must be an integer greater than 1000."];storageThroughput:IntegerOptional.toption[@ocaml.doc"Specifies the storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora."];optionGroupName:String_.toption[@ocaml.doc"The name of the option group to be used for the restored DB instance. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance after it is associated with a DB instance. This setting doesn't apply to RDS Custom."];tags:TagList.toption;storageType:String_.toption[@ocaml.doc"Specifies the storage type to be associated with the DB instance. Valid Values: gp2 | gp3 | io1 | io2 | standard If you specify io1, io2, or gp3, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified, otherwise gp3"];tdeCredentialArn:String_.toption[@ocaml.doc"The ARN from the key store with which to associate the instance for TDE encryption. This setting doesn't apply to RDS Custom."];tdeCredentialPassword:SensitiveString.toption[@ocaml.doc"The password for the given ARN from the key store in order to access the device. This setting doesn't apply to RDS Custom."];vpcSecurityGroupIds:VpcSecurityGroupIdList.toption[@ocaml.doc"A list of EC2 VPC security groups to associate with this DB instance. Default: The default EC2 VPC security group for the DB subnet group's VPC."];domain:String_.toption[@ocaml.doc"The Active Directory directory ID to restore the DB instance in. The domain/ must be created prior to this operation. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom."];domainFqdn:String_.toption[@ocaml.doc"The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain"];domainOu:String_.toption[@ocaml.doc"The Active Directory organizational unit for your DB instance to join. Constraints: Must be in the distinguished name format. Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain"];domainAuthSecretArn:String_.toption[@ocaml.doc"The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Constraints: Can't be longer than 64 characters. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456"];domainDnsIps:StringList.toption[@ocaml.doc"The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237"];copyTagsToSnapshot:BooleanOptional.toption[@ocaml.doc"Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. In most cases, tags aren't copied by default. However, when you restore a DB instance from a DB snapshot, RDS checks whether you specify new tags. If yes, the new tags are added to the restored DB instance. If there are no new tags, RDS looks for the tags from the source DB instance for the DB snapshot, and then adds those tags to the restored DB instance. For more information, see Copying tags to DB instance snapshots in the Amazon RDS User Guide."];domainIAMRoleName:String_.toption[@ocaml.doc"The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to RDS Custom DB instances."];enableIAMDatabaseAuthentication:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. For more information about IAM database authentication, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom."];enableCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"The list of logs for the restored DB instance to export to CloudWatch Logs. The values in the list depend on the DB engine. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom."];processorFeatures:ProcessorFeatureList.toption[@ocaml.doc"The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to RDS Custom."];useDefaultProcessorFeatures:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom."];dBParameterGroupName:String_.toption[@ocaml.doc"The name of the DB parameter group to associate with this DB instance. If you don't specify a value for DBParameterGroupName, then RDS uses the default DBParameterGroup for the specified DB engine. This setting doesn't apply to RDS Custom. Constraints: If supplied, must match the name of an existing DB parameter group. Must be 1 to 255 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens."];deletionProtection:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable deletion protection for the DB instance. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance."];enableCustomerOwnedIp:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network. This setting doesn't apply to RDS Custom. For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide. For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide."];networkType:String_.toption[@ocaml.doc"The network type of the DB instance. Valid Values: IPV4 DUAL The network type is determined by the DBSubnetGroup specified for the DB instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide."];backupTarget:String_.toption[@ocaml.doc"Specifies where automated backups and manual snapshots are stored for the restored DB instance. Possible values are local (Dedicated Local Zone), outposts (Amazon Web Services Outposts), and region (Amazon Web Services Region). The default is region. For more information, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide."];customIamInstanceProfile:String_.toption[@ocaml.doc"The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements: The profile must exist in your account. The profile must have an IAM role that Amazon EC2 has permissions to assume. The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide. This setting is required for RDS Custom."];allocatedStorage:IntegerOptional.toption[@ocaml.doc"The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules specified in CreateDBInstance. This setting isn't valid for RDS for SQL Server. Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can also allocate additional storage for future growth."];dBClusterSnapshotIdentifier:String_.toption[@ocaml.doc"The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: Must match the identifier of an existing Multi-AZ DB cluster snapshot. Can't be specified when DBSnapshotIdentifier is specified. Must be specified when DBSnapshotIdentifier isn't specified. If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. Can't be the identifier of an Aurora DB cluster snapshot."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Enabling and disabling backups can result in a brief I/O suspension that lasts from a few seconds to a few minutes, depending on the size and class of your DB instance. This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster. For more information, see ModifyDBCluster. Default: Uses existing setting Constraints: Must be a value from 0 to 35. Can't be set to 0 if the DB instance is a source to read replicas. Can't be set to 0 for an RDS Custom for Oracle DB instance."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod parameter. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see Backup window in the Amazon RDS User Guide. This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster. For more information, see ModifyDBCluster. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes."];dedicatedLogVolume:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable a dedicated log volume (DLV) for the DB instance."];cACertificateIdentifier:String_.toption[@ocaml.doc"The CA certificate identifier to use for the DB instance's server certificate. This setting doesn't apply to RDS Custom DB instances. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide."];engineLifecycleSupport:String_.toption[@ocaml.doc"The life cycle type for this DB instance. By default, this value is set to open-source-rds-extended-support, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of standard support date. You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see Amazon RDS Extended Support with Amazon RDS in the Amazon RDS User Guide. This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster. Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled Default: open-source-rds-extended-support"];additionalStorageVolumes:AdditionalStorageVolumesList.toption[@ocaml.doc"A list of additional storage volumes to create for the DB instance. You can create up to three additional storage volumes using the names rdsdbdata2, rdsdbdata3, and rdsdbdata4. Additional storage volumes are supported for RDS for Oracle and RDS for SQL Server DB instances only."];tagSpecifications:TagSpecificationList.toption[@ocaml.doc"Tags to assign to resources associated with the DB instance. Valid Values: auto-backup - The DB instance's automated backup."];manageMasterUserPassword:BooleanOptional.toption[@ocaml.doc"Specifies whether to manage the master user password with Amazon Web Services Secrets Manager in the restored DB instance. For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide. Constraints: Applies to RDS for Oracle only."];masterUserSecretKmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager. This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the aws/secretsmanager KMS key to encrypt the secret, and you must use a customer managed KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."]}letcontext_="RestoreDBInstanceFromDBSnapshotMessage"letmake?dBSnapshotIdentifier=fun?dBInstanceClass->fun?port->fun?availabilityZone->fun?dBSubnetGroupName->fun?multiAZ->fun?publiclyAccessible->fun?autoMinorVersionUpgrade->fun?licenseModel->fun?dBName->fun?engine->fun?iops->fun?storageThroughput->fun?optionGroupName->fun?tags->fun?storageType->fun?tdeCredentialArn->fun?tdeCredentialPassword->fun?vpcSecurityGroupIds->fun?domain->fun?domainFqdn->fun?domainOu->fun?domainAuthSecretArn->fun?domainDnsIps->fun?copyTagsToSnapshot->fun?domainIAMRoleName->fun?enableIAMDatabaseAuthentication->fun?enableCloudwatchLogsExports->fun?processorFeatures->fun?useDefaultProcessorFeatures->fun?dBParameterGroupName->fun?deletionProtection->fun?enableCustomerOwnedIp->fun?networkType->fun?backupTarget->fun?customIamInstanceProfile->fun?allocatedStorage->fun?dBClusterSnapshotIdentifier->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?dedicatedLogVolume->fun?cACertificateIdentifier->fun?engineLifecycleSupport->fun?additionalStorageVolumes->fun?tagSpecifications->fun?manageMasterUserPassword->fun?masterUserSecretKmsKeyId->fun~dBInstanceIdentifier->fun()->{dBSnapshotIdentifier;dBInstanceClass;port;availabilityZone;dBSubnetGroupName;multiAZ;publiclyAccessible;autoMinorVersionUpgrade;licenseModel;dBName;engine;iops;storageThroughput;optionGroupName;tags;storageType;tdeCredentialArn;tdeCredentialPassword;vpcSecurityGroupIds;domain;domainFqdn;domainOu;domainAuthSecretArn;domainDnsIps;copyTagsToSnapshot;domainIAMRoleName;enableIAMDatabaseAuthentication;enableCloudwatchLogsExports;processorFeatures;useDefaultProcessorFeatures;dBParameterGroupName;deletionProtection;enableCustomerOwnedIp;networkType;backupTarget;customIamInstanceProfile;allocatedStorage;dBClusterSnapshotIdentifier;backupRetentionPeriod;preferredBackupWindow;dedicatedLogVolume;cACertificateIdentifier;engineLifecycleSupport;additionalStorageVolumes;tagSpecifications;manageMasterUserPassword;masterUserSecretKmsKeyId;dBInstanceIdentifier}letto_valuex=structure_to_value[("DBInstanceIdentifier",(Some(String_.to_valuex.dBInstanceIdentifier)));("DBSnapshotIdentifier",(Option.mapx.dBSnapshotIdentifier~f:String_.to_value));("DBInstanceClass",(Option.mapx.dBInstanceClass~f:String_.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:String_.to_value));("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("MultiAZ",(Option.mapx.multiAZ~f:BooleanOptional.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("AutoMinorVersionUpgrade",(Option.mapx.autoMinorVersionUpgrade~f:BooleanOptional.to_value));("LicenseModel",(Option.mapx.licenseModel~f:String_.to_value));("DBName",(Option.mapx.dBName~f:String_.to_value));("Engine",(Option.mapx.engine~f:String_.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("StorageThroughput",(Option.mapx.storageThroughput~f:IntegerOptional.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("TdeCredentialArn",(Option.mapx.tdeCredentialArn~f:String_.to_value));("TdeCredentialPassword",(Option.mapx.tdeCredentialPassword~f:SensitiveString.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:VpcSecurityGroupIdList.to_value));("Domain",(Option.mapx.domain~f:String_.to_value));("DomainFqdn",(Option.mapx.domainFqdn~f:String_.to_value));("DomainOu",(Option.mapx.domainOu~f:String_.to_value));("DomainAuthSecretArn",(Option.mapx.domainAuthSecretArn~f:String_.to_value));("DomainDnsIps",(Option.mapx.domainDnsIps~f:StringList.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:BooleanOptional.to_value));("DomainIAMRoleName",(Option.mapx.domainIAMRoleName~f:String_.to_value));("EnableIAMDatabaseAuthentication",(Option.mapx.enableIAMDatabaseAuthentication~f:BooleanOptional.to_value));("EnableCloudwatchLogsExports",(Option.mapx.enableCloudwatchLogsExports~f:LogTypeList.to_value));("ProcessorFeatures",(Option.mapx.processorFeatures~f:ProcessorFeatureList.to_value));("UseDefaultProcessorFeatures",(Option.mapx.useDefaultProcessorFeatures~f:BooleanOptional.to_value));("DBParameterGroupName",(Option.mapx.dBParameterGroupName~f:String_.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("EnableCustomerOwnedIp",(Option.mapx.enableCustomerOwnedIp~f:BooleanOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("BackupTarget",(Option.mapx.backupTarget~f:String_.to_value));("CustomIamInstanceProfile",(Option.mapx.customIamInstanceProfile~f:String_.to_value));("AllocatedStorage",(Option.mapx.allocatedStorage~f:IntegerOptional.to_value));("DBClusterSnapshotIdentifier",(Option.mapx.dBClusterSnapshotIdentifier~f:String_.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("DedicatedLogVolume",(Option.mapx.dedicatedLogVolume~f:BooleanOptional.to_value));("CACertificateIdentifier",(Option.mapx.cACertificateIdentifier~f:String_.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("AdditionalStorageVolumes",(Option.mapx.additionalStorageVolumes~f:AdditionalStorageVolumesList.to_value));("TagSpecifications",(Option.mapx.tagSpecifications~f:TagSpecificationList.to_value));("ManageMasterUserPassword",(Option.mapx.manageMasterUserPassword~f:BooleanOptional.to_value));("MasterUserSecretKmsKeyId",(Option.mapx.masterUserSecretKmsKeyId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmasterUserSecretKmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MasterUserSecretKmsKeyId")inletmanageMasterUserPassword=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"ManageMasterUserPassword")inlettagSpecifications=(Option.map~f:TagSpecificationList.of_xml)(Xml.childxml_arg0"TagSpecifications")inletadditionalStorageVolumes=(Option.map~f:AdditionalStorageVolumesList.of_xml)(Xml.childxml_arg0"AdditionalStorageVolumes")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletcACertificateIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CACertificateIdentifier")inletdedicatedLogVolume=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DedicatedLogVolume")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletdBClusterSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterSnapshotIdentifier")inletallocatedStorage=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"AllocatedStorage")inletcustomIamInstanceProfile=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CustomIamInstanceProfile")inletbackupTarget=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"BackupTarget")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletenableCustomerOwnedIp=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableCustomerOwnedIp")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletdBParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBParameterGroupName")inletuseDefaultProcessorFeatures=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"UseDefaultProcessorFeatures")inletprocessorFeatures=(Option.map~f:ProcessorFeatureList.of_xml)(Xml.childxml_arg0"ProcessorFeatures")inletenableCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnableCloudwatchLogsExports")inletenableIAMDatabaseAuthentication=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableIAMDatabaseAuthentication")inletdomainIAMRoleName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainIAMRoleName")inletcopyTagsToSnapshot=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletdomainDnsIps=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"DomainDnsIps")inletdomainAuthSecretArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainAuthSecretArn")inletdomainOu=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainOu")inletdomainFqdn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainFqdn")inletdomain=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Domain")inletvpcSecurityGroupIds=(Option.map~f:VpcSecurityGroupIdList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inlettdeCredentialPassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"TdeCredentialPassword")inlettdeCredentialArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"TdeCredentialArn")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletstorageThroughput=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"StorageThroughput")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletengine=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Engine")inletdBName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBName")inletlicenseModel=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"LicenseModel")inletautoMinorVersionUpgrade=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"AutoMinorVersionUpgrade")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletmultiAZ=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"MultiAZ")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inletavailabilityZone=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletdBInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBInstanceClass")inletdBSnapshotIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSnapshotIdentifier")inletdBInstanceIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBInstanceIdentifier")inmake?masterUserSecretKmsKeyId?manageMasterUserPassword?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?preferredBackupWindow?backupRetentionPeriod?dBClusterSnapshotIdentifier?allocatedStorage?customIamInstanceProfile?backupTarget?networkType?enableCustomerOwnedIp?deletionProtection?dBParameterGroupName?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?enableIAMDatabaseAuthentication?domainIAMRoleName?copyTagsToSnapshot?domainDnsIps?domainAuthSecretArn?domainOu?domainFqdn?domain?vpcSecurityGroupIds?tdeCredentialPassword?tdeCredentialArn?storageType?tags?optionGroupName?storageThroughput?iops?engine?dBName?licenseModel?autoMinorVersionUpgrade?publiclyAccessible?multiAZ?dBSubnetGroupName?availabilityZone?port?dBInstanceClass?dBSnapshotIdentifier~dBInstanceIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmasterUserSecretKmsKeyId=field_mapjson__"MasterUserSecretKmsKeyId"String_.of_jsoninletmanageMasterUserPassword=field_mapjson__"ManageMasterUserPassword"BooleanOptional.of_jsoninlettagSpecifications=field_mapjson__"TagSpecifications"TagSpecificationList.of_jsoninletadditionalStorageVolumes=field_mapjson__"AdditionalStorageVolumes"AdditionalStorageVolumesList.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletcACertificateIdentifier=field_mapjson__"CACertificateIdentifier"String_.of_jsoninletdedicatedLogVolume=field_mapjson__"DedicatedLogVolume"BooleanOptional.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletdBClusterSnapshotIdentifier=field_mapjson__"DBClusterSnapshotIdentifier"String_.of_jsoninletallocatedStorage=field_mapjson__"AllocatedStorage"IntegerOptional.of_jsoninletcustomIamInstanceProfile=field_mapjson__"CustomIamInstanceProfile"String_.of_jsoninletbackupTarget=field_mapjson__"BackupTarget"String_.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletenableCustomerOwnedIp=field_mapjson__"EnableCustomerOwnedIp"BooleanOptional.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletdBParameterGroupName=field_mapjson__"DBParameterGroupName"String_.of_jsoninletuseDefaultProcessorFeatures=field_mapjson__"UseDefaultProcessorFeatures"BooleanOptional.of_jsoninletprocessorFeatures=field_mapjson__"ProcessorFeatures"ProcessorFeatureList.of_jsoninletenableCloudwatchLogsExports=field_mapjson__"EnableCloudwatchLogsExports"LogTypeList.of_jsoninletenableIAMDatabaseAuthentication=field_mapjson__"EnableIAMDatabaseAuthentication"BooleanOptional.of_jsoninletdomainIAMRoleName=field_mapjson__"DomainIAMRoleName"String_.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"BooleanOptional.of_jsoninletdomainDnsIps=field_mapjson__"DomainDnsIps"StringList.of_jsoninletdomainAuthSecretArn=field_mapjson__"DomainAuthSecretArn"String_.of_jsoninletdomainOu=field_mapjson__"DomainOu"String_.of_jsoninletdomainFqdn=field_mapjson__"DomainFqdn"String_.of_jsoninletdomain=field_mapjson__"Domain"String_.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"VpcSecurityGroupIdList.of_jsoninlettdeCredentialPassword=field_mapjson__"TdeCredentialPassword"SensitiveString.of_jsoninlettdeCredentialArn=field_mapjson__"TdeCredentialArn"String_.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletstorageThroughput=field_mapjson__"StorageThroughput"IntegerOptional.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletengine=field_mapjson__"Engine"String_.of_jsoninletdBName=field_mapjson__"DBName"String_.of_jsoninletlicenseModel=field_mapjson__"LicenseModel"String_.of_jsoninletautoMinorVersionUpgrade=field_mapjson__"AutoMinorVersionUpgrade"BooleanOptional.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletmultiAZ=field_mapjson__"MultiAZ"BooleanOptional.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletdBInstanceClass=field_mapjson__"DBInstanceClass"String_.of_jsoninletdBSnapshotIdentifier=field_mapjson__"DBSnapshotIdentifier"String_.of_jsoninletdBInstanceIdentifier=field_map_exnjson__"DBInstanceIdentifier"String_.of_jsoninmake?masterUserSecretKmsKeyId?manageMasterUserPassword?tagSpecifications?additionalStorageVolumes?engineLifecycleSupport?cACertificateIdentifier?dedicatedLogVolume?preferredBackupWindow?backupRetentionPeriod?dBClusterSnapshotIdentifier?allocatedStorage?customIamInstanceProfile?backupTarget?networkType?enableCustomerOwnedIp?deletionProtection?dBParameterGroupName?useDefaultProcessorFeatures?processorFeatures?enableCloudwatchLogsExports?enableIAMDatabaseAuthentication?domainIAMRoleName?copyTagsToSnapshot?domainDnsIps?domainAuthSecretArn?domainOu?domainFqdn?domain?vpcSecurityGroupIds?tdeCredentialPassword?tdeCredentialArn?storageType?tags?optionGroupName?storageThroughput?iops?engine?dBName?licenseModel?autoMinorVersionUpgrade?publiclyAccessible?multiAZ?dBSubnetGroupName?availabilityZone?port?dBInstanceClass?dBSnapshotIdentifier~dBInstanceIdentifier()letto_jsonv=composed_to_jsonto_valuevendmoduleRestoreDBClusterToPointInTimeResult=structtyperestoreDBClusterToPointInTimeResult={dBCluster:DBCluster.toption}andresponseMetaData=unitandt={restoreDBClusterToPointInTimeResult:restoreDBClusterToPointInTimeResult;responseMetaData:responseMetaData}typeerror=[`DBClusterAlreadyExistsFaultofDBClusterAlreadyExistsFault.t|`DBClusterAutomatedBackupNotFoundFaultofDBClusterAutomatedBackupNotFoundFault.t|`DBClusterNotFoundFaultofDBClusterNotFoundFault.t|`DBClusterParameterGroupNotFoundFaultofDBClusterParameterGroupNotFoundFault.t|`DBClusterQuotaExceededFaultofDBClusterQuotaExceededFault.t|`DBClusterSnapshotNotFoundFaultofDBClusterSnapshotNotFoundFault.t|`DBSubnetGroupNotFoundFaultofDBSubnetGroupNotFoundFault.t|`DomainNotFoundFaultofDomainNotFoundFault.t|`InsufficientDBClusterCapacityFaultofInsufficientDBClusterCapacityFault.t|`InsufficientDBInstanceCapacityFaultofInsufficientDBInstanceCapacityFault.t|`InsufficientStorageClusterCapacityFaultofInsufficientStorageClusterCapacityFault.t|`InvalidDBClusterSnapshotStateFaultofInvalidDBClusterSnapshotStateFault.t|`InvalidDBClusterStateFaultofInvalidDBClusterStateFault.t|`InvalidDBSnapshotStateFaultofInvalidDBSnapshotStateFault.t|`InvalidRestoreFaultofInvalidRestoreFault.t|`InvalidSubnetofInvalidSubnet.t|`InvalidVPCNetworkStateFaultofInvalidVPCNetworkStateFault.t|`KMSKeyNotAccessibleFaultofKMSKeyNotAccessibleFault.t|`NetworkTypeNotSupportedofNetworkTypeNotSupported.t|`OptionGroupNotFoundFaultofOptionGroupNotFoundFault.t|`StorageQuotaExceededFaultofStorageQuotaExceededFault.t|`StorageTypeNotSupportedFaultofStorageTypeNotSupportedFault.t|`VpcEncryptionControlViolationExceptionofVpcEncryptionControlViolationException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RestoreDBClusterToPointInTimeResult"letmake?dBCluster=fun()->{restoreDBClusterToPointInTimeResult={dBCluster};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"DBClusterAlreadyExistsFault"->`DBClusterAlreadyExistsFault(DBClusterAlreadyExistsFault.of_jsonjson)|"DBClusterAutomatedBackupNotFoundFault"->`DBClusterAutomatedBackupNotFoundFault(DBClusterAutomatedBackupNotFoundFault.of_jsonjson)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_jsonjson)|"DBClusterParameterGroupNotFoundFault"->`DBClusterParameterGroupNotFoundFault(DBClusterParameterGroupNotFoundFault.of_jsonjson)|"DBClusterQuotaExceededFault"->`DBClusterQuotaExceededFault(DBClusterQuotaExceededFault.of_jsonjson)|"DBClusterSnapshotNotFoundFault"->`DBClusterSnapshotNotFoundFault(DBClusterSnapshotNotFoundFault.of_jsonjson)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_jsonjson)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_jsonjson)|"InsufficientDBClusterCapacityFault"->`InsufficientDBClusterCapacityFault(InsufficientDBClusterCapacityFault.of_jsonjson)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_jsonjson)|"InsufficientStorageClusterCapacityFault"->`InsufficientStorageClusterCapacityFault(InsufficientStorageClusterCapacityFault.of_jsonjson)|"InvalidDBClusterSnapshotStateFault"->`InvalidDBClusterSnapshotStateFault(InvalidDBClusterSnapshotStateFault.of_jsonjson)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_jsonjson)|"InvalidDBSnapshotStateFault"->`InvalidDBSnapshotStateFault(InvalidDBSnapshotStateFault.of_jsonjson)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_jsonjson)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_jsonjson)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_jsonjson)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_jsonjson)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_jsonjson)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_jsonjson)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_jsonjson)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_jsonjson)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"DBClusterAlreadyExistsFault"->`DBClusterAlreadyExistsFault(DBClusterAlreadyExistsFault.of_xmlxml)|"DBClusterAutomatedBackupNotFoundFault"->`DBClusterAutomatedBackupNotFoundFault(DBClusterAutomatedBackupNotFoundFault.of_xmlxml)|"DBClusterNotFoundFault"->`DBClusterNotFoundFault(DBClusterNotFoundFault.of_xmlxml)|"DBClusterParameterGroupNotFoundFault"->`DBClusterParameterGroupNotFoundFault(DBClusterParameterGroupNotFoundFault.of_xmlxml)|"DBClusterQuotaExceededFault"->`DBClusterQuotaExceededFault(DBClusterQuotaExceededFault.of_xmlxml)|"DBClusterSnapshotNotFoundFault"->`DBClusterSnapshotNotFoundFault(DBClusterSnapshotNotFoundFault.of_xmlxml)|"DBSubnetGroupNotFoundFault"->`DBSubnetGroupNotFoundFault(DBSubnetGroupNotFoundFault.of_xmlxml)|"DomainNotFoundFault"->`DomainNotFoundFault(DomainNotFoundFault.of_xmlxml)|"InsufficientDBClusterCapacityFault"->`InsufficientDBClusterCapacityFault(InsufficientDBClusterCapacityFault.of_xmlxml)|"InsufficientDBInstanceCapacityFault"->`InsufficientDBInstanceCapacityFault(InsufficientDBInstanceCapacityFault.of_xmlxml)|"InsufficientStorageClusterCapacityFault"->`InsufficientStorageClusterCapacityFault(InsufficientStorageClusterCapacityFault.of_xmlxml)|"InvalidDBClusterSnapshotStateFault"->`InvalidDBClusterSnapshotStateFault(InvalidDBClusterSnapshotStateFault.of_xmlxml)|"InvalidDBClusterStateFault"->`InvalidDBClusterStateFault(InvalidDBClusterStateFault.of_xmlxml)|"InvalidDBSnapshotStateFault"->`InvalidDBSnapshotStateFault(InvalidDBSnapshotStateFault.of_xmlxml)|"InvalidRestoreFault"->`InvalidRestoreFault(InvalidRestoreFault.of_xmlxml)|"InvalidSubnet"->`InvalidSubnet(InvalidSubnet.of_xmlxml)|"InvalidVPCNetworkStateFault"->`InvalidVPCNetworkStateFault(InvalidVPCNetworkStateFault.of_xmlxml)|"KMSKeyNotAccessibleFault"->`KMSKeyNotAccessibleFault(KMSKeyNotAccessibleFault.of_xmlxml)|"NetworkTypeNotSupported"->`NetworkTypeNotSupported(NetworkTypeNotSupported.of_xmlxml)|"OptionGroupNotFoundFault"->`OptionGroupNotFoundFault(OptionGroupNotFoundFault.of_xmlxml)|"StorageQuotaExceededFault"->`StorageQuotaExceededFault(StorageQuotaExceededFault.of_xmlxml)|"StorageTypeNotSupportedFault"->`StorageTypeNotSupportedFault(StorageTypeNotSupportedFault.of_xmlxml)|"VpcEncryptionControlViolationException"->`VpcEncryptionControlViolationException(VpcEncryptionControlViolationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`DBClusterAlreadyExistsFaulte->`Assoc[("error",(`String"DBClusterAlreadyExistsFault"));("details",(DBClusterAlreadyExistsFault.to_jsone))]|`DBClusterAutomatedBackupNotFoundFaulte->`Assoc[("error",(`String"DBClusterAutomatedBackupNotFoundFault"));("details",(DBClusterAutomatedBackupNotFoundFault.to_jsone))]|`DBClusterNotFoundFaulte->`Assoc[("error",(`String"DBClusterNotFoundFault"));("details",(DBClusterNotFoundFault.to_jsone))]|`DBClusterParameterGroupNotFoundFaulte->`Assoc[("error",(`String"DBClusterParameterGroupNotFoundFault"));("details",(DBClusterParameterGroupNotFoundFault.to_jsone))]|`DBClusterQuotaExceededFaulte->`Assoc[("error",(`String"DBClusterQuotaExceededFault"));("details",(DBClusterQuotaExceededFault.to_jsone))]|`DBClusterSnapshotNotFoundFaulte->`Assoc[("error",(`String"DBClusterSnapshotNotFoundFault"));("details",(DBClusterSnapshotNotFoundFault.to_jsone))]|`DBSubnetGroupNotFoundFaulte->`Assoc[("error",(`String"DBSubnetGroupNotFoundFault"));("details",(DBSubnetGroupNotFoundFault.to_jsone))]|`DomainNotFoundFaulte->`Assoc[("error",(`String"DomainNotFoundFault"));("details",(DomainNotFoundFault.to_jsone))]|`InsufficientDBClusterCapacityFaulte->`Assoc[("error",(`String"InsufficientDBClusterCapacityFault"));("details",(InsufficientDBClusterCapacityFault.to_jsone))]|`InsufficientDBInstanceCapacityFaulte->`Assoc[("error",(`String"InsufficientDBInstanceCapacityFault"));("details",(InsufficientDBInstanceCapacityFault.to_jsone))]|`InsufficientStorageClusterCapacityFaulte->`Assoc[("error",(`String"InsufficientStorageClusterCapacityFault"));("details",(InsufficientStorageClusterCapacityFault.to_jsone))]|`InvalidDBClusterSnapshotStateFaulte->`Assoc[("error",(`String"InvalidDBClusterSnapshotStateFault"));("details",(InvalidDBClusterSnapshotStateFault.to_jsone))]|`InvalidDBClusterStateFaulte->`Assoc[("error",(`String"InvalidDBClusterStateFault"));("details",(InvalidDBClusterStateFault.to_jsone))]|`InvalidDBSnapshotStateFaulte->`Assoc[("error",(`String"InvalidDBSnapshotStateFault"));("details",(InvalidDBSnapshotStateFault.to_jsone))]|`InvalidRestoreFaulte->`Assoc[("error",(`String"InvalidRestoreFault"));("details",(InvalidRestoreFault.to_jsone))]|`InvalidSubnete->`Assoc[("error",(`String"InvalidSubnet"));("details",(InvalidSubnet.to_jsone))]|`InvalidVPCNetworkStateFaulte->`Assoc[("error",(`String"InvalidVPCNetworkStateFault"));("details",(InvalidVPCNetworkStateFault.to_jsone))]|`KMSKeyNotAccessibleFaulte->`Assoc[("error",(`String"KMSKeyNotAccessibleFault"));("details",(KMSKeyNotAccessibleFault.to_jsone))]|`NetworkTypeNotSupportede->`Assoc[("error",(`String"NetworkTypeNotSupported"));("details",(NetworkTypeNotSupported.to_jsone))]|`OptionGroupNotFoundFaulte->`Assoc[("error",(`String"OptionGroupNotFoundFault"));("details",(OptionGroupNotFoundFault.to_jsone))]|`StorageQuotaExceededFaulte->`Assoc[("error",(`String"StorageQuotaExceededFault"));("details",(StorageQuotaExceededFault.to_jsone))]|`StorageTypeNotSupportedFaulte->`Assoc[("error",(`String"StorageTypeNotSupportedFault"));("details",(StorageTypeNotSupportedFault.to_jsone))]|`VpcEncryptionControlViolationExceptione->`Assoc[("error",(`String"VpcEncryptionControlViolationException"));("details",(VpcEncryptionControlViolationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.restoreDBClusterToPointInTimeResultinstructure_to_wrapped_value[("DBCluster",(Option.mapx.dBCluster~f:DBCluster.to_value))]~wrapper:"RestoreDBClusterToPointInTimeResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RestoreDBClusterToPointInTimeResult"inletdBCluster=(Option.map~f:DBCluster.of_xml)(Xml.childxml_arg0"DBCluster")inmake?dBCluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdBCluster=field_mapjson__"DBCluster"DBCluster.of_jsoninmake?dBCluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. Unless the RestoreType is set to copy-on-write, the restore may occur in a different Availability Zone (AZ) from the original DB cluster. The AZ where RDS restores the DB cluster depends on the AZs in the specified subnet group. You can use the EnableVPCNetworking and EnableInternetAccessGateway parameters together to restore an Aurora PostgreSQL cluster without VPC networking and with internet-based connectivity. These two parameters must always be specified together. Set EnableVPCNetworking to false to disable the VPC network interface (ENI) for the cluster. EnableInternetAccessGateway enables internet-based connectivity through an internet access gateway. IAM database authentication is required and must be enabled using EnableIAMDatabaseAuthentication. Once the cluster is restored, you need to modify the DB cluster to update MasterUserAuthenticationType to iam-db-auth. For Aurora, this operation only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance operation to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterToPointInTime operation has completed and the DB cluster is available. For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide."]moduleRestoreDBClusterToPointInTimeMessage=structtypenonrect={dBClusterIdentifier:String_.t[@ocaml.doc"The name of the new DB cluster to be created. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens First character must be a letter Can't end with a hyphen or contain two consecutive hyphens Valid for: Aurora DB clusters and Multi-AZ DB clusters"];restoreType:String_.toption[@ocaml.doc"The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster. If you don't specify a RestoreType value, then the new DB cluster is restored as a full copy of the source DB cluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];sourceDBClusterIdentifier:String_.toption[@ocaml.doc"The identifier of the source DB cluster from which to restore. Constraints: Must match the identifier of an existing DBCluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];restoreToTime:TStamp.toption[@ocaml.doc"The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: Must be before the latest restorable time for the DB instance Must be specified if UseLatestRestorableTime parameter isn't provided Can't be specified if the UseLatestRestorableTime parameter is enabled Can't be specified if the RestoreType parameter is copy-on-write Example: 2015-03-07T23:45:00Z Valid for: Aurora DB clusters and Multi-AZ DB clusters"];useLatestRestorableTime:Boolean.toption[@ocaml.doc"Specifies whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster isn't restored to the latest restorable backup time. Constraints: Can't be specified if RestoreToTime parameter is provided. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];port:IntegerOptional.toption[@ocaml.doc"The port number on which the new DB cluster accepts connections. Constraints: A value from 1150-65535. Default: The default port for the engine. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];dBSubnetGroupName:String_.toption[@ocaml.doc"The DB subnet group name to use for the new DB cluster. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters"];optionGroupName:String_.toption[@ocaml.doc"The name of the option group for the new DB cluster. DB clusters are associated with a default option group that can't be modified."];vpcSecurityGroupIds:VpcSecurityGroupIdList.toption[@ocaml.doc"A list of VPC security groups that the new DB cluster belongs to. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];tags:TagList.toption;kmsKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. You can restore to a new DB cluster and encrypt the new DB cluster with a KMS key that is different from the KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the KMS key identified by the KmsKeyId parameter. If you don't specify a value for the KmsKeyId parameter, then the following occurs: If the DB cluster is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the source DB cluster. If the DB cluster isn't encrypted, then the restored DB cluster isn't encrypted. If DBClusterIdentifier refers to a DB cluster that isn't encrypted, then the restore request is rejected. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];enableIAMDatabaseAuthentication:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled. For more information, see IAM Database Authentication in the Amazon Aurora User Guide or IAM database authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];backtrackWindow:LongOptional.toption[@ocaml.doc"The target backtrack window, in seconds. To disable backtracking, set this value to 0. Default: 0 Constraints: If specified, this value must be set to a number from 0 to 259,200 (72 hours). Valid for: Aurora MySQL DB clusters only"];enableCloudwatchLogsExports:LogTypeList.toption[@ocaml.doc"The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used. RDS for MySQL Possible values are error, general, slowquery, and iam-db-auth-error. RDS for PostgreSQL Possible values are postgresql, upgrade, and iam-db-auth-error. Aurora MySQL Possible values are audit, error, general, instance, slowquery, and iam-db-auth-error. Aurora PostgreSQL Possible value are instance, postgresql, and iam-db-auth-error. For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];dBClusterParameterGroupName:String_.toption[@ocaml.doc"The name of the custom DB cluster parameter group to associate with this DB cluster. If the DBClusterParameterGroupName parameter is omitted, the default DB cluster parameter group for the specified engine is used. Constraints: If supplied, must match the name of an existing DB cluster parameter group. Must be 1 to 255 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];deletionProtection:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable deletion protection for the DB cluster. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];copyTagsToSnapshot:BooleanOptional.toption[@ocaml.doc"Specifies whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them. Valid for: Aurora DB clusters and Multi-AZ DB clusters"];domain:String_.toption[@ocaml.doc"The Active Directory directory ID to restore the DB cluster in. The domain must be created prior to this operation. For Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to authenticate users that connect to the DB cluster. For more information, see Kerberos Authentication in the Amazon Aurora User Guide. Valid for: Aurora DB clusters only"];domainIAMRoleName:String_.toption[@ocaml.doc"The name of the IAM role to be used when making API calls to the Directory Service. Valid for: Aurora DB clusters only"];dBClusterInstanceClass:String_.toption[@ocaml.doc"The compute and memory capacity of the each DB instance in the Multi-AZ DB cluster, for example db.m6gd.xlarge. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance class in the Amazon RDS User Guide. Valid for: Multi-AZ DB clusters only"];storageType:String_.toption[@ocaml.doc"Specifies the storage type to be associated with the DB cluster. When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required. Valid Values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters) Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters) Valid for: Aurora DB clusters and Multi-AZ DB clusters"];publiclyAccessible:BooleanOptional.toption[@ocaml.doc"Specifies whether the DB cluster is publicly accessible. When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB cluster doesn't permit it. When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether DBSubnetGroupName is specified. If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, the following applies: If the default VPC in the target Region doesn\226\128\153t have an internet gateway attached to it, the DB cluster is private. If the default VPC in the target Region has an internet gateway attached to it, the DB cluster is public. If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, the following applies: If the subnets are part of a VPC that doesn\226\128\153t have an internet gateway attached to it, the DB cluster is private. If the subnets are part of a VPC that has an internet gateway attached to it, the DB cluster is public. Valid for: Multi-AZ DB clusters only"];iops:IntegerOptional.toption[@ocaml.doc"The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid IOPS values, see Amazon RDS Provisioned IOPS storage in the Amazon RDS User Guide. Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB instance. Valid for: Multi-AZ DB clusters only"];networkType:String_.toption[@ocaml.doc"The network type of the DB cluster. Valid Values: IPV4 DUAL The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide. Valid for: Aurora DB clusters only"];sourceDbClusterResourceId:String_.toption[@ocaml.doc"The resource ID of the source DB cluster from which to restore."];serverlessV2ScalingConfiguration:ServerlessV2ScalingConfiguration.toption;scalingConfiguration:ScalingConfiguration.toption[@ocaml.doc"For DB clusters in serverless DB engine mode, the scaling properties of the DB cluster. Valid for: Aurora DB clusters only"];engineMode:String_.toption[@ocaml.doc"The engine mode of the new cluster. Specify provisioned or serverless, depending on the type of the cluster you are creating. You can create an Aurora Serverless v1 clone from a provisioned cluster, or a provisioned clone from an Aurora Serverless v1 cluster. To create a clone that is an Aurora Serverless v1 cluster, the original cluster must be an Aurora Serverless v1 cluster or an encrypted provisioned cluster. To create a full copy that is an Aurora Serverless v1 cluster, specify the engine mode serverless. Valid for: Aurora DB clusters only"];rdsCustomClusterConfiguration:RdsCustomClusterConfiguration.toption[@ocaml.doc"Reserved for future use."];monitoringInterval:IntegerOptional.toption[@ocaml.doc"The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. If MonitoringRoleArn is specified, also set MonitoringInterval to a value other than 0. Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60 Default: 0"];monitoringRoleArn:String_.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is arn:aws:iam:123456789012:role/emaccess. If MonitoringInterval is set to a value other than 0, supply a MonitoringRoleArn value."];enablePerformanceInsights:BooleanOptional.toption[@ocaml.doc"Specifies whether to turn on Performance Insights for the DB cluster."];performanceInsightsKMSKeyId:String_.toption[@ocaml.doc"The Amazon Web Services KMS key identifier for encryption of Performance Insights data. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you don't specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region."];performanceInsightsRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days to retain Performance Insights data. Valid Values: 7 month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), 341 (11 months * 31), 589 (19 months * 31) 731 Default: 7 days If you specify a retention period that isn't valid, such as 94, Amazon RDS issues an error."];backupRetentionPeriod:IntegerOptional.toption[@ocaml.doc"The number of days for which automated backups are retained. Specify a minimum value of 1. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Default: Uses existing setting Constraints: Must be a value from 1 to 35."];preferredBackupWindow:String_.toption[@ocaml.doc"The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. To view the time blocks available, see Backup window in the Amazon Aurora User Guide. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes."];engineLifecycleSupport:String_.toption[@ocaml.doc"The life cycle type for this DB cluster. By default, this value is set to open-source-rds-extended-support, which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, RDS automatically upgrades your restored DB cluster to a higher engine version, if the major engine version is past its end of standard support date. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections: Amazon Aurora - Amazon RDS Extended Support with Amazon Aurora in the Amazon Aurora User Guide Amazon RDS - Amazon RDS Extended Support with Amazon RDS in the Amazon RDS User Guide Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled Default: open-source-rds-extended-support"];tagSpecifications:TagSpecificationList.toption[@ocaml.doc"Tags to assign to resources associated with the DB cluster. Valid Values: cluster-auto-backup - The DB cluster's automated backup."];enableVPCNetworking:BooleanOptional.toption[@ocaml.doc"Specifies whether to enable VPC networking for the restored DB cluster. Set this parameter to false to create a cluster without the VPC network interface (ENI). This parameter must be used together with EnableInternetAccessGateway. When both parameters are specified, IAM database authentication is required. You must also specify EnableIAMDatabaseAuthentication. Valid for Cluster Type: Aurora PostgreSQL clusters"];enableInternetAccessGateway:BooleanOptional.toption[@ocaml.doc"Specifies that the restored DB cluster should use internet-based connectivity through an internet access gateway. This allows clients to connect to the cluster over the internet without requiring a VPC. This parameter must be used together with EnableVPCNetworking set to false. When both parameters are specified, IAM database authentication is required. You must also specify EnableIAMDatabaseAuthentication. Valid for Cluster Type: Aurora PostgreSQL clusters"]}letcontext_="RestoreDBClusterToPointInTimeMessage"letmake?restoreType=fun?sourceDBClusterIdentifier->fun?restoreToTime->fun?useLatestRestorableTime->fun?port->fun?dBSubnetGroupName->fun?optionGroupName->fun?vpcSecurityGroupIds->fun?tags->fun?kmsKeyId->fun?enableIAMDatabaseAuthentication->fun?backtrackWindow->fun?enableCloudwatchLogsExports->fun?dBClusterParameterGroupName->fun?deletionProtection->fun?copyTagsToSnapshot->fun?domain->fun?domainIAMRoleName->fun?dBClusterInstanceClass->fun?storageType->fun?publiclyAccessible->fun?iops->fun?networkType->fun?sourceDbClusterResourceId->fun?serverlessV2ScalingConfiguration->fun?scalingConfiguration->fun?engineMode->fun?rdsCustomClusterConfiguration->fun?monitoringInterval->fun?monitoringRoleArn->fun?enablePerformanceInsights->fun?performanceInsightsKMSKeyId->fun?performanceInsightsRetentionPeriod->fun?backupRetentionPeriod->fun?preferredBackupWindow->fun?engineLifecycleSupport->fun?tagSpecifications->fun?enableVPCNetworking->fun?enableInternetAccessGateway->fun~dBClusterIdentifier->fun()->{restoreType;sourceDBClusterIdentifier;restoreToTime;useLatestRestorableTime;port;dBSubnetGroupName;optionGroupName;vpcSecurityGroupIds;tags;kmsKeyId;enableIAMDatabaseAuthentication;backtrackWindow;enableCloudwatchLogsExports;dBClusterParameterGroupName;deletionProtection;copyTagsToSnapshot;domain;domainIAMRoleName;dBClusterInstanceClass;storageType;publiclyAccessible;iops;networkType;sourceDbClusterResourceId;serverlessV2ScalingConfiguration;scalingConfiguration;engineMode;rdsCustomClusterConfiguration;monitoringInterval;monitoringRoleArn;enablePerformanceInsights;performanceInsightsKMSKeyId;performanceInsightsRetentionPeriod;backupRetentionPeriod;preferredBackupWindow;engineLifecycleSupport;tagSpecifications;enableVPCNetworking;enableInternetAccessGateway;dBClusterIdentifier}letto_valuex=structure_to_value[("DBClusterIdentifier",(Some(String_.to_valuex.dBClusterIdentifier)));("RestoreType",(Option.mapx.restoreType~f:String_.to_value));("SourceDBClusterIdentifier",(Option.mapx.sourceDBClusterIdentifier~f:String_.to_value));("RestoreToTime",(Option.mapx.restoreToTime~f:TStamp.to_value));("UseLatestRestorableTime",(Option.mapx.useLatestRestorableTime~f:Boolean.to_value));("Port",(Option.mapx.port~f:IntegerOptional.to_value));("DBSubnetGroupName",(Option.mapx.dBSubnetGroupName~f:String_.to_value));("OptionGroupName",(Option.mapx.optionGroupName~f:String_.to_value));("VpcSecurityGroupIds",(Option.mapx.vpcSecurityGroupIds~f:VpcSecurityGroupIdList.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("KmsKeyId",(Option.mapx.kmsKeyId~f:String_.to_value));("EnableIAMDatabaseAuthentication",(Option.mapx.enableIAMDatabaseAuthentication~f:BooleanOptional.to_value));("BacktrackWindow",(Option.mapx.backtrackWindow~f:LongOptional.to_value));("EnableCloudwatchLogsExports",(Option.mapx.enableCloudwatchLogsExports~f:LogTypeList.to_value));("DBClusterParameterGroupName",(Option.mapx.dBClusterParameterGroupName~f:String_.to_value));("DeletionProtection",(Option.mapx.deletionProtection~f:BooleanOptional.to_value));("CopyTagsToSnapshot",(Option.mapx.copyTagsToSnapshot~f:BooleanOptional.to_value));("Domain",(Option.mapx.domain~f:String_.to_value));("DomainIAMRoleName",(Option.mapx.domainIAMRoleName~f:String_.to_value));("DBClusterInstanceClass",(Option.mapx.dBClusterInstanceClass~f:String_.to_value));("StorageType",(Option.mapx.storageType~f:String_.to_value));("PubliclyAccessible",(Option.mapx.publiclyAccessible~f:BooleanOptional.to_value));("Iops",(Option.mapx.iops~f:IntegerOptional.to_value));("NetworkType",(Option.mapx.networkType~f:String_.to_value));("SourceDbClusterResourceId",(Option.mapx.sourceDbClusterResourceId~f:String_.to_value));("ServerlessV2ScalingConfiguration",(Option.mapx.serverlessV2ScalingConfiguration~f:ServerlessV2ScalingConfiguration.to_value));("ScalingConfiguration",(Option.mapx.scalingConfiguration~f:ScalingConfiguration.to_value));("EngineMode",(Option.mapx.engineMode~f:String_.to_value));("RdsCustomClusterConfiguration",(Option.mapx.rdsCustomClusterConfiguration~f:RdsCustomClusterConfiguration.to_value));("MonitoringInterval",(Option.mapx.monitoringInterval~f:IntegerOptional.to_value));("MonitoringRoleArn",(Option.mapx.monitoringRoleArn~f:String_.to_value));("EnablePerformanceInsights",(Option.mapx.enablePerformanceInsights~f:BooleanOptional.to_value));("PerformanceInsightsKMSKeyId",(Option.mapx.performanceInsightsKMSKeyId~f:String_.to_value));("PerformanceInsightsRetentionPeriod",(Option.mapx.performanceInsightsRetentionPeriod~f:IntegerOptional.to_value));("BackupRetentionPeriod",(Option.mapx.backupRetentionPeriod~f:IntegerOptional.to_value));("PreferredBackupWindow",(Option.mapx.preferredBackupWindow~f:String_.to_value));("EngineLifecycleSupport",(Option.mapx.engineLifecycleSupport~f:String_.to_value));("TagSpecifications",(Option.mapx.tagSpecifications~f:TagSpecificationList.to_value));("EnableVPCNetworking",(Option.mapx.enableVPCNetworking~f:BooleanOptional.to_value));("EnableInternetAccessGateway",(Option.mapx.enableInternetAccessGateway~f:BooleanOptional.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableInternetAccessGateway=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableInternetAccessGateway")inletenableVPCNetworking=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableVPCNetworking")inlettagSpecifications=(Option.map~f:TagSpecificationList.of_xml)(Xml.childxml_arg0"TagSpecifications")inletengineLifecycleSupport=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineLifecycleSupport")inletpreferredBackupWindow=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PreferredBackupWindow")inletbackupRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"BackupRetentionPeriod")inletperformanceInsightsRetentionPeriod=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"PerformanceInsightsRetentionPeriod")inletperformanceInsightsKMSKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"PerformanceInsightsKMSKeyId")inletenablePerformanceInsights=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnablePerformanceInsights")inletmonitoringRoleArn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"MonitoringRoleArn")inletmonitoringInterval=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"MonitoringInterval")inletrdsCustomClusterConfiguration=(Option.map~f:RdsCustomClusterConfiguration.of_xml)(Xml.childxml_arg0"RdsCustomClusterConfiguration")inletengineMode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"EngineMode")inletscalingConfiguration=(Option.map~f:ScalingConfiguration.of_xml)(Xml.childxml_arg0"ScalingConfiguration")inletserverlessV2ScalingConfiguration=(Option.map~f:ServerlessV2ScalingConfiguration.of_xml)(Xml.childxml_arg0"ServerlessV2ScalingConfiguration")inletsourceDbClusterResourceId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDbClusterResourceId")inletnetworkType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NetworkType")inletiops=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Iops")inletpubliclyAccessible=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"PubliclyAccessible")inletstorageType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StorageType")inletdBClusterInstanceClass=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterInstanceClass")inletdomainIAMRoleName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DomainIAMRoleName")inletdomain=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Domain")inletcopyTagsToSnapshot=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"CopyTagsToSnapshot")inletdeletionProtection=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"DeletionProtection")inletdBClusterParameterGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBClusterParameterGroupName")inletenableCloudwatchLogsExports=(Option.map~f:LogTypeList.of_xml)(Xml.childxml_arg0"EnableCloudwatchLogsExports")inletbacktrackWindow=(Option.map~f:LongOptional.of_xml)(Xml.childxml_arg0"BacktrackWindow")inletenableIAMDatabaseAuthentication=(Option.map~f:BooleanOptional.of_xml)(Xml.childxml_arg0"EnableIAMDatabaseAuthentication")inletkmsKeyId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"KmsKeyId")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletvpcSecurityGroupIds=(Option.map~f:VpcSecurityGroupIdList.of_xml)(Xml.childxml_arg0"VpcSecurityGroupIds")inletoptionGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OptionGroupName")inletdBSubnetGroupName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DBSubnetGroupName")inletport=(Option.map~f:IntegerOptional.of_xml)(Xml.childxml_arg0"Port")inletuseLatestRestorableTime=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"UseLatestRestorableTime")inletrestoreToTime=(Option.map~f:TStamp.of_xml)(Xml.childxml_arg0"RestoreToTime")inletsourceDBClusterIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"SourceDBClusterIdentifier")inletrestoreType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"RestoreType")inletdBClusterIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"DBClusterIdentifier")inmake?enableInternetAccessGateway?enableVPCNetworking?tagSpecifications?engineLifecycleSupport?preferredBackupWindow?backupRetentionPeriod?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?enablePerformanceInsights?monitoringRoleArn?monitoringInterval?rdsCustomClusterConfiguration?engineMode?scalingConfiguration?serverlessV2ScalingConfiguration?sourceDbClusterResourceId?networkType?iops?publiclyAccessible?storageType?dBClusterInstanceClass?domainIAMRoleName?domain?copyTagsToSnapshot?deletionProtection?dBClusterParameterGroupName?enableCloudwatchLogsExports?backtrackWindow?enableIAMDatabaseAuthentication?kmsKeyId?tags?vpcSecurityGroupIds?optionGroupName?dBSubnetGroupName?port?useLatestRestorableTime?restoreToTime?sourceDBClusterIdentifier?restoreType~dBClusterIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableInternetAccessGateway=field_mapjson__"EnableInternetAccessGateway"BooleanOptional.of_jsoninletenableVPCNetworking=field_mapjson__"EnableVPCNetworking"BooleanOptional.of_jsoninlettagSpecifications=field_mapjson__"TagSpecifications"TagSpecificationList.of_jsoninletengineLifecycleSupport=field_mapjson__"EngineLifecycleSupport"String_.of_jsoninletpreferredBackupWindow=field_mapjson__"PreferredBackupWindow"String_.of_jsoninletbackupRetentionPeriod=field_mapjson__"BackupRetentionPeriod"IntegerOptional.of_jsoninletperformanceInsightsRetentionPeriod=field_mapjson__"PerformanceInsightsRetentionPeriod"IntegerOptional.of_jsoninletperformanceInsightsKMSKeyId=field_mapjson__"PerformanceInsightsKMSKeyId"String_.of_jsoninletenablePerformanceInsights=field_mapjson__"EnablePerformanceInsights"BooleanOptional.of_jsoninletmonitoringRoleArn=field_mapjson__"MonitoringRoleArn"String_.of_jsoninletmonitoringInterval=field_mapjson__"MonitoringInterval"IntegerOptional.of_jsoninletrdsCustomClusterConfiguration=field_mapjson__"RdsCustomClusterConfiguration"RdsCustomClusterConfiguration.of_jsoninletengineMode=field_mapjson__"EngineMode"String_.of_jsoninletscalingConfiguration=field_mapjson__"ScalingConfiguration"ScalingConfiguration.of_jsoninletserverlessV2ScalingConfiguration=field_mapjson__"ServerlessV2ScalingConfiguration"ServerlessV2ScalingConfiguration.of_jsoninletsourceDbClusterResourceId=field_mapjson__"SourceDbClusterResourceId"String_.of_jsoninletnetworkType=field_mapjson__"NetworkType"String_.of_jsoninletiops=field_mapjson__"Iops"IntegerOptional.of_jsoninletpubliclyAccessible=field_mapjson__"PubliclyAccessible"BooleanOptional.of_jsoninletstorageType=field_mapjson__"StorageType"String_.of_jsoninletdBClusterInstanceClass=field_mapjson__"DBClusterInstanceClass"String_.of_jsoninletdomainIAMRoleName=field_mapjson__"DomainIAMRoleName"String_.of_jsoninletdomain=field_mapjson__"Domain"String_.of_jsoninletcopyTagsToSnapshot=field_mapjson__"CopyTagsToSnapshot"BooleanOptional.of_jsoninletdeletionProtection=field_mapjson__"DeletionProtection"BooleanOptional.of_jsoninletdBClusterParameterGroupName=field_mapjson__"DBClusterParameterGroupName"String_.of_jsoninletenableCloudwatchLogsExports=field_mapjson__"EnableCloudwatchLogsExports"LogTypeList.of_jsoninletbacktrackWindow=field_mapjson__"BacktrackWindow"LongOptional.of_jsoninletenableIAMDatabaseAuthentication=field_mapjson__"EnableIAMDatabaseAuthentication"BooleanOptional.of_jsoninletkmsKeyId=field_mapjson__"KmsKeyId"String_.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletvpcSecurityGroupIds=field_mapjson__"VpcSecurityGroupIds"VpcSecurityGroupIdList.of_jsoninletoptionGroupName=field_mapjson__"OptionGroupName"String_.of_jsoninletdBSubnetGroupName=field_mapjson__"DBSubnetGroupName"String_.of_jsoninletport=field_mapjson__"Port"IntegerOptional.of_jsoninletuseLatestRestorableTime=field_mapjson__"UseLatestRestorableTime"Boolean.of_jsoninletrestoreToTime=field_mapjson__"RestoreToTime"TStamp.of_jsoninletsourceDBClusterIdentifier=field_mapjson__"SourceDBClusterIdentifier"String_.of_jsoninletrestoreType=field_mapjson__"RestoreType"String_.of_jsoninletdBClusterIdentifier=field_map_exnjson__"DBClusterIdentifier"String_.of_jsoninmake?enableInternetAccessGateway?enableVPCNetworking?tagSpecifications?engineLifecycleSupport?preferredBackupWindow?backupRetentionPeriod?performanceInsightsRetentionPeriod?performanceInsightsKMSKeyId?enablePerformanceInsights?monitoringRoleArn?monitoringInterval?rdsCustomClusterConfiguration?engineMode?scalingConfiguration?serverlessV2ScalingConfiguration?sourceDbClusterResourceId?networkType?iops?publiclyAccessible?storageType?dBClusterInstanceClass?domainIAMRoleName?domain?copyTagsToSnapshot?deletionProtection?dBClusterParameterGroupName?enableCloudwatchLogsExports?backtrackWindow?enableIAMDatabaseAuthentication?kmsKeyId?tags?vpcSecurityGroupIds?optionGroupName?dBSubnetGroupName?port?useLatestRestorableTime?restoreToTime?sourceDBClusterIdentifier?restoreType~dBClusterIdentifier()letto_jsonv=composed_to_jsonto_valuevend