1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660(* 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.route53_recovery_control_configletapiVersion="2020-11-02"letendpointPrefix="route53-recovery-control-config"letserviceFullName="AWS Route53 Recovery Control Config"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"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[]))])moduleRuleType=structtypenonrect=|ATLEAST|AND|OR|Non_static_idofstringletmakei=iletto_string=function|ATLEAST->"ATLEAST"|AND->"AND"|OR->"OR"|Non_static_ids->sletof_string=function|"ATLEAST"->ATLEAST|"AND"->AND|"OR"->OR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RuleType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleType"j)letto_json=simple_to_jsonto_valueendmoduleZz__boolean=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_valueendmoduleZz__integer=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for __integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleZz__stringMin1Max256PatternAZaZ09=structtypenonrect=stringletcontext_="__stringMin1Max256PatternAZaZ09"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(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:"__stringMin1Max256PatternAZaZ09"jletto_json=simple_to_jsonto_valueendmoduleZz__stringMin1Max128PatternAZaZ09=structtypenonrect=stringletcontext_="__stringMin1Max128PatternAZaZ09"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(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:"__stringMin1Max128PatternAZaZ09"jletto_json=simple_to_jsonto_valueendmoduleZz__stringMin1Max32PatternS=structtypenonrect=stringletcontext_="__stringMin1Max32PatternS"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"^\\S+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin1Max32PatternS"jletto_json=simple_to_jsonto_valueendmoduleRuleConfig=structtypenonrect={inverted:Zz__boolean.t[@ocaml.doc"Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa."];threshold:Zz__integer.t[@ocaml.doc"The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type."];type_:RuleType.t[@ocaml.doc"A rule can be one of the following: ATLEAST, AND, or OR."]}letcontext_="RuleConfig"letmake~inverted=fun~threshold->fun~type_->fun()->{inverted;threshold;type_}letto_valuex=structure_to_value[("Inverted",(Some(Zz__boolean.to_valuex.inverted)));("Threshold",(Some(Zz__integer.to_valuex.threshold)));("Type",(Some(RuleType.to_valuex.type_)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=RuleType.of_xml(Xml.child_exn~context:context_xml_arg0"Type")inletthreshold=Zz__integer.of_xml(Xml.child_exn~context:context_xml_arg0"Threshold")inletinverted=Zz__boolean.of_xml(Xml.child_exn~context:context_xml_arg0"Inverted")inmake~type_~threshold~inverted()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_map_exnjson__"Type"RuleType.of_jsoninletthreshold=field_map_exnjson__"Threshold"Zz__integer.of_jsoninletinverted=field_map_exnjson__"Inverted"Zz__boolean.of_jsoninmake~type_~threshold~inverted()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON after a transaction completes."]moduleStatus=structtypenonrect=|PENDING|DEPLOYED|PENDING_DELETION|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|DEPLOYED->"DEPLOYED"|PENDING_DELETION->"PENDING_DELETION"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"DEPLOYED"->DEPLOYED|"PENDING_DELETION"->PENDING_DELETION|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration Status"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Status"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOf__stringMin1Max256PatternAZaZ09=structtypenonrect=Zz__stringMin1Max256PatternAZaZ09.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__stringMin1Max256PatternAZaZ09.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:Zz__stringMin1Max256PatternAZaZ09.of_xml)letof_jsonj=list_of_json~kind:"__listOf__stringMin1Max256PatternAZaZ09"~of_json:Zz__stringMin1Max256PatternAZaZ09.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__stringMin12Max12PatternD12=structtypenonrect=stringletcontext_="__stringMin12Max12PatternD12"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->check_patterni~pattern:"^\\d{12}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin12Max12PatternD12"jletto_json=simple_to_jsonto_valueendmoduleZz__stringMin1Max64PatternS=structtypenonrect=stringletcontext_="__stringMin1Max64PatternS"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^\\S+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin1Max64PatternS"jletto_json=simple_to_jsonto_valueendmoduleClusterEndpoint=structtypenonrect={endpoint:Zz__stringMin1Max128PatternAZaZ09.toption[@ocaml.doc"A cluster endpoint. Specify an endpoint and Amazon Web Services Region when you want to set or retrieve a routing control state in the cluster. To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions."];region:Zz__stringMin1Max32PatternS.toption[@ocaml.doc"The Amazon Web Services Region for a cluster endpoint."]}letmake?endpoint=fun?region->fun()->{endpoint;region}letto_valuex=structure_to_value[("Endpoint",(Option.mapx.endpoint~f:Zz__stringMin1Max128PatternAZaZ09.to_value));("Region",(Option.mapx.region~f:Zz__stringMin1Max32PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregion=(Option.map~f:Zz__stringMin1Max32PatternS.of_xml)(Xml.childxml_arg0"Region")inletendpoint=(Option.map~f:Zz__stringMin1Max128PatternAZaZ09.of_xml)(Xml.childxml_arg0"Endpoint")inmake?region?endpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregion=field_mapjson__"Region"Zz__stringMin1Max32PatternS.of_jsoninletendpoint=field_mapjson__"Endpoint"Zz__stringMin1Max128PatternAZaZ09.of_jsoninmake?region?endpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster."]moduleAssertionRule=structtypenonrect={assertedControls:Zz__listOf__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions."];controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];name:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"Name of the assertion rule. You can use any non-white space character in the name."];ruleConfig:RuleConfig.toption[@ocaml.doc"The criteria that you set for specific assertion routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them."];safetyRuleArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the assertion rule."];status:Status.toption[@ocaml.doc"The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION."];waitPeriodMs:Zz__integer.toption[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."];owner:Zz__stringMin12Max12PatternD12.toption[@ocaml.doc"The Amazon Web Services account ID of the assertion rule owner."]}letmake?assertedControls=fun?controlPanelArn->fun?name->fun?ruleConfig->fun?safetyRuleArn->fun?status->fun?waitPeriodMs->fun?owner->fun()->{assertedControls;controlPanelArn;name;ruleConfig;safetyRuleArn;status;waitPeriodMs;owner}letto_valuex=structure_to_value[("AssertedControls",(Option.mapx.assertedControls~f:Zz__listOf__stringMin1Max256PatternAZaZ09.to_value));("ControlPanelArn",(Option.mapx.controlPanelArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("Name",(Option.mapx.name~f:Zz__stringMin1Max64PatternS.to_value));("RuleConfig",(Option.mapx.ruleConfig~f:RuleConfig.to_value));("SafetyRuleArn",(Option.mapx.safetyRuleArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("Status",(Option.mapx.status~f:Status.to_value));("WaitPeriodMs",(Option.mapx.waitPeriodMs~f:Zz__integer.to_value));("Owner",(Option.mapx.owner~f:Zz__stringMin12Max12PatternD12.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letowner=(Option.map~f:Zz__stringMin12Max12PatternD12.of_xml)(Xml.childxml_arg0"Owner")inletwaitPeriodMs=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"WaitPeriodMs")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletsafetyRuleArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"SafetyRuleArn")inletruleConfig=(Option.map~f:RuleConfig.of_xml)(Xml.childxml_arg0"RuleConfig")inletname=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"Name")inletcontrolPanelArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ControlPanelArn")inletassertedControls=(Option.map~f:Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"AssertedControls")inmake?owner?waitPeriodMs?status?safetyRuleArn?ruleConfig?name?controlPanelArn?assertedControls()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letowner=field_mapjson__"Owner"Zz__stringMin12Max12PatternD12.of_jsoninletwaitPeriodMs=field_mapjson__"WaitPeriodMs"Zz__integer.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletsafetyRuleArn=field_mapjson__"SafetyRuleArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletruleConfig=field_mapjson__"RuleConfig"RuleConfig.of_jsoninletname=field_mapjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletcontrolPanelArn=field_mapjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletassertedControls=field_mapjson__"AssertedControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninmake?owner?waitPeriodMs?status?safetyRuleArn?ruleConfig?name?controlPanelArn?assertedControls()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario."]moduleGatingRule=structtypenonrect={controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];gatingControls:Zz__listOf__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"An array of gating routing control Amazon Resource Names (ARNs). For a simple \"on/off\" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed."];name:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"The name for the gating rule. You can use any non-white space character in the name."];ruleConfig:RuleConfig.toption[@ocaml.doc"The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states."];safetyRuleArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the gating rule."];status:Status.toption[@ocaml.doc"The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION."];targetControls:Zz__listOf__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall \"on/off\" switch for a set of target routing controls. You can use this to manually override automated failover, for example."];waitPeriodMs:Zz__integer.toption[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."];owner:Zz__stringMin12Max12PatternD12.toption[@ocaml.doc"The Amazon Web Services account ID of the gating rule owner."]}letmake?controlPanelArn=fun?gatingControls->fun?name->fun?ruleConfig->fun?safetyRuleArn->fun?status->fun?targetControls->fun?waitPeriodMs->fun?owner->fun()->{controlPanelArn;gatingControls;name;ruleConfig;safetyRuleArn;status;targetControls;waitPeriodMs;owner}letto_valuex=structure_to_value[("ControlPanelArn",(Option.mapx.controlPanelArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("GatingControls",(Option.mapx.gatingControls~f:Zz__listOf__stringMin1Max256PatternAZaZ09.to_value));("Name",(Option.mapx.name~f:Zz__stringMin1Max64PatternS.to_value));("RuleConfig",(Option.mapx.ruleConfig~f:RuleConfig.to_value));("SafetyRuleArn",(Option.mapx.safetyRuleArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("Status",(Option.mapx.status~f:Status.to_value));("TargetControls",(Option.mapx.targetControls~f:Zz__listOf__stringMin1Max256PatternAZaZ09.to_value));("WaitPeriodMs",(Option.mapx.waitPeriodMs~f:Zz__integer.to_value));("Owner",(Option.mapx.owner~f:Zz__stringMin12Max12PatternD12.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letowner=(Option.map~f:Zz__stringMin12Max12PatternD12.of_xml)(Xml.childxml_arg0"Owner")inletwaitPeriodMs=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"WaitPeriodMs")inlettargetControls=(Option.map~f:Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"TargetControls")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletsafetyRuleArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"SafetyRuleArn")inletruleConfig=(Option.map~f:RuleConfig.of_xml)(Xml.childxml_arg0"RuleConfig")inletname=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"Name")inletgatingControls=(Option.map~f:Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"GatingControls")inletcontrolPanelArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ControlPanelArn")inmake?owner?waitPeriodMs?targetControls?status?safetyRuleArn?ruleConfig?name?gatingControls?controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letowner=field_mapjson__"Owner"Zz__stringMin12Max12PatternD12.of_jsoninletwaitPeriodMs=field_mapjson__"WaitPeriodMs"Zz__integer.of_jsoninlettargetControls=field_mapjson__"TargetControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletsafetyRuleArn=field_mapjson__"SafetyRuleArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletruleConfig=field_mapjson__"RuleConfig"RuleConfig.of_jsoninletname=field_mapjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletgatingControls=field_mapjson__"GatingControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninletcontrolPanelArn=field_mapjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake?owner?waitPeriodMs?targetControls?status?safetyRuleArn?ruleConfig?name?gatingControls?controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete. For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control \"switch\" to be \"On\". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule."]moduleNetworkType=structtypenonrect=|IPV4|DUALSTACK|Non_static_idofstringletmakei=iletto_string=function|IPV4->"IPV4"|DUALSTACK->"DUALSTACK"|Non_static_ids->sletof_string=function|"IPV4"->IPV4|"DUALSTACK"->DUALSTACK|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration NetworkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NetworkType"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOfClusterEndpoint=structtypenonrect=ClusterEndpoint.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ClusterEndpoint.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:ClusterEndpoint.of_xml)letof_jsonj=list_of_json~kind:"__listOfClusterEndpoint"~of_json:ClusterEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__string=structtypenonrect=stringletcontext_="__string"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__string"jletto_json=simple_to_jsonto_valueendmoduleZz__stringMin0Max256PatternS=structtypenonrect=stringletcontext_="__stringMin0Max256PatternS"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^\\S+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin0Max256PatternS"jletto_json=simple_to_jsonto_valueendmoduleRule=structtypenonrect={aSSERTION:AssertionRule.toption[@ocaml.doc"An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control state is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario."];gATING:GatingRule.toption[@ocaml.doc"A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete. For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control \"switch\" to be \"On\". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule."]}letmake?aSSERTION=fun?gATING->fun()->{aSSERTION;gATING}letto_valuex=structure_to_value[("ASSERTION",(Option.mapx.aSSERTION~f:AssertionRule.to_value));("GATING",(Option.mapx.gATING~f:GatingRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgATING=(Option.map~f:GatingRule.of_xml)(Xml.childxml_arg0"GATING")inletaSSERTION=(Option.map~f:AssertionRule.of_xml)(Xml.childxml_arg0"ASSERTION")inmake?gATING?aSSERTION()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgATING=field_mapjson__"GATING"GatingRule.of_jsoninletaSSERTION=field_mapjson__"ASSERTION"AssertionRule.of_jsoninmake?gATING?aSSERTION()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A safety rule. A safety rule can be an assertion rule or a gating rule."]moduleRoutingControl=structtypenonrect={controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel that includes the routing control."];name:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"The name of the routing control."];routingControlArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the routing control."];status:Status.toption[@ocaml.doc"The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION."];owner:Zz__stringMin12Max12PatternD12.toption[@ocaml.doc"The Amazon Web Services account ID of the routing control owner."]}letmake?controlPanelArn=fun?name->fun?routingControlArn->fun?status->fun?owner->fun()->{controlPanelArn;name;routingControlArn;status;owner}letto_valuex=structure_to_value[("ControlPanelArn",(Option.mapx.controlPanelArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("Name",(Option.mapx.name~f:Zz__stringMin1Max64PatternS.to_value));("RoutingControlArn",(Option.mapx.routingControlArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("Status",(Option.mapx.status~f:Status.to_value));("Owner",(Option.mapx.owner~f:Zz__stringMin12Max12PatternD12.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letowner=(Option.map~f:Zz__stringMin12Max12PatternD12.of_xml)(Xml.childxml_arg0"Owner")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletroutingControlArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"RoutingControlArn")inletname=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"Name")inletcontrolPanelArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ControlPanelArn")inmake?owner?status?routingControlArn?name?controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letowner=field_mapjson__"Owner"Zz__stringMin12Max12PatternD12.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletroutingControlArn=field_mapjson__"RoutingControlArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletname=field_mapjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletcontrolPanelArn=field_mapjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake?owner?status?routingControlArn?name?controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing."]moduleControlPanel=structtypenonrect={clusterArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster that includes the control panel."];controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];defaultControlPanel:Zz__boolean.toption[@ocaml.doc"A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false."];name:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"The name of the control panel. You can use any non-white space character in the name."];routingControlCount:Zz__integer.toption[@ocaml.doc"The number of routing controls in the control panel."];status:Status.toption[@ocaml.doc"The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION."];owner:Zz__stringMin12Max12PatternD12.toption[@ocaml.doc"The Amazon Web Services account ID of the control panel owner."]}letmake?clusterArn=fun?controlPanelArn->fun?defaultControlPanel->fun?name->fun?routingControlCount->fun?status->fun?owner->fun()->{clusterArn;controlPanelArn;defaultControlPanel;name;routingControlCount;status;owner}letto_valuex=structure_to_value[("ClusterArn",(Option.mapx.clusterArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("ControlPanelArn",(Option.mapx.controlPanelArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("DefaultControlPanel",(Option.mapx.defaultControlPanel~f:Zz__boolean.to_value));("Name",(Option.mapx.name~f:Zz__stringMin1Max64PatternS.to_value));("RoutingControlCount",(Option.mapx.routingControlCount~f:Zz__integer.to_value));("Status",(Option.mapx.status~f:Status.to_value));("Owner",(Option.mapx.owner~f:Zz__stringMin12Max12PatternD12.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letowner=(Option.map~f:Zz__stringMin12Max12PatternD12.of_xml)(Xml.childxml_arg0"Owner")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletroutingControlCount=(Option.map~f:Zz__integer.of_xml)(Xml.childxml_arg0"RoutingControlCount")inletname=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"Name")inletdefaultControlPanel=(Option.map~f:Zz__boolean.of_xml)(Xml.childxml_arg0"DefaultControlPanel")inletcontrolPanelArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ControlPanelArn")inletclusterArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ClusterArn")inmake?owner?status?routingControlCount?name?defaultControlPanel?controlPanelArn?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letowner=field_mapjson__"Owner"Zz__stringMin12Max12PatternD12.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletroutingControlCount=field_mapjson__"RoutingControlCount"Zz__integer.of_jsoninletname=field_mapjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletdefaultControlPanel=field_mapjson__"DefaultControlPanel"Zz__boolean.of_jsoninletcontrolPanelArn=field_mapjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake?owner?status?routingControlCount?name?defaultControlPanel?controlPanelArn?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A control panel represents a group of routing controls that can be changed together in a single transaction."]moduleCluster=structtypenonrect={clusterArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];clusterEndpoints:Zz__listOfClusterEndpoint.toption[@ocaml.doc"Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster. To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions."];name:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"The name of the cluster."];status:Status.toption[@ocaml.doc"Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION."];owner:Zz__stringMin12Max12PatternD12.toption[@ocaml.doc"The Amazon Web Services account ID of the cluster owner."];networkType:NetworkType.toption[@ocaml.doc"The network type of the cluster. NetworkType can be one of the following: IPV4, DUALSTACK."]}letmake?clusterArn=fun?clusterEndpoints->fun?name->fun?status->fun?owner->fun?networkType->fun()->{clusterArn;clusterEndpoints;name;status;owner;networkType}letto_valuex=structure_to_value[("ClusterArn",(Option.mapx.clusterArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("ClusterEndpoints",(Option.mapx.clusterEndpoints~f:Zz__listOfClusterEndpoint.to_value));("Name",(Option.mapx.name~f:Zz__stringMin1Max64PatternS.to_value));("Status",(Option.mapx.status~f:Status.to_value));("Owner",(Option.mapx.owner~f:Zz__stringMin12Max12PatternD12.to_value));("NetworkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"NetworkType")inletowner=(Option.map~f:Zz__stringMin12Max12PatternD12.of_xml)(Xml.childxml_arg0"Owner")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"Name")inletclusterEndpoints=(Option.map~f:Zz__listOfClusterEndpoint.of_xml)(Xml.childxml_arg0"ClusterEndpoints")inletclusterArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ClusterArn")inmake?networkType?owner?status?name?clusterEndpoints?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninletowner=field_mapjson__"Owner"Zz__stringMin12Max12PatternD12.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletname=field_mapjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletclusterEndpoints=field_mapjson__"ClusterEndpoints"Zz__listOfClusterEndpoint.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake?networkType?owner?status?name?clusterEndpoints?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster."]moduleZz__stringMax36PatternS=structtypenonrect=stringletcontext_="__stringMax36PatternS"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:36)>>=(fun()->check_patterni~pattern:"^\\S+$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMax36PatternS"jletto_json=simple_to_jsonto_valueendmoduleInternalServerException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"500 response - InternalServiceError. Temporary service error. Retry the request."]moduleResourceNotFoundException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"404 response - MalformedQueryString. The query string contains a syntax error or resource not found."]moduleValidationException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly."]moduleAssertionRuleUpdate=structtypenonrect={name:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the assertion rule. You can use any non-white space character in the name."];safetyRuleArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the assertion rule."];waitPeriodMs:Zz__integer.t[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."]}letcontext_="AssertionRuleUpdate"letmake~name=fun~safetyRuleArn->fun~waitPeriodMs->fun()->{name;safetyRuleArn;waitPeriodMs}letto_valuex=structure_to_value[("Name",(Some(Zz__stringMin1Max64PatternS.to_valuex.name)));("SafetyRuleArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.safetyRuleArn)));("WaitPeriodMs",(Some(Zz__integer.to_valuex.waitPeriodMs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwaitPeriodMs=Zz__integer.of_xml(Xml.child_exn~context:context_xml_arg0"WaitPeriodMs")inletsafetyRuleArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"SafetyRuleArn")inletname=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake~waitPeriodMs~safetyRuleArn~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwaitPeriodMs=field_map_exnjson__"WaitPeriodMs"Zz__integer.of_jsoninletsafetyRuleArn=field_map_exnjson__"SafetyRuleArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletname=field_map_exnjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninmake~waitPeriodMs~safetyRuleArn~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged."]moduleGatingRuleUpdate=structtypenonrect={name:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name for the gating rule. You can use any non-white space character in the name."];safetyRuleArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the gating rule."];waitPeriodMs:Zz__integer.t[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."]}letcontext_="GatingRuleUpdate"letmake~name=fun~safetyRuleArn->fun~waitPeriodMs->fun()->{name;safetyRuleArn;waitPeriodMs}letto_valuex=structure_to_value[("Name",(Some(Zz__stringMin1Max64PatternS.to_valuex.name)));("SafetyRuleArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.safetyRuleArn)));("WaitPeriodMs",(Some(Zz__integer.to_valuex.waitPeriodMs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwaitPeriodMs=Zz__integer.of_xml(Xml.child_exn~context:context_xml_arg0"WaitPeriodMs")inletsafetyRuleArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"SafetyRuleArn")inletname=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake~waitPeriodMs~safetyRuleArn~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwaitPeriodMs=field_map_exnjson__"WaitPeriodMs"Zz__integer.of_jsoninletsafetyRuleArn=field_map_exnjson__"SafetyRuleArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletname=field_map_exnjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninmake~waitPeriodMs~safetyRuleArn~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged."]moduleAccessDeniedException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"403 response - You do not have sufficient access to perform this action."]moduleConflictException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"409 response - ConflictException. You might be using a predefined variable."]moduleThrottlingException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"429 response - LimitExceededException or TooManyRequestsException."]moduleZz__listOf__string=structtypenonrect=Zz__string.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__string.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Zz__string.of_xml)letof_jsonj=list_of_json~kind:"__listOf__string"~of_json:Zz__string.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__mapOf__stringMin0Max256PatternS=structtypenonrect=(Zz__string.t*Zz__stringMin0Max256PatternS.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((Zz__string.of_stringchopped),(Zz__stringMin0Max256PatternS.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(Zz__string.to_valuex)|>(funx->(Zz__stringMin0Max256PatternS.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:Zz__string.of_string~of_json:Zz__stringMin0Max256PatternS.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfRule=structtypenonrect=Rule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Rule.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Rule.of_xml)letof_jsonj=list_of_json~kind:"__listOfRule"~of_json:Rule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__stringMin1Max8096PatternS=structtypenonrect=stringletcontext_="__stringMin1Max8096PatternS"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:8096)>>=(fun()->check_patterni~pattern:"[\\S]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__stringMin1Max8096PatternS"jletto_json=simple_to_jsonto_valueendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleZz__listOfRoutingControl=structtypenonrect=RoutingControl.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RoutingControl.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:RoutingControl.of_xml)letof_jsonj=list_of_json~kind:"__listOfRoutingControl"~of_json:RoutingControl.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfControlPanel=structtypenonrect=ControlPanel.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ControlPanel.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:ControlPanel.of_xml)letof_jsonj=list_of_json~kind:"__listOfControlPanel"~of_json:ControlPanel.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOfCluster=structtypenonrect=Cluster.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Cluster.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:Cluster.of_xml)letof_jsonj=list_of_json~kind:"__listOfCluster"~of_json:Cluster.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__listOf__stringMax36PatternS=structtypenonrect=Zz__stringMax36PatternS.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Zz__stringMax36PatternS.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:Zz__stringMax36PatternS.of_xml)letof_jsonj=list_of_json~kind:"__listOf__stringMax36PatternS"~of_json:Zz__stringMax36PatternS.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleZz__policy=structtypenonrect=stringletcontext_="__policy"letmakei=letopenResultinok_or_failwith((check_string_mini~min:2)>>=(fun()->(check_string_maxi~max:10240)>>=(fun()->check_patterni~pattern:"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"__policy"jletto_json=simple_to_jsonto_valueendmoduleNewAssertionRule=structtypenonrect={assertedControls:Zz__listOf__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions."];controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) for the control panel."];name:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the assertion rule. You can use any non-white space character in the name."];ruleConfig:RuleConfig.t[@ocaml.doc"The criteria that you set for specific assertion controls (routing controls) that designate how many control states must be ON as the result of a transaction. For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them."];waitPeriodMs:Zz__integer.t[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."]}letcontext_="NewAssertionRule"letmake~assertedControls=fun~controlPanelArn->fun~name->fun~ruleConfig->fun~waitPeriodMs->fun()->{assertedControls;controlPanelArn;name;ruleConfig;waitPeriodMs}letto_valuex=structure_to_value[("AssertedControls",(Some(Zz__listOf__stringMin1Max256PatternAZaZ09.to_valuex.assertedControls)));("ControlPanelArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.controlPanelArn)));("Name",(Some(Zz__stringMin1Max64PatternS.to_valuex.name)));("RuleConfig",(Some(RuleConfig.to_valuex.ruleConfig)));("WaitPeriodMs",(Some(Zz__integer.to_valuex.waitPeriodMs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwaitPeriodMs=Zz__integer.of_xml(Xml.child_exn~context:context_xml_arg0"WaitPeriodMs")inletruleConfig=RuleConfig.of_xml(Xml.child_exn~context:context_xml_arg0"RuleConfig")inletname=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletcontrolPanelArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inletassertedControls=Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"AssertedControls")inmake~waitPeriodMs~ruleConfig~name~controlPanelArn~assertedControls()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwaitPeriodMs=field_map_exnjson__"WaitPeriodMs"Zz__integer.of_jsoninletruleConfig=field_map_exnjson__"RuleConfig"RuleConfig.of_jsoninletname=field_map_exnjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletassertedControls=field_map_exnjson__"AssertedControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninmake~waitPeriodMs~ruleConfig~name~controlPanelArn~assertedControls()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A new assertion rule for a control panel."]moduleNewGatingRule=structtypenonrect={controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];gatingControls:Zz__listOf__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify."];name:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name for the new gating rule."];ruleConfig:RuleConfig.t[@ocaml.doc"The criteria that you set for specific gating controls (routing controls) that designate how many control states must be ON to allow you to change (set or unset) the target control states."];targetControls:Zz__listOf__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls."];waitPeriodMs:Zz__integer.t[@ocaml.doc"An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value."]}letcontext_="NewGatingRule"letmake~controlPanelArn=fun~gatingControls->fun~name->fun~ruleConfig->fun~targetControls->fun~waitPeriodMs->fun()->{controlPanelArn;gatingControls;name;ruleConfig;targetControls;waitPeriodMs}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.controlPanelArn)));("GatingControls",(Some(Zz__listOf__stringMin1Max256PatternAZaZ09.to_valuex.gatingControls)));("Name",(Some(Zz__stringMin1Max64PatternS.to_valuex.name)));("RuleConfig",(Some(RuleConfig.to_valuex.ruleConfig)));("TargetControls",(Some(Zz__listOf__stringMin1Max256PatternAZaZ09.to_valuex.targetControls)));("WaitPeriodMs",(Some(Zz__integer.to_valuex.waitPeriodMs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwaitPeriodMs=Zz__integer.of_xml(Xml.child_exn~context:context_xml_arg0"WaitPeriodMs")inlettargetControls=Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"TargetControls")inletruleConfig=RuleConfig.of_xml(Xml.child_exn~context:context_xml_arg0"RuleConfig")inletname=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletgatingControls=Zz__listOf__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"GatingControls")inletcontrolPanelArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake~waitPeriodMs~targetControls~ruleConfig~name~gatingControls~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwaitPeriodMs=field_map_exnjson__"WaitPeriodMs"Zz__integer.of_jsoninlettargetControls=field_map_exnjson__"TargetControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninletruleConfig=field_map_exnjson__"RuleConfig"RuleConfig.of_jsoninletname=field_map_exnjson__"Name"Zz__stringMin1Max64PatternS.of_jsoninletgatingControls=field_map_exnjson__"GatingControls"Zz__listOf__stringMin1Max256PatternAZaZ09.of_jsoninletcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake~waitPeriodMs~targetControls~ruleConfig~name~gatingControls~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A new gating rule for a control panel."]moduleServiceQuotaExceededException=structtypenonrect={message:Zz__string.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Zz__string.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"402 response - You attempted to create more resources than the service allows based on service quotas."]moduleZz__timestampUnix=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_valueendmoduleZz__timestampIso8601=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_valueendmoduleZz__long=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_valueendmoduleZz__double=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleUpdateSafetyRuleResponse=structtypenonrect={assertionRule:AssertionRule.toption[@ocaml.doc"The assertion rule updated."];gatingRule:GatingRule.toption[@ocaml.doc"The gating rule updated."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assertionRule=fun?gatingRule->fun()->{assertionRule;gatingRule}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AssertionRule",(Option.mapx.assertionRule~f:AssertionRule.to_value));("GatingRule",(Option.mapx.gatingRule~f:GatingRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgatingRule=(Option.map~f:GatingRule.of_xml)(Xml.childxml_arg0"GatingRule")inletassertionRule=(Option.map~f:AssertionRule.of_xml)(Xml.childxml_arg0"AssertionRule")inmake?gatingRule?assertionRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgatingRule=field_mapjson__"GatingRule"GatingRule.of_jsoninletassertionRule=field_mapjson__"AssertionRule"AssertionRule.of_jsoninmake?gatingRule?assertionRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one."]moduleUpdateSafetyRuleRequest=structtypenonrect={assertionRuleUpdate:AssertionRuleUpdate.toption[@ocaml.doc"The assertion rule to update."];gatingRuleUpdate:GatingRuleUpdate.toption[@ocaml.doc"The gating rule to update."]}letmake?assertionRuleUpdate=fun?gatingRuleUpdate->fun()->{assertionRuleUpdate;gatingRuleUpdate}letto_valuex=structure_to_value[("AssertionRuleUpdate",(Option.mapx.assertionRuleUpdate~f:AssertionRuleUpdate.to_value));("GatingRuleUpdate",(Option.mapx.gatingRuleUpdate~f:GatingRuleUpdate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgatingRuleUpdate=(Option.map~f:GatingRuleUpdate.of_xml)(Xml.childxml_arg0"GatingRuleUpdate")inletassertionRuleUpdate=(Option.map~f:AssertionRuleUpdate.of_xml)(Xml.childxml_arg0"AssertionRuleUpdate")inmake?gatingRuleUpdate?assertionRuleUpdate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgatingRuleUpdate=field_mapjson__"GatingRuleUpdate"GatingRuleUpdate.of_jsoninletassertionRuleUpdate=field_mapjson__"AssertionRuleUpdate"AssertionRuleUpdate.of_jsoninmake?gatingRuleUpdate?assertionRuleUpdate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability."]moduleUpdateRoutingControlResponse=structtypenonrect={routingControl:RoutingControl.toption[@ocaml.doc"The routing control that was updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?routingControl=fun()->{routingControl}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RoutingControl",(Option.mapx.routingControl~f:RoutingControl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControl=(Option.map~f:RoutingControl.of_xml)(Xml.childxml_arg0"RoutingControl")inmake?routingControl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControl=field_mapjson__"RoutingControl"RoutingControl.of_jsoninmake?routingControl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller."]moduleUpdateRoutingControlRequest=structtypenonrect={routingControlArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the routing control."];routingControlName:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the routing control."]}letcontext_="UpdateRoutingControlRequest"letmake~routingControlArn=fun~routingControlName->fun()->{routingControlArn;routingControlName}letto_valuex=structure_to_value[("RoutingControlArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.routingControlArn)));("RoutingControlName",(Some(Zz__stringMin1Max64PatternS.to_valuex.routingControlName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControlName=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlName")inletroutingControlArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlArn")inmake~routingControlName~routingControlArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControlName=field_map_exnjson__"RoutingControlName"Zz__stringMin1Max64PatternS.of_jsoninletroutingControlArn=field_map_exnjson__"RoutingControlArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake~routingControlName~routingControlArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the routing control that you're updating."]moduleUpdateControlPanelResponse=structtypenonrect={controlPanel:ControlPanel.toption[@ocaml.doc"The control panel to update."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlPanel=fun()->{controlPanel}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ControlPanel",(Option.mapx.controlPanel~f:ControlPanel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanel=(Option.map~f:ControlPanel.of_xml)(Xml.childxml_arg0"ControlPanel")inmake?controlPanel()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanel=field_mapjson__"ControlPanel"ControlPanel.of_jsoninmake?controlPanel()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a control panel. The only update you can make to a control panel is to change the name of the control panel."]moduleUpdateControlPanelRequest=structtypenonrect={controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];controlPanelName:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the control panel."]}letcontext_="UpdateControlPanelRequest"letmake~controlPanelArn=fun~controlPanelName->fun()->{controlPanelArn;controlPanelName}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.controlPanelArn)));("ControlPanelName",(Some(Zz__stringMin1Max64PatternS.to_valuex.controlPanelName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanelName=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelName")inletcontrolPanelArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake~controlPanelName~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanelName=field_map_exnjson__"ControlPanelName"Zz__stringMin1Max64PatternS.of_jsoninletcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake~controlPanelName~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the control panel that you're updating."]moduleUpdateClusterResponse=structtypenonrect={cluster:Cluster.toption[@ocaml.doc"The cluster that was updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?cluster=fun()->{cluster}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Cluster",(Option.mapx.cluster~f:Cluster.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcluster=(Option.map~f:Cluster.of_xml)(Xml.childxml_arg0"Cluster")inmake?cluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcluster=field_mapjson__"Cluster"Cluster.of_jsoninmake?cluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an existing cluster. You can only update the network type of a cluster."]moduleUpdateClusterRequest=structtypenonrect={clusterArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."];networkType:NetworkType.t[@ocaml.doc"The network type of the cluster. NetworkType can be one of the following: IPV4, DUALSTACK."]}letcontext_="UpdateClusterRequest"letmake~clusterArn=fun~networkType->fun()->{clusterArn;networkType}letto_valuex=structure_to_value[("ClusterArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.clusterArn)));("NetworkType",(Some(NetworkType.to_valuex.networkType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=NetworkType.of_xml(Xml.child_exn~context:context_xml_arg0"NetworkType")inletclusterArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterArn")inmake~networkType~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_map_exnjson__"NetworkType"NetworkType.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninmake~networkType~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the cluster that you're updating."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes a tag from a resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that's tagged."];tagKeys:Zz__listOf__string.t[@ocaml.doc"Keys for the tags to be removed."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(Zz__string.to_valuex.resourceArn)));("TagKeys",(Some(Zz__listOf__string.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=Zz__listOf__string.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"Zz__listOf__string.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes a tag from a resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a tag to a resource."]moduleTagResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that's tagged."];tags:Zz__mapOf__stringMin0Max256PatternS.t[@ocaml.doc"The tags associated with the resource."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(Zz__string.to_valuex.resourceArn)));("Tags",(Some(Zz__mapOf__stringMin0Max256PatternS.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=Zz__mapOf__stringMin0Max256PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"Zz__mapOf__stringMin0Max256PatternS.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Request of adding tag to the resource"]moduleListTagsForResourceResponse=structtypenonrect={tags:Zz__mapOf__stringMin0Max256PatternS.toption[@ocaml.doc"The tags associated with the resource."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f:Zz__mapOf__stringMin0Max256PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__stringMin0Max256PatternS.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__stringMin0Max256PatternS.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags for a resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that's tagged."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(Zz__string.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags for a resource."]moduleListSafetyRulesResponse=structtypenonrect={nextToken:Zz__stringMin1Max8096PatternS.toption[@ocaml.doc"The token that identifies which batch of results you want to see."];safetyRules:Zz__listOfRule.toption[@ocaml.doc"The list of safety rules in a control panel."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?safetyRules->fun()->{nextToken;safetyRules}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:Zz__stringMin1Max8096PatternS.to_value));("SafetyRules",(Option.mapx.safetyRules~f:Zz__listOfRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsafetyRules=(Option.map~f:Zz__listOfRule.of_xml)(Xml.childxml_arg0"SafetyRules")inletnextToken=(Option.map~f:Zz__stringMin1Max8096PatternS.of_xml)(Xml.childxml_arg0"NextToken")inmake?safetyRules?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsafetyRules=field_mapjson__"SafetyRules"Zz__listOfRule.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__stringMin1Max8096PatternS.of_jsoninmake?safetyRules?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel."]moduleListSafetyRulesRequest=structtypenonrect={controlPanelArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];maxResults:MaxResults.toption[@ocaml.doc"The number of objects that you want to return with this call."];nextToken:Zz__string.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}letcontext_="ListSafetyRulesRequest"letmake?maxResults=fun?nextToken->fun~controlPanelArn->fun()->{maxResults;nextToken;controlPanelArn}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__string.to_valuex.controlPanelArn)));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletcontrolPanelArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake?nextToken?maxResults~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__string.of_jsoninmake?nextToken?maxResults~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel."]moduleListRoutingControlsResponse=structtypenonrect={nextToken:Zz__stringMin1Max8096PatternS.toption[@ocaml.doc"The token that identifies which batch of results you want to see."];routingControls:Zz__listOfRoutingControl.toption[@ocaml.doc"An array of routing controls."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?routingControls->fun()->{nextToken;routingControls}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:Zz__stringMin1Max8096PatternS.to_value));("RoutingControls",(Option.mapx.routingControls~f:Zz__listOfRoutingControl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControls=(Option.map~f:Zz__listOfRoutingControl.of_xml)(Xml.childxml_arg0"RoutingControls")inletnextToken=(Option.map~f:Zz__stringMin1Max8096PatternS.of_xml)(Xml.childxml_arg0"NextToken")inmake?routingControls?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControls=field_mapjson__"RoutingControls"Zz__listOfRoutingControl.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__stringMin1Max8096PatternS.of_jsoninmake?routingControls?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing."]moduleListRoutingControlsRequest=structtypenonrect={controlPanelArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."];maxResults:MaxResults.toption[@ocaml.doc"The number of objects that you want to return with this call."];nextToken:Zz__string.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}letcontext_="ListRoutingControlsRequest"letmake?maxResults=fun?nextToken->fun~controlPanelArn->fun()->{maxResults;nextToken;controlPanelArn}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__string.to_valuex.controlPanelArn)));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletcontrolPanelArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake?nextToken?maxResults~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__string.of_jsoninmake?nextToken?maxResults~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing."]moduleListControlPanelsResponse=structtypenonrect={controlPanels:Zz__listOfControlPanel.toption[@ocaml.doc"The result of a successful ListControlPanel request."];nextToken:Zz__stringMin1Max8096PatternS.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlPanels=fun?nextToken->fun()->{controlPanels;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ControlPanels",(Option.mapx.controlPanels~f:Zz__listOfControlPanel.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__stringMin1Max8096PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__stringMin1Max8096PatternS.of_xml)(Xml.childxml_arg0"NextToken")inletcontrolPanels=(Option.map~f:Zz__listOfControlPanel.of_xml)(Xml.childxml_arg0"ControlPanels")inmake?nextToken?controlPanels()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__stringMin1Max8096PatternS.of_jsoninletcontrolPanels=field_mapjson__"ControlPanels"Zz__listOfControlPanel.of_jsoninmake?nextToken?controlPanels()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of control panels in an account or in a cluster."]moduleListControlPanelsRequest=structtypenonrect={clusterArn:Zz__string.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a cluster."];maxResults:MaxResults.toption[@ocaml.doc"The number of objects that you want to return with this call."];nextToken:Zz__string.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}letmake?clusterArn=fun?maxResults->fun?nextToken->fun()->{clusterArn;maxResults;nextToken}letto_valuex=structure_to_value[("ClusterArn",(Option.mapx.clusterArn~f:Zz__string.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletclusterArn=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"ClusterArn")inmake?nextToken?maxResults?clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletclusterArn=field_mapjson__"ClusterArn"Zz__string.of_jsoninmake?nextToken?maxResults?clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of control panels in an account or in a cluster."]moduleListClustersResponse=structtypenonrect={clusters:Zz__listOfCluster.toption[@ocaml.doc"An array of the clusters in an account."];nextToken:Zz__stringMin1Max8096PatternS.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?clusters=fun?nextToken->fun()->{clusters;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Clusters",(Option.mapx.clusters~f:Zz__listOfCluster.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__stringMin1Max8096PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__stringMin1Max8096PatternS.of_xml)(Xml.childxml_arg0"NextToken")inletclusters=(Option.map~f:Zz__listOfCluster.of_xml)(Xml.childxml_arg0"Clusters")inmake?nextToken?clusters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__stringMin1Max8096PatternS.of_jsoninletclusters=field_mapjson__"Clusters"Zz__listOfCluster.of_jsoninmake?nextToken?clusters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of all the clusters in an account."]moduleListClustersRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The number of objects that you want to return with this call."];nextToken:Zz__string.toption[@ocaml.doc"The token that identifies which batch of results you want to see."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__string.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of all the clusters in an account."]moduleListAssociatedRoute53HealthChecksResponse=structtypenonrect={healthCheckIds:Zz__listOf__stringMax36PatternS.toption[@ocaml.doc"Identifiers for the health checks."];nextToken:Zz__stringMin1Max8096PatternS.toption[@ocaml.doc"Next token for listing health checks."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?healthCheckIds=fun?nextToken->fun()->{healthCheckIds;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("HealthCheckIds",(Option.mapx.healthCheckIds~f:Zz__listOf__stringMax36PatternS.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__stringMin1Max8096PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Zz__stringMin1Max8096PatternS.of_xml)(Xml.childxml_arg0"NextToken")inlethealthCheckIds=(Option.map~f:Zz__listOf__stringMax36PatternS.of_xml)(Xml.childxml_arg0"HealthCheckIds")inmake?nextToken?healthCheckIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"Zz__stringMin1Max8096PatternS.of_jsoninlethealthCheckIds=field_mapjson__"HealthCheckIds"Zz__listOf__stringMax36PatternS.of_jsoninmake?nextToken?healthCheckIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of all Amazon Route 53 health checks associated with a specific routing control."]moduleListAssociatedRoute53HealthChecksRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The number of objects that you want to return with this call."];nextToken:Zz__string.toption[@ocaml.doc"The token that identifies which batch of results you want to see."];routingControlArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the routing control."]}letcontext_="ListAssociatedRoute53HealthChecksRequest"letmake?maxResults=fun?nextToken->fun~routingControlArn->fun()->{maxResults;nextToken;routingControlArn}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:Zz__string.to_value));("RoutingControlArn",(Some(Zz__string.to_valuex.routingControlArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControlArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlArn")inletnextToken=(Option.map~f:Zz__string.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake~routingControlArn?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControlArn=field_map_exnjson__"RoutingControlArn"Zz__string.of_jsoninletnextToken=field_mapjson__"NextToken"Zz__string.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake~routingControlArn?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns an array of all Amazon Route 53 health checks associated with a specific routing control."]moduleGetResourcePolicyResponse=structtypenonrect={policy:Zz__policy.toption[@ocaml.doc"The resource policy."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`Unknown_operation_errorof(string*stringoption)]letmake?policy=fun()->{policy}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Policy",(Option.mapx.policy~f:Zz__policy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=(Option.map~f:Zz__policy.of_xml)(Xml.childxml_arg0"Policy")inmake?policy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_mapjson__"Policy"Zz__policy.of_jsoninmake?policy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get information about the resource policy for a cluster."]moduleGetResourcePolicyRequest=structtypenonrect={resourceArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."]}letcontext_="GetResourcePolicyRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(Zz__string.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"Zz__string.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get information about the resource policy for a cluster."]moduleDescribeSafetyRuleResponse=structtypenonrect={assertionRule:AssertionRule.toption[@ocaml.doc"The assertion rule in the response."];gatingRule:GatingRule.toption[@ocaml.doc"The gating rule in the response."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assertionRule=fun?gatingRule->fun()->{assertionRule;gatingRule}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AssertionRule",(Option.mapx.assertionRule~f:AssertionRule.to_value));("GatingRule",(Option.mapx.gatingRule~f:GatingRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgatingRule=(Option.map~f:GatingRule.of_xml)(Xml.childxml_arg0"GatingRule")inletassertionRule=(Option.map~f:AssertionRule.of_xml)(Xml.childxml_arg0"AssertionRule")inmake?gatingRule?assertionRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgatingRule=field_mapjson__"GatingRule"GatingRule.of_jsoninletassertionRule=field_mapjson__"AssertionRule"AssertionRule.of_jsoninmake?gatingRule?assertionRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a safety rule."]moduleDescribeSafetyRuleRequest=structtypenonrect={safetyRuleArn:Zz__string.t[@ocaml.doc"The ARN of the safety rule."]}letcontext_="DescribeSafetyRuleRequest"letmake~safetyRuleArn=fun()->{safetyRuleArn}letto_valuex=structure_to_value[("SafetyRuleArn",(Some(Zz__string.to_valuex.safetyRuleArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsafetyRuleArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"SafetyRuleArn")inmake~safetyRuleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsafetyRuleArn=field_map_exnjson__"SafetyRuleArn"Zz__string.of_jsoninmake~safetyRuleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a safety rule."]moduleDescribeRoutingControlResponse=structtypenonrect={routingControl:RoutingControl.toption[@ocaml.doc"Information about the routing control."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?routingControl=fun()->{routingControl}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RoutingControl",(Option.mapx.routingControl~f:RoutingControl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControl=(Option.map~f:RoutingControl.of_xml)(Xml.childxml_arg0"RoutingControl")inmake?routingControl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControl=field_mapjson__"RoutingControl"RoutingControl.of_jsoninmake?routingControl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller."]moduleDescribeRoutingControlRequest=structtypenonrect={routingControlArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the routing control."]}letcontext_="DescribeRoutingControlRequest"letmake~routingControlArn=fun()->{routingControlArn}letto_valuex=structure_to_value[("RoutingControlArn",(Some(Zz__string.to_valuex.routingControlArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControlArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlArn")inmake~routingControlArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControlArn=field_map_exnjson__"RoutingControlArn"Zz__string.of_jsoninmake~routingControlArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller."]moduleDescribeControlPanelResponse=structtypenonrect={controlPanel:ControlPanel.toption[@ocaml.doc"Information about the control panel."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlPanel=fun()->{controlPanel}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ControlPanel",(Option.mapx.controlPanel~f:ControlPanel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanel=(Option.map~f:ControlPanel.of_xml)(Xml.childxml_arg0"ControlPanel")inmake?controlPanel()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanel=field_mapjson__"ControlPanel"ControlPanel.of_jsoninmake?controlPanel()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Displays details about a control panel."]moduleDescribeControlPanelRequest=structtypenonrect={controlPanelArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."]}letcontext_="DescribeControlPanelRequest"letmake~controlPanelArn=fun()->{controlPanelArn}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__string.to_valuex.controlPanelArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanelArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__string.of_jsoninmake~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Displays details about a control panel."]moduleDescribeClusterResponse=structtypenonrect={cluster:Cluster.toption[@ocaml.doc"The cluster for the DescribeCluster request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?cluster=fun()->{cluster}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Cluster",(Option.mapx.cluster~f:Cluster.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcluster=(Option.map~f:Cluster.of_xml)(Xml.childxml_arg0"Cluster")inmake?cluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcluster=field_mapjson__"Cluster"Cluster.of_jsoninmake?cluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN)."]moduleDescribeClusterRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster."]}letcontext_="DescribeClusterRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("ClusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN)."]moduleDeleteSafetyRuleResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a safety rule./>"]moduleDeleteSafetyRuleRequest=structtypenonrect={safetyRuleArn:Zz__string.t[@ocaml.doc"The ARN of the safety rule."]}letcontext_="DeleteSafetyRuleRequest"letmake~safetyRuleArn=fun()->{safetyRuleArn}letto_valuex=structure_to_value[("SafetyRuleArn",(Some(Zz__string.to_valuex.safetyRuleArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsafetyRuleArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"SafetyRuleArn")inmake~safetyRuleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsafetyRuleArn=field_map_exnjson__"SafetyRuleArn"Zz__string.of_jsoninmake~safetyRuleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a safety rule./>"]moduleDeleteRoutingControlResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a routing control."]moduleDeleteRoutingControlRequest=structtypenonrect={routingControlArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the routing control that you're deleting."]}letcontext_="DeleteRoutingControlRequest"letmake~routingControlArn=fun()->{routingControlArn}letto_valuex=structure_to_value[("RoutingControlArn",(Some(Zz__string.to_valuex.routingControlArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControlArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlArn")inmake~routingControlArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControlArn=field_map_exnjson__"RoutingControlArn"Zz__string.of_jsoninmake~routingControlArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a routing control."]moduleDeleteControlPanelResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a control panel."]moduleDeleteControlPanelRequest=structtypenonrect={controlPanelArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel."]}letcontext_="DeleteControlPanelRequest"letmake~controlPanelArn=fun()->{controlPanelArn}letto_valuex=structure_to_value[("ControlPanelArn",(Some(Zz__string.to_valuex.controlPanelArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanelArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelArn")inmake~controlPanelArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanelArn=field_map_exnjson__"ControlPanelArn"Zz__string.of_jsoninmake~controlPanelArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a control panel."]moduleDeleteClusterResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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"Delete a cluster."]moduleDeleteClusterRequest=structtypenonrect={clusterArn:Zz__string.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster that you're deleting."]}letcontext_="DeleteClusterRequest"letmake~clusterArn=fun()->{clusterArn}letto_valuex=structure_to_value[("ClusterArn",(Some(Zz__string.to_valuex.clusterArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclusterArn=Zz__string.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterArn")inmake~clusterArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclusterArn=field_map_exnjson__"ClusterArn"Zz__string.of_jsoninmake~clusterArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete a cluster."]moduleCreateSafetyRuleResponse=structtypenonrect={assertionRule:AssertionRule.toption[@ocaml.doc"The assertion rule created."];gatingRule:GatingRule.toption[@ocaml.doc"The gating rule created."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assertionRule=fun?gatingRule->fun()->{assertionRule;gatingRule}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AssertionRule",(Option.mapx.assertionRule~f:AssertionRule.to_value));("GatingRule",(Option.mapx.gatingRule~f:GatingRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgatingRule=(Option.map~f:GatingRule.of_xml)(Xml.childxml_arg0"GatingRule")inletassertionRule=(Option.map~f:AssertionRule.of_xml)(Xml.childxml_arg0"AssertionRule")inmake?gatingRule?assertionRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgatingRule=field_mapjson__"GatingRule"GatingRule.of_jsoninletassertionRule=field_mapjson__"AssertionRule"AssertionRule.of_jsoninmake?gatingRule?assertionRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes. There are two types of safety rules: assertion rules and gating rules. Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario. Gating rule: A gating rule lets you configure a gating routing control as an overall \"on/off\" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls. For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide."]moduleCreateSafetyRuleRequest=structtypenonrect={assertionRule:NewAssertionRule.toption[@ocaml.doc"The assertion rule requested."];clientToken:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request."];gatingRule:NewGatingRule.toption[@ocaml.doc"The gating rule requested."];tags:Zz__mapOf__stringMin0Max256PatternS.toption[@ocaml.doc"The tags associated with the safety rule."]}letmake?assertionRule=fun?clientToken->fun?gatingRule->fun?tags->fun()->{assertionRule;clientToken;gatingRule;tags}letto_valuex=structure_to_value[("AssertionRule",(Option.mapx.assertionRule~f:NewAssertionRule.to_value));("ClientToken",(Option.mapx.clientToken~f:Zz__stringMin1Max64PatternS.to_value));("GatingRule",(Option.mapx.gatingRule~f:NewGatingRule.to_value));("Tags",(Option.mapx.tags~f:Zz__mapOf__stringMin0Max256PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__stringMin0Max256PatternS.of_xml)(Xml.childxml_arg0"Tags")inletgatingRule=(Option.map~f:NewGatingRule.of_xml)(Xml.childxml_arg0"GatingRule")inletclientToken=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"ClientToken")inletassertionRule=(Option.map~f:NewAssertionRule.of_xml)(Xml.childxml_arg0"AssertionRule")inmake?tags?gatingRule?clientToken?assertionRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__stringMin0Max256PatternS.of_jsoninletgatingRule=field_mapjson__"GatingRule"NewGatingRule.of_jsoninletclientToken=field_mapjson__"ClientToken"Zz__stringMin1Max64PatternS.of_jsoninletassertionRule=field_mapjson__"AssertionRule"NewAssertionRule.of_jsoninmake?tags?gatingRule?clientToken?assertionRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request body that you include when you create a safety rule."]moduleCreateRoutingControlResponse=structtypenonrect={routingControl:RoutingControl.toption[@ocaml.doc"The routing control that is created."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?routingControl=fun()->{routingControl}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RoutingControl",(Option.mapx.routingControl~f:RoutingControl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControl=(Option.map~f:RoutingControl.of_xml)(Xml.childxml_arg0"RoutingControl")inmake?routingControl()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControl=field_mapjson__"RoutingControl"RoutingControl.of_jsoninmake?routingControl()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller."]moduleCreateRoutingControlRequest=structtypenonrect={clientToken:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request."];clusterArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster that includes the routing control."];controlPanelArn:Zz__stringMin1Max256PatternAZaZ09.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the control panel that includes the routing control."];routingControlName:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the routing control."]}letcontext_="CreateRoutingControlRequest"letmake?clientToken=fun?controlPanelArn->fun~clusterArn->fun~routingControlName->fun()->{clientToken;controlPanelArn;clusterArn;routingControlName}letto_valuex=structure_to_value[("ClientToken",(Option.mapx.clientToken~f:Zz__stringMin1Max64PatternS.to_value));("ClusterArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.clusterArn)));("ControlPanelArn",(Option.mapx.controlPanelArn~f:Zz__stringMin1Max256PatternAZaZ09.to_value));("RoutingControlName",(Some(Zz__stringMin1Max64PatternS.to_valuex.routingControlName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutingControlName=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"RoutingControlName")inletcontrolPanelArn=(Option.map~f:Zz__stringMin1Max256PatternAZaZ09.of_xml)(Xml.childxml_arg0"ControlPanelArn")inletclusterArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterArn")inletclientToken=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"ClientToken")inmake~routingControlName?controlPanelArn~clusterArn?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutingControlName=field_map_exnjson__"RoutingControlName"Zz__stringMin1Max64PatternS.of_jsoninletcontrolPanelArn=field_mapjson__"ControlPanelArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletclientToken=field_mapjson__"ClientToken"Zz__stringMin1Max64PatternS.of_jsoninmake~routingControlName?controlPanelArn~clusterArn?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the routing control that you're creating."]moduleCreateControlPanelResponse=structtypenonrect={controlPanel:ControlPanel.toption[@ocaml.doc"Information about a control panel."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlPanel=fun()->{controlPanel}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ControlPanel",(Option.mapx.controlPanel~f:ControlPanel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolPanel=(Option.map~f:ControlPanel.of_xml)(Xml.childxml_arg0"ControlPanel")inmake?controlPanel()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolPanel=field_mapjson__"ControlPanel"ControlPanel.of_jsoninmake?controlPanel()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region."]moduleCreateControlPanelRequest=structtypenonrect={clientToken:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request."];clusterArn:Zz__stringMin1Max256PatternAZaZ09.t[@ocaml.doc"The Amazon Resource Name (ARN) of the cluster for the control panel."];controlPanelName:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the control panel."];tags:Zz__mapOf__stringMin0Max256PatternS.toption[@ocaml.doc"The tags associated with the control panel."]}letcontext_="CreateControlPanelRequest"letmake?clientToken=fun?tags->fun~clusterArn->fun~controlPanelName->fun()->{clientToken;tags;clusterArn;controlPanelName}letto_valuex=structure_to_value[("ClientToken",(Option.mapx.clientToken~f:Zz__stringMin1Max64PatternS.to_value));("ClusterArn",(Some(Zz__stringMin1Max256PatternAZaZ09.to_valuex.clusterArn)));("ControlPanelName",(Some(Zz__stringMin1Max64PatternS.to_valuex.controlPanelName)));("Tags",(Option.mapx.tags~f:Zz__mapOf__stringMin0Max256PatternS.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:Zz__mapOf__stringMin0Max256PatternS.of_xml)(Xml.childxml_arg0"Tags")inletcontrolPanelName=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"ControlPanelName")inletclusterArn=Zz__stringMin1Max256PatternAZaZ09.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterArn")inletclientToken=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"ClientToken")inmake?tags~controlPanelName~clusterArn?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"Zz__mapOf__stringMin0Max256PatternS.of_jsoninletcontrolPanelName=field_map_exnjson__"ControlPanelName"Zz__stringMin1Max64PatternS.of_jsoninletclusterArn=field_map_exnjson__"ClusterArn"Zz__stringMin1Max256PatternAZaZ09.of_jsoninletclientToken=field_mapjson__"ClientToken"Zz__stringMin1Max64PatternS.of_jsoninmake?tags~controlPanelName~clusterArn?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the control panel that you're creating."]moduleCreateClusterResponse=structtypenonrect={cluster:Cluster.toption[@ocaml.doc"The cluster that was created."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?cluster=fun()->{cluster}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Cluster",(Option.mapx.cluster~f:Cluster.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcluster=(Option.map~f:Cluster.of_xml)(Xml.childxml_arg0"Cluster")inmake?cluster()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcluster=field_mapjson__"Cluster"Cluster.of_jsoninmake?cluster()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane."]moduleCreateClusterRequest=structtypenonrect={clientToken:Zz__stringMin1Max64PatternS.toption[@ocaml.doc"A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request."];clusterName:Zz__stringMin1Max64PatternS.t[@ocaml.doc"The name of the cluster."];tags:Zz__mapOf__stringMin0Max256PatternS.toption[@ocaml.doc"The tags associated with the cluster."];networkType:NetworkType.toption[@ocaml.doc"The network type of the cluster. NetworkType can be one of the following: IPV4, DUALSTACK."]}letcontext_="CreateClusterRequest"letmake?clientToken=fun?tags->fun?networkType->fun~clusterName->fun()->{clientToken;tags;networkType;clusterName}letto_valuex=structure_to_value[("ClientToken",(Option.mapx.clientToken~f:Zz__stringMin1Max64PatternS.to_value));("ClusterName",(Some(Zz__stringMin1Max64PatternS.to_valuex.clusterName)));("Tags",(Option.mapx.tags~f:Zz__mapOf__stringMin0Max256PatternS.to_value));("NetworkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"NetworkType")inlettags=(Option.map~f:Zz__mapOf__stringMin0Max256PatternS.of_xml)(Xml.childxml_arg0"Tags")inletclusterName=Zz__stringMin1Max64PatternS.of_xml(Xml.child_exn~context:context_xml_arg0"ClusterName")inletclientToken=(Option.map~f:Zz__stringMin1Max64PatternS.of_xml)(Xml.childxml_arg0"ClientToken")inmake?networkType?tags~clusterName?clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninlettags=field_mapjson__"Tags"Zz__mapOf__stringMin0Max256PatternS.of_jsoninletclusterName=field_map_exnjson__"ClusterName"Zz__stringMin1Max64PatternS.of_jsoninletclientToken=field_mapjson__"ClientToken"Zz__stringMin1Max64PatternS.of_jsoninmake?networkType?tags~clusterName?clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a cluster."]