12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329(* 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.elbletapiVersion="2012-06-01"letendpointPrefix="elasticloadbalancing"letserviceFullName="Elastic Load Balancing"letsignatureVersion="v4"letprotocol="query"letglobalEndpoint=endpointPrefix^".amazonaws.com"letxmlNamespace="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"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[]))])modulePolicyName=structtypenonrect=stringletcontext_="PolicyName"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:"PolicyName"jletto_json=simple_to_jsonto_valueendmoduleAccessPointPort=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 AccessPointPort"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleInstancePort=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for InstancePort"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProtocol=structtypenonrect=stringletcontext_="Protocol"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:"Protocol"jletto_json=simple_to_jsonto_valueendmoduleSSLCertificateId=structtypenonrect=stringletcontext_="SSLCertificateId"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:"SSLCertificateId"jletto_json=simple_to_jsonto_valueendmoduleCookieName=structtypenonrect=stringletcontext_="CookieName"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:"CookieName"jletto_json=simple_to_jsonto_valueendmoduleCookieExpirationPeriod=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_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_valueendmoduleAttributeName=structtypenonrect=stringletcontext_="AttributeName"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:"AttributeName"jletto_json=simple_to_jsonto_valueendmoduleAttributeType=structtypenonrect=stringletcontext_="AttributeType"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:"AttributeType"jletto_json=simple_to_jsonto_valueendmoduleCardinality=structtypenonrect=stringletcontext_="Cardinality"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:"Cardinality"jletto_json=simple_to_jsonto_valueendmoduleDefaultValue=structtypenonrect=stringletcontext_="DefaultValue"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:"DefaultValue"jletto_json=simple_to_jsonto_valueendmoduleDescription=structtypenonrect=stringletcontext_="Description"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:"Description"jletto_json=simple_to_jsonto_valueendmoduleAttributeValue=structtypenonrect=stringletcontext_="AttributeValue"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:"AttributeValue"jletto_json=simple_to_jsonto_valueendmodulePolicyNames=structtypenonrect=PolicyName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyName.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:PolicyName.of_xml)letof_jsonj=list_of_json~kind:"PolicyNames"~of_json:PolicyName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInstanceId=structtypenonrect=stringletcontext_="InstanceId"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:"InstanceId"jletto_json=simple_to_jsonto_valueendmoduleListener=structtypenonrect={protocol:Protocol.t[@ocaml.doc"The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL."];loadBalancerPort:AccessPointPort.t[@ocaml.doc"The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535."];instanceProtocol:Protocol.toption[@ocaml.doc"The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS. If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP."];instancePort:InstancePort.t[@ocaml.doc"The port on which the instance is listening."];sSLCertificateId:SSLCertificateId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the server certificate."]}letcontext_="Listener"letmake?instanceProtocol=fun?sSLCertificateId->fun~protocol->fun~loadBalancerPort->fun~instancePort->fun()->{instanceProtocol;sSLCertificateId;protocol;loadBalancerPort;instancePort}letto_valuex=structure_to_value[("Protocol",(Some(Protocol.to_valuex.protocol)));("LoadBalancerPort",(Some(AccessPointPort.to_valuex.loadBalancerPort)));("InstanceProtocol",(Option.mapx.instanceProtocol~f:Protocol.to_value));("InstancePort",(Some(InstancePort.to_valuex.instancePort)));("SSLCertificateId",(Option.mapx.sSLCertificateId~f:SSLCertificateId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsSLCertificateId=(Option.map~f:SSLCertificateId.of_xml)(Xml.childxml_arg0"SSLCertificateId")inletinstancePort=InstancePort.of_xml(Xml.child_exn~context:context_xml_arg0"InstancePort")inletinstanceProtocol=(Option.map~f:Protocol.of_xml)(Xml.childxml_arg0"InstanceProtocol")inletloadBalancerPort=AccessPointPort.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerPort")inletprotocol=Protocol.of_xml(Xml.child_exn~context:context_xml_arg0"Protocol")inmake?sSLCertificateId~instancePort?instanceProtocol~loadBalancerPort~protocol()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsSLCertificateId=field_mapjson__"SSLCertificateId"SSLCertificateId.of_jsoninletinstancePort=field_map_exnjson__"InstancePort"InstancePort.of_jsoninletinstanceProtocol=field_mapjson__"InstanceProtocol"Protocol.of_jsoninletloadBalancerPort=field_map_exnjson__"LoadBalancerPort"AccessPointPort.of_jsoninletprotocol=field_map_exnjson__"Protocol"Protocol.of_jsoninmake?sSLCertificateId~instancePort?instanceProtocol~loadBalancerPort~protocol()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a listener. For information about the protocols and the ports supported by Elastic Load Balancing, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide."]moduleAppCookieStickinessPolicy=structtypenonrect={policyName:PolicyName.toption[@ocaml.doc"The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer."];cookieName:CookieName.toption[@ocaml.doc"The name of the application cookie used for stickiness."]}letmake?policyName=fun?cookieName->fun()->{policyName;cookieName}letto_valuex=structure_to_value[("PolicyName",(Option.mapx.policyName~f:PolicyName.to_value));("CookieName",(Option.mapx.cookieName~f:CookieName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcookieName=(Option.map~f:CookieName.of_xml)(Xml.childxml_arg0"CookieName")inletpolicyName=(Option.map~f:PolicyName.of_xml)(Xml.childxml_arg0"PolicyName")inmake?cookieName?policyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcookieName=field_mapjson__"CookieName"CookieName.of_jsoninletpolicyName=field_mapjson__"PolicyName"PolicyName.of_jsoninmake?cookieName?policyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy for application-controlled session stickiness."]moduleLBCookieStickinessPolicy=structtypenonrect={policyName:PolicyName.toption[@ocaml.doc"The name of the policy. This name must be unique within the set of policies for this load balancer."];cookieExpirationPeriod:CookieExpirationPeriod.toption[@ocaml.doc"The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session."]}letmake?policyName=fun?cookieExpirationPeriod->fun()->{policyName;cookieExpirationPeriod}letto_valuex=structure_to_value[("PolicyName",(Option.mapx.policyName~f:PolicyName.to_value));("CookieExpirationPeriod",(Option.mapx.cookieExpirationPeriod~f:CookieExpirationPeriod.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcookieExpirationPeriod=(Option.map~f:CookieExpirationPeriod.of_xml)(Xml.childxml_arg0"CookieExpirationPeriod")inletpolicyName=(Option.map~f:PolicyName.of_xml)(Xml.childxml_arg0"PolicyName")inmake?cookieExpirationPeriod?policyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcookieExpirationPeriod=field_mapjson__"CookieExpirationPeriod"CookieExpirationPeriod.of_jsoninletpolicyName=field_mapjson__"PolicyName"PolicyName.of_jsoninmake?cookieExpirationPeriod?policyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy for duration-based session stickiness."]moduleAdditionalAttributeKey=structtypenonrect=stringletcontext_="AdditionalAttributeKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9.]+$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AdditionalAttributeKey"jletto_json=simple_to_jsonto_valueendmoduleAdditionalAttributeValue=structtypenonrect=stringletcontext_="AdditionalAttributeValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9.]+$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AdditionalAttributeValue"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The key of the tag."];value:TagValue.toption[@ocaml.doc"The value of the tag."]}letcontext_="Tag"letmake?value=fun~key->fun()->{value;key}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Option.mapx.value~f:TagValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:TagValue.of_xml)(Xml.childxml_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_mapjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake?value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a tag."]modulePolicyAttributeTypeDescription=structtypenonrect={attributeName:AttributeName.toption[@ocaml.doc"The name of the attribute."];attributeType:AttributeType.toption[@ocaml.doc"The type of the attribute. For example, Boolean or Integer."];description:Description.toption[@ocaml.doc"A description of the attribute."];defaultValue:DefaultValue.toption[@ocaml.doc"The default value of the attribute, if applicable."];cardinality:Cardinality.toption[@ocaml.doc"The cardinality of the attribute. Valid values: ONE(1) : Single value required ZERO_OR_ONE(0..1) : Up to one value is allowed ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed ONE_OR_MORE(1..*0) : Required. Multiple values are allowed"]}letmake?attributeName=fun?attributeType->fun?description->fun?defaultValue->fun?cardinality->fun()->{attributeName;attributeType;description;defaultValue;cardinality}letto_valuex=structure_to_value[("AttributeName",(Option.mapx.attributeName~f:AttributeName.to_value));("AttributeType",(Option.mapx.attributeType~f:AttributeType.to_value));("Description",(Option.mapx.description~f:Description.to_value));("DefaultValue",(Option.mapx.defaultValue~f:DefaultValue.to_value));("Cardinality",(Option.mapx.cardinality~f:Cardinality.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcardinality=(Option.map~f:Cardinality.of_xml)(Xml.childxml_arg0"Cardinality")inletdefaultValue=(Option.map~f:DefaultValue.of_xml)(Xml.childxml_arg0"DefaultValue")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletattributeType=(Option.map~f:AttributeType.of_xml)(Xml.childxml_arg0"AttributeType")inletattributeName=(Option.map~f:AttributeName.of_xml)(Xml.childxml_arg0"AttributeName")inmake?cardinality?defaultValue?description?attributeType?attributeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcardinality=field_mapjson__"Cardinality"Cardinality.of_jsoninletdefaultValue=field_mapjson__"DefaultValue"DefaultValue.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletattributeType=field_mapjson__"AttributeType"AttributeType.of_jsoninletattributeName=field_mapjson__"AttributeName"AttributeName.of_jsoninmake?cardinality?defaultValue?description?attributeType?attributeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy attribute type."]modulePolicyAttributeDescription=structtypenonrect={attributeName:AttributeName.toption[@ocaml.doc"The name of the attribute."];attributeValue:AttributeValue.toption[@ocaml.doc"The value of the attribute."]}letmake?attributeName=fun?attributeValue->fun()->{attributeName;attributeValue}letto_valuex=structure_to_value[("AttributeName",(Option.mapx.attributeName~f:AttributeName.to_value));("AttributeValue",(Option.mapx.attributeValue~f:AttributeValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributeValue=(Option.map~f:AttributeValue.of_xml)(Xml.childxml_arg0"AttributeValue")inletattributeName=(Option.map~f:AttributeName.of_xml)(Xml.childxml_arg0"AttributeName")inmake?attributeValue?attributeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributeValue=field_mapjson__"AttributeValue"AttributeValue.of_jsoninletattributeName=field_mapjson__"AttributeName"AttributeName.of_jsoninmake?attributeValue?attributeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy attribute."]moduleAvailabilityZone=structtypenonrect=stringletcontext_="AvailabilityZone"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:"AvailabilityZone"jletto_json=simple_to_jsonto_valueendmoduleBackendServerDescription=structtypenonrect={instancePort:InstancePort.toption[@ocaml.doc"The port on which the EC2 instance is listening."];policyNames:PolicyNames.toption[@ocaml.doc"The names of the policies enabled for the EC2 instance."]}letmake?instancePort=fun?policyNames->fun()->{instancePort;policyNames}letto_valuex=structure_to_value[("InstancePort",(Option.mapx.instancePort~f:InstancePort.to_value));("PolicyNames",(Option.mapx.policyNames~f:PolicyNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyNames=(Option.map~f:PolicyNames.of_xml)(Xml.childxml_arg0"PolicyNames")inletinstancePort=(Option.map~f:InstancePort.of_xml)(Xml.childxml_arg0"InstancePort")inmake?policyNames?instancePort()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyNames=field_mapjson__"PolicyNames"PolicyNames.of_jsoninletinstancePort=field_mapjson__"InstancePort"InstancePort.of_jsoninmake?policyNames?instancePort()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the configuration of an EC2 instance."]moduleHealthCheckInterval=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:300)>>=(fun()->check_int_mini~min:5));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 HealthCheckInterval"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleHealthCheckTarget=structtypenonrect=stringletcontext_="HealthCheckTarget"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:"HealthCheckTarget"jletto_json=simple_to_jsonto_valueendmoduleHealthCheckTimeout=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:60)>>=(fun()->check_int_mini~min:2));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 HealthCheckTimeout"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleHealthyThreshold=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:10)>>=(fun()->check_int_mini~min:2));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 HealthyThreshold"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleUnhealthyThreshold=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:10)>>=(fun()->check_int_mini~min:2));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 UnhealthyThreshold"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleInstance=structtypenonrect={instanceId:InstanceId.toption[@ocaml.doc"The instance ID."]}letmake?instanceId=fun()->{instanceId}letto_valuex=structure_to_value[("InstanceId",(Option.mapx.instanceId~f:InstanceId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstanceId=(Option.map~f:InstanceId.of_xml)(Xml.childxml_arg0"InstanceId")inmake?instanceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceId=field_mapjson__"InstanceId"InstanceId.of_jsoninmake?instanceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ID of an EC2 instance."]moduleListenerDescription=structtypenonrect={listener:Listener.toption[@ocaml.doc"The listener."];policyNames:PolicyNames.toption[@ocaml.doc"The policies. If there are no policies enabled, the list is empty."]}letmake?listener=fun?policyNames->fun()->{listener;policyNames}letto_valuex=structure_to_value[("Listener",(Option.mapx.listener~f:Listener.to_value));("PolicyNames",(Option.mapx.policyNames~f:PolicyNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyNames=(Option.map~f:PolicyNames.of_xml)(Xml.childxml_arg0"PolicyNames")inletlistener=(Option.map~f:Listener.of_xml)(Xml.childxml_arg0"Listener")inmake?policyNames?listener()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyNames=field_mapjson__"PolicyNames"PolicyNames.of_jsoninletlistener=field_mapjson__"Listener"Listener.of_jsoninmake?policyNames?listener()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The policies enabled for a listener."]moduleAppCookieStickinessPolicies=structtypenonrect=AppCookieStickinessPolicy.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AppCookieStickinessPolicy.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:AppCookieStickinessPolicy.of_xml)letof_jsonj=list_of_json~kind:"AppCookieStickinessPolicies"~of_json:AppCookieStickinessPolicy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLBCookieStickinessPolicies=structtypenonrect=LBCookieStickinessPolicy.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LBCookieStickinessPolicy.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:LBCookieStickinessPolicy.of_xml)letof_jsonj=list_of_json~kind:"LBCookieStickinessPolicies"~of_json:LBCookieStickinessPolicy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSecurityGroupId=structtypenonrect=stringletcontext_="SecurityGroupId"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:"SecurityGroupId"jletto_json=simple_to_jsonto_valueendmoduleSecurityGroupName=structtypenonrect=stringletcontext_="SecurityGroupName"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:"SecurityGroupName"jletto_json=simple_to_jsonto_valueendmoduleSecurityGroupOwnerAlias=structtypenonrect=stringletcontext_="SecurityGroupOwnerAlias"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:"SecurityGroupOwnerAlias"jletto_json=simple_to_jsonto_valueendmoduleSubnetId=structtypenonrect=stringletcontext_="SubnetId"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:"SubnetId"jletto_json=simple_to_jsonto_valueendmoduleAccessLogEnabled=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_valueendmoduleAccessLogInterval=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 AccessLogInterval"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAccessLogPrefix=structtypenonrect=stringletcontext_="AccessLogPrefix"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:"AccessLogPrefix"jletto_json=simple_to_jsonto_valueendmoduleS3BucketName=structtypenonrect=stringletcontext_="S3BucketName"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:"S3BucketName"jletto_json=simple_to_jsonto_valueendmoduleAdditionalAttribute=structtypenonrect={key:AdditionalAttributeKey.toption[@ocaml.doc"The name of the attribute. The following attribute is supported. elb.http.desyncmitigationmode - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor, defensive, and strictest. The default is defensive."];value:AdditionalAttributeValue.toption[@ocaml.doc"This value of the attribute."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:AdditionalAttributeKey.to_value));("Value",(Option.mapx.value~f:AdditionalAttributeValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:AdditionalAttributeValue.of_xml)(Xml.childxml_arg0"Value")inletkey=(Option.map~f:AdditionalAttributeKey.of_xml)(Xml.childxml_arg0"Key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"Value"AdditionalAttributeValue.of_jsoninletkey=field_mapjson__"Key"AdditionalAttributeKey.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about additional load balancer attributes."]moduleConnectionDrainingEnabled=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_valueendmoduleConnectionDrainingTimeout=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 ConnectionDrainingTimeout"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleIdleTimeout=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:3600)>>=(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 IdleTimeout"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleCrossZoneLoadBalancingEnabled=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_valueendmoduleAccessPointName=structtypenonrect=stringletcontext_="AccessPointName"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:"AccessPointName"jletto_json=simple_to_jsonto_valueendmoduleTagList=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:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicyAttributeTypeDescriptions=structtypenonrect=PolicyAttributeTypeDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyAttributeTypeDescription.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:PolicyAttributeTypeDescription.of_xml)letof_jsonj=list_of_json~kind:"PolicyAttributeTypeDescriptions"~of_json:PolicyAttributeTypeDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicyTypeName=structtypenonrect=stringletcontext_="PolicyTypeName"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:"PolicyTypeName"jletto_json=simple_to_jsonto_valueendmodulePolicyAttributeDescriptions=structtypenonrect=PolicyAttributeDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyAttributeDescription.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:PolicyAttributeDescription.of_xml)letof_jsonj=list_of_json~kind:"PolicyAttributeDescriptions"~of_json:PolicyAttributeDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReasonCode=structtypenonrect=stringletcontext_="ReasonCode"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:"ReasonCode"jletto_json=simple_to_jsonto_valueendmoduleState=structtypenonrect=stringletcontext_="State"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:"State"jletto_json=simple_to_jsonto_valueendmoduleMax=structtypenonrect=stringletcontext_="Max"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:"Max"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Name"jletto_json=simple_to_jsonto_valueendmoduleAvailabilityZones=structtypenonrect=AvailabilityZone.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AvailabilityZone.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AvailabilityZone.of_xml)letof_jsonj=list_of_json~kind:"AvailabilityZones"~of_json:AvailabilityZone.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBackendServerDescriptions=structtypenonrect=BackendServerDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BackendServerDescription.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:BackendServerDescription.of_xml)letof_jsonj=list_of_json~kind:"BackendServerDescriptions"~of_json:BackendServerDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCreatedTime=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_valueendmoduleDNSName=structtypenonrect=stringletcontext_="DNSName"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:"DNSName"jletto_json=simple_to_jsonto_valueendmoduleHealthCheck=structtypenonrect={target:HealthCheckTarget.t[@ocaml.doc"The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example \"TCP:5000\". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example \"HTTP:80/weather/us/wa/seattle\". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than \"200 OK\" within the timeout period is considered unhealthy. The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less."];interval:HealthCheckInterval.t[@ocaml.doc"The approximate interval, in seconds, between health checks of an individual instance."];timeout:HealthCheckTimeout.t[@ocaml.doc"The amount of time, in seconds, during which no response means a failed health check. This value must be less than the Interval value."];unhealthyThreshold:UnhealthyThreshold.t[@ocaml.doc"The number of consecutive health check failures required before moving the instance to the Unhealthy state."];healthyThreshold:HealthyThreshold.t[@ocaml.doc"The number of consecutive health checks successes required before moving the instance to the Healthy state."]}letcontext_="HealthCheck"letmake~target=fun~interval->fun~timeout->fun~unhealthyThreshold->fun~healthyThreshold->fun()->{target;interval;timeout;unhealthyThreshold;healthyThreshold}letto_valuex=structure_to_value[("Target",(Some(HealthCheckTarget.to_valuex.target)));("Interval",(Some(HealthCheckInterval.to_valuex.interval)));("Timeout",(Some(HealthCheckTimeout.to_valuex.timeout)));("UnhealthyThreshold",(Some(UnhealthyThreshold.to_valuex.unhealthyThreshold)));("HealthyThreshold",(Some(HealthyThreshold.to_valuex.healthyThreshold)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethealthyThreshold=HealthyThreshold.of_xml(Xml.child_exn~context:context_xml_arg0"HealthyThreshold")inletunhealthyThreshold=UnhealthyThreshold.of_xml(Xml.child_exn~context:context_xml_arg0"UnhealthyThreshold")inlettimeout=HealthCheckTimeout.of_xml(Xml.child_exn~context:context_xml_arg0"Timeout")inletinterval=HealthCheckInterval.of_xml(Xml.child_exn~context:context_xml_arg0"Interval")inlettarget=HealthCheckTarget.of_xml(Xml.child_exn~context:context_xml_arg0"Target")inmake~healthyThreshold~unhealthyThreshold~timeout~interval~target()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethealthyThreshold=field_map_exnjson__"HealthyThreshold"HealthyThreshold.of_jsoninletunhealthyThreshold=field_map_exnjson__"UnhealthyThreshold"UnhealthyThreshold.of_jsoninlettimeout=field_map_exnjson__"Timeout"HealthCheckTimeout.of_jsoninletinterval=field_map_exnjson__"Interval"HealthCheckInterval.of_jsoninlettarget=field_map_exnjson__"Target"HealthCheckTarget.of_jsoninmake~healthyThreshold~unhealthyThreshold~timeout~interval~target()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a health check."]moduleInstances=structtypenonrect=Instance.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Instance.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:Instance.of_xml)letof_jsonj=list_of_json~kind:"Instances"~of_json:Instance.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListenerDescriptions=structtypenonrect=ListenerDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ListenerDescription.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:ListenerDescription.of_xml)letof_jsonj=list_of_json~kind:"ListenerDescriptions"~of_json:ListenerDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLoadBalancerScheme=structtypenonrect=stringletcontext_="LoadBalancerScheme"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:"LoadBalancerScheme"jletto_json=simple_to_jsonto_valueendmodulePolicies=structtypenonrect={appCookieStickinessPolicies:AppCookieStickinessPolicies.toption[@ocaml.doc"The stickiness policies created using CreateAppCookieStickinessPolicy."];lBCookieStickinessPolicies:LBCookieStickinessPolicies.toption[@ocaml.doc"The stickiness policies created using CreateLBCookieStickinessPolicy."];otherPolicies:PolicyNames.toption[@ocaml.doc"The policies other than the stickiness policies."]}letmake?appCookieStickinessPolicies=fun?lBCookieStickinessPolicies->fun?otherPolicies->fun()->{appCookieStickinessPolicies;lBCookieStickinessPolicies;otherPolicies}letto_valuex=structure_to_value[("AppCookieStickinessPolicies",(Option.mapx.appCookieStickinessPolicies~f:AppCookieStickinessPolicies.to_value));("LBCookieStickinessPolicies",(Option.mapx.lBCookieStickinessPolicies~f:LBCookieStickinessPolicies.to_value));("OtherPolicies",(Option.mapx.otherPolicies~f:PolicyNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letotherPolicies=(Option.map~f:PolicyNames.of_xml)(Xml.childxml_arg0"OtherPolicies")inletlBCookieStickinessPolicies=(Option.map~f:LBCookieStickinessPolicies.of_xml)(Xml.childxml_arg0"LBCookieStickinessPolicies")inletappCookieStickinessPolicies=(Option.map~f:AppCookieStickinessPolicies.of_xml)(Xml.childxml_arg0"AppCookieStickinessPolicies")inmake?otherPolicies?lBCookieStickinessPolicies?appCookieStickinessPolicies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letotherPolicies=field_mapjson__"OtherPolicies"PolicyNames.of_jsoninletlBCookieStickinessPolicies=field_mapjson__"LBCookieStickinessPolicies"LBCookieStickinessPolicies.of_jsoninletappCookieStickinessPolicies=field_mapjson__"AppCookieStickinessPolicies"AppCookieStickinessPolicies.of_jsoninmake?otherPolicies?lBCookieStickinessPolicies?appCookieStickinessPolicies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The policies for a load balancer."]moduleSecurityGroups=structtypenonrect=SecurityGroupId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SecurityGroupId.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SecurityGroupId.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroups"~of_json:SecurityGroupId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSourceSecurityGroup=structtypenonrect={ownerAlias:SecurityGroupOwnerAlias.toption[@ocaml.doc"The owner of the security group."];groupName:SecurityGroupName.toption[@ocaml.doc"The name of the security group."]}letmake?ownerAlias=fun?groupName->fun()->{ownerAlias;groupName}letto_valuex=structure_to_value[("OwnerAlias",(Option.mapx.ownerAlias~f:SecurityGroupOwnerAlias.to_value));("GroupName",(Option.mapx.groupName~f:SecurityGroupName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgroupName=(Option.map~f:SecurityGroupName.of_xml)(Xml.childxml_arg0"GroupName")inletownerAlias=(Option.map~f:SecurityGroupOwnerAlias.of_xml)(Xml.childxml_arg0"OwnerAlias")inmake?groupName?ownerAlias()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgroupName=field_mapjson__"GroupName"SecurityGroupName.of_jsoninletownerAlias=field_mapjson__"OwnerAlias"SecurityGroupOwnerAlias.of_jsoninmake?groupName?ownerAlias()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a source security group."]moduleSubnets=structtypenonrect=SubnetId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SubnetId.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SubnetId.of_xml)letof_jsonj=list_of_json~kind:"Subnets"~of_json:SubnetId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVPCId=structtypenonrect=stringletcontext_="VPCId"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VPCId"jletto_json=simple_to_jsonto_valueendmoduleTagKeyOnly=structtypenonrect={key:TagKey.toption[@ocaml.doc"The name of the key."]}letmake?key=fun()->{key}letto_valuex=structure_to_value[("Key",(Option.mapx.key~f:TagKey.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkey=(Option.map~f:TagKey.of_xml)(Xml.childxml_arg0"Key")inmake?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkey=field_mapjson__"Key"TagKey.of_jsoninmake?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The key of a tag."]moduleAccessLog=structtypenonrect={enabled:AccessLogEnabled.t[@ocaml.doc"Specifies whether access logs are enabled for the load balancer."];s3BucketName:S3BucketName.toption[@ocaml.doc"The name of the Amazon S3 bucket where the access logs are stored."];emitInterval:AccessLogInterval.toption[@ocaml.doc"The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutes"];s3BucketPrefix:AccessLogPrefix.toption[@ocaml.doc"The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket."]}letcontext_="AccessLog"letmake?s3BucketName=fun?emitInterval->fun?s3BucketPrefix->fun~enabled->fun()->{s3BucketName;emitInterval;s3BucketPrefix;enabled}letto_valuex=structure_to_value[("Enabled",(Some(AccessLogEnabled.to_valuex.enabled)));("S3BucketName",(Option.mapx.s3BucketName~f:S3BucketName.to_value));("EmitInterval",(Option.mapx.emitInterval~f:AccessLogInterval.to_value));("S3BucketPrefix",(Option.mapx.s3BucketPrefix~f:AccessLogPrefix.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3BucketPrefix=(Option.map~f:AccessLogPrefix.of_xml)(Xml.childxml_arg0"S3BucketPrefix")inletemitInterval=(Option.map~f:AccessLogInterval.of_xml)(Xml.childxml_arg0"EmitInterval")inlets3BucketName=(Option.map~f:S3BucketName.of_xml)(Xml.childxml_arg0"S3BucketName")inletenabled=AccessLogEnabled.of_xml(Xml.child_exn~context:context_xml_arg0"Enabled")inmake?s3BucketPrefix?emitInterval?s3BucketName~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3BucketPrefix=field_mapjson__"S3BucketPrefix"AccessLogPrefix.of_jsoninletemitInterval=field_mapjson__"EmitInterval"AccessLogInterval.of_jsoninlets3BucketName=field_mapjson__"S3BucketName"S3BucketName.of_jsoninletenabled=field_map_exnjson__"Enabled"AccessLogEnabled.of_jsoninmake?s3BucketPrefix?emitInterval?s3BucketName~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the AccessLog attribute."]moduleAdditionalAttributes=structtypenonrect=AdditionalAttribute.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:10);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AdditionalAttribute.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:AdditionalAttribute.of_xml)letof_jsonj=list_of_json~kind:"AdditionalAttributes"~of_json:AdditionalAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConnectionDraining=structtypenonrect={enabled:ConnectionDrainingEnabled.t[@ocaml.doc"Specifies whether connection draining is enabled for the load balancer."];timeout:ConnectionDrainingTimeout.toption[@ocaml.doc"The maximum time, in seconds, to keep the existing connections open before deregistering the instances."]}letcontext_="ConnectionDraining"letmake?timeout=fun~enabled->fun()->{timeout;enabled}letto_valuex=structure_to_value[("Enabled",(Some(ConnectionDrainingEnabled.to_valuex.enabled)));("Timeout",(Option.mapx.timeout~f:ConnectionDrainingTimeout.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettimeout=(Option.map~f:ConnectionDrainingTimeout.of_xml)(Xml.childxml_arg0"Timeout")inletenabled=ConnectionDrainingEnabled.of_xml(Xml.child_exn~context:context_xml_arg0"Enabled")inmake?timeout~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettimeout=field_mapjson__"Timeout"ConnectionDrainingTimeout.of_jsoninletenabled=field_map_exnjson__"Enabled"ConnectionDrainingEnabled.of_jsoninmake?timeout~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the ConnectionDraining attribute."]moduleConnectionSettings=structtypenonrect={idleTimeout:IdleTimeout.t[@ocaml.doc"The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer."]}letcontext_="ConnectionSettings"letmake~idleTimeout=fun()->{idleTimeout}letto_valuex=structure_to_value[("IdleTimeout",(Some(IdleTimeout.to_valuex.idleTimeout)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidleTimeout=IdleTimeout.of_xml(Xml.child_exn~context:context_xml_arg0"IdleTimeout")inmake~idleTimeout()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidleTimeout=field_map_exnjson__"IdleTimeout"IdleTimeout.of_jsoninmake~idleTimeout()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the ConnectionSettings attribute."]moduleCrossZoneLoadBalancing=structtypenonrect={enabled:CrossZoneLoadBalancingEnabled.t[@ocaml.doc"Specifies whether cross-zone load balancing is enabled for the load balancer."]}letcontext_="CrossZoneLoadBalancing"letmake~enabled=fun()->{enabled}letto_valuex=structure_to_value[("Enabled",(Some(CrossZoneLoadBalancingEnabled.to_valuex.enabled)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabled=CrossZoneLoadBalancingEnabled.of_xml(Xml.child_exn~context:context_xml_arg0"Enabled")inmake~enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabled=field_map_exnjson__"Enabled"CrossZoneLoadBalancingEnabled.of_jsoninmake~enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the CrossZoneLoadBalancing attribute."]moduleTagDescription=structtypenonrect={loadBalancerName:AccessPointName.toption[@ocaml.doc"The name of the load balancer."];tags:TagList.toption[@ocaml.doc"The tags."]}letmake?loadBalancerName=fun?tags->fun()->{loadBalancerName;tags}letto_valuex=structure_to_value[("LoadBalancerName",(Option.mapx.loadBalancerName~f:AccessPointName.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletloadBalancerName=(Option.map~f:AccessPointName.of_xml)(Xml.childxml_arg0"LoadBalancerName")inmake?tags?loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletloadBalancerName=field_mapjson__"LoadBalancerName"AccessPointName.of_jsoninmake?tags?loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The tags associated with a load balancer."]modulePolicyTypeDescription=structtypenonrect={policyTypeName:PolicyTypeName.toption[@ocaml.doc"The name of the policy type."];description:Description.toption[@ocaml.doc"A description of the policy type."];policyAttributeTypeDescriptions:PolicyAttributeTypeDescriptions.toption[@ocaml.doc"The description of the policy attributes associated with the policies defined by Elastic Load Balancing."]}letmake?policyTypeName=fun?description->fun?policyAttributeTypeDescriptions->fun()->{policyTypeName;description;policyAttributeTypeDescriptions}letto_valuex=structure_to_value[("PolicyTypeName",(Option.mapx.policyTypeName~f:PolicyTypeName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("PolicyAttributeTypeDescriptions",(Option.mapx.policyAttributeTypeDescriptions~f:PolicyAttributeTypeDescriptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyAttributeTypeDescriptions=(Option.map~f:PolicyAttributeTypeDescriptions.of_xml)(Xml.childxml_arg0"PolicyAttributeTypeDescriptions")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletpolicyTypeName=(Option.map~f:PolicyTypeName.of_xml)(Xml.childxml_arg0"PolicyTypeName")inmake?policyAttributeTypeDescriptions?description?policyTypeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyAttributeTypeDescriptions=field_mapjson__"PolicyAttributeTypeDescriptions"PolicyAttributeTypeDescriptions.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletpolicyTypeName=field_mapjson__"PolicyTypeName"PolicyTypeName.of_jsoninmake?policyAttributeTypeDescriptions?description?policyTypeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy type."]modulePolicyDescription=structtypenonrect={policyName:PolicyName.toption[@ocaml.doc"The name of the policy."];policyTypeName:PolicyTypeName.toption[@ocaml.doc"The name of the policy type."];policyAttributeDescriptions:PolicyAttributeDescriptions.toption[@ocaml.doc"The policy attributes."]}letmake?policyName=fun?policyTypeName->fun?policyAttributeDescriptions->fun()->{policyName;policyTypeName;policyAttributeDescriptions}letto_valuex=structure_to_value[("PolicyName",(Option.mapx.policyName~f:PolicyName.to_value));("PolicyTypeName",(Option.mapx.policyTypeName~f:PolicyTypeName.to_value));("PolicyAttributeDescriptions",(Option.mapx.policyAttributeDescriptions~f:PolicyAttributeDescriptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyAttributeDescriptions=(Option.map~f:PolicyAttributeDescriptions.of_xml)(Xml.childxml_arg0"PolicyAttributeDescriptions")inletpolicyTypeName=(Option.map~f:PolicyTypeName.of_xml)(Xml.childxml_arg0"PolicyTypeName")inletpolicyName=(Option.map~f:PolicyName.of_xml)(Xml.childxml_arg0"PolicyName")inmake?policyAttributeDescriptions?policyTypeName?policyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyAttributeDescriptions=field_mapjson__"PolicyAttributeDescriptions"PolicyAttributeDescriptions.of_jsoninletpolicyTypeName=field_mapjson__"PolicyTypeName"PolicyTypeName.of_jsoninletpolicyName=field_mapjson__"PolicyName"PolicyName.of_jsoninmake?policyAttributeDescriptions?policyTypeName?policyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy."]moduleInstanceState=structtypenonrect={instanceId:InstanceId.toption[@ocaml.doc"The ID of the instance."];state:State.toption[@ocaml.doc"The current state of the instance. Valid values: InService | OutOfService | Unknown"];reasonCode:ReasonCode.toption[@ocaml.doc"Information about the cause of OutOfService instances. Specifically, whether the cause is Elastic Load Balancing or the instance. Valid values: ELB | Instance | N/A"];description:Description.toption[@ocaml.doc"A description of the instance state. This string can contain one or more of the following messages. N/A A transient error occurred. Please try again later. Instance has failed at least the UnhealthyThreshold number of health checks consecutively. Instance has not passed the configured HealthyThreshold number of health checks consecutively. Instance registration is still in progress. Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to. Instance is not currently registered with the LoadBalancer. Instance deregistration currently in progress. Disable Availability Zone is currently in progress. Instance is in pending state. Instance is in stopped state. Instance is in terminated state."]}letmake?instanceId=fun?state->fun?reasonCode->fun?description->fun()->{instanceId;state;reasonCode;description}letto_valuex=structure_to_value[("InstanceId",(Option.mapx.instanceId~f:InstanceId.to_value));("State",(Option.mapx.state~f:State.to_value));("ReasonCode",(Option.mapx.reasonCode~f:ReasonCode.to_value));("Description",(Option.mapx.description~f:Description.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletreasonCode=(Option.map~f:ReasonCode.of_xml)(Xml.childxml_arg0"ReasonCode")inletstate=(Option.map~f:State.of_xml)(Xml.childxml_arg0"State")inletinstanceId=(Option.map~f:InstanceId.of_xml)(Xml.childxml_arg0"InstanceId")inmake?description?reasonCode?state?instanceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"Description.of_jsoninletreasonCode=field_mapjson__"ReasonCode"ReasonCode.of_jsoninletstate=field_mapjson__"State"State.of_jsoninletinstanceId=field_mapjson__"InstanceId"InstanceId.of_jsoninmake?description?reasonCode?state?instanceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the state of an EC2 instance."]moduleLimit=structtypenonrect={name:Name.toption[@ocaml.doc"The name of the limit. The possible values are: classic-listeners classic-load-balancers classic-registered-instances"];max:Max.toption[@ocaml.doc"The maximum value of the limit."]}letmake?name=fun?max->fun()->{name;max}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:Name.to_value));("Max",(Option.mapx.max~f:Max.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmax=(Option.map~f:Max.of_xml)(Xml.childxml_arg0"Max")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inmake?max?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmax=field_mapjson__"Max"Max.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninmake?max?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an Elastic Load Balancing resource limit for your AWS account."]moduleLoadBalancerDescription=structtypenonrect={loadBalancerName:AccessPointName.toption[@ocaml.doc"The name of the load balancer."];dNSName:DNSName.toption[@ocaml.doc"The DNS name of the load balancer."];canonicalHostedZoneName:DNSName.toption[@ocaml.doc"The DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide."];canonicalHostedZoneNameID:DNSName.toption[@ocaml.doc"The ID of the Amazon Route 53 hosted zone for the load balancer."];listenerDescriptions:ListenerDescriptions.toption[@ocaml.doc"The listeners for the load balancer."];policies:Policies.toption[@ocaml.doc"The policies defined for the load balancer."];backendServerDescriptions:BackendServerDescriptions.toption[@ocaml.doc"Information about your EC2 instances."];availabilityZones:AvailabilityZones.toption[@ocaml.doc"The Availability Zones for the load balancer."];subnets:Subnets.toption[@ocaml.doc"The IDs of the subnets for the load balancer."];vPCId:VPCId.toption[@ocaml.doc"The ID of the VPC for the load balancer."];instances:Instances.toption[@ocaml.doc"The IDs of the instances for the load balancer."];healthCheck:HealthCheck.toption[@ocaml.doc"Information about the health checks conducted on the load balancer."];sourceSecurityGroup:SourceSecurityGroup.toption[@ocaml.doc"The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source."];securityGroups:SecurityGroups.toption[@ocaml.doc"The security groups for the load balancer. Valid only for load balancers in a VPC."];createdTime:CreatedTime.toption[@ocaml.doc"The date and time the load balancer was created."];scheme:LoadBalancerScheme.toption[@ocaml.doc"The type of load balancer. Valid only for load balancers in a VPC. If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address. If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address."]}letmake?loadBalancerName=fun?dNSName->fun?canonicalHostedZoneName->fun?canonicalHostedZoneNameID->fun?listenerDescriptions->fun?policies->fun?backendServerDescriptions->fun?availabilityZones->fun?subnets->fun?vPCId->fun?instances->fun?healthCheck->fun?sourceSecurityGroup->fun?securityGroups->fun?createdTime->fun?scheme->fun()->{loadBalancerName;dNSName;canonicalHostedZoneName;canonicalHostedZoneNameID;listenerDescriptions;policies;backendServerDescriptions;availabilityZones;subnets;vPCId;instances;healthCheck;sourceSecurityGroup;securityGroups;createdTime;scheme}letto_valuex=structure_to_value[("LoadBalancerName",(Option.mapx.loadBalancerName~f:AccessPointName.to_value));("DNSName",(Option.mapx.dNSName~f:DNSName.to_value));("CanonicalHostedZoneName",(Option.mapx.canonicalHostedZoneName~f:DNSName.to_value));("CanonicalHostedZoneNameID",(Option.mapx.canonicalHostedZoneNameID~f:DNSName.to_value));("ListenerDescriptions",(Option.mapx.listenerDescriptions~f:ListenerDescriptions.to_value));("Policies",(Option.mapx.policies~f:Policies.to_value));("BackendServerDescriptions",(Option.mapx.backendServerDescriptions~f:BackendServerDescriptions.to_value));("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value));("Subnets",(Option.mapx.subnets~f:Subnets.to_value));("VPCId",(Option.mapx.vPCId~f:VPCId.to_value));("Instances",(Option.mapx.instances~f:Instances.to_value));("HealthCheck",(Option.mapx.healthCheck~f:HealthCheck.to_value));("SourceSecurityGroup",(Option.mapx.sourceSecurityGroup~f:SourceSecurityGroup.to_value));("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value));("CreatedTime",(Option.mapx.createdTime~f:CreatedTime.to_value));("Scheme",(Option.mapx.scheme~f:LoadBalancerScheme.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscheme=(Option.map~f:LoadBalancerScheme.of_xml)(Xml.childxml_arg0"Scheme")inletcreatedTime=(Option.map~f:CreatedTime.of_xml)(Xml.childxml_arg0"CreatedTime")inletsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inletsourceSecurityGroup=(Option.map~f:SourceSecurityGroup.of_xml)(Xml.childxml_arg0"SourceSecurityGroup")inlethealthCheck=(Option.map~f:HealthCheck.of_xml)(Xml.childxml_arg0"HealthCheck")inletinstances=(Option.map~f:Instances.of_xml)(Xml.childxml_arg0"Instances")inletvPCId=(Option.map~f:VPCId.of_xml)(Xml.childxml_arg0"VPCId")inletsubnets=(Option.map~f:Subnets.of_xml)(Xml.childxml_arg0"Subnets")inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inletbackendServerDescriptions=(Option.map~f:BackendServerDescriptions.of_xml)(Xml.childxml_arg0"BackendServerDescriptions")inletpolicies=(Option.map~f:Policies.of_xml)(Xml.childxml_arg0"Policies")inletlistenerDescriptions=(Option.map~f:ListenerDescriptions.of_xml)(Xml.childxml_arg0"ListenerDescriptions")inletcanonicalHostedZoneNameID=(Option.map~f:DNSName.of_xml)(Xml.childxml_arg0"CanonicalHostedZoneNameID")inletcanonicalHostedZoneName=(Option.map~f:DNSName.of_xml)(Xml.childxml_arg0"CanonicalHostedZoneName")inletdNSName=(Option.map~f:DNSName.of_xml)(Xml.childxml_arg0"DNSName")inletloadBalancerName=(Option.map~f:AccessPointName.of_xml)(Xml.childxml_arg0"LoadBalancerName")inmake?scheme?createdTime?securityGroups?sourceSecurityGroup?healthCheck?instances?vPCId?subnets?availabilityZones?backendServerDescriptions?policies?listenerDescriptions?canonicalHostedZoneNameID?canonicalHostedZoneName?dNSName?loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscheme=field_mapjson__"Scheme"LoadBalancerScheme.of_jsoninletcreatedTime=field_mapjson__"CreatedTime"CreatedTime.of_jsoninletsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninletsourceSecurityGroup=field_mapjson__"SourceSecurityGroup"SourceSecurityGroup.of_jsoninlethealthCheck=field_mapjson__"HealthCheck"HealthCheck.of_jsoninletinstances=field_mapjson__"Instances"Instances.of_jsoninletvPCId=field_mapjson__"VPCId"VPCId.of_jsoninletsubnets=field_mapjson__"Subnets"Subnets.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninletbackendServerDescriptions=field_mapjson__"BackendServerDescriptions"BackendServerDescriptions.of_jsoninletpolicies=field_mapjson__"Policies"Policies.of_jsoninletlistenerDescriptions=field_mapjson__"ListenerDescriptions"ListenerDescriptions.of_jsoninletcanonicalHostedZoneNameID=field_mapjson__"CanonicalHostedZoneNameID"DNSName.of_jsoninletcanonicalHostedZoneName=field_mapjson__"CanonicalHostedZoneName"DNSName.of_jsoninletdNSName=field_mapjson__"DNSName"DNSName.of_jsoninletloadBalancerName=field_mapjson__"LoadBalancerName"AccessPointName.of_jsoninmake?scheme?createdTime?securityGroups?sourceSecurityGroup?healthCheck?instances?vPCId?subnets?availabilityZones?backendServerDescriptions?policies?listenerDescriptions?canonicalHostedZoneNameID?canonicalHostedZoneName?dNSName?loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a load balancer."]modulePolicyAttribute=structtypenonrect={attributeName:AttributeName.toption[@ocaml.doc"The name of the attribute."];attributeValue:AttributeValue.toption[@ocaml.doc"The value of the attribute."]}letmake?attributeName=fun?attributeValue->fun()->{attributeName;attributeValue}letto_valuex=structure_to_value[("AttributeName",(Option.mapx.attributeName~f:AttributeName.to_value));("AttributeValue",(Option.mapx.attributeValue~f:AttributeValue.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributeValue=(Option.map~f:AttributeValue.of_xml)(Xml.childxml_arg0"AttributeValue")inletattributeName=(Option.map~f:AttributeName.of_xml)(Xml.childxml_arg0"AttributeName")inmake?attributeValue?attributeName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributeValue=field_mapjson__"AttributeValue"AttributeValue.of_jsoninletattributeName=field_mapjson__"AttributeName"AttributeName.of_jsoninmake?attributeValue?attributeName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a policy attribute."]moduleAccessPointNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified load balancer does not exist."]moduleInvalidConfigurationRequestException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested configuration change is not valid."]moduleListenerNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The load balancer does not have a listener configured at the specified port."]modulePolicyNotFoundException=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"One or more of the specified policies do not exist."]moduleEndPointPort=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 EndPointPort"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleCertificateNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might indicate that the certificate is not fully available yet."]moduleUnsupportedProtocolException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified protocol or signature version is not supported."]moduleLoadBalancerNames=structtypenonrect=AccessPointName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccessPointName.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:AccessPointName.of_xml)letof_jsonj=list_of_json~kind:"LoadBalancerNames"~of_json:AccessPointName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagKeyList=structtypenonrect=TagKeyOnly.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:TagKeyOnly.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:TagKeyOnly.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKeyOnly.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidEndPointException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified endpoint is not valid."]moduleLoadBalancerAttributeNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified load balancer attribute does not exist."]moduleLoadBalancerAttributes=structtypenonrect={crossZoneLoadBalancing:CrossZoneLoadBalancing.toption[@ocaml.doc"If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones. For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide."];accessLog:AccessLog.toption[@ocaml.doc"If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs in the Classic Load Balancers Guide."];connectionDraining:ConnectionDraining.toption[@ocaml.doc"If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance. For more information, see Configure Connection Draining in the Classic Load Balancers Guide."];connectionSettings:ConnectionSettings.toption[@ocaml.doc"If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide."];additionalAttributes:AdditionalAttributes.toption[@ocaml.doc"Any additional attributes."]}letmake?crossZoneLoadBalancing=fun?accessLog->fun?connectionDraining->fun?connectionSettings->fun?additionalAttributes->fun()->{crossZoneLoadBalancing;accessLog;connectionDraining;connectionSettings;additionalAttributes}letto_valuex=structure_to_value[("CrossZoneLoadBalancing",(Option.mapx.crossZoneLoadBalancing~f:CrossZoneLoadBalancing.to_value));("AccessLog",(Option.mapx.accessLog~f:AccessLog.to_value));("ConnectionDraining",(Option.mapx.connectionDraining~f:ConnectionDraining.to_value));("ConnectionSettings",(Option.mapx.connectionSettings~f:ConnectionSettings.to_value));("AdditionalAttributes",(Option.mapx.additionalAttributes~f:AdditionalAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letadditionalAttributes=(Option.map~f:AdditionalAttributes.of_xml)(Xml.childxml_arg0"AdditionalAttributes")inletconnectionSettings=(Option.map~f:ConnectionSettings.of_xml)(Xml.childxml_arg0"ConnectionSettings")inletconnectionDraining=(Option.map~f:ConnectionDraining.of_xml)(Xml.childxml_arg0"ConnectionDraining")inletaccessLog=(Option.map~f:AccessLog.of_xml)(Xml.childxml_arg0"AccessLog")inletcrossZoneLoadBalancing=(Option.map~f:CrossZoneLoadBalancing.of_xml)(Xml.childxml_arg0"CrossZoneLoadBalancing")inmake?additionalAttributes?connectionSettings?connectionDraining?accessLog?crossZoneLoadBalancing()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letadditionalAttributes=field_mapjson__"AdditionalAttributes"AdditionalAttributes.of_jsoninletconnectionSettings=field_mapjson__"ConnectionSettings"ConnectionSettings.of_jsoninletconnectionDraining=field_mapjson__"ConnectionDraining"ConnectionDraining.of_jsoninletaccessLog=field_mapjson__"AccessLog"AccessLog.of_jsoninletcrossZoneLoadBalancing=field_mapjson__"CrossZoneLoadBalancing"CrossZoneLoadBalancing.of_jsoninmake?additionalAttributes?connectionSettings?connectionDraining?accessLog?crossZoneLoadBalancing()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The attributes for a load balancer."]moduleTagDescriptions=structtypenonrect=TagDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagDescription.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:TagDescription.of_xml)letof_jsonj=list_of_json~kind:"TagDescriptions"~of_json:TagDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLoadBalancerNamesMax20=structtypenonrect=AccessPointName.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccessPointName.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:AccessPointName.of_xml)letof_jsonj=list_of_json~kind:"LoadBalancerNamesMax20"~of_json:AccessPointName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicyTypeDescriptions=structtypenonrect=PolicyTypeDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyTypeDescription.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:PolicyTypeDescription.of_xml)letof_jsonj=list_of_json~kind:"PolicyTypeDescriptions"~of_json:PolicyTypeDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicyTypeNotFoundException=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"One or more of the specified policy types do not exist."]modulePolicyTypeNames=structtypenonrect=PolicyTypeName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyTypeName.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:PolicyTypeName.of_xml)letof_jsonj=list_of_json~kind:"PolicyTypeNames"~of_json:PolicyTypeName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePolicyDescriptions=structtypenonrect=PolicyDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyDescription.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:PolicyDescription.of_xml)letof_jsonj=list_of_json~kind:"PolicyDescriptions"~of_json:PolicyDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInstanceStates=structtypenonrect=InstanceState.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:InstanceState.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:InstanceState.of_xml)letof_jsonj=list_of_json~kind:"InstanceStates"~of_json:InstanceState.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLimits=structtypenonrect=Limit.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Limit.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:Limit.of_xml)letof_jsonj=list_of_json~kind:"Limits"~of_json:Limit.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMarker=structtypenonrect=stringletcontext_="Marker"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:"Marker"jletto_json=simple_to_jsonto_valueendmodulePageSize=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:400)>>=(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 PageSize"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDependencyThrottleException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account."]moduleLoadBalancerDescriptions=structtypenonrect=LoadBalancerDescription.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LoadBalancerDescription.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:LoadBalancerDescription.of_xml)letof_jsonj=list_of_json~kind:"LoadBalancerDescriptions"~of_json:LoadBalancerDescription.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePorts=structtypenonrect=AccessPointPort.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AccessPointPort.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:AccessPointPort.of_xml)letof_jsonj=list_of_json~kind:"Ports"~of_json:AccessPointPort.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDuplicatePolicyNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A policy with the specified name already exists for this load balancer."]moduleTooManyPoliciesException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota for the number of policies for this load balancer has been reached."]modulePolicyAttributes=structtypenonrect=PolicyAttribute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PolicyAttribute.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:PolicyAttribute.of_xml)letof_jsonj=list_of_json~kind:"PolicyAttributes"~of_json:PolicyAttribute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDuplicateListenerException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A listener already exists for the specified load balancer name and port, but with a different instance port, protocol, or SSL certificate."]moduleListeners=structtypenonrect=Listener.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Listener.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:Listener.of_xml)letof_jsonj=list_of_json~kind:"Listeners"~of_json:Listener.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDuplicateAccessPointNameException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified load balancer name already exists for this account."]moduleDuplicateTagKeysException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A tag key was specified more than once."]moduleInvalidSchemeException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC."]moduleInvalidSecurityGroupException=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"One or more of the specified security groups do not exist."]moduleInvalidSubnetException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified VPC has no associated Internet gateway."]moduleOperationNotPermittedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This operation is not allowed."]moduleSubnetNotFoundException=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"One or more of the specified subnets do not exist."]moduleTooManyAccessPointsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota for the number of load balancers has been reached."]moduleTooManyTagsException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The quota for the number of tags that can be assigned to a load balancer has been reached."]moduleSetLoadBalancerPoliciesOfListenerOutput=structtypesetLoadBalancerPoliciesOfListenerResult=unitandresponseMetaData=unitandt={setLoadBalancerPoliciesOfListenerResult:setLoadBalancerPoliciesOfListenerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`ListenerNotFoundExceptionofListenerNotFoundException.t|`PolicyNotFoundExceptionofPolicyNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={setLoadBalancerPoliciesOfListenerResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"ListenerNotFoundException"->`ListenerNotFoundException(ListenerNotFoundException.of_jsonjson)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"ListenerNotFoundException"->`ListenerNotFoundException(ListenerNotFoundException.of_xmlxml)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`ListenerNotFoundExceptione->`Assoc[("error",(`String"ListenerNotFoundException"));("details",(ListenerNotFoundException.to_jsone))]|`PolicyNotFoundExceptione->`Assoc[("error",(`String"PolicyNotFoundException"));("details",(PolicyNotFoundException.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"Contains the output of SetLoadBalancePoliciesOfListener."]moduleSetLoadBalancerPoliciesOfListenerInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];loadBalancerPort:AccessPointPort.t[@ocaml.doc"The external port of the load balancer."];policyNames:PolicyNames.t[@ocaml.doc"The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled."]}letcontext_="SetLoadBalancerPoliciesOfListenerInput"letmake~loadBalancerName=fun~loadBalancerPort->fun~policyNames->fun()->{loadBalancerName;loadBalancerPort;policyNames}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("LoadBalancerPort",(Some(AccessPointPort.to_valuex.loadBalancerPort)));("PolicyNames",(Some(PolicyNames.to_valuex.policyNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyNames=PolicyNames.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyNames")inletloadBalancerPort=AccessPointPort.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerPort")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~policyNames~loadBalancerPort~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyNames=field_map_exnjson__"PolicyNames"PolicyNames.of_jsoninletloadBalancerPort=field_map_exnjson__"LoadBalancerPort"AccessPointPort.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~policyNames~loadBalancerPort~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for SetLoadBalancePoliciesOfListener."]moduleSetLoadBalancerPoliciesForBackendServerOutput=structtypesetLoadBalancerPoliciesForBackendServerResult=unitandresponseMetaData=unitandt={setLoadBalancerPoliciesForBackendServerResult:setLoadBalancerPoliciesForBackendServerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`PolicyNotFoundExceptionofPolicyNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={setLoadBalancerPoliciesForBackendServerResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`PolicyNotFoundExceptione->`Assoc[("error",(`String"PolicyNotFoundException"));("details",(PolicyNotFoundException.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"Contains the output of SetLoadBalancerPoliciesForBackendServer."]moduleSetLoadBalancerPoliciesForBackendServerInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];instancePort:EndPointPort.t[@ocaml.doc"The port number associated with the EC2 instance."];policyNames:PolicyNames.t[@ocaml.doc"The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance."]}letcontext_="SetLoadBalancerPoliciesForBackendServerInput"letmake~loadBalancerName=fun~instancePort->fun~policyNames->fun()->{loadBalancerName;instancePort;policyNames}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("InstancePort",(Some(EndPointPort.to_valuex.instancePort)));("PolicyNames",(Some(PolicyNames.to_valuex.policyNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyNames=PolicyNames.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyNames")inletinstancePort=EndPointPort.of_xml(Xml.child_exn~context:context_xml_arg0"InstancePort")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~policyNames~instancePort~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyNames=field_map_exnjson__"PolicyNames"PolicyNames.of_jsoninletinstancePort=field_map_exnjson__"InstancePort"EndPointPort.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~policyNames~instancePort~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for SetLoadBalancerPoliciesForBackendServer."]moduleSetLoadBalancerListenerSSLCertificateOutput=structtypesetLoadBalancerListenerSSLCertificateResult=unitandresponseMetaData=unitandt={setLoadBalancerListenerSSLCertificateResult:setLoadBalancerListenerSSLCertificateResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`CertificateNotFoundExceptionofCertificateNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`ListenerNotFoundExceptionofListenerNotFoundException.t|`UnsupportedProtocolExceptionofUnsupportedProtocolException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={setLoadBalancerListenerSSLCertificateResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"ListenerNotFoundException"->`ListenerNotFoundException(ListenerNotFoundException.of_jsonjson)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"ListenerNotFoundException"->`ListenerNotFoundException(ListenerNotFoundException.of_xmlxml)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`CertificateNotFoundExceptione->`Assoc[("error",(`String"CertificateNotFoundException"));("details",(CertificateNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`ListenerNotFoundExceptione->`Assoc[("error",(`String"ListenerNotFoundException"));("details",(ListenerNotFoundException.to_jsone))]|`UnsupportedProtocolExceptione->`Assoc[("error",(`String"UnsupportedProtocolException"));("details",(UnsupportedProtocolException.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"Contains the output of SetLoadBalancerListenerSSLCertificate."]moduleSetLoadBalancerListenerSSLCertificateInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];loadBalancerPort:AccessPointPort.t[@ocaml.doc"The port that uses the specified SSL certificate."];sSLCertificateId:SSLCertificateId.t[@ocaml.doc"The Amazon Resource Name (ARN) of the SSL certificate."]}letcontext_="SetLoadBalancerListenerSSLCertificateInput"letmake~loadBalancerName=fun~loadBalancerPort->fun~sSLCertificateId->fun()->{loadBalancerName;loadBalancerPort;sSLCertificateId}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("LoadBalancerPort",(Some(AccessPointPort.to_valuex.loadBalancerPort)));("SSLCertificateId",(Some(SSLCertificateId.to_valuex.sSLCertificateId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsSLCertificateId=SSLCertificateId.of_xml(Xml.child_exn~context:context_xml_arg0"SSLCertificateId")inletloadBalancerPort=AccessPointPort.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerPort")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~sSLCertificateId~loadBalancerPort~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsSLCertificateId=field_map_exnjson__"SSLCertificateId"SSLCertificateId.of_jsoninletloadBalancerPort=field_map_exnjson__"LoadBalancerPort"AccessPointPort.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~sSLCertificateId~loadBalancerPort~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for SetLoadBalancerListenerSSLCertificate."]moduleRemoveTagsOutput=structtyperemoveTagsResult=unitandresponseMetaData=unitandt={removeTagsResult:removeTagsResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={removeTagsResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.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"Contains the output of RemoveTags."]moduleRemoveTagsInput=structtypenonrect={loadBalancerNames:LoadBalancerNames.t[@ocaml.doc"The name of the load balancer. You can specify a maximum of one load balancer name."];tags:TagKeyList.t[@ocaml.doc"The list of tag keys to remove."]}letcontext_="RemoveTagsInput"letmake~loadBalancerNames=fun~tags->fun()->{loadBalancerNames;tags}letto_valuex=structure_to_value[("LoadBalancerNames",(Some(LoadBalancerNames.to_valuex.loadBalancerNames)));("Tags",(Some(TagKeyList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletloadBalancerNames=LoadBalancerNames.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerNames")inmake~tags~loadBalancerNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagKeyList.of_jsoninletloadBalancerNames=field_map_exnjson__"LoadBalancerNames"LoadBalancerNames.of_jsoninmake~tags~loadBalancerNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for RemoveTags."]moduleRemoveAvailabilityZonesOutput=structtypedisableAvailabilityZonesForLoadBalancerResult={availabilityZones:AvailabilityZones.toption[@ocaml.doc"The remaining Availability Zones for the load balancer."]}andresponseMetaData=unitandt={disableAvailabilityZonesForLoadBalancerResult:disableAvailabilityZonesForLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RemoveAvailabilityZonesOutput"letmake?availabilityZones=fun()->{disableAvailabilityZonesForLoadBalancerResult={availabilityZones};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.disableAvailabilityZonesForLoadBalancerResultinstructure_to_wrapped_value[("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value))]~wrapper:"DisableAvailabilityZonesForLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DisableAvailabilityZonesForLoadBalancerResult"inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inmake?availabilityZones()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninmake?availabilityZones()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output for DisableAvailabilityZonesForLoadBalancer."]moduleRemoveAvailabilityZonesInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];availabilityZones:AvailabilityZones.t[@ocaml.doc"The Availability Zones."]}letcontext_="RemoveAvailabilityZonesInput"letmake~loadBalancerName=fun~availabilityZones->fun()->{loadBalancerName;availabilityZones}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("AvailabilityZones",(Some(AvailabilityZones.to_valuex.availabilityZones)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZones=AvailabilityZones.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZones")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~availabilityZones~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZones=field_map_exnjson__"AvailabilityZones"AvailabilityZones.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~availabilityZones~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DisableAvailabilityZonesForLoadBalancer."]moduleRegisterEndPointsOutput=structtyperegisterInstancesWithLoadBalancerResult={instances:Instances.toption[@ocaml.doc"The updated list of instances for the load balancer."]}andresponseMetaData=unitandt={registerInstancesWithLoadBalancerResult:registerInstancesWithLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidEndPointExceptionofInvalidEndPointException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="RegisterEndPointsOutput"letmake?instances=fun()->{registerInstancesWithLoadBalancerResult={instances};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidEndPointExceptione->`Assoc[("error",(`String"InvalidEndPointException"));("details",(InvalidEndPointException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.registerInstancesWithLoadBalancerResultinstructure_to_wrapped_value[("Instances",(Option.mapx.instances~f:Instances.to_value))]~wrapper:"RegisterInstancesWithLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"RegisterInstancesWithLoadBalancerResult"inletinstances=(Option.map~f:Instances.of_xml)(Xml.childxml_arg0"Instances")inmake?instances()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstances=field_mapjson__"Instances"Instances.of_jsoninmake?instances()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of RegisterInstancesWithLoadBalancer."]moduleRegisterEndPointsInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];instances:Instances.t[@ocaml.doc"The IDs of the instances."]}letcontext_="RegisterEndPointsInput"letmake~loadBalancerName=fun~instances->fun()->{loadBalancerName;instances}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Instances",(Some(Instances.to_valuex.instances)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstances=Instances.of_xml(Xml.child_exn~context:context_xml_arg0"Instances")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~instances~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstances=field_map_exnjson__"Instances"Instances.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~instances~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for RegisterInstancesWithLoadBalancer."]moduleModifyLoadBalancerAttributesOutput=structtypemodifyLoadBalancerAttributesResult={loadBalancerName:AccessPointName.toption[@ocaml.doc"The name of the load balancer."];loadBalancerAttributes:LoadBalancerAttributes.toption[@ocaml.doc"Information about the load balancer attributes."]}andresponseMetaData=unitandt={modifyLoadBalancerAttributesResult:modifyLoadBalancerAttributesResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`LoadBalancerAttributeNotFoundExceptionofLoadBalancerAttributeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ModifyLoadBalancerAttributesOutput"letmake?loadBalancerName=fun?loadBalancerAttributes->fun()->{modifyLoadBalancerAttributesResult={loadBalancerName;loadBalancerAttributes};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"LoadBalancerAttributeNotFoundException"->`LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"LoadBalancerAttributeNotFoundException"->`LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`LoadBalancerAttributeNotFoundExceptione->`Assoc[("error",(`String"LoadBalancerAttributeNotFoundException"));("details",(LoadBalancerAttributeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.modifyLoadBalancerAttributesResultinstructure_to_wrapped_value[("LoadBalancerName",(Option.mapx.loadBalancerName~f:AccessPointName.to_value));("LoadBalancerAttributes",(Option.mapx.loadBalancerAttributes~f:LoadBalancerAttributes.to_value))]~wrapper:"ModifyLoadBalancerAttributesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ModifyLoadBalancerAttributesResult"inletloadBalancerAttributes=(Option.map~f:LoadBalancerAttributes.of_xml)(Xml.childxml_arg0"LoadBalancerAttributes")inletloadBalancerName=(Option.map~f:AccessPointName.of_xml)(Xml.childxml_arg0"LoadBalancerName")inmake?loadBalancerAttributes?loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerAttributes=field_mapjson__"LoadBalancerAttributes"LoadBalancerAttributes.of_jsoninletloadBalancerName=field_mapjson__"LoadBalancerName"AccessPointName.of_jsoninmake?loadBalancerAttributes?loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of ModifyLoadBalancerAttributes."]moduleModifyLoadBalancerAttributesInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];loadBalancerAttributes:LoadBalancerAttributes.t[@ocaml.doc"The attributes for the load balancer."]}letcontext_="ModifyLoadBalancerAttributesInput"letmake~loadBalancerName=fun~loadBalancerAttributes->fun()->{loadBalancerName;loadBalancerAttributes}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("LoadBalancerAttributes",(Some(LoadBalancerAttributes.to_valuex.loadBalancerAttributes)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloadBalancerAttributes=LoadBalancerAttributes.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerAttributes")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~loadBalancerAttributes~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerAttributes=field_map_exnjson__"LoadBalancerAttributes"LoadBalancerAttributes.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~loadBalancerAttributes~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for ModifyLoadBalancerAttributes."]moduleDetachLoadBalancerFromSubnetsOutput=structtypedetachLoadBalancerFromSubnetsResult={subnets:Subnets.toption[@ocaml.doc"The IDs of the remaining subnets for the load balancer."]}andresponseMetaData=unitandt={detachLoadBalancerFromSubnetsResult:detachLoadBalancerFromSubnetsResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DetachLoadBalancerFromSubnetsOutput"letmake?subnets=fun()->{detachLoadBalancerFromSubnetsResult={subnets};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.detachLoadBalancerFromSubnetsResultinstructure_to_wrapped_value[("Subnets",(Option.mapx.subnets~f:Subnets.to_value))]~wrapper:"DetachLoadBalancerFromSubnetsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DetachLoadBalancerFromSubnetsResult"inletsubnets=(Option.map~f:Subnets.of_xml)(Xml.childxml_arg0"Subnets")inmake?subnets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnets=field_mapjson__"Subnets"Subnets.of_jsoninmake?subnets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of DetachLoadBalancerFromSubnets."]moduleDetachLoadBalancerFromSubnetsInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];subnets:Subnets.t[@ocaml.doc"The IDs of the subnets."]}letcontext_="DetachLoadBalancerFromSubnetsInput"letmake~loadBalancerName=fun~subnets->fun()->{loadBalancerName;subnets}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Subnets",(Some(Subnets.to_valuex.subnets)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnets=Subnets.of_xml(Xml.child_exn~context:context_xml_arg0"Subnets")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~subnets~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnets=field_map_exnjson__"Subnets"Subnets.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~subnets~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DetachLoadBalancerFromSubnets."]moduleDescribeTagsOutput=structtypedescribeTagsResult={tagDescriptions:TagDescriptions.toption[@ocaml.doc"Information about the tags."]}andresponseMetaData=unitandt={describeTagsResult:describeTagsResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeTagsOutput"letmake?tagDescriptions=fun()->{describeTagsResult={tagDescriptions};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeTagsResultinstructure_to_wrapped_value[("TagDescriptions",(Option.mapx.tagDescriptions~f:TagDescriptions.to_value))]~wrapper:"DescribeTagsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeTagsResult"inlettagDescriptions=(Option.map~f:TagDescriptions.of_xml)(Xml.childxml_arg0"TagDescriptions")inmake?tagDescriptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagDescriptions=field_mapjson__"TagDescriptions"TagDescriptions.of_jsoninmake?tagDescriptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output for DescribeTags."]moduleDescribeTagsInput=structtypenonrect={loadBalancerNames:LoadBalancerNamesMax20.t[@ocaml.doc"The names of the load balancers."]}letcontext_="DescribeTagsInput"letmake~loadBalancerNames=fun()->{loadBalancerNames}letto_valuex=structure_to_value[("LoadBalancerNames",(Some(LoadBalancerNamesMax20.to_valuex.loadBalancerNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloadBalancerNames=LoadBalancerNamesMax20.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerNames")inmake~loadBalancerNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerNames=field_map_exnjson__"LoadBalancerNames"LoadBalancerNamesMax20.of_jsoninmake~loadBalancerNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeTags."]moduleDescribeLoadBalancerPolicyTypesOutput=structtypedescribeLoadBalancerPolicyTypesResult={policyTypeDescriptions:PolicyTypeDescriptions.toption[@ocaml.doc"Information about the policy types."]}andresponseMetaData=unitandt={describeLoadBalancerPolicyTypesResult:describeLoadBalancerPolicyTypesResult;responseMetaData:responseMetaData}typeerror=[`PolicyTypeNotFoundExceptionofPolicyTypeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeLoadBalancerPolicyTypesOutput"letmake?policyTypeDescriptions=fun()->{describeLoadBalancerPolicyTypesResult={policyTypeDescriptions};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"PolicyTypeNotFoundException"->`PolicyTypeNotFoundException(PolicyTypeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"PolicyTypeNotFoundException"->`PolicyTypeNotFoundException(PolicyTypeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`PolicyTypeNotFoundExceptione->`Assoc[("error",(`String"PolicyTypeNotFoundException"));("details",(PolicyTypeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeLoadBalancerPolicyTypesResultinstructure_to_wrapped_value[("PolicyTypeDescriptions",(Option.mapx.policyTypeDescriptions~f:PolicyTypeDescriptions.to_value))]~wrapper:"DescribeLoadBalancerPolicyTypesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeLoadBalancerPolicyTypesResult"inletpolicyTypeDescriptions=(Option.map~f:PolicyTypeDescriptions.of_xml)(Xml.childxml_arg0"PolicyTypeDescriptions")inmake?policyTypeDescriptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyTypeDescriptions=field_mapjson__"PolicyTypeDescriptions"PolicyTypeDescriptions.of_jsoninmake?policyTypeDescriptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of DescribeLoadBalancerPolicyTypes."]moduleDescribeLoadBalancerPolicyTypesInput=structtypenonrect={policyTypeNames:PolicyTypeNames.toption[@ocaml.doc"The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing."]}letmake?policyTypeNames=fun()->{policyTypeNames}letto_valuex=structure_to_value[("PolicyTypeNames",(Option.mapx.policyTypeNames~f:PolicyTypeNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyTypeNames=(Option.map~f:PolicyTypeNames.of_xml)(Xml.childxml_arg0"PolicyTypeNames")inmake?policyTypeNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyTypeNames=field_mapjson__"PolicyTypeNames"PolicyTypeNames.of_jsoninmake?policyTypeNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeLoadBalancerPolicyTypes."]moduleDescribeLoadBalancerPoliciesOutput=structtypedescribeLoadBalancerPoliciesResult={policyDescriptions:PolicyDescriptions.toption[@ocaml.doc"Information about the policies."]}andresponseMetaData=unitandt={describeLoadBalancerPoliciesResult:describeLoadBalancerPoliciesResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`PolicyNotFoundExceptionofPolicyNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeLoadBalancerPoliciesOutput"letmake?policyDescriptions=fun()->{describeLoadBalancerPoliciesResult={policyDescriptions};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"PolicyNotFoundException"->`PolicyNotFoundException(PolicyNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`PolicyNotFoundExceptione->`Assoc[("error",(`String"PolicyNotFoundException"));("details",(PolicyNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeLoadBalancerPoliciesResultinstructure_to_wrapped_value[("PolicyDescriptions",(Option.mapx.policyDescriptions~f:PolicyDescriptions.to_value))]~wrapper:"DescribeLoadBalancerPoliciesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeLoadBalancerPoliciesResult"inletpolicyDescriptions=(Option.map~f:PolicyDescriptions.of_xml)(Xml.childxml_arg0"PolicyDescriptions")inmake?policyDescriptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyDescriptions=field_mapjson__"PolicyDescriptions"PolicyDescriptions.of_jsoninmake?policyDescriptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of DescribeLoadBalancerPolicies."]moduleDescribeLoadBalancerPoliciesInput=structtypenonrect={loadBalancerName:AccessPointName.toption[@ocaml.doc"The name of the load balancer."];policyNames:PolicyNames.toption[@ocaml.doc"The names of the policies."]}letmake?loadBalancerName=fun?policyNames->fun()->{loadBalancerName;policyNames}letto_valuex=structure_to_value[("LoadBalancerName",(Option.mapx.loadBalancerName~f:AccessPointName.to_value));("PolicyNames",(Option.mapx.policyNames~f:PolicyNames.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyNames=(Option.map~f:PolicyNames.of_xml)(Xml.childxml_arg0"PolicyNames")inletloadBalancerName=(Option.map~f:AccessPointName.of_xml)(Xml.childxml_arg0"LoadBalancerName")inmake?policyNames?loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyNames=field_mapjson__"PolicyNames"PolicyNames.of_jsoninletloadBalancerName=field_mapjson__"LoadBalancerName"AccessPointName.of_jsoninmake?policyNames?loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeLoadBalancerPolicies."]moduleDescribeLoadBalancerAttributesOutput=structtypedescribeLoadBalancerAttributesResult={loadBalancerAttributes:LoadBalancerAttributes.toption[@ocaml.doc"Information about the load balancer attributes."]}andresponseMetaData=unitandt={describeLoadBalancerAttributesResult:describeLoadBalancerAttributesResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`LoadBalancerAttributeNotFoundExceptionofLoadBalancerAttributeNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeLoadBalancerAttributesOutput"letmake?loadBalancerAttributes=fun()->{describeLoadBalancerAttributesResult={loadBalancerAttributes};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"LoadBalancerAttributeNotFoundException"->`LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"LoadBalancerAttributeNotFoundException"->`LoadBalancerAttributeNotFoundException(LoadBalancerAttributeNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`LoadBalancerAttributeNotFoundExceptione->`Assoc[("error",(`String"LoadBalancerAttributeNotFoundException"));("details",(LoadBalancerAttributeNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeLoadBalancerAttributesResultinstructure_to_wrapped_value[("LoadBalancerAttributes",(Option.mapx.loadBalancerAttributes~f:LoadBalancerAttributes.to_value))]~wrapper:"DescribeLoadBalancerAttributesResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeLoadBalancerAttributesResult"inletloadBalancerAttributes=(Option.map~f:LoadBalancerAttributes.of_xml)(Xml.childxml_arg0"LoadBalancerAttributes")inmake?loadBalancerAttributes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerAttributes=field_mapjson__"LoadBalancerAttributes"LoadBalancerAttributes.of_jsoninmake?loadBalancerAttributes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of DescribeLoadBalancerAttributes."]moduleDescribeLoadBalancerAttributesInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."]}letcontext_="DescribeLoadBalancerAttributesInput"letmake~loadBalancerName=fun()->{loadBalancerName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeLoadBalancerAttributes."]moduleDescribeEndPointStateOutput=structtypedescribeInstanceHealthResult={instanceStates:InstanceStates.toption[@ocaml.doc"Information about the health of the instances."]}andresponseMetaData=unitandt={describeInstanceHealthResult:describeInstanceHealthResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidEndPointExceptionofInvalidEndPointException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeEndPointStateOutput"letmake?instanceStates=fun()->{describeInstanceHealthResult={instanceStates};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidEndPointExceptione->`Assoc[("error",(`String"InvalidEndPointException"));("details",(InvalidEndPointException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeInstanceHealthResultinstructure_to_wrapped_value[("InstanceStates",(Option.mapx.instanceStates~f:InstanceStates.to_value))]~wrapper:"DescribeInstanceHealthResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeInstanceHealthResult"inletinstanceStates=(Option.map~f:InstanceStates.of_xml)(Xml.childxml_arg0"InstanceStates")inmake?instanceStates()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstanceStates=field_mapjson__"InstanceStates"InstanceStates.of_jsoninmake?instanceStates()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output for DescribeInstanceHealth."]moduleDescribeEndPointStateInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];instances:Instances.toption[@ocaml.doc"The IDs of the instances."]}letcontext_="DescribeEndPointStateInput"letmake?instances=fun~loadBalancerName->fun()->{instances;loadBalancerName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Instances",(Option.mapx.instances~f:Instances.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstances=(Option.map~f:Instances.of_xml)(Xml.childxml_arg0"Instances")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake?instances~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstances=field_mapjson__"Instances"Instances.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake?instances~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeInstanceHealth."]moduleDescribeAccountLimitsOutput=structtypedescribeAccountLimitsResult={limits:Limits.toption[@ocaml.doc"Information about the limits."];nextMarker:Marker.toption[@ocaml.doc"The marker to use when requesting the next set of results. If there are no additional results, the string is empty."]}andresponseMetaData=unitandt={describeAccountLimitsResult:describeAccountLimitsResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeAccountLimitsOutput"letmake?limits=fun?nextMarker->fun()->{describeAccountLimitsResult={limits;nextMarker};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeAccountLimitsResultinstructure_to_wrapped_value[("Limits",(Option.mapx.limits~f:Limits.to_value));("NextMarker",(Option.mapx.nextMarker~f:Marker.to_value))]~wrapper:"DescribeAccountLimitsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeAccountLimitsResult"inletnextMarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"NextMarker")inletlimits=(Option.map~f:Limits.of_xml)(Xml.childxml_arg0"Limits")inmake?nextMarker?limits()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextMarker=field_mapjson__"NextMarker"Marker.of_jsoninletlimits=field_mapjson__"Limits"Limits.of_jsoninmake?nextMarker?limits()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide."]moduleDescribeAccountLimitsInput=structtypenonrect={marker:Marker.toption[@ocaml.doc"The marker for the next set of results. (You received this marker from a previous call.)"];pageSize:PageSize.toption[@ocaml.doc"The maximum number of results to return with this call."]}letmake?marker=fun?pageSize->fun()->{marker;pageSize}letto_valuex=structure_to_value[("Marker",(Option.mapx.marker~f:Marker.to_value));("PageSize",(Option.mapx.pageSize~f:PageSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"PageSize")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inmake?pageSize?marker()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"PageSize.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninmake?pageSize?marker()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide."]moduleDescribeAccessPointsOutput=structtypedescribeLoadBalancersResult={loadBalancerDescriptions:LoadBalancerDescriptions.toption[@ocaml.doc"Information about the load balancers."];nextMarker:Marker.toption[@ocaml.doc"The marker to use when requesting the next set of results. If there are no additional results, the string is empty."]}andresponseMetaData=unitandt={describeLoadBalancersResult:describeLoadBalancersResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`DependencyThrottleExceptionofDependencyThrottleException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DescribeAccessPointsOutput"letmake?loadBalancerDescriptions=fun?nextMarker->fun()->{describeLoadBalancersResult={loadBalancerDescriptions;nextMarker};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"DependencyThrottleException"->`DependencyThrottleException(DependencyThrottleException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"DependencyThrottleException"->`DependencyThrottleException(DependencyThrottleException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`DependencyThrottleExceptione->`Assoc[("error",(`String"DependencyThrottleException"));("details",(DependencyThrottleException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.describeLoadBalancersResultinstructure_to_wrapped_value[("LoadBalancerDescriptions",(Option.mapx.loadBalancerDescriptions~f:LoadBalancerDescriptions.to_value));("NextMarker",(Option.mapx.nextMarker~f:Marker.to_value))]~wrapper:"DescribeLoadBalancersResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DescribeLoadBalancersResult"inletnextMarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"NextMarker")inletloadBalancerDescriptions=(Option.map~f:LoadBalancerDescriptions.of_xml)(Xml.childxml_arg0"LoadBalancerDescriptions")inmake?nextMarker?loadBalancerDescriptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextMarker=field_mapjson__"NextMarker"Marker.of_jsoninletloadBalancerDescriptions=field_mapjson__"LoadBalancerDescriptions"LoadBalancerDescriptions.of_jsoninmake?nextMarker?loadBalancerDescriptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeLoadBalancers."]moduleDescribeAccessPointsInput=structtypenonrect={loadBalancerNames:LoadBalancerNames.toption[@ocaml.doc"The names of the load balancers."];marker:Marker.toption[@ocaml.doc"The marker for the next set of results. (You received this marker from a previous call.)"];pageSize:PageSize.toption[@ocaml.doc"The maximum number of results to return with this call (a number from 1 to 400). The default is 400."]}letmake?loadBalancerNames=fun?marker->fun?pageSize->fun()->{loadBalancerNames;marker;pageSize}letto_valuex=structure_to_value[("LoadBalancerNames",(Option.mapx.loadBalancerNames~f:LoadBalancerNames.to_value));("Marker",(Option.mapx.marker~f:Marker.to_value));("PageSize",(Option.mapx.pageSize~f:PageSize.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:PageSize.of_xml)(Xml.childxml_arg0"PageSize")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inletloadBalancerNames=(Option.map~f:LoadBalancerNames.of_xml)(Xml.childxml_arg0"LoadBalancerNames")inmake?pageSize?marker?loadBalancerNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"PageSize.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninletloadBalancerNames=field_mapjson__"LoadBalancerNames"LoadBalancerNames.of_jsoninmake?pageSize?marker?loadBalancerNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DescribeLoadBalancers."]moduleDeregisterEndPointsOutput=structtypederegisterInstancesFromLoadBalancerResult={instances:Instances.toption[@ocaml.doc"The remaining instances registered with the load balancer."]}andresponseMetaData=unitandt={deregisterInstancesFromLoadBalancerResult:deregisterInstancesFromLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidEndPointExceptionofInvalidEndPointException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="DeregisterEndPointsOutput"letmake?instances=fun()->{deregisterInstancesFromLoadBalancerResult={instances};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidEndPointException"->`InvalidEndPointException(InvalidEndPointException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidEndPointExceptione->`Assoc[("error",(`String"InvalidEndPointException"));("details",(InvalidEndPointException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.deregisterInstancesFromLoadBalancerResultinstructure_to_wrapped_value[("Instances",(Option.mapx.instances~f:Instances.to_value))]~wrapper:"DeregisterInstancesFromLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"DeregisterInstancesFromLoadBalancerResult"inletinstances=(Option.map~f:Instances.of_xml)(Xml.childxml_arg0"Instances")inmake?instances()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstances=field_mapjson__"Instances"Instances.of_jsoninmake?instances()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of DeregisterInstancesFromLoadBalancer."]moduleDeregisterEndPointsInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];instances:Instances.t[@ocaml.doc"The IDs of the instances."]}letcontext_="DeregisterEndPointsInput"letmake~loadBalancerName=fun~instances->fun()->{loadBalancerName;instances}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Instances",(Some(Instances.to_valuex.instances)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinstances=Instances.of_xml(Xml.child_exn~context:context_xml_arg0"Instances")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~instances~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinstances=field_map_exnjson__"Instances"Instances.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~instances~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DeregisterInstancesFromLoadBalancer."]moduleDeleteLoadBalancerPolicyOutput=structtypedeleteLoadBalancerPolicyResult=unitandresponseMetaData=unitandt={deleteLoadBalancerPolicyResult:deleteLoadBalancerPolicyResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deleteLoadBalancerPolicyResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.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"Contains the output of DeleteLoadBalancerPolicy."]moduleDeleteLoadBalancerPolicyInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];policyName:PolicyName.t[@ocaml.doc"The name of the policy."]}letcontext_="DeleteLoadBalancerPolicyInput"letmake~loadBalancerName=fun~policyName->fun()->{loadBalancerName;policyName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("PolicyName",(Some(PolicyName.to_valuex.policyName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~policyName~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~policyName~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DeleteLoadBalancerPolicy."]moduleDeleteLoadBalancerListenerOutput=structtypedeleteLoadBalancerListenersResult=unitandresponseMetaData=unitandt={deleteLoadBalancerListenersResult:deleteLoadBalancerListenersResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={deleteLoadBalancerListenersResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.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"Contains the output of DeleteLoadBalancerListeners."]moduleDeleteLoadBalancerListenerInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];loadBalancerPorts:Ports.t[@ocaml.doc"The client port numbers of the listeners."]}letcontext_="DeleteLoadBalancerListenerInput"letmake~loadBalancerName=fun~loadBalancerPorts->fun()->{loadBalancerName;loadBalancerPorts}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("LoadBalancerPorts",(Some(Ports.to_valuex.loadBalancerPorts)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloadBalancerPorts=Ports.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerPorts")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~loadBalancerPorts~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerPorts=field_map_exnjson__"LoadBalancerPorts"Ports.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~loadBalancerPorts~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DeleteLoadBalancerListeners."]moduleDeleteAccessPointOutput=structtypedeleteLoadBalancerResult=unitandresponseMetaData=unitandt={deleteLoadBalancerResult:deleteLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`Unknown_operation_errorof(string*stringoption)]letmake()={deleteLoadBalancerResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))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"Contains the output of DeleteLoadBalancer."]moduleDeleteAccessPointInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."]}letcontext_="DeleteAccessPointInput"letmake~loadBalancerName=fun()->{loadBalancerName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for DeleteLoadBalancer."]moduleCreateLoadBalancerPolicyOutput=structtypecreateLoadBalancerPolicyResult=unitandresponseMetaData=unitandt={createLoadBalancerPolicyResult:createLoadBalancerPolicyResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`DuplicatePolicyNameExceptionofDuplicatePolicyNameException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`PolicyTypeNotFoundExceptionofPolicyTypeNotFoundException.t|`TooManyPoliciesExceptionofTooManyPoliciesException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={createLoadBalancerPolicyResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"PolicyTypeNotFoundException"->`PolicyTypeNotFoundException(PolicyTypeNotFoundException.of_jsonjson)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"PolicyTypeNotFoundException"->`PolicyTypeNotFoundException(PolicyTypeNotFoundException.of_xmlxml)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`DuplicatePolicyNameExceptione->`Assoc[("error",(`String"DuplicatePolicyNameException"));("details",(DuplicatePolicyNameException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`PolicyTypeNotFoundExceptione->`Assoc[("error",(`String"PolicyTypeNotFoundException"));("details",(PolicyTypeNotFoundException.to_jsone))]|`TooManyPoliciesExceptione->`Assoc[("error",(`String"TooManyPoliciesException"));("details",(TooManyPoliciesException.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"Contains the output of CreateLoadBalancerPolicy."]moduleCreateLoadBalancerPolicyInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];policyName:PolicyName.t[@ocaml.doc"The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer."];policyTypeName:PolicyTypeName.t[@ocaml.doc"The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes."];policyAttributes:PolicyAttributes.toption[@ocaml.doc"The policy attributes."]}letcontext_="CreateLoadBalancerPolicyInput"letmake?policyAttributes=fun~loadBalancerName->fun~policyName->fun~policyTypeName->fun()->{policyAttributes;loadBalancerName;policyName;policyTypeName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("PolicyName",(Some(PolicyName.to_valuex.policyName)));("PolicyTypeName",(Some(PolicyTypeName.to_valuex.policyTypeName)));("PolicyAttributes",(Option.mapx.policyAttributes~f:PolicyAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyAttributes=(Option.map~f:PolicyAttributes.of_xml)(Xml.childxml_arg0"PolicyAttributes")inletpolicyTypeName=PolicyTypeName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyTypeName")inletpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake?policyAttributes~policyTypeName~policyName~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyAttributes=field_mapjson__"PolicyAttributes"PolicyAttributes.of_jsoninletpolicyTypeName=field_map_exnjson__"PolicyTypeName"PolicyTypeName.of_jsoninletpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake?policyAttributes~policyTypeName~policyName~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for CreateLoadBalancerPolicy."]moduleCreateLoadBalancerListenerOutput=structtypecreateLoadBalancerListenersResult=unitandresponseMetaData=unitandt={createLoadBalancerListenersResult:createLoadBalancerListenersResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`CertificateNotFoundExceptionofCertificateNotFoundException.t|`DuplicateListenerExceptionofDuplicateListenerException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`UnsupportedProtocolExceptionofUnsupportedProtocolException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={createLoadBalancerListenersResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_jsonjson)|"DuplicateListenerException"->`DuplicateListenerException(DuplicateListenerException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_xmlxml)|"DuplicateListenerException"->`DuplicateListenerException(DuplicateListenerException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`CertificateNotFoundExceptione->`Assoc[("error",(`String"CertificateNotFoundException"));("details",(CertificateNotFoundException.to_jsone))]|`DuplicateListenerExceptione->`Assoc[("error",(`String"DuplicateListenerException"));("details",(DuplicateListenerException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`UnsupportedProtocolExceptione->`Assoc[("error",(`String"UnsupportedProtocolException"));("details",(UnsupportedProtocolException.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"Contains the parameters for CreateLoadBalancerListener."]moduleCreateLoadBalancerListenerInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];listeners:Listeners.t[@ocaml.doc"The listeners."]}letcontext_="CreateLoadBalancerListenerInput"letmake~loadBalancerName=fun~listeners->fun()->{loadBalancerName;listeners}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Listeners",(Some(Listeners.to_valuex.listeners)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlisteners=Listeners.of_xml(Xml.child_exn~context:context_xml_arg0"Listeners")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~listeners~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlisteners=field_map_exnjson__"Listeners"Listeners.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~listeners~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for CreateLoadBalancerListeners."]moduleCreateLBCookieStickinessPolicyOutput=structtypecreateLBCookieStickinessPolicyResult=unitandresponseMetaData=unitandt={createLBCookieStickinessPolicyResult:createLBCookieStickinessPolicyResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`DuplicatePolicyNameExceptionofDuplicatePolicyNameException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`TooManyPoliciesExceptionofTooManyPoliciesException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={createLBCookieStickinessPolicyResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`DuplicatePolicyNameExceptione->`Assoc[("error",(`String"DuplicatePolicyNameException"));("details",(DuplicatePolicyNameException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`TooManyPoliciesExceptione->`Assoc[("error",(`String"TooManyPoliciesException"));("details",(TooManyPoliciesException.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"Contains the output for CreateLBCookieStickinessPolicy."]moduleCreateLBCookieStickinessPolicyInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];policyName:PolicyName.t[@ocaml.doc"The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer."];cookieExpirationPeriod:CookieExpirationPeriod.toption[@ocaml.doc"The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session."]}letcontext_="CreateLBCookieStickinessPolicyInput"letmake?cookieExpirationPeriod=fun~loadBalancerName->fun~policyName->fun()->{cookieExpirationPeriod;loadBalancerName;policyName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("PolicyName",(Some(PolicyName.to_valuex.policyName)));("CookieExpirationPeriod",(Option.mapx.cookieExpirationPeriod~f:CookieExpirationPeriod.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcookieExpirationPeriod=(Option.map~f:CookieExpirationPeriod.of_xml)(Xml.childxml_arg0"CookieExpirationPeriod")inletpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake?cookieExpirationPeriod~policyName~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcookieExpirationPeriod=field_mapjson__"CookieExpirationPeriod"CookieExpirationPeriod.of_jsoninletpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake?cookieExpirationPeriod~policyName~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for CreateLBCookieStickinessPolicy."]moduleCreateAppCookieStickinessPolicyOutput=structtypecreateAppCookieStickinessPolicyResult=unitandresponseMetaData=unitandt={createAppCookieStickinessPolicyResult:createAppCookieStickinessPolicyResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`DuplicatePolicyNameExceptionofDuplicatePolicyNameException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`TooManyPoliciesExceptionofTooManyPoliciesException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={createAppCookieStickinessPolicyResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"DuplicatePolicyNameException"->`DuplicatePolicyNameException(DuplicatePolicyNameException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"TooManyPoliciesException"->`TooManyPoliciesException(TooManyPoliciesException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`DuplicatePolicyNameExceptione->`Assoc[("error",(`String"DuplicatePolicyNameException"));("details",(DuplicatePolicyNameException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`TooManyPoliciesExceptione->`Assoc[("error",(`String"TooManyPoliciesException"));("details",(TooManyPoliciesException.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"Contains the output for CreateAppCookieStickinessPolicy."]moduleCreateAppCookieStickinessPolicyInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];policyName:PolicyName.t[@ocaml.doc"The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer."];cookieName:CookieName.t[@ocaml.doc"The name of the application cookie used for stickiness."]}letcontext_="CreateAppCookieStickinessPolicyInput"letmake~loadBalancerName=fun~policyName->fun~cookieName->fun()->{loadBalancerName;policyName;cookieName}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("PolicyName",(Some(PolicyName.to_valuex.policyName)));("CookieName",(Some(CookieName.to_valuex.cookieName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcookieName=CookieName.of_xml(Xml.child_exn~context:context_xml_arg0"CookieName")inletpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~cookieName~policyName~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcookieName=field_map_exnjson__"CookieName"CookieName.of_jsoninletpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~cookieName~policyName~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for CreateAppCookieStickinessPolicy."]moduleCreateAccessPointOutput=structtypecreateLoadBalancerResult={dNSName:DNSName.toption[@ocaml.doc"The DNS name of the load balancer."]}andresponseMetaData=unitandt={createLoadBalancerResult:createLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`CertificateNotFoundExceptionofCertificateNotFoundException.t|`DuplicateAccessPointNameExceptionofDuplicateAccessPointNameException.t|`DuplicateTagKeysExceptionofDuplicateTagKeysException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`InvalidSchemeExceptionofInvalidSchemeException.t|`InvalidSecurityGroupExceptionofInvalidSecurityGroupException.t|`InvalidSubnetExceptionofInvalidSubnetException.t|`OperationNotPermittedExceptionofOperationNotPermittedException.t|`SubnetNotFoundExceptionofSubnetNotFoundException.t|`TooManyAccessPointsExceptionofTooManyAccessPointsException.t|`TooManyTagsExceptionofTooManyTagsException.t|`UnsupportedProtocolExceptionofUnsupportedProtocolException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateAccessPointOutput"letmake?dNSName=fun()->{createLoadBalancerResult={dNSName};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_jsonjson)|"DuplicateAccessPointNameException"->`DuplicateAccessPointNameException(DuplicateAccessPointNameException.of_jsonjson)|"DuplicateTagKeysException"->`DuplicateTagKeysException(DuplicateTagKeysException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"InvalidSchemeException"->`InvalidSchemeException(InvalidSchemeException.of_jsonjson)|"InvalidSecurityGroupException"->`InvalidSecurityGroupException(InvalidSecurityGroupException.of_jsonjson)|"InvalidSubnetException"->`InvalidSubnetException(InvalidSubnetException.of_jsonjson)|"OperationNotPermittedException"->`OperationNotPermittedException(OperationNotPermittedException.of_jsonjson)|"SubnetNotFoundException"->`SubnetNotFoundException(SubnetNotFoundException.of_jsonjson)|"TooManyAccessPointsException"->`TooManyAccessPointsException(TooManyAccessPointsException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CertificateNotFoundException"->`CertificateNotFoundException(CertificateNotFoundException.of_xmlxml)|"DuplicateAccessPointNameException"->`DuplicateAccessPointNameException(DuplicateAccessPointNameException.of_xmlxml)|"DuplicateTagKeysException"->`DuplicateTagKeysException(DuplicateTagKeysException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"InvalidSchemeException"->`InvalidSchemeException(InvalidSchemeException.of_xmlxml)|"InvalidSecurityGroupException"->`InvalidSecurityGroupException(InvalidSecurityGroupException.of_xmlxml)|"InvalidSubnetException"->`InvalidSubnetException(InvalidSubnetException.of_xmlxml)|"OperationNotPermittedException"->`OperationNotPermittedException(OperationNotPermittedException.of_xmlxml)|"SubnetNotFoundException"->`SubnetNotFoundException(SubnetNotFoundException.of_xmlxml)|"TooManyAccessPointsException"->`TooManyAccessPointsException(TooManyAccessPointsException.of_xmlxml)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_xmlxml)|"UnsupportedProtocolException"->`UnsupportedProtocolException(UnsupportedProtocolException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CertificateNotFoundExceptione->`Assoc[("error",(`String"CertificateNotFoundException"));("details",(CertificateNotFoundException.to_jsone))]|`DuplicateAccessPointNameExceptione->`Assoc[("error",(`String"DuplicateAccessPointNameException"));("details",(DuplicateAccessPointNameException.to_jsone))]|`DuplicateTagKeysExceptione->`Assoc[("error",(`String"DuplicateTagKeysException"));("details",(DuplicateTagKeysException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`InvalidSchemeExceptione->`Assoc[("error",(`String"InvalidSchemeException"));("details",(InvalidSchemeException.to_jsone))]|`InvalidSecurityGroupExceptione->`Assoc[("error",(`String"InvalidSecurityGroupException"));("details",(InvalidSecurityGroupException.to_jsone))]|`InvalidSubnetExceptione->`Assoc[("error",(`String"InvalidSubnetException"));("details",(InvalidSubnetException.to_jsone))]|`OperationNotPermittedExceptione->`Assoc[("error",(`String"OperationNotPermittedException"));("details",(OperationNotPermittedException.to_jsone))]|`SubnetNotFoundExceptione->`Assoc[("error",(`String"SubnetNotFoundException"));("details",(SubnetNotFoundException.to_jsone))]|`TooManyAccessPointsExceptione->`Assoc[("error",(`String"TooManyAccessPointsException"));("details",(TooManyAccessPointsException.to_jsone))]|`TooManyTagsExceptione->`Assoc[("error",(`String"TooManyTagsException"));("details",(TooManyTagsException.to_jsone))]|`UnsupportedProtocolExceptione->`Assoc[("error",(`String"UnsupportedProtocolException"));("details",(UnsupportedProtocolException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createLoadBalancerResultinstructure_to_wrapped_value[("DNSName",(Option.mapx.dNSName~f:DNSName.to_value))]~wrapper:"CreateLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateLoadBalancerResult"inletdNSName=(Option.map~f:DNSName.of_xml)(Xml.childxml_arg0"DNSName")inmake?dNSName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdNSName=field_mapjson__"DNSName"DNSName.of_jsoninmake?dNSName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output for CreateLoadBalancer."]moduleCreateAccessPointInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer. This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen."];listeners:Listeners.t[@ocaml.doc"The listeners. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide."];availabilityZones:AvailabilityZones.toption[@ocaml.doc"One or more Availability Zones from the same region as the load balancer. You must specify at least one Availability Zone. You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer."];subnets:Subnets.toption[@ocaml.doc"The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones."];securityGroups:SecurityGroups.toption[@ocaml.doc"The IDs of the security groups to assign to the load balancer."];scheme:LoadBalancerScheme.toption[@ocaml.doc"The type of a load balancer. Valid only for load balancers in a VPC. By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide. Specify internal to create a load balancer with a DNS name that resolves to private IP addresses."];tags:TagList.toption[@ocaml.doc"A list of tags to assign to the load balancer. For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide."]}letcontext_="CreateAccessPointInput"letmake?availabilityZones=fun?subnets->fun?securityGroups->fun?scheme->fun?tags->fun~loadBalancerName->fun~listeners->fun()->{availabilityZones;subnets;securityGroups;scheme;tags;loadBalancerName;listeners}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Listeners",(Some(Listeners.to_valuex.listeners)));("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value));("Subnets",(Option.mapx.subnets~f:Subnets.to_value));("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value));("Scheme",(Option.mapx.scheme~f:LoadBalancerScheme.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletscheme=(Option.map~f:LoadBalancerScheme.of_xml)(Xml.childxml_arg0"Scheme")inletsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inletsubnets=(Option.map~f:Subnets.of_xml)(Xml.childxml_arg0"Subnets")inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inletlisteners=Listeners.of_xml(Xml.child_exn~context:context_xml_arg0"Listeners")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake?tags?scheme?securityGroups?subnets?availabilityZones~listeners~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletscheme=field_mapjson__"Scheme"LoadBalancerScheme.of_jsoninletsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninletsubnets=field_mapjson__"Subnets"Subnets.of_jsoninletavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninletlisteners=field_map_exnjson__"Listeners"Listeners.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake?tags?scheme?securityGroups?subnets?availabilityZones~listeners~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for CreateLoadBalancer."]moduleConfigureHealthCheckOutput=structtypeconfigureHealthCheckResult={healthCheck:HealthCheck.toption[@ocaml.doc"The updated health check."]}andresponseMetaData=unitandt={configureHealthCheckResult:configureHealthCheckResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ConfigureHealthCheckOutput"letmake?healthCheck=fun()->{configureHealthCheckResult={healthCheck};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.configureHealthCheckResultinstructure_to_wrapped_value[("HealthCheck",(Option.mapx.healthCheck~f:HealthCheck.to_value))]~wrapper:"ConfigureHealthCheckResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ConfigureHealthCheckResult"inlethealthCheck=(Option.map~f:HealthCheck.of_xml)(Xml.childxml_arg0"HealthCheck")inmake?healthCheck()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethealthCheck=field_mapjson__"HealthCheck"HealthCheck.of_jsoninmake?healthCheck()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of ConfigureHealthCheck."]moduleConfigureHealthCheckInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];healthCheck:HealthCheck.t[@ocaml.doc"The configuration information."]}letcontext_="ConfigureHealthCheckInput"letmake~loadBalancerName=fun~healthCheck->fun()->{loadBalancerName;healthCheck}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("HealthCheck",(Some(HealthCheck.to_valuex.healthCheck)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethealthCheck=HealthCheck.of_xml(Xml.child_exn~context:context_xml_arg0"HealthCheck")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~healthCheck~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethealthCheck=field_map_exnjson__"HealthCheck"HealthCheck.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~healthCheck~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for ConfigureHealthCheck."]moduleAttachLoadBalancerToSubnetsOutput=structtypeattachLoadBalancerToSubnetsResult={subnets:Subnets.toption[@ocaml.doc"The IDs of the subnets attached to the load balancer."]}andresponseMetaData=unitandt={attachLoadBalancerToSubnetsResult:attachLoadBalancerToSubnetsResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`InvalidSubnetExceptionofInvalidSubnetException.t|`SubnetNotFoundExceptionofSubnetNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="AttachLoadBalancerToSubnetsOutput"letmake?subnets=fun()->{attachLoadBalancerToSubnetsResult={subnets};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"InvalidSubnetException"->`InvalidSubnetException(InvalidSubnetException.of_jsonjson)|"SubnetNotFoundException"->`SubnetNotFoundException(SubnetNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"InvalidSubnetException"->`InvalidSubnetException(InvalidSubnetException.of_xmlxml)|"SubnetNotFoundException"->`SubnetNotFoundException(SubnetNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`InvalidSubnetExceptione->`Assoc[("error",(`String"InvalidSubnetException"));("details",(InvalidSubnetException.to_jsone))]|`SubnetNotFoundExceptione->`Assoc[("error",(`String"SubnetNotFoundException"));("details",(SubnetNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.attachLoadBalancerToSubnetsResultinstructure_to_wrapped_value[("Subnets",(Option.mapx.subnets~f:Subnets.to_value))]~wrapper:"AttachLoadBalancerToSubnetsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"AttachLoadBalancerToSubnetsResult"inletsubnets=(Option.map~f:Subnets.of_xml)(Xml.childxml_arg0"Subnets")inmake?subnets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnets=field_mapjson__"Subnets"Subnets.of_jsoninmake?subnets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of AttachLoadBalancerToSubnets."]moduleAttachLoadBalancerToSubnetsInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];subnets:Subnets.t[@ocaml.doc"The IDs of the subnets to add. You can add only one subnet per Availability Zone."]}letcontext_="AttachLoadBalancerToSubnetsInput"letmake~loadBalancerName=fun~subnets->fun()->{loadBalancerName;subnets}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("Subnets",(Some(Subnets.to_valuex.subnets)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnets=Subnets.of_xml(Xml.child_exn~context:context_xml_arg0"Subnets")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~subnets~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnets=field_map_exnjson__"Subnets"Subnets.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~subnets~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for AttachLoaBalancerToSubnets."]moduleApplySecurityGroupsToLoadBalancerOutput=structtypeapplySecurityGroupsToLoadBalancerResult={securityGroups:SecurityGroups.toption[@ocaml.doc"The IDs of the security groups associated with the load balancer."]}andresponseMetaData=unitandt={applySecurityGroupsToLoadBalancerResult:applySecurityGroupsToLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`InvalidConfigurationRequestExceptionofInvalidConfigurationRequestException.t|`InvalidSecurityGroupExceptionofInvalidSecurityGroupException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ApplySecurityGroupsToLoadBalancerOutput"letmake?securityGroups=fun()->{applySecurityGroupsToLoadBalancerResult={securityGroups};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_jsonjson)|"InvalidSecurityGroupException"->`InvalidSecurityGroupException(InvalidSecurityGroupException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"InvalidConfigurationRequestException"->`InvalidConfigurationRequestException(InvalidConfigurationRequestException.of_xmlxml)|"InvalidSecurityGroupException"->`InvalidSecurityGroupException(InvalidSecurityGroupException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`InvalidConfigurationRequestExceptione->`Assoc[("error",(`String"InvalidConfigurationRequestException"));("details",(InvalidConfigurationRequestException.to_jsone))]|`InvalidSecurityGroupExceptione->`Assoc[("error",(`String"InvalidSecurityGroupException"));("details",(InvalidSecurityGroupException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.applySecurityGroupsToLoadBalancerResultinstructure_to_wrapped_value[("SecurityGroups",(Option.mapx.securityGroups~f:SecurityGroups.to_value))]~wrapper:"ApplySecurityGroupsToLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ApplySecurityGroupsToLoadBalancerResult"inletsecurityGroups=(Option.map~f:SecurityGroups.of_xml)(Xml.childxml_arg0"SecurityGroups")inmake?securityGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroups=field_mapjson__"SecurityGroups"SecurityGroups.of_jsoninmake?securityGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of ApplySecurityGroupsToLoadBalancer."]moduleApplySecurityGroupsToLoadBalancerInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];securityGroups:SecurityGroups.t[@ocaml.doc"The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group."]}letcontext_="ApplySecurityGroupsToLoadBalancerInput"letmake~loadBalancerName=fun~securityGroups->fun()->{loadBalancerName;securityGroups}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("SecurityGroups",(Some(SecurityGroups.to_valuex.securityGroups)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecurityGroups=SecurityGroups.of_xml(Xml.child_exn~context:context_xml_arg0"SecurityGroups")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~securityGroups~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecurityGroups=field_map_exnjson__"SecurityGroups"SecurityGroups.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~securityGroups~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for ApplySecurityGroupsToLoadBalancer."]moduleAddTagsOutput=structtypeaddTagsResult=unitandresponseMetaData=unitandt={addTagsResult:addTagsResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`DuplicateTagKeysExceptionofDuplicateTagKeysException.t|`TooManyTagsExceptionofTooManyTagsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()={addTagsResult=();responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|"DuplicateTagKeysException"->`DuplicateTagKeysException(DuplicateTagKeysException.of_jsonjson)|"TooManyTagsException"->`TooManyTagsException(TooManyTagsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|"DuplicateTagKeysException"->`DuplicateTagKeysException(DuplicateTagKeysException.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|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`DuplicateTagKeysExceptione->`Assoc[("error",(`String"DuplicateTagKeysException"));("details",(DuplicateTagKeysException.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"Contains the output of AddTags."]moduleAddTagsInput=structtypenonrect={loadBalancerNames:LoadBalancerNames.t[@ocaml.doc"The name of the load balancer. You can specify one load balancer only."];tags:TagList.t[@ocaml.doc"The tags."]}letcontext_="AddTagsInput"letmake~loadBalancerNames=fun~tags->fun()->{loadBalancerNames;tags}letto_valuex=structure_to_value[("LoadBalancerNames",(Some(LoadBalancerNames.to_valuex.loadBalancerNames)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletloadBalancerNames=LoadBalancerNames.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerNames")inmake~tags~loadBalancerNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletloadBalancerNames=field_map_exnjson__"LoadBalancerNames"LoadBalancerNames.of_jsoninmake~tags~loadBalancerNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for AddTags."]moduleAddAvailabilityZonesOutput=structtypeenableAvailabilityZonesForLoadBalancerResult={availabilityZones:AvailabilityZones.toption[@ocaml.doc"The updated list of Availability Zones for the load balancer."]}andresponseMetaData=unitandt={enableAvailabilityZonesForLoadBalancerResult:enableAvailabilityZonesForLoadBalancerResult;responseMetaData:responseMetaData}typeerror=[`AccessPointNotFoundExceptionofAccessPointNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="AddAvailabilityZonesOutput"letmake?availabilityZones=fun()->{enableAvailabilityZonesForLoadBalancerResult={availabilityZones};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessPointNotFoundException"->`AccessPointNotFoundException(AccessPointNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessPointNotFoundExceptione->`Assoc[("error",(`String"AccessPointNotFoundException"));("details",(AccessPointNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.enableAvailabilityZonesForLoadBalancerResultinstructure_to_wrapped_value[("AvailabilityZones",(Option.mapx.availabilityZones~f:AvailabilityZones.to_value))]~wrapper:"EnableAvailabilityZonesForLoadBalancerResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"EnableAvailabilityZonesForLoadBalancerResult"inletavailabilityZones=(Option.map~f:AvailabilityZones.of_xml)(Xml.childxml_arg0"AvailabilityZones")inmake?availabilityZones()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZones=field_mapjson__"AvailabilityZones"AvailabilityZones.of_jsoninmake?availabilityZones()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the output of EnableAvailabilityZonesForLoadBalancer."]moduleAddAvailabilityZonesInput=structtypenonrect={loadBalancerName:AccessPointName.t[@ocaml.doc"The name of the load balancer."];availabilityZones:AvailabilityZones.t[@ocaml.doc"The Availability Zones. These must be in the same region as the load balancer."]}letcontext_="AddAvailabilityZonesInput"letmake~loadBalancerName=fun~availabilityZones->fun()->{loadBalancerName;availabilityZones}letto_valuex=structure_to_value[("LoadBalancerName",(Some(AccessPointName.to_valuex.loadBalancerName)));("AvailabilityZones",(Some(AvailabilityZones.to_valuex.availabilityZones)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZones=AvailabilityZones.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZones")inletloadBalancerName=AccessPointName.of_xml(Xml.child_exn~context:context_xml_arg0"LoadBalancerName")inmake~availabilityZones~loadBalancerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZones=field_map_exnjson__"AvailabilityZones"AvailabilityZones.of_jsoninletloadBalancerName=field_map_exnjson__"LoadBalancerName"AccessPointName.of_jsoninmake~availabilityZones~loadBalancerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the parameters for EnableAvailabilityZonesForLoadBalancer."]