12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353(* 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.service_quotasletapiVersion="2019-06-24"letendpointPrefix="servicequotas"letserviceFullName="Service Quotas"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"lettargetPrefix="ServiceQuotasV20190624"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[]))])moduleMetricDimensionName=structtypenonrect=stringletcontext_="MetricDimensionName"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:"MetricDimensionName"jletto_json=simple_to_jsonto_valueendmoduleMetricDimensionValue=structtypenonrect=stringletcontext_="MetricDimensionValue"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:"MetricDimensionValue"jletto_json=simple_to_jsonto_valueendmoduleErrorCode=structtypenonrect=|DEPENDENCY_ACCESS_DENIED_ERROR|DEPENDENCY_THROTTLING_ERROR|DEPENDENCY_SERVICE_ERROR|SERVICE_QUOTA_NOT_AVAILABLE_ERROR|Non_static_idofstringletmakei=iletto_string=function|DEPENDENCY_ACCESS_DENIED_ERROR->"DEPENDENCY_ACCESS_DENIED_ERROR"|DEPENDENCY_THROTTLING_ERROR->"DEPENDENCY_THROTTLING_ERROR"|DEPENDENCY_SERVICE_ERROR->"DEPENDENCY_SERVICE_ERROR"|SERVICE_QUOTA_NOT_AVAILABLE_ERROR->"SERVICE_QUOTA_NOT_AVAILABLE_ERROR"|Non_static_ids->sletof_string=function|"DEPENDENCY_ACCESS_DENIED_ERROR"->DEPENDENCY_ACCESS_DENIED_ERROR|"DEPENDENCY_THROTTLING_ERROR"->DEPENDENCY_THROTTLING_ERROR|"DEPENDENCY_SERVICE_ERROR"->DEPENDENCY_SERVICE_ERROR|"SERVICE_QUOTA_NOT_AVAILABLE_ERROR"->SERVICE_QUOTA_NOT_AVAILABLE_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 ErrorCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ErrorCode"j)letto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleMetricDimensionsMapDefinition=structtypenonrect=(MetricDimensionName.t*MetricDimensionValue.t)listletmakei=letopenResultinok_or_failwith(check_list_maxi~max:10);iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((MetricDimensionName.of_stringchopped),(MetricDimensionValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(MetricDimensionName.to_valuex)|>(funx->(MetricDimensionValue.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:MetricDimensionName.of_string~of_json:MetricDimensionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleQuotaMetricName=structtypenonrect=stringletcontext_="QuotaMetricName"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:"QuotaMetricName"jletto_json=simple_to_jsonto_valueendmoduleQuotaMetricNamespace=structtypenonrect=stringletcontext_="QuotaMetricNamespace"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:"QuotaMetricNamespace"jletto_json=simple_to_jsonto_valueendmoduleStatistic=structtypenonrect=stringletcontext_="Statistic"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"(Sum|Maximum)")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Statistic"jletto_json=simple_to_jsonto_valueendmoduleQuotaContextId=structtypenonrect=stringletcontext_="QuotaContextId"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:"QuotaContextId"jletto_json=simple_to_jsonto_valueendmoduleQuotaContextScope=structtypenonrect=|RESOURCE|ACCOUNT|Non_static_idofstringletmakei=iletto_string=function|RESOURCE->"RESOURCE"|ACCOUNT->"ACCOUNT"|Non_static_ids->sletof_string=function|"RESOURCE"->RESOURCE|"ACCOUNT"->ACCOUNT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration QuotaContextScope"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"QuotaContextScope"j)letto_json=simple_to_jsonto_valueendmoduleQuotaContextScopeType=structtypenonrect=stringletcontext_="QuotaContextScopeType"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:"QuotaContextScopeType"jletto_json=simple_to_jsonto_valueendmodulePeriodUnit=structtypenonrect=|MICROSECOND|MILLISECOND|SECOND|MINUTE|HOUR|DAY|WEEK|Non_static_idofstringletmakei=iletto_string=function|MICROSECOND->"MICROSECOND"|MILLISECOND->"MILLISECOND"|SECOND->"SECOND"|MINUTE->"MINUTE"|HOUR->"HOUR"|DAY->"DAY"|WEEK->"WEEK"|Non_static_ids->sletof_string=function|"MICROSECOND"->MICROSECOND|"MILLISECOND"->MILLISECOND|"SECOND"->SECOND|"MINUTE"->MINUTE|"HOUR"->HOUR|"DAY"->DAY|"WEEK"->WEEK|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 PeriodUnit"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PeriodUnit"j)letto_json=simple_to_jsonto_valueendmodulePeriodValue=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 PeriodValue"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleQuotaCode=structtypenonrect=stringletcontext_="QuotaCode"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[a-zA-Z][a-zA-Z0-9-]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"QuotaCode"jletto_json=simple_to_jsonto_valueendmoduleQuotaName=structtypenonrect=stringletcontext_="QuotaName"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:"QuotaName"jletto_json=simple_to_jsonto_valueendmoduleExcludedLimit=structtypenonrect=stringletcontext_="ExcludedLimit"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-_ /]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExcludedLimit"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleServiceCode=structtypenonrect=stringletcontext_="ServiceCode"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-]{1,63}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ServiceCode"jletto_json=simple_to_jsonto_valueendmoduleServiceName=structtypenonrect=stringletcontext_="ServiceName"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:"ServiceName"jletto_json=simple_to_jsonto_valueendmoduleAppliedLevelEnum=structtypenonrect=|ACCOUNT|RESOURCE|ALL|Non_static_idofstringletmakei=iletto_string=function|ACCOUNT->"ACCOUNT"|RESOURCE->"RESOURCE"|ALL->"ALL"|Non_static_ids->sletof_string=function|"ACCOUNT"->ACCOUNT|"RESOURCE"->RESOURCE|"ALL"->ALL|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration AppliedLevelEnum"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AppliedLevelEnum"j)letto_json=simple_to_jsonto_valueendmoduleErrorReason=structtypenonrect={errorCode:ErrorCode.toption[@ocaml.doc"Service Quotas returns the following error values: DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota. DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas. DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available. SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas."];errorMessage:ErrorMessage.toption[@ocaml.doc"The error message."]}letmake?errorCode=fun?errorMessage->fun()->{errorCode;errorMessage}letto_valuex=structure_to_value[("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterrorCode=(Option.map~f:ErrorCode.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"ErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninmake?errorMessage?errorCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error that explains why an action did not succeed."]moduleGlobalQuota=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_valueendmoduleMetricInfo=structtypenonrect={metricNamespace:QuotaMetricNamespace.toption[@ocaml.doc"The namespace of the metric."];metricName:QuotaMetricName.toption[@ocaml.doc"The name of the metric."];metricDimensions:MetricDimensionsMapDefinition.toption[@ocaml.doc"The metric dimension. This is a name/value pair that is part of the identity of a metric."];metricStatisticRecommendation:Statistic.toption[@ocaml.doc"The metric statistic that we recommend you use when determining quota usage."]}letmake?metricNamespace=fun?metricName->fun?metricDimensions->fun?metricStatisticRecommendation->fun()->{metricNamespace;metricName;metricDimensions;metricStatisticRecommendation}letto_valuex=structure_to_value[("MetricNamespace",(Option.mapx.metricNamespace~f:QuotaMetricNamespace.to_value));("MetricName",(Option.mapx.metricName~f:QuotaMetricName.to_value));("MetricDimensions",(Option.mapx.metricDimensions~f:MetricDimensionsMapDefinition.to_value));("MetricStatisticRecommendation",(Option.mapx.metricStatisticRecommendation~f:Statistic.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmetricStatisticRecommendation=(Option.map~f:Statistic.of_xml)(Xml.childxml_arg0"MetricStatisticRecommendation")inletmetricDimensions=(Option.map~f:MetricDimensionsMapDefinition.of_xml)(Xml.childxml_arg0"MetricDimensions")inletmetricName=(Option.map~f:QuotaMetricName.of_xml)(Xml.childxml_arg0"MetricName")inletmetricNamespace=(Option.map~f:QuotaMetricNamespace.of_xml)(Xml.childxml_arg0"MetricNamespace")inmake?metricStatisticRecommendation?metricDimensions?metricName?metricNamespace()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmetricStatisticRecommendation=field_mapjson__"MetricStatisticRecommendation"Statistic.of_jsoninletmetricDimensions=field_mapjson__"MetricDimensions"MetricDimensionsMapDefinition.of_jsoninletmetricName=field_mapjson__"MetricName"QuotaMetricName.of_jsoninletmetricNamespace=field_mapjson__"MetricNamespace"QuotaMetricNamespace.of_jsoninmake?metricStatisticRecommendation?metricDimensions?metricName?metricNamespace()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the CloudWatch metric that reflects quota usage."]moduleQuotaAdjustable=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_valueendmoduleQuotaArn=structtypenonrect=stringletcontext_="QuotaArn"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:"QuotaArn"jletto_json=simple_to_jsonto_valueendmoduleQuotaContextInfo=structtypenonrect={contextScope:QuotaContextScope.toption[@ocaml.doc"Specifies the scope to which the quota value is applied. If the scope is RESOURCE, the quota value is applied to each resource in the Amazon Web Services account. If the scope is ACCOUNT, the quota value is applied to the Amazon Web Services account."];contextScopeType:QuotaContextScopeType.toption[@ocaml.doc"Specifies the resource type to which the quota can be applied."];contextId:QuotaContextId.toption[@ocaml.doc"Specifies the resource, or resources, to which the quota applies. The value for this field is either an Amazon Resource Name (ARN) or *. If the value is an ARN, the quota value applies to that resource. If the value is *, then the quota value applies to all resources listed in the ContextScopeType field. The quota value applies to all resources for which you haven\226\128\153t previously applied a quota value, and any new resources you create in your Amazon Web Services account."]}letmake?contextScope=fun?contextScopeType->fun?contextId->fun()->{contextScope;contextScopeType;contextId}letto_valuex=structure_to_value[("ContextScope",(Option.mapx.contextScope~f:QuotaContextScope.to_value));("ContextScopeType",(Option.mapx.contextScopeType~f:QuotaContextScopeType.to_value));("ContextId",(Option.mapx.contextId~f:QuotaContextId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontextId=(Option.map~f:QuotaContextId.of_xml)(Xml.childxml_arg0"ContextId")inletcontextScopeType=(Option.map~f:QuotaContextScopeType.of_xml)(Xml.childxml_arg0"ContextScopeType")inletcontextScope=(Option.map~f:QuotaContextScope.of_xml)(Xml.childxml_arg0"ContextScope")inmake?contextId?contextScopeType?contextScope()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontextId=field_mapjson__"ContextId"QuotaContextId.of_jsoninletcontextScopeType=field_mapjson__"ContextScopeType"QuotaContextScopeType.of_jsoninletcontextScope=field_mapjson__"ContextScope"QuotaContextScope.of_jsoninmake?contextId?contextScopeType?contextScope()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that describes the context for a resource-level quota. For resource-level quotas, such as Instances per OpenSearch Service Domain, you can apply the quota value at the resource-level for each OpenSearch Service Domain in your Amazon Web Services account. Together the attributes of this structure help you understand how the quota is implemented by Amazon Web Services and how you can manage it. For quotas such as Amazon OpenSearch Service Domains which can be managed at the account-level for each Amazon Web Services Region, the QuotaContext field is absent. See the attribute descriptions below to further understand how to use them."]moduleQuotaDescription=structtypenonrect=stringletcontext_="QuotaDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:350)>>=(fun()->check_patterni~pattern:"^.{0,350}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"QuotaDescription"jletto_json=simple_to_jsonto_valueendmoduleQuotaPeriod=structtypenonrect={periodValue:PeriodValue.toption[@ocaml.doc"The value associated with the reported PeriodUnit."];periodUnit:PeriodUnit.toption[@ocaml.doc"The time unit."]}letmake?periodValue=fun?periodUnit->fun()->{periodValue;periodUnit}letto_valuex=structure_to_value[("PeriodValue",(Option.mapx.periodValue~f:PeriodValue.to_value));("PeriodUnit",(Option.mapx.periodUnit~f:PeriodUnit.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letperiodUnit=(Option.map~f:PeriodUnit.of_xml)(Xml.childxml_arg0"PeriodUnit")inletperiodValue=(Option.map~f:PeriodValue.of_xml)(Xml.childxml_arg0"PeriodValue")inmake?periodUnit?periodValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letperiodUnit=field_mapjson__"PeriodUnit"PeriodUnit.of_jsoninletperiodValue=field_mapjson__"PeriodValue"PeriodValue.of_jsoninmake?periodUnit?periodValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the quota period."]moduleQuotaUnit=structtypenonrect=stringletcontext_="QuotaUnit"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:"QuotaUnit"jletto_json=simple_to_jsonto_valueendmoduleQuotaValue=structtypenonrect=floatletmakei=letopenResultinok_or_failwith((check_float_mini~min:10000000000.)>>=(fun()->check_float_mini~min:0.));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_valueendmoduleAwsRegion=structtypenonrect=stringletcontext_="AwsRegion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"[a-zA-Z][a-zA-Z0-9-]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AwsRegion"jletto_json=simple_to_jsonto_valueendmoduleCustomerServiceEngagementId=structtypenonrect=stringletcontext_="CustomerServiceEngagementId"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:"CustomerServiceEngagementId"jletto_json=simple_to_jsonto_valueendmoduleDateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleRequestId=structtypenonrect=stringletcontext_="RequestId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[0-9a-zA-Z][a-zA-Z0-9-]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RequestId"jletto_json=simple_to_jsonto_valueendmoduleRequestStatus=structtypenonrect=|PENDING|CASE_OPENED|APPROVED|DENIED|CASE_CLOSED|NOT_APPROVED|INVALID_REQUEST|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|CASE_OPENED->"CASE_OPENED"|APPROVED->"APPROVED"|DENIED->"DENIED"|CASE_CLOSED->"CASE_CLOSED"|NOT_APPROVED->"NOT_APPROVED"|INVALID_REQUEST->"INVALID_REQUEST"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"CASE_OPENED"->CASE_OPENED|"APPROVED"->APPROVED|"DENIED"->DENIED|"CASE_CLOSED"->CASE_CLOSED|"NOT_APPROVED"->NOT_APPROVED|"INVALID_REQUEST"->INVALID_REQUEST|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 RequestStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RequestStatus"j)letto_json=simple_to_jsonto_valueendmoduleRequestType=structtypenonrect=|AutomaticManagement|Non_static_idofstringletmakei=iletto_string=function|AutomaticManagement->"AutomaticManagement"|Non_static_ids->sletof_string=function|"AutomaticManagement"->AutomaticManagement|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 RequestType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RequestType"j)letto_json=simple_to_jsonto_valueendmoduleRequester=structtypenonrect=stringletcontext_="Requester"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:"Requester"jletto_json=simple_to_jsonto_valueendmoduleAppliedValue=structtypenonrect=floatletmakei=letopenResultinok_or_failwith((check_float_mini~min:10000000000.)>>=(fun()->check_float_mini~min:0.));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_valueendmoduleDefaultValue=structtypenonrect=floatletmakei=letopenResultinok_or_failwith((check_float_mini~min:10000000000.)>>=(fun()->check_float_mini~min:0.));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_valueendmoduleUtilizationPct=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_valueendmoduleQuotaInfo=structtypenonrect={quotaCode:QuotaCode.toption[@ocaml.doc"The Service Quotas code for the Amazon Web Services service monitored with Automatic Management."];quotaName:QuotaName.toption[@ocaml.doc"The Service Quotas name for the Amazon Web Services service monitored with Automatic Management."]}letmake?quotaCode=fun?quotaName->fun()->{quotaCode;quotaName}letto_valuex=structure_to_value[("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("QuotaName",(Option.mapx.quotaName~f:QuotaName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaName=(Option.map~f:QuotaName.of_xml)(Xml.childxml_arg0"QuotaName")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inmake?quotaName?quotaCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaName=field_mapjson__"QuotaName"QuotaName.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninmake?quotaName?quotaCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information on your Service Quotas for Service Quotas Automatic Management. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmoduleExcludedQuotaList=structtypenonrect=ExcludedLimit.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ExcludedLimit.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:ExcludedLimit.of_xml)letof_jsonj=list_of_json~kind:"ExcludedQuotaList"~of_json:ExcludedLimit.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExcludedService=structtypenonrect=stringletcontext_="ExcludedService"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[A-Za-z0-9-_ /]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExcludedService"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"A string that contains a tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + \\@."];value:TagValue.t[@ocaml.doc"A string that contains an optional tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + \\@."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex data type that contains a tag key and tag value."]moduleServiceInfo=structtypenonrect={serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];serviceName:ServiceName.toption[@ocaml.doc"Specifies the service name."]}letmake?serviceCode=fun?serviceName->fun()->{serviceCode;serviceName}letto_valuex=structure_to_value[("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("ServiceName",(Option.mapx.serviceName~f:ServiceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserviceName=(Option.map~f:ServiceName.of_xml)(Xml.childxml_arg0"ServiceName")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inmake?serviceName?serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserviceName=field_mapjson__"ServiceName"ServiceName.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninmake?serviceName?serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an Amazon Web Services service."]moduleServiceQuota=structtypenonrect={serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];serviceName:ServiceName.toption[@ocaml.doc"Specifies the service name."];quotaArn:QuotaArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the quota."];quotaCode:QuotaCode.toption[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];quotaName:QuotaName.toption[@ocaml.doc"Specifies the quota name."];value:QuotaValue.toption[@ocaml.doc"The quota value."];unit:QuotaUnit.toption[@ocaml.doc"The unit of measurement."];adjustable:QuotaAdjustable.toption[@ocaml.doc"Indicates whether the quota value can be increased."];globalQuota:GlobalQuota.toption[@ocaml.doc"Indicates whether the quota is global."];usageMetric:MetricInfo.toption[@ocaml.doc"Information about the measurement."];period:QuotaPeriod.toption[@ocaml.doc"The period of time."];errorReason:ErrorReason.toption[@ocaml.doc"The error code and error reason."];quotaAppliedAtLevel:AppliedLevelEnum.toption[@ocaml.doc"Filters the response to return applied quota values for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default."];quotaContext:QuotaContextInfo.toption[@ocaml.doc"The context for this service quota."];description:QuotaDescription.toption[@ocaml.doc"The quota description."]}letmake?serviceCode=fun?serviceName->fun?quotaArn->fun?quotaCode->fun?quotaName->fun?value->fun?unit->fun?adjustable->fun?globalQuota->fun?usageMetric->fun?period->fun?errorReason->fun?quotaAppliedAtLevel->fun?quotaContext->fun?description->fun()->{serviceCode;serviceName;quotaArn;quotaCode;quotaName;value;unit;adjustable;globalQuota;usageMetric;period;errorReason;quotaAppliedAtLevel;quotaContext;description}letto_valuex=structure_to_value[("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("ServiceName",(Option.mapx.serviceName~f:ServiceName.to_value));("QuotaArn",(Option.mapx.quotaArn~f:QuotaArn.to_value));("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("QuotaName",(Option.mapx.quotaName~f:QuotaName.to_value));("Value",(Option.mapx.value~f:QuotaValue.to_value));("Unit",(Option.mapx.unit~f:QuotaUnit.to_value));("Adjustable",(Option.mapx.adjustable~f:QuotaAdjustable.to_value));("GlobalQuota",(Option.mapx.globalQuota~f:GlobalQuota.to_value));("UsageMetric",(Option.mapx.usageMetric~f:MetricInfo.to_value));("Period",(Option.mapx.period~f:QuotaPeriod.to_value));("ErrorReason",(Option.mapx.errorReason~f:ErrorReason.to_value));("QuotaAppliedAtLevel",(Option.mapx.quotaAppliedAtLevel~f:AppliedLevelEnum.to_value));("QuotaContext",(Option.mapx.quotaContext~f:QuotaContextInfo.to_value));("Description",(Option.mapx.description~f:QuotaDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:QuotaDescription.of_xml)(Xml.childxml_arg0"Description")inletquotaContext=(Option.map~f:QuotaContextInfo.of_xml)(Xml.childxml_arg0"QuotaContext")inletquotaAppliedAtLevel=(Option.map~f:AppliedLevelEnum.of_xml)(Xml.childxml_arg0"QuotaAppliedAtLevel")inleterrorReason=(Option.map~f:ErrorReason.of_xml)(Xml.childxml_arg0"ErrorReason")inletperiod=(Option.map~f:QuotaPeriod.of_xml)(Xml.childxml_arg0"Period")inletusageMetric=(Option.map~f:MetricInfo.of_xml)(Xml.childxml_arg0"UsageMetric")inletglobalQuota=(Option.map~f:GlobalQuota.of_xml)(Xml.childxml_arg0"GlobalQuota")inletadjustable=(Option.map~f:QuotaAdjustable.of_xml)(Xml.childxml_arg0"Adjustable")inletunit=(Option.map~f:QuotaUnit.of_xml)(Xml.childxml_arg0"Unit")inletvalue=(Option.map~f:QuotaValue.of_xml)(Xml.childxml_arg0"Value")inletquotaName=(Option.map~f:QuotaName.of_xml)(Xml.childxml_arg0"QuotaName")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inletquotaArn=(Option.map~f:QuotaArn.of_xml)(Xml.childxml_arg0"QuotaArn")inletserviceName=(Option.map~f:ServiceName.of_xml)(Xml.childxml_arg0"ServiceName")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inmake?description?quotaContext?quotaAppliedAtLevel?errorReason?period?usageMetric?globalQuota?adjustable?unit?value?quotaName?quotaCode?quotaArn?serviceName?serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"QuotaDescription.of_jsoninletquotaContext=field_mapjson__"QuotaContext"QuotaContextInfo.of_jsoninletquotaAppliedAtLevel=field_mapjson__"QuotaAppliedAtLevel"AppliedLevelEnum.of_jsoninleterrorReason=field_mapjson__"ErrorReason"ErrorReason.of_jsoninletperiod=field_mapjson__"Period"QuotaPeriod.of_jsoninletusageMetric=field_mapjson__"UsageMetric"MetricInfo.of_jsoninletglobalQuota=field_mapjson__"GlobalQuota"GlobalQuota.of_jsoninletadjustable=field_mapjson__"Adjustable"QuotaAdjustable.of_jsoninletunit=field_mapjson__"Unit"QuotaUnit.of_jsoninletvalue=field_mapjson__"Value"QuotaValue.of_jsoninletquotaName=field_mapjson__"QuotaName"QuotaName.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninletquotaArn=field_mapjson__"QuotaArn"QuotaArn.of_jsoninletserviceName=field_mapjson__"ServiceName"ServiceName.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninmake?description?quotaContext?quotaAppliedAtLevel?errorReason?period?usageMetric?globalQuota?adjustable?unit?value?quotaName?quotaCode?quotaArn?serviceName?serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a quota."]moduleServiceQuotaIncreaseRequestInTemplate=structtypenonrect={serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];serviceName:ServiceName.toption[@ocaml.doc"Specifies the service name."];quotaCode:QuotaCode.toption[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];quotaName:QuotaName.toption[@ocaml.doc"Specifies the quota name."];desiredValue:QuotaValue.toption[@ocaml.doc"The new, increased value of the quota."];awsRegion:AwsRegion.toption[@ocaml.doc"The Amazon Web Services Region."];unit:QuotaUnit.toption[@ocaml.doc"The unit of measurement."];globalQuota:GlobalQuota.toption[@ocaml.doc"Indicates whether the quota is global."]}letmake?serviceCode=fun?serviceName->fun?quotaCode->fun?quotaName->fun?desiredValue->fun?awsRegion->fun?unit->fun?globalQuota->fun()->{serviceCode;serviceName;quotaCode;quotaName;desiredValue;awsRegion;unit;globalQuota}letto_valuex=structure_to_value[("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("ServiceName",(Option.mapx.serviceName~f:ServiceName.to_value));("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("QuotaName",(Option.mapx.quotaName~f:QuotaName.to_value));("DesiredValue",(Option.mapx.desiredValue~f:QuotaValue.to_value));("AwsRegion",(Option.mapx.awsRegion~f:AwsRegion.to_value));("Unit",(Option.mapx.unit~f:QuotaUnit.to_value));("GlobalQuota",(Option.mapx.globalQuota~f:GlobalQuota.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letglobalQuota=(Option.map~f:GlobalQuota.of_xml)(Xml.childxml_arg0"GlobalQuota")inletunit=(Option.map~f:QuotaUnit.of_xml)(Xml.childxml_arg0"Unit")inletawsRegion=(Option.map~f:AwsRegion.of_xml)(Xml.childxml_arg0"AwsRegion")inletdesiredValue=(Option.map~f:QuotaValue.of_xml)(Xml.childxml_arg0"DesiredValue")inletquotaName=(Option.map~f:QuotaName.of_xml)(Xml.childxml_arg0"QuotaName")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inletserviceName=(Option.map~f:ServiceName.of_xml)(Xml.childxml_arg0"ServiceName")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inmake?globalQuota?unit?awsRegion?desiredValue?quotaName?quotaCode?serviceName?serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letglobalQuota=field_mapjson__"GlobalQuota"GlobalQuota.of_jsoninletunit=field_mapjson__"Unit"QuotaUnit.of_jsoninletawsRegion=field_mapjson__"AwsRegion"AwsRegion.of_jsoninletdesiredValue=field_mapjson__"DesiredValue"QuotaValue.of_jsoninletquotaName=field_mapjson__"QuotaName"QuotaName.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninletserviceName=field_mapjson__"ServiceName"ServiceName.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninmake?globalQuota?unit?awsRegion?desiredValue?quotaName?quotaCode?serviceName?serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a quota increase request."]moduleRequestedServiceQuotaChange=structtypenonrect={id:RequestId.toption[@ocaml.doc"The unique identifier."];requestType:RequestType.toption[@ocaml.doc"The type of quota increase request. Possible values include: AutomaticManagement - The request was automatically created by Service Quotas Automatic Management when quota utilization approached the limit. If this field is not present, the request was manually created by a user."];caseId:CustomerServiceEngagementId.toption[@ocaml.doc"The case ID."];serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];serviceName:ServiceName.toption[@ocaml.doc"Specifies the service name."];quotaCode:QuotaCode.toption[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];quotaName:QuotaName.toption[@ocaml.doc"Specifies the quota name."];desiredValue:QuotaValue.toption[@ocaml.doc"The new, increased value for the quota."];status:RequestStatus.toption[@ocaml.doc"The state of the quota increase request. PENDING: The quota increase request is under review by Amazon Web Services. CASE_OPENED: Service Quotas opened a support case to process the quota increase request. Follow-up on the support case for more information. APPROVED: The quota increase request is approved. DENIED: The quota increase request can't be approved by Service Quotas. Contact Amazon Web Services Support for more details. NOT APPROVED: The quota increase request can't be approved by Service Quotas. Contact Amazon Web Services Support for more details. CASE_CLOSED: The support case associated with this quota increase request was closed. Check the support case correspondence for the outcome of your quota request. INVALID_REQUEST: Service Quotas couldn't process your resource-level quota increase request because the Amazon Resource Name (ARN) specified as part of the ContextId is invalid."];created:DateTime.toption[@ocaml.doc"The date and time when the quota increase request was received and the case ID was created."];lastUpdated:DateTime.toption[@ocaml.doc"The date and time of the most recent change."];requester:Requester.toption[@ocaml.doc"The IAM identity of the requester."];quotaArn:QuotaArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the quota."];globalQuota:GlobalQuota.toption[@ocaml.doc"Indicates whether the quota is global."];unit:QuotaUnit.toption[@ocaml.doc"The unit of measurement."];quotaRequestedAtLevel:AppliedLevelEnum.toption[@ocaml.doc"Filters the response to return quota requests for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default."];quotaContext:QuotaContextInfo.toption[@ocaml.doc"The context for this service quota."]}letmake?id=fun?requestType->fun?caseId->fun?serviceCode->fun?serviceName->fun?quotaCode->fun?quotaName->fun?desiredValue->fun?status->fun?created->fun?lastUpdated->fun?requester->fun?quotaArn->fun?globalQuota->fun?unit->fun?quotaRequestedAtLevel->fun?quotaContext->fun()->{id;requestType;caseId;serviceCode;serviceName;quotaCode;quotaName;desiredValue;status;created;lastUpdated;requester;quotaArn;globalQuota;unit;quotaRequestedAtLevel;quotaContext}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:RequestId.to_value));("RequestType",(Option.mapx.requestType~f:RequestType.to_value));("CaseId",(Option.mapx.caseId~f:CustomerServiceEngagementId.to_value));("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("ServiceName",(Option.mapx.serviceName~f:ServiceName.to_value));("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("QuotaName",(Option.mapx.quotaName~f:QuotaName.to_value));("DesiredValue",(Option.mapx.desiredValue~f:QuotaValue.to_value));("Status",(Option.mapx.status~f:RequestStatus.to_value));("Created",(Option.mapx.created~f:DateTime.to_value));("LastUpdated",(Option.mapx.lastUpdated~f:DateTime.to_value));("Requester",(Option.mapx.requester~f:Requester.to_value));("QuotaArn",(Option.mapx.quotaArn~f:QuotaArn.to_value));("GlobalQuota",(Option.mapx.globalQuota~f:GlobalQuota.to_value));("Unit",(Option.mapx.unit~f:QuotaUnit.to_value));("QuotaRequestedAtLevel",(Option.mapx.quotaRequestedAtLevel~f:AppliedLevelEnum.to_value));("QuotaContext",(Option.mapx.quotaContext~f:QuotaContextInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaContext=(Option.map~f:QuotaContextInfo.of_xml)(Xml.childxml_arg0"QuotaContext")inletquotaRequestedAtLevel=(Option.map~f:AppliedLevelEnum.of_xml)(Xml.childxml_arg0"QuotaRequestedAtLevel")inletunit=(Option.map~f:QuotaUnit.of_xml)(Xml.childxml_arg0"Unit")inletglobalQuota=(Option.map~f:GlobalQuota.of_xml)(Xml.childxml_arg0"GlobalQuota")inletquotaArn=(Option.map~f:QuotaArn.of_xml)(Xml.childxml_arg0"QuotaArn")inletrequester=(Option.map~f:Requester.of_xml)(Xml.childxml_arg0"Requester")inletlastUpdated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"LastUpdated")inletcreated=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"Created")inletstatus=(Option.map~f:RequestStatus.of_xml)(Xml.childxml_arg0"Status")inletdesiredValue=(Option.map~f:QuotaValue.of_xml)(Xml.childxml_arg0"DesiredValue")inletquotaName=(Option.map~f:QuotaName.of_xml)(Xml.childxml_arg0"QuotaName")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inletserviceName=(Option.map~f:ServiceName.of_xml)(Xml.childxml_arg0"ServiceName")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inletcaseId=(Option.map~f:CustomerServiceEngagementId.of_xml)(Xml.childxml_arg0"CaseId")inletrequestType=(Option.map~f:RequestType.of_xml)(Xml.childxml_arg0"RequestType")inletid=(Option.map~f:RequestId.of_xml)(Xml.childxml_arg0"Id")inmake?quotaContext?quotaRequestedAtLevel?unit?globalQuota?quotaArn?requester?lastUpdated?created?status?desiredValue?quotaName?quotaCode?serviceName?serviceCode?caseId?requestType?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaContext=field_mapjson__"QuotaContext"QuotaContextInfo.of_jsoninletquotaRequestedAtLevel=field_mapjson__"QuotaRequestedAtLevel"AppliedLevelEnum.of_jsoninletunit=field_mapjson__"Unit"QuotaUnit.of_jsoninletglobalQuota=field_mapjson__"GlobalQuota"GlobalQuota.of_jsoninletquotaArn=field_mapjson__"QuotaArn"QuotaArn.of_jsoninletrequester=field_mapjson__"Requester"Requester.of_jsoninletlastUpdated=field_mapjson__"LastUpdated"DateTime.of_jsoninletcreated=field_mapjson__"Created"DateTime.of_jsoninletstatus=field_mapjson__"Status"RequestStatus.of_jsoninletdesiredValue=field_mapjson__"DesiredValue"QuotaValue.of_jsoninletquotaName=field_mapjson__"QuotaName"QuotaName.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninletserviceName=field_mapjson__"ServiceName"ServiceName.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninletcaseId=field_mapjson__"CaseId"CustomerServiceEngagementId.of_jsoninletrequestType=field_mapjson__"RequestType"RequestType.of_jsoninletid=field_mapjson__"Id"RequestId.of_jsoninmake?quotaContext?quotaRequestedAtLevel?unit?globalQuota?quotaArn?requester?lastUpdated?created?status?desiredValue?quotaName?quotaCode?serviceName?serviceCode?caseId?requestType?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a quota increase request."]moduleQuotaUtilizationInfo=structtypenonrect={quotaCode:QuotaCode.toption[@ocaml.doc"The quota identifier."];serviceCode:ServiceCode.toption[@ocaml.doc"The service identifier."];quotaName:QuotaName.toption[@ocaml.doc"The quota name."];namespace:QuotaMetricNamespace.toption[@ocaml.doc"The namespace of the metric used to track quota usage."];utilization:UtilizationPct.toption[@ocaml.doc"The utilization percentage of the quota, calculated as (current usage / applied value) \195\151 100. Values range from 0.0 to 100.0 or higher if usage exceeds the quota limit."];defaultValue:DefaultValue.toption[@ocaml.doc"The default value of the quota."];appliedValue:AppliedValue.toption[@ocaml.doc"The applied value of the quota, which may be higher than the default value if a quota increase has been requested and approved."];serviceName:ServiceName.toption[@ocaml.doc"The service name."];adjustable:QuotaAdjustable.toption[@ocaml.doc"Indicates whether the quota value can be increased."]}letmake?quotaCode=fun?serviceCode->fun?quotaName->fun?namespace->fun?utilization->fun?defaultValue->fun?appliedValue->fun?serviceName->fun?adjustable->fun()->{quotaCode;serviceCode;quotaName;namespace;utilization;defaultValue;appliedValue;serviceName;adjustable}letto_valuex=structure_to_value[("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("QuotaName",(Option.mapx.quotaName~f:QuotaName.to_value));("Namespace",(Option.mapx.namespace~f:QuotaMetricNamespace.to_value));("Utilization",(Option.mapx.utilization~f:UtilizationPct.to_value));("DefaultValue",(Option.mapx.defaultValue~f:DefaultValue.to_value));("AppliedValue",(Option.mapx.appliedValue~f:AppliedValue.to_value));("ServiceName",(Option.mapx.serviceName~f:ServiceName.to_value));("Adjustable",(Option.mapx.adjustable~f:QuotaAdjustable.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadjustable=(Option.map~f:QuotaAdjustable.of_xml)(Xml.childxml_arg0"Adjustable")inletserviceName=(Option.map~f:ServiceName.of_xml)(Xml.childxml_arg0"ServiceName")inletappliedValue=(Option.map~f:AppliedValue.of_xml)(Xml.childxml_arg0"AppliedValue")inletdefaultValue=(Option.map~f:DefaultValue.of_xml)(Xml.childxml_arg0"DefaultValue")inletutilization=(Option.map~f:UtilizationPct.of_xml)(Xml.childxml_arg0"Utilization")inletnamespace=(Option.map~f:QuotaMetricNamespace.of_xml)(Xml.childxml_arg0"Namespace")inletquotaName=(Option.map~f:QuotaName.of_xml)(Xml.childxml_arg0"QuotaName")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inmake?adjustable?serviceName?appliedValue?defaultValue?utilization?namespace?quotaName?serviceCode?quotaCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadjustable=field_mapjson__"Adjustable"QuotaAdjustable.of_jsoninletserviceName=field_mapjson__"ServiceName"ServiceName.of_jsoninletappliedValue=field_mapjson__"AppliedValue"AppliedValue.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"DefaultValue.of_jsoninletutilization=field_mapjson__"Utilization"UtilizationPct.of_jsoninletnamespace=field_mapjson__"Namespace"QuotaMetricNamespace.of_jsoninletquotaName=field_mapjson__"QuotaName"QuotaName.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninmake?adjustable?serviceName?appliedValue?defaultValue?utilization?namespace?quotaName?serviceCode?quotaCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a quota's utilization, including the quota code, service information, current usage, and applied limits."]moduleQuotaInfoList=structtypenonrect=QuotaInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:QuotaInfo.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:QuotaInfo.of_xml)letof_jsonj=list_of_json~kind:"QuotaInfoList"~of_json:QuotaInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessDeniedException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You do not have sufficient permission to perform this action."]moduleIllegalArgumentException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invalid input was provided."]moduleNoSuchResourceException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource does not exist."]moduleServiceException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Something went wrong."]moduleTooManyRequestsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota."]moduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:aws(-[\\w]+)*:*:.+:[0-9]{12}:.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleExclusionList=structtypenonrect=(ExcludedService.t*ExcludedQuotaList.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ExcludedService ExcludedQuotaList"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ExcludedService.to_valuex)|>(funx->(ExcludedQuotaList.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:ExcludedService.of_string~of_json:ExcludedQuotaList.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptInType=structtypenonrect=|NotifyOnly|NotifyAndAdjust|Non_static_idofstringletmakei=iletto_string=function|NotifyOnly->"NotifyOnly"|NotifyAndAdjust->"NotifyAndAdjust"|Non_static_ids->sletof_string=function|"NotifyOnly"->NotifyOnly|"NotifyAndAdjust"->NotifyAndAdjust|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 OptInType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OptInType"j)letto_json=simple_to_jsonto_valueendmoduleInputTagKeys=structtypenonrect=TagKey.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"InputTagKeys"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagPolicyViolationException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified tag is a reserved word and cannot be used."]moduleTooManyTagsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You've exceeded the number of tags allowed for a resource. For more information, see Tag restrictions in the Service Quotas User Guide."]moduleInputTags=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith(check_list_mini~min:1);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f: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:"InputTags"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidPaginationTokenException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invalid input was provided."]moduleReportId=structtypenonrect=stringletcontext_="ReportId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"[0-9a-zA-Z][a-zA-Z0-9-]{1,128}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ReportId"jletto_json=simple_to_jsonto_valueendmoduleReportMessage=structtypenonrect=stringletcontext_="ReportMessage"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:350)>>=(fun()->check_patterni~pattern:"^.{0,350}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ReportMessage"jletto_json=simple_to_jsonto_valueendmoduleReportStatus=structtypenonrect=|PENDING|IN_PROGRESS|COMPLETED|FAILED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|IN_PROGRESS->"IN_PROGRESS"|COMPLETED->"COMPLETED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"IN_PROGRESS"->IN_PROGRESS|"COMPLETED"->COMPLETED|"FAILED"->FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ReportStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportStatus"j)letto_json=simple_to_jsonto_valueendmoduleOptInLevel=structtypenonrect=|ACCOUNT|Non_static_idofstringletmakei=iletto_string=function|ACCOUNT->"ACCOUNT"|Non_static_ids->sletof_string=function|"ACCOUNT"->ACCOUNT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration OptInLevel"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OptInLevel"j)letto_json=simple_to_jsonto_valueendmoduleDependencyAccessDeniedException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can't perform this action because a dependency does not have access."]moduleInvalidResourceStateException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource is in an invalid state."]moduleQuotaExceededException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase."]moduleResourceAlreadyExistsException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource already exists."]moduleSupportCaseAllowed=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_valueendmoduleAWSServiceAccessNotEnabledException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization."]moduleNoAvailableOrganizationException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Web Services account making this call is not a member of an organization."]moduleTemplatesNotAvailableInRegionException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Service Quotas template is not available in this Amazon Web Services Region."]moduleOutputTags=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:200);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:"OutputTags"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9/+]*={0,2}$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleServiceInfoListDefinition=structtypenonrect=ServiceInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServiceInfo.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:ServiceInfo.of_xml)letof_jsonj=list_of_json~kind:"ServiceInfoListDefinition"~of_json:ServiceInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleServiceQuotaListDefinition=structtypenonrect=ServiceQuota.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServiceQuota.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:ServiceQuota.of_xml)letof_jsonj=list_of_json~kind:"ServiceQuotaListDefinition"~of_json:ServiceQuota.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServiceQuotaIncreaseRequestInTemplateList=structtypenonrect=ServiceQuotaIncreaseRequestInTemplate.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServiceQuotaIncreaseRequestInTemplate.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:ServiceQuotaIncreaseRequestInTemplate.of_xml)letof_jsonj=list_of_json~kind:"ServiceQuotaIncreaseRequestInTemplateList"~of_json:ServiceQuotaIncreaseRequestInTemplate.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRequestedServiceQuotaChangeHistoryListDefinition=structtypenonrect=RequestedServiceQuotaChange.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RequestedServiceQuotaChange.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:RequestedServiceQuotaChange.of_xml)letof_jsonj=list_of_json~kind:"RequestedServiceQuotaChangeHistoryListDefinition"~of_json:RequestedServiceQuotaChange.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleQuotaUtilizationInfoList=structtypenonrect=QuotaUtilizationInfo.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:1000);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:QuotaUtilizationInfo.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:QuotaUtilizationInfo.of_xml)letof_jsonj=list_of_json~kind:"QuotaUtilizationInfoList"~of_json:QuotaUtilizationInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReportErrorCode=structtypenonrect=stringletcontext_="ReportErrorCode"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"ReportErrorCode"jletto_json=simple_to_jsonto_valueendmoduleReportErrorMessage=structtypenonrect=stringletcontext_="ReportErrorMessage"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(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:"ReportErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleTotalCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:2147483647)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TotalCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMaxResultsUtilization=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResultsUtilization"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleExclusionQuotaList=structtypenonrect=(ExcludedService.t*QuotaInfoList.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ExcludedService QuotaInfoList"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ExcludedService.to_valuex)|>(funx->(QuotaInfoList.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:ExcludedService.of_string~of_json:QuotaInfoList.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOptInStatus=structtypenonrect=|ENABLED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration OptInStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OptInStatus"j)letto_json=simple_to_jsonto_valueendmoduleServiceQuotaTemplateAssociationStatus=structtypenonrect=|ASSOCIATED|DISASSOCIATED|Non_static_idofstringletmakei=iletto_string=function|ASSOCIATED->"ASSOCIATED"|DISASSOCIATED->"DISASSOCIATED"|Non_static_ids->sletof_string=function|"ASSOCIATED"->ASSOCIATED|"DISASSOCIATED"->DISASSOCIATED|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 ServiceQuotaTemplateAssociationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServiceQuotaTemplateAssociationStatus"j)letto_json=simple_to_jsonto_valueendmoduleServiceQuotaTemplateNotInUseException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota request template is not associated with your organization."]moduleOrganizationNotInAllFeaturesModeException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The organization that your Amazon Web Services account belongs to is not in All Features mode."]moduleUpdateAutoManagementResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates your Service Quotas Automatic Management configuration, including notification preferences and excluded quotas. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleUpdateAutoManagementRequest=structtypenonrect={optInType:OptInType.toption[@ocaml.doc"Information on the opt-in type for your Automatic Management configuration. There are two modes: Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is available."];notificationArn:AmazonResourceName.toption[@ocaml.doc"The User Notifications Amazon Resource Name (ARN) for Automatic Management notifications you want to update."];exclusionList:ExclusionList.toption[@ocaml.doc"List of Amazon Web Services services you want to exclude from Automatic Management. You won't be notified of Service Quotas utilization for Amazon Web Services services added to the Automatic Management exclusion list."]}letmake?optInType=fun?notificationArn->fun?exclusionList->fun()->{optInType;notificationArn;exclusionList}letto_valuex=structure_to_value[("OptInType",(Option.mapx.optInType~f:OptInType.to_value));("NotificationArn",(Option.mapx.notificationArn~f:AmazonResourceName.to_value));("ExclusionList",(Option.mapx.exclusionList~f:ExclusionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexclusionList=(Option.map~f:ExclusionList.of_xml)(Xml.childxml_arg0"ExclusionList")inletnotificationArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"NotificationArn")inletoptInType=(Option.map~f:OptInType.of_xml)(Xml.childxml_arg0"OptInType")inmake?exclusionList?notificationArn?optInType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexclusionList=field_mapjson__"ExclusionList"ExclusionList.of_jsoninletnotificationArn=field_mapjson__"NotificationArn"AmazonResourceName.of_jsoninletoptInType=field_mapjson__"OptInType"OptInType.of_jsoninmake?exclusionList?notificationArn?optInType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates your Service Quotas Automatic Management configuration, including notification preferences and excluded quotas. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from the specified applied quota. You can specify one or more tags to remove."]moduleUntagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) for the applied quota that you want to untag. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas CLI command or the ListServiceQuotas Amazon Web Services API operation."];tagKeys:InputTagKeys.t[@ocaml.doc"The keys of the tags that you want to remove from the resource."]}letcontext_="UntagResourceRequest"letmake~resourceARN=fun~tagKeys->fun()->{resourceARN;tagKeys}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("TagKeys",(Some(InputTagKeys.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=InputTagKeys.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tagKeys~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"InputTagKeys.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tagKeys~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from the specified applied quota. You can specify one or more tags to remove."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TagPolicyViolationExceptionofTagPolicyViolationException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`TooManyTagsExceptionofTooManyTagsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TagPolicyViolationException"->`TagPolicyViolationException(TagPolicyViolationException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TagPolicyViolationException"->`TagPolicyViolationException(TagPolicyViolationException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TagPolicyViolationExceptione->`Assoc[("error",(`String"TagPolicyViolationException"));("details",(TagPolicyViolationException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds tags to the specified applied quota. You can include one or more tags to add to the quota."]moduleTagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) for the applied quota. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas CLI command or the ListServiceQuotas Amazon Web Services API operation."];tags:InputTags.t[@ocaml.doc"The tags that you want to add to the resource."]}letcontext_="TagResourceRequest"letmake~resourceARN=fun~tags->fun()->{resourceARN;tags}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("Tags",(Some(InputTags.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=InputTags.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tags~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"InputTags.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tags~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds tags to the specified applied quota. You can include one or more tags to add to the quota."]moduleStopAutoManagementResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops Service Quotas Automatic Management for an Amazon Web Services account and removes all associated configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleStopAutoManagementRequest=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"Stops Service Quotas Automatic Management for an Amazon Web Services account and removes all associated configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleStartQuotaUtilizationReportResponse=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"A unique identifier for the quota utilization report. Use this identifier with the GetQuotaUtilizationReport operation to retrieve the report results."];status:ReportStatus.toption[@ocaml.doc"The current status of the report generation. The status will be PENDING when the report is first initiated."];message:ReportMessage.toption[@ocaml.doc"An optional message providing additional information about the report generation status. This field may contain details about the report initiation or indicate if an existing recent report is being reused."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun?status->fun?message->fun()->{reportId;status;message}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReportId",(Option.mapx.reportId~f:ReportId.to_value));("Status",(Option.mapx.status~f:ReportStatus.to_value));("Message",(Option.mapx.message~f:ReportMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ReportMessage.of_xml)(Xml.childxml_arg0"Message")inletstatus=(Option.map~f:ReportStatus.of_xml)(Xml.childxml_arg0"Status")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"ReportId")inmake?message?status?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ReportMessage.of_jsoninletstatus=field_mapjson__"Status"ReportStatus.of_jsoninletreportId=field_mapjson__"ReportId"ReportId.of_jsoninmake?message?status?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Initiates the generation of a quota utilization report for your Amazon Web Services account. This asynchronous operation analyzes your quota usage across all Amazon Web Services services and returns a unique report identifier that you can use to retrieve the results. The report generation process may take several seconds to complete, depending on the number of quotas in your account. Use the GetQuotaUtilizationReport operation to check the status and retrieve the results when the report is ready."]moduleStartQuotaUtilizationReportRequest=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"Initiates the generation of a quota utilization report for your Amazon Web Services account. This asynchronous operation analyzes your quota usage across all Amazon Web Services services and returns a unique report identifier that you can use to retrieve the results. The report generation process may take several seconds to complete, depending on the number of quotas in your account. Use the GetQuotaUtilizationReport operation to check the status and retrieve the results when the report is ready."]moduleStartAutoManagementResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts Service Quotas Automatic Management for an Amazon Web Services account, including notification preferences and excluded quotas configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleStartAutoManagementRequest=structtypenonrect={optInLevel:OptInLevel.t[@ocaml.doc"Sets the opt-in level for Automatic Management. Only Amazon Web Services account level is supported."];optInType:OptInType.t[@ocaml.doc"Sets the opt-in type for Automatic Management. There are two modes: Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is available."];notificationArn:AmazonResourceName.toption[@ocaml.doc"The User Notifications Amazon Resource Name (ARN) for Automatic Management notifications."];exclusionList:ExclusionList.toption[@ocaml.doc"List of Amazon Web Services services excluded from Automatic Management. You won't be notified of Service Quotas utilization for Amazon Web Services services added to the Automatic Management exclusion list."]}letcontext_="StartAutoManagementRequest"letmake?notificationArn=fun?exclusionList->fun~optInLevel->fun~optInType->fun()->{notificationArn;exclusionList;optInLevel;optInType}letto_valuex=structure_to_value[("OptInLevel",(Some(OptInLevel.to_valuex.optInLevel)));("OptInType",(Some(OptInType.to_valuex.optInType)));("NotificationArn",(Option.mapx.notificationArn~f:AmazonResourceName.to_value));("ExclusionList",(Option.mapx.exclusionList~f:ExclusionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexclusionList=(Option.map~f:ExclusionList.of_xml)(Xml.childxml_arg0"ExclusionList")inletnotificationArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"NotificationArn")inletoptInType=OptInType.of_xml(Xml.child_exn~context:context_xml_arg0"OptInType")inletoptInLevel=OptInLevel.of_xml(Xml.child_exn~context:context_xml_arg0"OptInLevel")inmake?exclusionList?notificationArn~optInType~optInLevel()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexclusionList=field_mapjson__"ExclusionList"ExclusionList.of_jsoninletnotificationArn=field_mapjson__"NotificationArn"AmazonResourceName.of_jsoninletoptInType=field_map_exnjson__"OptInType"OptInType.of_jsoninletoptInLevel=field_map_exnjson__"OptInLevel"OptInLevel.of_jsoninmake?exclusionList?notificationArn~optInType~optInLevel()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts Service Quotas Automatic Management for an Amazon Web Services account, including notification preferences and excluded quotas configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleRequestServiceQuotaIncreaseResponse=structtypenonrect={requestedQuota:RequestedServiceQuotaChange.toption[@ocaml.doc"Information about the quota increase request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidResourceStateExceptionofInvalidResourceStateException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`QuotaExceededExceptionofQuotaExceededException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?requestedQuota=fun()->{requestedQuota}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidResourceStateException"->`InvalidResourceStateException(InvalidResourceStateException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"QuotaExceededException"->`QuotaExceededException(QuotaExceededException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidResourceStateException"->`InvalidResourceStateException(InvalidResourceStateException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"QuotaExceededException"->`QuotaExceededException(QuotaExceededException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidResourceStateExceptione->`Assoc[("error",(`String"InvalidResourceStateException"));("details",(InvalidResourceStateException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`QuotaExceededExceptione->`Assoc[("error",(`String"QuotaExceededException"));("details",(QuotaExceededException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RequestedQuota",(Option.mapx.requestedQuota~f:RequestedServiceQuotaChange.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestedQuota=(Option.map~f:RequestedServiceQuotaChange.of_xml)(Xml.childxml_arg0"RequestedQuota")inmake?requestedQuota()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestedQuota=field_mapjson__"RequestedQuota"RequestedServiceQuotaChange.of_jsoninmake?requestedQuota()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Submits a quota increase request for the specified quota at the account or resource level."]moduleRequestServiceQuotaIncreaseRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];desiredValue:QuotaValue.t[@ocaml.doc"Specifies the new, increased value for the quota."];contextId:QuotaContextId.toption[@ocaml.doc"Specifies the resource with an Amazon Resource Name (ARN)."];supportCaseAllowed:SupportCaseAllowed.toption[@ocaml.doc"Specifies if an Amazon Web Services Support case can be opened for the quota increase request. This parameter is optional. By default, this flag is set to True and Amazon Web Services may create a support case for some quota increase requests. You can set this flag to False if you do not want a support case created when you request a quota increase. If you set the flag to False, Amazon Web Services does not open a support case and updates the request status to Not approved."]}letcontext_="RequestServiceQuotaIncreaseRequest"letmake?contextId=fun?supportCaseAllowed->fun~serviceCode->fun~quotaCode->fun~desiredValue->fun()->{contextId;supportCaseAllowed;serviceCode;quotaCode;desiredValue}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("DesiredValue",(Some(QuotaValue.to_valuex.desiredValue)));("ContextId",(Option.mapx.contextId~f:QuotaContextId.to_value));("SupportCaseAllowed",(Option.mapx.supportCaseAllowed~f:SupportCaseAllowed.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportCaseAllowed=(Option.map~f:SupportCaseAllowed.of_xml)(Xml.childxml_arg0"SupportCaseAllowed")inletcontextId=(Option.map~f:QuotaContextId.of_xml)(Xml.childxml_arg0"ContextId")inletdesiredValue=QuotaValue.of_xml(Xml.child_exn~context:context_xml_arg0"DesiredValue")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake?supportCaseAllowed?contextId~desiredValue~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportCaseAllowed=field_mapjson__"SupportCaseAllowed"SupportCaseAllowed.of_jsoninletcontextId=field_mapjson__"ContextId"QuotaContextId.of_jsoninletdesiredValue=field_map_exnjson__"DesiredValue"QuotaValue.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake?supportCaseAllowed?contextId~desiredValue~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Submits a quota increase request for the specified quota at the account or resource level."]modulePutServiceQuotaIncreaseRequestIntoTemplateResponse=structtypenonrect={serviceQuotaIncreaseRequestInTemplate:ServiceQuotaIncreaseRequestInTemplate.toption[@ocaml.doc"Information about the quota increase request."]}typenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`QuotaExceededExceptionofQuotaExceededException.t|`ServiceExceptionofServiceException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?serviceQuotaIncreaseRequestInTemplate=fun()->{serviceQuotaIncreaseRequestInTemplate}leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"QuotaExceededException"->`QuotaExceededException(QuotaExceededException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"QuotaExceededException"->`QuotaExceededException(QuotaExceededException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`QuotaExceededExceptione->`Assoc[("error",(`String"QuotaExceededException"));("details",(QuotaExceededException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ServiceQuotaIncreaseRequestInTemplate",(Option.mapx.serviceQuotaIncreaseRequestInTemplate~f:ServiceQuotaIncreaseRequestInTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserviceQuotaIncreaseRequestInTemplate=(Option.map~f:ServiceQuotaIncreaseRequestInTemplate.of_xml)(Xml.childxml_arg0"ServiceQuotaIncreaseRequestInTemplate")inmake?serviceQuotaIncreaseRequestInTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserviceQuotaIncreaseRequestInTemplate=field_mapjson__"ServiceQuotaIncreaseRequestInTemplate"ServiceQuotaIncreaseRequestInTemplate.of_jsoninmake?serviceQuotaIncreaseRequestInTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a quota increase request to your quota request template."]modulePutServiceQuotaIncreaseRequestIntoTemplateRequest=structtypenonrect={quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];awsRegion:AwsRegion.t[@ocaml.doc"Specifies the Amazon Web Services Region to which the template applies."];desiredValue:QuotaValue.t[@ocaml.doc"Specifies the new, increased value for the quota."]}letcontext_="PutServiceQuotaIncreaseRequestIntoTemplateRequest"letmake~quotaCode=fun~serviceCode->fun~awsRegion->fun~desiredValue->fun()->{quotaCode;serviceCode;awsRegion;desiredValue}letto_valuex=structure_to_value[("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("AwsRegion",(Some(AwsRegion.to_valuex.awsRegion)));("DesiredValue",(Some(QuotaValue.to_valuex.desiredValue)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdesiredValue=QuotaValue.of_xml(Xml.child_exn~context:context_xml_arg0"DesiredValue")inletawsRegion=AwsRegion.of_xml(Xml.child_exn~context:context_xml_arg0"AwsRegion")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inmake~desiredValue~awsRegion~serviceCode~quotaCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdesiredValue=field_map_exnjson__"DesiredValue"QuotaValue.of_jsoninletawsRegion=field_map_exnjson__"AwsRegion"AwsRegion.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninmake~desiredValue~awsRegion~serviceCode~quotaCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a quota increase request to your quota request template."]moduleListTagsForResourceResponse=structtypenonrect={tags:OutputTags.toption[@ocaml.doc"A complex data type that contains zero or more tag elements."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f:OutputTags.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:OutputTags.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"OutputTags.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags assigned to the specified applied quota."]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) for the applied quota for which you want to list tags. You can get this information by using the Service Quotas console, or by listing the quotas using the list-service-quotas CLI command or the ListServiceQuotas Amazon Web Services API operation."]}letcontext_="ListTagsForResourceRequest"letmake~resourceARN=fun()->{resourceARN}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags assigned to the specified applied quota."]moduleListServicesResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."];services:ServiceInfoListDefinition.toption[@ocaml.doc"The list of the Amazon Web Services service names and service codes."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?services->fun()->{nextToken;services}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Services",(Option.mapx.services~f:ServiceInfoListDefinition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letservices=(Option.map~f:ServiceInfoListDefinition.of_xml)(Xml.childxml_arg0"Services")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?services?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letservices=field_mapjson__"Services"ServiceInfoListDefinition.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?services?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the names and codes for the Amazon Web Services services integrated with Service Quotas."]moduleListServicesRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the names and codes for the Amazon Web Services services integrated with Service Quotas."]moduleListServiceQuotasResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."];quotas:ServiceQuotaListDefinition.toption[@ocaml.doc"Information about the quotas."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?quotas->fun()->{nextToken;quotas}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Quotas",(Option.mapx.quotas~f:ServiceQuotaListDefinition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotas=(Option.map~f:ServiceQuotaListDefinition.of_xml)(Xml.childxml_arg0"Quotas")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?quotas?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotas=field_mapjson__"Quotas"ServiceQuotaListDefinition.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?quotas?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the applied quota values for the specified Amazon Web Services service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved. Filter responses to return applied quota values at either the account level, resource level, or all levels."]moduleListServiceQuotasRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."];quotaCode:QuotaCode.toption[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];quotaAppliedAtLevel:AppliedLevelEnum.toption[@ocaml.doc"Filters the response to return applied quota values for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default."]}letcontext_="ListServiceQuotasRequest"letmake?nextToken=fun?maxResults->fun?quotaCode->fun?quotaAppliedAtLevel->fun~serviceCode->fun()->{nextToken;maxResults;quotaCode;quotaAppliedAtLevel;serviceCode}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("QuotaCode",(Option.mapx.quotaCode~f:QuotaCode.to_value));("QuotaAppliedAtLevel",(Option.mapx.quotaAppliedAtLevel~f:AppliedLevelEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaAppliedAtLevel=(Option.map~f:AppliedLevelEnum.of_xml)(Xml.childxml_arg0"QuotaAppliedAtLevel")inletquotaCode=(Option.map~f:QuotaCode.of_xml)(Xml.childxml_arg0"QuotaCode")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake?quotaAppliedAtLevel?quotaCode?maxResults?nextToken~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaAppliedAtLevel=field_mapjson__"QuotaAppliedAtLevel"AppliedLevelEnum.of_jsoninletquotaCode=field_mapjson__"QuotaCode"QuotaCode.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake?quotaAppliedAtLevel?quotaCode?maxResults?nextToken~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the applied quota values for the specified Amazon Web Services service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved. Filter responses to return applied quota values at either the account level, resource level, or all levels."]moduleListServiceQuotaIncreaseRequestsInTemplateResponse=structtypenonrect={serviceQuotaIncreaseRequestInTemplateList:ServiceQuotaIncreaseRequestInTemplateList.toption[@ocaml.doc"Information about the quota increase requests."];nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."]}typenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`ServiceExceptionofServiceException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?serviceQuotaIncreaseRequestInTemplateList=fun?nextToken->fun()->{serviceQuotaIncreaseRequestInTemplateList;nextToken}leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ServiceQuotaIncreaseRequestInTemplateList",(Option.mapx.serviceQuotaIncreaseRequestInTemplateList~f:ServiceQuotaIncreaseRequestInTemplateList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletserviceQuotaIncreaseRequestInTemplateList=(Option.map~f:ServiceQuotaIncreaseRequestInTemplateList.of_xml)(Xml.childxml_arg0"ServiceQuotaIncreaseRequestInTemplateList")inmake?nextToken?serviceQuotaIncreaseRequestInTemplateList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletserviceQuotaIncreaseRequestInTemplateList=field_mapjson__"ServiceQuotaIncreaseRequestInTemplateList"ServiceQuotaIncreaseRequestInTemplateList.of_jsoninmake?nextToken?serviceQuotaIncreaseRequestInTemplateList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the quota increase requests in the specified quota request template."]moduleListServiceQuotaIncreaseRequestsInTemplateRequest=structtypenonrect={serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];awsRegion:AwsRegion.toption[@ocaml.doc"Specifies the Amazon Web Services Region for which you made the request."];nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."]}letmake?serviceCode=fun?awsRegion->fun?nextToken->fun?maxResults->fun()->{serviceCode;awsRegion;nextToken;maxResults}letto_valuex=structure_to_value[("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("AwsRegion",(Option.mapx.awsRegion~f:AwsRegion.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletawsRegion=(Option.map~f:AwsRegion.of_xml)(Xml.childxml_arg0"AwsRegion")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inmake?maxResults?nextToken?awsRegion?serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletawsRegion=field_mapjson__"AwsRegion"AwsRegion.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninmake?maxResults?nextToken?awsRegion?serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the quota increase requests in the specified quota request template."]moduleListRequestedServiceQuotaChangeHistoryResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."];requestedQuotas:RequestedServiceQuotaChangeHistoryListDefinition.toption[@ocaml.doc"Information about the quota increase requests."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?requestedQuotas->fun()->{nextToken;requestedQuotas}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("RequestedQuotas",(Option.mapx.requestedQuotas~f:RequestedServiceQuotaChangeHistoryListDefinition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestedQuotas=(Option.map~f:RequestedServiceQuotaChangeHistoryListDefinition.of_xml)(Xml.childxml_arg0"RequestedQuotas")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?requestedQuotas?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestedQuotas=field_mapjson__"RequestedQuotas"RequestedServiceQuotaChangeHistoryListDefinition.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?requestedQuotas?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota increase requests for the specified Amazon Web Services service. Filter responses to return quota requests at either the account level, resource level, or all levels. Responses include any open or closed requests within 90 days."]moduleListRequestedServiceQuotaChangeHistoryRequest=structtypenonrect={serviceCode:ServiceCode.toption[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];status:RequestStatus.toption[@ocaml.doc"Specifies that you want to filter the results to only the requests with the matching status."];nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."];quotaRequestedAtLevel:AppliedLevelEnum.toption[@ocaml.doc"Filters the response to return quota requests for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default."]}letmake?serviceCode=fun?status->fun?nextToken->fun?maxResults->fun?quotaRequestedAtLevel->fun()->{serviceCode;status;nextToken;maxResults;quotaRequestedAtLevel}letto_valuex=structure_to_value[("ServiceCode",(Option.mapx.serviceCode~f:ServiceCode.to_value));("Status",(Option.mapx.status~f:RequestStatus.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("QuotaRequestedAtLevel",(Option.mapx.quotaRequestedAtLevel~f:AppliedLevelEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaRequestedAtLevel=(Option.map~f:AppliedLevelEnum.of_xml)(Xml.childxml_arg0"QuotaRequestedAtLevel")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstatus=(Option.map~f:RequestStatus.of_xml)(Xml.childxml_arg0"Status")inletserviceCode=(Option.map~f:ServiceCode.of_xml)(Xml.childxml_arg0"ServiceCode")inmake?quotaRequestedAtLevel?maxResults?nextToken?status?serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaRequestedAtLevel=field_mapjson__"QuotaRequestedAtLevel"AppliedLevelEnum.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstatus=field_mapjson__"Status"RequestStatus.of_jsoninletserviceCode=field_mapjson__"ServiceCode"ServiceCode.of_jsoninmake?quotaRequestedAtLevel?maxResults?nextToken?status?serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota increase requests for the specified Amazon Web Services service. Filter responses to return quota requests at either the account level, resource level, or all levels. Responses include any open or closed requests within 90 days."]moduleListRequestedServiceQuotaChangeHistoryByQuotaResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."];requestedQuotas:RequestedServiceQuotaChangeHistoryListDefinition.toption[@ocaml.doc"Information about the quota increase requests."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?requestedQuotas->fun()->{nextToken;requestedQuotas}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("RequestedQuotas",(Option.mapx.requestedQuotas~f:RequestedServiceQuotaChangeHistoryListDefinition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestedQuotas=(Option.map~f:RequestedServiceQuotaChangeHistoryListDefinition.of_xml)(Xml.childxml_arg0"RequestedQuotas")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?requestedQuotas?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestedQuotas=field_mapjson__"RequestedQuotas"RequestedServiceQuotaChangeHistoryListDefinition.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?requestedQuotas?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota increase requests for the specified quota. Filter responses to return quota requests at either the account level, resource level, or all levels."]moduleListRequestedServiceQuotaChangeHistoryByQuotaRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];status:RequestStatus.toption[@ocaml.doc"Specifies that you want to filter the results to only the requests with the matching status."];nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."];quotaRequestedAtLevel:AppliedLevelEnum.toption[@ocaml.doc"Filters the response to return quota requests for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default."]}letcontext_="ListRequestedServiceQuotaChangeHistoryByQuotaRequest"letmake?status=fun?nextToken->fun?maxResults->fun?quotaRequestedAtLevel->fun~serviceCode->fun~quotaCode->fun()->{status;nextToken;maxResults;quotaRequestedAtLevel;serviceCode;quotaCode}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("Status",(Option.mapx.status~f:RequestStatus.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("QuotaRequestedAtLevel",(Option.mapx.quotaRequestedAtLevel~f:AppliedLevelEnum.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaRequestedAtLevel=(Option.map~f:AppliedLevelEnum.of_xml)(Xml.childxml_arg0"QuotaRequestedAtLevel")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletstatus=(Option.map~f:RequestStatus.of_xml)(Xml.childxml_arg0"Status")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake?quotaRequestedAtLevel?maxResults?nextToken?status~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaRequestedAtLevel=field_mapjson__"QuotaRequestedAtLevel"AppliedLevelEnum.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletstatus=field_mapjson__"Status"RequestStatus.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake?quotaRequestedAtLevel?maxResults?nextToken?status~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota increase requests for the specified quota. Filter responses to return quota requests at either the account level, resource level, or all levels."]moduleListAWSDefaultServiceQuotasResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."];quotas:ServiceQuotaListDefinition.toption[@ocaml.doc"Information about the quotas."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidPaginationTokenExceptionofInvalidPaginationTokenException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?quotas->fun()->{nextToken;quotas}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidPaginationTokenException"->`InvalidPaginationTokenException(InvalidPaginationTokenException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidPaginationTokenExceptione->`Assoc[("error",(`String"InvalidPaginationTokenException"));("details",(InvalidPaginationTokenException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Quotas",(Option.mapx.quotas~f:ServiceQuotaListDefinition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotas=(Option.map~f:ServiceQuotaListDefinition.of_xml)(Xml.childxml_arg0"Quotas")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?quotas?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotas=field_mapjson__"Quotas"ServiceQuotaListDefinition.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?quotas?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the default values for the quotas for the specified Amazon Web Services service. A default value does not reflect any quota increases."]moduleListAWSDefaultServiceQuotasRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];nextToken:NextToken.toption[@ocaml.doc"Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."];maxResults:MaxResults.toption[@ocaml.doc"Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results."]}letcontext_="ListAWSDefaultServiceQuotasRequest"letmake?nextToken=fun?maxResults->fun~serviceCode->fun()->{nextToken;maxResults;serviceCode}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake?maxResults?nextToken~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake?maxResults?nextToken~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the default values for the quotas for the specified Amazon Web Services service. A default value does not reflect any quota increases."]moduleGetServiceQuotaResponse=structtypenonrect={quota:ServiceQuota.toption[@ocaml.doc"Information about the quota."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?quota=fun()->{quota}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Quota",(Option.mapx.quota~f:ServiceQuota.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquota=(Option.map~f:ServiceQuota.of_xml)(Xml.childxml_arg0"Quota")inmake?quota()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquota=field_mapjson__"Quota"ServiceQuota.of_jsoninmake?quota()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the applied quota value for the specified account-level or resource-level quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved."]moduleGetServiceQuotaRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];contextId:QuotaContextId.toption[@ocaml.doc"Specifies the resource with an Amazon Resource Name (ARN)."]}letcontext_="GetServiceQuotaRequest"letmake?contextId=fun~serviceCode->fun~quotaCode->fun()->{contextId;serviceCode;quotaCode}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("ContextId",(Option.mapx.contextId~f:QuotaContextId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontextId=(Option.map~f:QuotaContextId.of_xml)(Xml.childxml_arg0"ContextId")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake?contextId~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontextId=field_mapjson__"ContextId"QuotaContextId.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake?contextId~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the applied quota value for the specified account-level or resource-level quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved."]moduleGetServiceQuotaIncreaseRequestFromTemplateResponse=structtypenonrect={serviceQuotaIncreaseRequestInTemplate:ServiceQuotaIncreaseRequestInTemplate.toption[@ocaml.doc"Information about the quota increase request."]}typenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?serviceQuotaIncreaseRequestInTemplate=fun()->{serviceQuotaIncreaseRequestInTemplate}leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ServiceQuotaIncreaseRequestInTemplate",(Option.mapx.serviceQuotaIncreaseRequestInTemplate~f:ServiceQuotaIncreaseRequestInTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserviceQuotaIncreaseRequestInTemplate=(Option.map~f:ServiceQuotaIncreaseRequestInTemplate.of_xml)(Xml.childxml_arg0"ServiceQuotaIncreaseRequestInTemplate")inmake?serviceQuotaIncreaseRequestInTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserviceQuotaIncreaseRequestInTemplate=field_mapjson__"ServiceQuotaIncreaseRequestInTemplate"ServiceQuotaIncreaseRequestInTemplate.of_jsoninmake?serviceQuotaIncreaseRequestInTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the specified quota increase request in your quota request template."]moduleGetServiceQuotaIncreaseRequestFromTemplateRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];awsRegion:AwsRegion.t[@ocaml.doc"Specifies the Amazon Web Services Region for which you made the request."]}letcontext_="GetServiceQuotaIncreaseRequestFromTemplateRequest"letmake~serviceCode=fun~quotaCode->fun~awsRegion->fun()->{serviceCode;quotaCode;awsRegion}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("AwsRegion",(Some(AwsRegion.to_valuex.awsRegion)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letawsRegion=AwsRegion.of_xml(Xml.child_exn~context:context_xml_arg0"AwsRegion")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake~awsRegion~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letawsRegion=field_map_exnjson__"AwsRegion"AwsRegion.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake~awsRegion~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the specified quota increase request in your quota request template."]moduleGetRequestedServiceQuotaChangeResponse=structtypenonrect={requestedQuota:RequestedServiceQuotaChange.toption[@ocaml.doc"Information about the quota increase request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?requestedQuota=fun()->{requestedQuota}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RequestedQuota",(Option.mapx.requestedQuota~f:RequestedServiceQuotaChange.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestedQuota=(Option.map~f:RequestedServiceQuotaChange.of_xml)(Xml.childxml_arg0"RequestedQuota")inmake?requestedQuota()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestedQuota=field_mapjson__"RequestedQuota"RequestedServiceQuotaChange.of_jsoninmake?requestedQuota()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the specified quota increase request."]moduleGetRequestedServiceQuotaChangeRequest=structtypenonrect={requestId:RequestId.t[@ocaml.doc"Specifies the ID of the quota increase request."]}letcontext_="GetRequestedServiceQuotaChangeRequest"letmake~requestId=fun()->{requestId}letto_valuex=structure_to_value[("RequestId",(Some(RequestId.to_valuex.requestId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestId=RequestId.of_xml(Xml.child_exn~context:context_xml_arg0"RequestId")inmake~requestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestId=field_map_exnjson__"RequestId"RequestId.of_jsoninmake~requestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the specified quota increase request."]moduleGetQuotaUtilizationReportResponse=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"The unique identifier for the quota utilization report."];status:ReportStatus.toption[@ocaml.doc"The current status of the report generation. Possible values are: PENDING - The report generation is in progress. Retry this operation after a few seconds. IN_PROGRESS - The report is being processed. Continue polling until the status changes to COMPLETED. COMPLETED - The report is ready and quota utilization data is available in the response. FAILED - The report generation failed. Check the ErrorCode and ErrorMessage fields for details."];generatedAt:DateTime.toption[@ocaml.doc"The timestamp when the report was generated, in ISO 8601 format."];totalCount:TotalCount.toption[@ocaml.doc"The total number of quotas included in the report across all pages."];quotas:QuotaUtilizationInfoList.toption[@ocaml.doc"A list of quota utilization records, sorted by utilization percentage in descending order. Each record includes the quota code, service code, service name, quota name, namespace, utilization percentage, default value, applied value, and whether the quota is adjustable. Up to 1,000 records are returned per page."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates more results are available. Include this token in the next request to retrieve the next page of results. If this field is not present, you have retrieved all available results."];errorCode:ReportErrorCode.toption[@ocaml.doc"An error code indicating the reason for failure when the report status is FAILED. This field is only present when the status is FAILED."];errorMessage:ReportErrorMessage.toption[@ocaml.doc"A detailed error message describing the failure when the report status is FAILED. This field is only present when the status is FAILED."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun?status->fun?generatedAt->fun?totalCount->fun?quotas->fun?nextToken->fun?errorCode->fun?errorMessage->fun()->{reportId;status;generatedAt;totalCount;quotas;nextToken;errorCode;errorMessage}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReportId",(Option.mapx.reportId~f:ReportId.to_value));("Status",(Option.mapx.status~f:ReportStatus.to_value));("GeneratedAt",(Option.mapx.generatedAt~f:DateTime.to_value));("TotalCount",(Option.mapx.totalCount~f:TotalCount.to_value));("Quotas",(Option.mapx.quotas~f:QuotaUtilizationInfoList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("ErrorCode",(Option.mapx.errorCode~f:ReportErrorCode.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:ReportErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ReportErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterrorCode=(Option.map~f:ReportErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletquotas=(Option.map~f:QuotaUtilizationInfoList.of_xml)(Xml.childxml_arg0"Quotas")inlettotalCount=(Option.map~f:TotalCount.of_xml)(Xml.childxml_arg0"TotalCount")inletgeneratedAt=(Option.map~f:DateTime.of_xml)(Xml.childxml_arg0"GeneratedAt")inletstatus=(Option.map~f:ReportStatus.of_xml)(Xml.childxml_arg0"Status")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"ReportId")inmake?errorMessage?errorCode?nextToken?quotas?totalCount?generatedAt?status?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"ErrorMessage"ReportErrorMessage.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ReportErrorCode.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletquotas=field_mapjson__"Quotas"QuotaUtilizationInfoList.of_jsoninlettotalCount=field_mapjson__"TotalCount"TotalCount.of_jsoninletgeneratedAt=field_mapjson__"GeneratedAt"DateTime.of_jsoninletstatus=field_mapjson__"Status"ReportStatus.of_jsoninletreportId=field_mapjson__"ReportId"ReportId.of_jsoninmake?errorMessage?errorCode?nextToken?quotas?totalCount?generatedAt?status?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota utilization report for your Amazon Web Services account. This operation returns paginated results showing your quota usage across all Amazon Web Services services, sorted by utilization percentage in descending order (highest utilization first). You must first initiate a report using the StartQuotaUtilizationReport operation. The report generation process is asynchronous and may take several seconds to complete. Poll this operation periodically to check the status and retrieve results when the report is ready. Each report contains up to 1,000 quota records per page. Use the NextToken parameter to retrieve additional pages of results. Reports are automatically deleted after 15 minutes."]moduleGetQuotaUtilizationReportRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"The unique identifier for the quota utilization report. This identifier is returned by the StartQuotaUtilizationReport operation."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates the next page of results to retrieve. This token is returned in the response when there are more results available. Omit this parameter for the first request."];maxResults:MaxResultsUtilization.toption[@ocaml.doc"The maximum number of results to return per page. The default value is 1,000 and the maximum allowed value is 1,000."]}letcontext_="GetQuotaUtilizationReportRequest"letmake?nextToken=fun?maxResults->fun~reportId->fun()->{nextToken;maxResults;reportId}letto_valuex=structure_to_value[("ReportId",(Some(ReportId.to_valuex.reportId)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResultsUtilization.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResultsUtilization.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"ReportId")inmake?maxResults?nextToken~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResultsUtilization.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletreportId=field_map_exnjson__"ReportId"ReportId.of_jsoninmake?maxResults?nextToken~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the quota utilization report for your Amazon Web Services account. This operation returns paginated results showing your quota usage across all Amazon Web Services services, sorted by utilization percentage in descending order (highest utilization first). You must first initiate a report using the StartQuotaUtilizationReport operation. The report generation process is asynchronous and may take several seconds to complete. Poll this operation periodically to check the status and retrieve results when the report is ready. Each report contains up to 1,000 quota records per page. Use the NextToken parameter to retrieve additional pages of results. Reports are automatically deleted after 15 minutes."]moduleGetAutoManagementConfigurationResponse=structtypenonrect={optInLevel:OptInLevel.toption[@ocaml.doc"Information on the opt-in level for Automatic Management. Only Amazon Web Services account level is supported."];optInType:OptInType.toption[@ocaml.doc"Information on the opt-in type for Automatic Management. There are two modes: Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is available."];notificationArn:AmazonResourceName.toption[@ocaml.doc"The User Notifications Amazon Resource Name (ARN) for Automatic Management notifications."];optInStatus:OptInStatus.toption[@ocaml.doc"Status on whether Automatic Management is started or stopped."];exclusionList:ExclusionQuotaList.toption[@ocaml.doc"List of Amazon Web Services services excluded from Automatic Management. You won't be notified of Service Quotas utilization for Amazon Web Services services added to the Automatic Management exclusion list."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?optInLevel=fun?optInType->fun?notificationArn->fun?optInStatus->fun?exclusionList->fun()->{optInLevel;optInType;notificationArn;optInStatus;exclusionList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OptInLevel",(Option.mapx.optInLevel~f:OptInLevel.to_value));("OptInType",(Option.mapx.optInType~f:OptInType.to_value));("NotificationArn",(Option.mapx.notificationArn~f:AmazonResourceName.to_value));("OptInStatus",(Option.mapx.optInStatus~f:OptInStatus.to_value));("ExclusionList",(Option.mapx.exclusionList~f:ExclusionQuotaList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexclusionList=(Option.map~f:ExclusionQuotaList.of_xml)(Xml.childxml_arg0"ExclusionList")inletoptInStatus=(Option.map~f:OptInStatus.of_xml)(Xml.childxml_arg0"OptInStatus")inletnotificationArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"NotificationArn")inletoptInType=(Option.map~f:OptInType.of_xml)(Xml.childxml_arg0"OptInType")inletoptInLevel=(Option.map~f:OptInLevel.of_xml)(Xml.childxml_arg0"OptInLevel")inmake?exclusionList?optInStatus?notificationArn?optInType?optInLevel()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexclusionList=field_mapjson__"ExclusionList"ExclusionQuotaList.of_jsoninletoptInStatus=field_mapjson__"OptInStatus"OptInStatus.of_jsoninletnotificationArn=field_mapjson__"NotificationArn"AmazonResourceName.of_jsoninletoptInType=field_mapjson__"OptInType"OptInType.of_jsoninletoptInLevel=field_mapjson__"OptInLevel"OptInLevel.of_jsoninmake?exclusionList?optInStatus?notificationArn?optInType?optInLevel()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about your Service Quotas Automatic Management configuration. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleGetAutoManagementConfigurationRequest=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"Retrieves information about your Service Quotas Automatic Management configuration. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas."]moduleGetAssociationForServiceQuotaTemplateResponse=structtypenonrect={serviceQuotaTemplateAssociationStatus:ServiceQuotaTemplateAssociationStatus.toption[@ocaml.doc"The association status. If the status is ASSOCIATED, the quota increase requests in the template are automatically applied to new Amazon Web Services accounts in your organization."]}typenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`ServiceExceptionofServiceException.t|`ServiceQuotaTemplateNotInUseExceptionofServiceQuotaTemplateNotInUseException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?serviceQuotaTemplateAssociationStatus=fun()->{serviceQuotaTemplateAssociationStatus}leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"ServiceQuotaTemplateNotInUseException"->`ServiceQuotaTemplateNotInUseException(ServiceQuotaTemplateNotInUseException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"ServiceQuotaTemplateNotInUseException"->`ServiceQuotaTemplateNotInUseException(ServiceQuotaTemplateNotInUseException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`ServiceQuotaTemplateNotInUseExceptione->`Assoc[("error",(`String"ServiceQuotaTemplateNotInUseException"));("details",(ServiceQuotaTemplateNotInUseException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ServiceQuotaTemplateAssociationStatus",(Option.mapx.serviceQuotaTemplateAssociationStatus~f:ServiceQuotaTemplateAssociationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserviceQuotaTemplateAssociationStatus=(Option.map~f:ServiceQuotaTemplateAssociationStatus.of_xml)(Xml.childxml_arg0"ServiceQuotaTemplateAssociationStatus")inmake?serviceQuotaTemplateAssociationStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserviceQuotaTemplateAssociationStatus=field_mapjson__"ServiceQuotaTemplateAssociationStatus"ServiceQuotaTemplateAssociationStatus.of_jsoninmake?serviceQuotaTemplateAssociationStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the status of the association for the quota request template."]moduleGetAssociationForServiceQuotaTemplateRequest=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"Retrieves the status of the association for the quota request template."]moduleGetAWSDefaultServiceQuotaResponse=structtypenonrect={quota:ServiceQuota.toption[@ocaml.doc"Information about the quota."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?quota=fun()->{quota}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Quota",(Option.mapx.quota~f:ServiceQuota.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquota=(Option.map~f:ServiceQuota.of_xml)(Xml.childxml_arg0"Quota")inmake?quota()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquota=field_mapjson__"Quota"ServiceQuota.of_jsoninmake?quota()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the default value for the specified quota. The default value does not reflect any quota increases."]moduleGetAWSDefaultServiceQuotaRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."]}letcontext_="GetAWSDefaultServiceQuotaRequest"letmake~serviceCode=fun~quotaCode->fun()->{serviceCode;quotaCode}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the default value for the specified quota. The default value does not reflect any quota increases."]moduleDisassociateServiceQuotaTemplateResponse=structtypenonrect=unittypenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`ServiceExceptionofServiceException.t|`ServiceQuotaTemplateNotInUseExceptionofServiceQuotaTemplateNotInUseException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"ServiceQuotaTemplateNotInUseException"->`ServiceQuotaTemplateNotInUseException(ServiceQuotaTemplateNotInUseException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"ServiceQuotaTemplateNotInUseException"->`ServiceQuotaTemplateNotInUseException(ServiceQuotaTemplateNotInUseException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`ServiceQuotaTemplateNotInUseExceptione->`Assoc[("error",(`String"ServiceQuotaTemplateNotInUseException"));("details",(ServiceQuotaTemplateNotInUseException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new Amazon Web Services accounts in your organization. Disabling a quota request template does not apply its quota increase requests."]moduleDisassociateServiceQuotaTemplateRequest=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"Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new Amazon Web Services accounts in your organization. Disabling a quota request template does not apply its quota increase requests."]moduleDeleteServiceQuotaIncreaseRequestFromTemplateResponse=structtypenonrect=unittypenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ServiceExceptionofServiceException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the quota increase request for the specified quota from your quota request template."]moduleDeleteServiceQuotaIncreaseRequestFromTemplateRequest=structtypenonrect={serviceCode:ServiceCode.t[@ocaml.doc"Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation."];quotaCode:QuotaCode.t[@ocaml.doc"Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want."];awsRegion:AwsRegion.t[@ocaml.doc"Specifies the Amazon Web Services Region for which the request was made."]}letcontext_="DeleteServiceQuotaIncreaseRequestFromTemplateRequest"letmake~serviceCode=fun~quotaCode->fun~awsRegion->fun()->{serviceCode;quotaCode;awsRegion}letto_valuex=structure_to_value[("ServiceCode",(Some(ServiceCode.to_valuex.serviceCode)));("QuotaCode",(Some(QuotaCode.to_valuex.quotaCode)));("AwsRegion",(Some(AwsRegion.to_valuex.awsRegion)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letawsRegion=AwsRegion.of_xml(Xml.child_exn~context:context_xml_arg0"AwsRegion")inletquotaCode=QuotaCode.of_xml(Xml.child_exn~context:context_xml_arg0"QuotaCode")inletserviceCode=ServiceCode.of_xml(Xml.child_exn~context:context_xml_arg0"ServiceCode")inmake~awsRegion~quotaCode~serviceCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letawsRegion=field_map_exnjson__"AwsRegion"AwsRegion.of_jsoninletquotaCode=field_map_exnjson__"QuotaCode"QuotaCode.of_jsoninletserviceCode=field_map_exnjson__"ServiceCode"ServiceCode.of_jsoninmake~awsRegion~quotaCode~serviceCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the quota increase request for the specified quota from your quota request template."]moduleCreateSupportCaseResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`IllegalArgumentExceptionofIllegalArgumentException.t|`InvalidResourceStateExceptionofInvalidResourceStateException.t|`NoSuchResourceExceptionofNoSuchResourceException.t|`ResourceAlreadyExistsExceptionofResourceAlreadyExistsException.t|`ServiceExceptionofServiceException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_jsonjson)|"InvalidResourceStateException"->`InvalidResourceStateException(InvalidResourceStateException.of_jsonjson)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_jsonjson)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"IllegalArgumentException"->`IllegalArgumentException(IllegalArgumentException.of_xmlxml)|"InvalidResourceStateException"->`InvalidResourceStateException(InvalidResourceStateException.of_xmlxml)|"NoSuchResourceException"->`NoSuchResourceException(NoSuchResourceException.of_xmlxml)|"ResourceAlreadyExistsException"->`ResourceAlreadyExistsException(ResourceAlreadyExistsException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`IllegalArgumentExceptione->`Assoc[("error",(`String"IllegalArgumentException"));("details",(IllegalArgumentException.to_jsone))]|`InvalidResourceStateExceptione->`Assoc[("error",(`String"InvalidResourceStateException"));("details",(InvalidResourceStateException.to_jsone))]|`NoSuchResourceExceptione->`Assoc[("error",(`String"NoSuchResourceException"));("details",(NoSuchResourceException.to_jsone))]|`ResourceAlreadyExistsExceptione->`Assoc[("error",(`String"ResourceAlreadyExistsException"));("details",(ResourceAlreadyExistsException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Support case for an existing quota increase request. This call only creates a Support case if the request has a Pending status."]moduleCreateSupportCaseRequest=structtypenonrect={requestId:RequestId.t[@ocaml.doc"The ID of the pending quota increase request for which you want to open a Support case."]}letcontext_="CreateSupportCaseRequest"letmake~requestId=fun()->{requestId}letto_valuex=structure_to_value[("RequestId",(Some(RequestId.to_valuex.requestId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequestId=RequestId.of_xml(Xml.child_exn~context:context_xml_arg0"RequestId")inmake~requestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequestId=field_map_exnjson__"RequestId"RequestId.of_jsoninmake~requestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Support case for an existing quota increase request. This call only creates a Support case if the request has a Pending status."]moduleAssociateServiceQuotaTemplateResponse=structtypenonrect=unittypenonrecerror=[`AWSServiceAccessNotEnabledExceptionofAWSServiceAccessNotEnabledException.t|`AccessDeniedExceptionofAccessDeniedException.t|`DependencyAccessDeniedExceptionofDependencyAccessDeniedException.t|`NoAvailableOrganizationExceptionofNoAvailableOrganizationException.t|`OrganizationNotInAllFeaturesModeExceptionofOrganizationNotInAllFeaturesModeException.t|`ServiceExceptionofServiceException.t|`TemplatesNotAvailableInRegionExceptionofTemplatesNotAvailableInRegionException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_jsonjson)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_jsonjson)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_jsonjson)|"OrganizationNotInAllFeaturesModeException"->`OrganizationNotInAllFeaturesModeException(OrganizationNotInAllFeaturesModeException.of_jsonjson)|"ServiceException"->`ServiceException(ServiceException.of_jsonjson)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AWSServiceAccessNotEnabledException"->`AWSServiceAccessNotEnabledException(AWSServiceAccessNotEnabledException.of_xmlxml)|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"DependencyAccessDeniedException"->`DependencyAccessDeniedException(DependencyAccessDeniedException.of_xmlxml)|"NoAvailableOrganizationException"->`NoAvailableOrganizationException(NoAvailableOrganizationException.of_xmlxml)|"OrganizationNotInAllFeaturesModeException"->`OrganizationNotInAllFeaturesModeException(OrganizationNotInAllFeaturesModeException.of_xmlxml)|"ServiceException"->`ServiceException(ServiceException.of_xmlxml)|"TemplatesNotAvailableInRegionException"->`TemplatesNotAvailableInRegionException(TemplatesNotAvailableInRegionException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AWSServiceAccessNotEnabledExceptione->`Assoc[("error",(`String"AWSServiceAccessNotEnabledException"));("details",(AWSServiceAccessNotEnabledException.to_jsone))]|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`DependencyAccessDeniedExceptione->`Assoc[("error",(`String"DependencyAccessDeniedException"));("details",(DependencyAccessDeniedException.to_jsone))]|`NoAvailableOrganizationExceptione->`Assoc[("error",(`String"NoAvailableOrganizationException"));("details",(NoAvailableOrganizationException.to_jsone))]|`OrganizationNotInAllFeaturesModeExceptione->`Assoc[("error",(`String"OrganizationNotInAllFeaturesModeException"));("details",(OrganizationNotInAllFeaturesModeException.to_jsone))]|`ServiceExceptione->`Assoc[("error",(`String"ServiceException"));("details",(ServiceException.to_jsone))]|`TemplatesNotAvailableInRegionExceptione->`Assoc[("error",(`String"TemplatesNotAvailableInRegionException"));("details",(TemplatesNotAvailableInRegionException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates your quota request template with your organization. When a new Amazon Web Services account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template."]moduleAssociateServiceQuotaTemplateRequest=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"Associates your quota request template with your organization. When a new Amazon Web Services account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template."]