12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188(* 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.route53profilesletapiVersion="2018-05-10"letendpointPrefix="route53profiles"letserviceFullName="Route 53 Profiles"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[]))])moduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Arn"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^(?!^[0-9]+$)([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:"Name"jletto_json=simple_to_jsonto_valueendmoduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceId"jletto_json=simple_to_jsonto_valueendmoduleShareStatus=structtypenonrect=|NOT_SHARED|SHARED_WITH_ME|SHARED_BY_ME|Non_static_idofstringletmakei=iletto_string=function|NOT_SHARED->"NOT_SHARED"|SHARED_WITH_ME->"SHARED_WITH_ME"|SHARED_BY_ME->"SHARED_BY_ME"|Non_static_ids->sletof_string=function|"NOT_SHARED"->NOT_SHARED|"SHARED_WITH_ME"->SHARED_WITH_ME|"SHARED_BY_ME"->SHARED_BY_ME|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 ShareStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ShareStatus"j)letto_json=simple_to_jsonto_valueendmoduleAccountId=structtypenonrect=stringletcontext_="AccountId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:32)>>=(fun()->check_string_mini~min: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:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleProfileStatus=structtypenonrect=|COMPLETE|DELETING|UPDATING|CREATING|DELETED|FAILED|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|DELETING->"DELETING"|UPDATING->"UPDATING"|CREATING->"CREATING"|DELETED->"DELETED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"DELETING"->DELETING|"UPDATING"->UPDATING|"CREATING"->CREATING|"DELETED"->DELETED|"FAILED"->FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ProfileStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProfileStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceProperties=structtypenonrect=stringletcontext_="ResourceProperties"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:"ResourceProperties"jletto_json=simple_to_jsonto_valueendmoduleRfc3339Timestamp=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_valueendmoduleString_=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_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmoduleProfileSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Profile."];id:ResourceId.toption[@ocaml.doc"ID of the Profile."];name:Name.toption[@ocaml.doc"Name of the Profile."];shareStatus:ShareStatus.toption[@ocaml.doc"Share status of the Profile."]}letmake?arn=fun?id->fun?name->fun?shareStatus->fun()->{arn;id;name;shareStatus}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:Arn.to_value));("Id",(Option.mapx.id~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inmake?shareStatus?name?id?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninmake?shareStatus?name?id?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary information about a Route 53 Profile."]moduleProfileResourceAssociation=structtypenonrect={creationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile resource association was created, in Unix time format and Coordinated Universal Time (UTC)."];id:ResourceId.toption[@ocaml.doc"ID of the Profile resource association."];modificationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile resource association was modified, in Unix time format and Coordinated Universal Time (UTC)."];name:Name.toption[@ocaml.doc"Name of the Profile resource association."];ownerId:AccountId.toption[@ocaml.doc"Amazon Web Services account ID of the Profile resource association owner."];profileId:ResourceId.toption[@ocaml.doc"Profile ID of the Profile that the resources are associated with."];resourceArn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource association."];resourceProperties:ResourceProperties.toption[@ocaml.doc"If the DNS resource is a DNS Firewall rule group, this indicates the priority."];resourceType:String_.toption[@ocaml.doc"Resource type, such as a private hosted zone, or DNS Firewall rule group."];status:ProfileStatus.toption[@ocaml.doc"Status of the Profile resource association."];statusMessage:String_.toption[@ocaml.doc"Additional information about the Profile resource association."]}letmake?creationTime=fun?id->fun?modificationTime->fun?name->fun?ownerId->fun?profileId->fun?resourceArn->fun?resourceProperties->fun?resourceType->fun?status->fun?statusMessage->fun()->{creationTime;id;modificationTime;name;ownerId;profileId;resourceArn;resourceProperties;resourceType;status;statusMessage}letto_valuex=structure_to_value[("CreationTime",(Option.mapx.creationTime~f:Rfc3339Timestamp.to_value));("Id",(Option.mapx.id~f:ResourceId.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339Timestamp.to_value));("Name",(Option.mapx.name~f:Name.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("ProfileId",(Option.mapx.profileId~f:ResourceId.to_value));("ResourceArn",(Option.mapx.resourceArn~f:Arn.to_value));("ResourceProperties",(Option.mapx.resourceProperties~f:ResourceProperties.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value));("Status",(Option.mapx.status~f:ProfileStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:ProfileStatus.of_xml)(Xml.childxml_arg0"Status")inletresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletresourceProperties=(Option.map~f:ResourceProperties.of_xml)(Xml.childxml_arg0"ResourceProperties")inletresourceArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"ResourceArn")inletprofileId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ProfileId")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletmodificationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"ModificationTime")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inletcreationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inmake?statusMessage?status?resourceType?resourceProperties?resourceArn?profileId?ownerId?name?modificationTime?id?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"String_.of_jsoninletstatus=field_mapjson__"Status"ProfileStatus.of_jsoninletresourceType=field_mapjson__"ResourceType"String_.of_jsoninletresourceProperties=field_mapjson__"ResourceProperties"ResourceProperties.of_jsoninletresourceArn=field_mapjson__"ResourceArn"Arn.of_jsoninletprofileId=field_mapjson__"ProfileId"ResourceId.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339Timestamp.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339Timestamp.of_jsoninmake?statusMessage?status?resourceType?resourceProperties?resourceArn?profileId?ownerId?name?modificationTime?id?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The association between a Route 53 Profile and resources."]moduleProfileAssociation=structtypenonrect={creationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile association was created, in Unix time format and Coordinated Universal Time (UTC)."];id:ResourceId.toption[@ocaml.doc"ID of the Profile association."];modificationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile association was modified, in Unix time format and Coordinated Universal Time (UTC)."];name:Name.toption[@ocaml.doc"Name of the Profile association."];ownerId:AccountId.toption[@ocaml.doc"Amazon Web Services account ID of the Profile association owner."];profileId:ResourceId.toption[@ocaml.doc"ID of the Profile."];resourceId:ResourceId.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the VPC."];status:ProfileStatus.toption[@ocaml.doc"Status of the Profile association."];statusMessage:String_.toption[@ocaml.doc"Additional information about the Profile association."]}letmake?creationTime=fun?id->fun?modificationTime->fun?name->fun?ownerId->fun?profileId->fun?resourceId->fun?status->fun?statusMessage->fun()->{creationTime;id;modificationTime;name;ownerId;profileId;resourceId;status;statusMessage}letto_valuex=structure_to_value[("CreationTime",(Option.mapx.creationTime~f:Rfc3339Timestamp.to_value));("Id",(Option.mapx.id~f:ResourceId.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339Timestamp.to_value));("Name",(Option.mapx.name~f:Name.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("ProfileId",(Option.mapx.profileId~f:ResourceId.to_value));("ResourceId",(Option.mapx.resourceId~f:ResourceId.to_value));("Status",(Option.mapx.status~f:ProfileStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:ProfileStatus.of_xml)(Xml.childxml_arg0"Status")inletresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResourceId")inletprofileId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ProfileId")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletmodificationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"ModificationTime")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inletcreationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inmake?statusMessage?status?resourceId?profileId?ownerId?name?modificationTime?id?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"String_.of_jsoninletstatus=field_mapjson__"Status"ProfileStatus.of_jsoninletresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletprofileId=field_mapjson__"ProfileId"ResourceId.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339Timestamp.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339Timestamp.of_jsoninmake?statusMessage?status?resourceId?profileId?ownerId?name?modificationTime?id?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An association between a Route 53 Profile and a VPC."]moduleCreatorRequestId=structtypenonrect=stringletcontext_="CreatorRequestId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CreatorRequestId"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"Key associated with the Tag."];value:TagValue.t[@ocaml.doc"Value for the Tag."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Tag for the Profile."]moduleAccessDeniedException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The current account doesn't have the IAM permissions required to perform the specified operation."]moduleConflictException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request you submitted conflicts with an existing request."]moduleInternalServiceErrorException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An internal server error occured. Retry your request."]moduleInvalidParameterException=structtypenonrect={fieldName:String_.toption[@ocaml.doc"The parameter field name for the invalid parameter exception."];message:ExceptionMessage.toption}letmake?fieldName=fun?message->fun()->{fieldName;message}letto_valuex=structure_to_value[("FieldName",(Option.mapx.fieldName~f:String_.to_value));("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inletfieldName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FieldName")inmake?message?fieldName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninletfieldName=field_mapjson__"FieldName"String_.of_jsoninmake?message?fieldName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more parameters in this request are not valid."]moduleLimitExceededException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"The resource type that caused the limits to be exceeded."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request caused one or more limits to be exceeded."]moduleResourceNotFoundException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"The resource type that caused the resource not found exception."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource you are associating is not found."]moduleThrottlingException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was throttled. Try again in a few minutes."]moduleValidationException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have provided an invalid command."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagMap=structtypenonrect=(TagKey.t*TagValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((TagKey.of_stringchopped),(TagValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(TagKey.to_valuex)|>(funx->(TagValue.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:TagKey.of_string~of_json:TagValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidNextTokenException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The NextToken you provided isn;t valid."]moduleNextToken=structtypenonrect=stringletcontext_="NextToken"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:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleProfileSummaryList=structtypenonrect=ProfileSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProfileSummary.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:ProfileSummary.of_xml)letof_jsonj=list_of_json~kind:"ProfileSummaryList"~of_json:ProfileSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProfileResourceAssociations=structtypenonrect=ProfileResourceAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProfileResourceAssociation.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:ProfileResourceAssociation.of_xml)letof_jsonj=list_of_json~kind:"ProfileResourceAssociations"~of_json:ProfileResourceAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProfileAssociations=structtypenonrect=ProfileAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProfileAssociation.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:ProfileAssociation.of_xml)letof_jsonj=list_of_json~kind:"ProfileAssociations"~of_json:ProfileAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProfile=structtypenonrect={arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Profile."];clientToken:CreatorRequestId.toption[@ocaml.doc"The ClientToken value that was assigned when the Profile was created."];creationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile was created, in Unix time format and Coordinated Universal Time (UTC)."];id:ResourceId.toption[@ocaml.doc"ID of the Profile."];modificationTime:Rfc3339Timestamp.toption[@ocaml.doc"The date and time that the Profile was modified, in Unix time format and Coordinated Universal Time (UTC)."];name:Name.toption[@ocaml.doc"Name of the Profile."];ownerId:AccountId.toption[@ocaml.doc"Amazon Web Services account ID of the Profile owner."];shareStatus:ShareStatus.toption[@ocaml.doc"Sharing status for the Profile."];status:ProfileStatus.toption[@ocaml.doc"The status for the Profile."];statusMessage:String_.toption[@ocaml.doc"Status message that includes additiona information about the Profile."]}letmake?arn=fun?clientToken->fun?creationTime->fun?id->fun?modificationTime->fun?name->fun?ownerId->fun?shareStatus->fun?status->fun?statusMessage->fun()->{arn;clientToken;creationTime;id;modificationTime;name;ownerId;shareStatus;status;statusMessage}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:Arn.to_value));("ClientToken",(Option.mapx.clientToken~f:CreatorRequestId.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339Timestamp.to_value));("Id",(Option.mapx.id~f:ResourceId.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339Timestamp.to_value));("Name",(Option.mapx.name~f:Name.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value));("Status",(Option.mapx.status~f:ProfileStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:ProfileStatus.of_xml)(Xml.childxml_arg0"Status")inletshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletmodificationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"ModificationTime")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inletcreationTime=(Option.map~f:Rfc3339Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inletclientToken=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"ClientToken")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inmake?statusMessage?status?shareStatus?ownerId?name?modificationTime?id?creationTime?clientToken?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"String_.of_jsoninletstatus=field_mapjson__"Status"ProfileStatus.of_jsoninletshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339Timestamp.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339Timestamp.of_jsoninletclientToken=field_mapjson__"ClientToken"CreatorRequestId.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninmake?statusMessage?status?shareStatus?ownerId?name?modificationTime?id?creationTime?clientToken?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that includes settings for a Route 53 Profile."]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceExistsException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"The resource type that caused the resource exists exception."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource you are trying to associate, has already been associated."]moduleUpdateProfileResourceAssociationResponse=structtypenonrect={profileResourceAssociation:ProfileResourceAssociation.toption[@ocaml.doc"Information about the UpdateProfileResourceAssociation request, including a status message."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileResourceAssociation=fun()->{profileResourceAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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[("ProfileResourceAssociation",(Option.mapx.profileResourceAssociation~f:ProfileResourceAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociation=(Option.map~f:ProfileResourceAssociation.of_xml)(Xml.childxml_arg0"ProfileResourceAssociation")inmake?profileResourceAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociation=field_mapjson__"ProfileResourceAssociation"ProfileResourceAssociation.of_jsoninmake?profileResourceAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified Route 53 Profile resourse association."]moduleUpdateProfileResourceAssociationRequest=structtypenonrect={name:Name.toption[@ocaml.doc"Name of the resource association."];profileResourceAssociationId:ResourceId.t[@ocaml.doc"ID of the resource association."];resourceProperties:ResourceProperties.toption[@ocaml.doc"If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900."]}letcontext_="UpdateProfileResourceAssociationRequest"letmake?name=fun?resourceProperties->fun~profileResourceAssociationId->fun()->{name;resourceProperties;profileResourceAssociationId}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:Name.to_value));("ProfileResourceAssociationId",(Some(ResourceId.to_valuex.profileResourceAssociationId)));("ResourceProperties",(Option.mapx.resourceProperties~f:ResourceProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceProperties=(Option.map~f:ResourceProperties.of_xml)(Xml.childxml_arg0"ResourceProperties")inletprofileResourceAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileResourceAssociationId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inmake?resourceProperties~profileResourceAssociationId?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceProperties=field_mapjson__"ResourceProperties"ResourceProperties.of_jsoninletprofileResourceAssociationId=field_map_exnjson__"ProfileResourceAssociationId"ResourceId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninmake?resourceProperties~profileResourceAssociationId?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified Route 53 Profile resourse association."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.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)|"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)|"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))]|`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"Removes one or more tags from a specified resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to remove tags from."];tagKeys:TagKeyList.t[@ocaml.doc"The tags that you want to remove to the specified resource."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.to_valuex.resourceArn)));("tagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"tagKeys")inletresourceArn=Arn.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"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Arn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes one or more tags from a specified resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.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)|"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))]|`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"Adds one or more tags to a specified resource."]moduleTagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to add tags to."];tags:TagMap.t[@ocaml.doc"The tags that you want to add to the specified resource."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.to_valuex.resourceArn)));("Tags",(Some(TagMap.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagMap.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceArn=Arn.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"TagMap.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Arn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds one or more tags to a specified resource."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagMap.toption[@ocaml.doc"The tags that are associated with the resource that you specified in the ListTagsForResource request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.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)|"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))]|`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[("Tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagMap.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags that you associated with the specified resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to list the tags for."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Arn.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"Arn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags that you associated with the specified resource."]moduleListProfilesResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults resource associations match the specified criteria, you can submit another ListProfiles request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];profileSummaries:ProfileSummaryList.toption[@ocaml.doc"Summary information about the Profiles."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?profileSummaries->fun()->{nextToken;profileSummaries}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("ProfileSummaries",(Option.mapx.profileSummaries~f:ProfileSummaryList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileSummaries=(Option.map~f:ProfileSummaryList.of_xml)(Xml.childxml_arg0"ProfileSummaries")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?profileSummaries?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileSummaries=field_mapjson__"ProfileSummaries"ProfileSummaryList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?profileSummaries?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Route 53 Profiles associated with your Amazon Web Services account."]moduleListProfilesRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want to return for this request. If more objects are available, in the response, a NextToken value, which you can use in a subsequent call to get the next batch of objects, is provided. If you don't specify a value for MaxResults, up to 100 objects are returned."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, at most the number of objects specified by MaxResults is returned. If more objects are available for retrieval, a NextToken value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}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:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.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"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Route 53 Profiles associated with your Amazon Web Services account."]moduleListProfileResourceAssociationsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults resource associations match the specified criteria, you can submit another ListProfileResourceAssociations request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];profileResourceAssociations:ProfileResourceAssociations.toption[@ocaml.doc"Information about the profile resource association that you specified in a GetProfileResourceAssociation request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?profileResourceAssociations->fun()->{nextToken;profileResourceAssociations}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("ProfileResourceAssociations",(Option.mapx.profileResourceAssociations~f:ProfileResourceAssociations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociations=(Option.map~f:ProfileResourceAssociations.of_xml)(Xml.childxml_arg0"ProfileResourceAssociations")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?profileResourceAssociations?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociations=field_mapjson__"ProfileResourceAssociations"ProfileResourceAssociations.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?profileResourceAssociations?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the resource associations for the specified Route 53 Profile."]moduleListProfileResourceAssociationsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want to return for this request. If more objects are available, in the response, a NextToken value, which you can use in a subsequent call to get the next batch of objects, is provided. If you don't specify a value for MaxResults, up to 100 objects are returned."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, at most the number of objects specified by MaxResults is returned. If more objects are available for retrieval, a NextToken value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."];profileId:ResourceId.t[@ocaml.doc"The ID of the Profile."];resourceType:String_.toption[@ocaml.doc"ID of a resource if you want information on only one type."]}letcontext_="ListProfileResourceAssociationsRequest"letmake?maxResults=fun?nextToken->fun?resourceType->fun~profileId->fun()->{maxResults;nextToken;resourceType;profileId}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("ProfileId",(Some(ResourceId.to_valuex.profileId)));("resourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"resourceType")inletprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?resourceType~profileId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?resourceType~profileId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the resource associations for the specified Route 53 Profile."]moduleListProfileAssociationsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults profile associations match the specified criteria, you can submit another ListProfileAssociations request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];profileAssociations:ProfileAssociations.toption[@ocaml.doc"A complex type that containts settings information about the profile's VPC associations."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?profileAssociations->fun()->{nextToken;profileAssociations}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("ProfileAssociations",(Option.mapx.profileAssociations~f:ProfileAssociations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileAssociations=(Option.map~f:ProfileAssociations.of_xml)(Xml.childxml_arg0"ProfileAssociations")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?profileAssociations?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileAssociations=field_mapjson__"ProfileAssociations"ProfileAssociations.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?profileAssociations?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the VPCs that the specified Route 53 Profile is associated with."]moduleListProfileAssociationsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want to return for this request. If more objects are available, in the response, a NextToken value, which you can use in a subsequent call to get the next batch of objects, is provided. If you don't specify a value for MaxResults, up to 100 objects are returned."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, at most the number of objects specified by MaxResults is returned. If more objects are available for retrieval, a NextToken value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."];profileId:ResourceId.toption[@ocaml.doc"ID of the Profile."];resourceId:ResourceId.toption[@ocaml.doc"ID of the VPC."]}letmake?maxResults=fun?nextToken->fun?profileId->fun?resourceId->fun()->{maxResults;nextToken;profileId;resourceId}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("profileId",(Option.mapx.profileId~f:ResourceId.to_value));("resourceId",(Option.mapx.resourceId~f:ResourceId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"resourceId")inletprofileId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"profileId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inmake?resourceId?profileId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletprofileId=field_mapjson__"ProfileId"ResourceId.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?resourceId?profileId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the VPCs that the specified Route 53 Profile is associated with."]moduleGetProfileResponse=structtypenonrect={profile:Profile.toption[@ocaml.doc"Information about the Profile, including the status of the Profile."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profile=fun()->{profile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.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)|"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))]|`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[("Profile",(Option.mapx.profile~f:Profile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofile=(Option.map~f:Profile.of_xml)(Xml.childxml_arg0"Profile")inmake?profile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofile=field_mapjson__"Profile"Profile.of_jsoninmake?profile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile."]moduleGetProfileResourceAssociationResponse=structtypenonrect={profileResourceAssociation:ProfileResourceAssociation.toption[@ocaml.doc"Information about the Profile resource association that you specified in a GetProfileResourceAssociation request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileResourceAssociation=fun()->{profileResourceAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ProfileResourceAssociation",(Option.mapx.profileResourceAssociation~f:ProfileResourceAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociation=(Option.map~f:ProfileResourceAssociation.of_xml)(Xml.childxml_arg0"ProfileResourceAssociation")inmake?profileResourceAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociation=field_mapjson__"ProfileResourceAssociation"ProfileResourceAssociation.of_jsoninmake?profileResourceAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified Route 53 Profile resource association."]moduleGetProfileResourceAssociationRequest=structtypenonrect={profileResourceAssociationId:ResourceId.t[@ocaml.doc"The ID of the profile resource association that you want to get information about."]}letcontext_="GetProfileResourceAssociationRequest"letmake~profileResourceAssociationId=fun()->{profileResourceAssociationId}letto_valuex=structure_to_value[("ProfileResourceAssociationId",(Some(ResourceId.to_valuex.profileResourceAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileResourceAssociationId")inmake~profileResourceAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociationId=field_map_exnjson__"ProfileResourceAssociationId"ResourceId.of_jsoninmake~profileResourceAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified Route 53 Profile resource association."]moduleGetProfileRequest=structtypenonrect={profileId:ResourceId.t[@ocaml.doc"ID of the Profile."]}letcontext_="GetProfileRequest"letmake~profileId=fun()->{profileId}letto_valuex=structure_to_value[("ProfileId",(Some(ResourceId.to_valuex.profileId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inmake~profileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninmake~profileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile."]moduleGetProfileAssociationResponse=structtypenonrect={profileAssociation:ProfileAssociation.toption[@ocaml.doc"Information about the Profile association that you specified in a GetProfileAssociation request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileAssociation=fun()->{profileAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.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)|"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))]|`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[("ProfileAssociation",(Option.mapx.profileAssociation~f:ProfileAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileAssociation=(Option.map~f:ProfileAssociation.of_xml)(Xml.childxml_arg0"ProfileAssociation")inmake?profileAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileAssociation=field_mapjson__"ProfileAssociation"ProfileAssociation.of_jsoninmake?profileAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs."]moduleGetProfileAssociationRequest=structtypenonrect={profileAssociationId:ResourceId.t[@ocaml.doc"The identifier of the association you want to get information about."]}letcontext_="GetProfileAssociationRequest"letmake~profileAssociationId=fun()->{profileAssociationId}letto_valuex=structure_to_value[("ProfileAssociationId",(Some(ResourceId.to_valuex.profileAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileAssociationId")inmake~profileAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileAssociationId=field_map_exnjson__"ProfileAssociationId"ResourceId.of_jsoninmake~profileAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs."]moduleDisassociateResourceFromProfileResponse=structtypenonrect={profileResourceAssociation:ProfileResourceAssociation.toption[@ocaml.doc"Information about the DisassociateResourceFromProfile request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileResourceAssociation=fun()->{profileResourceAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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[("ProfileResourceAssociation",(Option.mapx.profileResourceAssociation~f:ProfileResourceAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociation=(Option.map~f:ProfileResourceAssociation.of_xml)(Xml.childxml_arg0"ProfileResourceAssociation")inmake?profileResourceAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociation=field_mapjson__"ProfileResourceAssociation"ProfileResourceAssociation.of_jsoninmake?profileResourceAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Dissoaciated a specified resource, from the Route 53 Profile."]moduleDisassociateResourceFromProfileRequest=structtypenonrect={profileId:ResourceId.t[@ocaml.doc"The ID of the Profile."];resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."]}letcontext_="DisassociateResourceFromProfileRequest"letmake~profileId=fun~resourceArn->fun()->{profileId;resourceArn}letto_valuex=structure_to_value[("ProfileId",(Some(ResourceId.to_valuex.profileId)));("ResourceArn",(Some(Arn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inletprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inmake~resourceArn~profileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"Arn.of_jsoninletprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninmake~resourceArn~profileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Dissoaciated a specified resource, from the Route 53 Profile."]moduleDisassociateProfileResponse=structtypenonrect={profileAssociation:ProfileAssociation.toption[@ocaml.doc"Information about the DisassociateProfile request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileAssociation=fun()->{profileAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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[("ProfileAssociation",(Option.mapx.profileAssociation~f:ProfileAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileAssociation=(Option.map~f:ProfileAssociation.of_xml)(Xml.childxml_arg0"ProfileAssociation")inmake?profileAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileAssociation=field_mapjson__"ProfileAssociation"ProfileAssociation.of_jsoninmake?profileAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Dissociates a specified Route 53 Profile from the specified VPC."]moduleDisassociateProfileRequest=structtypenonrect={profileId:ResourceId.t[@ocaml.doc"ID of the Profile."];resourceId:ResourceId.t[@ocaml.doc"The ID of the VPC."]}letcontext_="DisassociateProfileRequest"letmake~profileId=fun~resourceId->fun()->{profileId;resourceId}letto_valuex=structure_to_value[("ProfileId",(Some(ResourceId.to_valuex.profileId)));("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inletprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inmake~resourceId~profileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninletprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninmake~resourceId~profileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Dissociates a specified Route 53 Profile from the specified VPC."]moduleDeleteProfileResponse=structtypenonrect={profile:Profile.toption[@ocaml.doc"Information about the DeleteProfile request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profile=fun()->{profile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.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)|"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))]|`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[("Profile",(Option.mapx.profile~f:Profile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofile=(Option.map~f:Profile.of_xml)(Xml.childxml_arg0"Profile")inmake?profile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofile=field_mapjson__"Profile"Profile.of_jsoninmake?profile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs."]moduleDeleteProfileRequest=structtypenonrect={profileId:ResourceId.t[@ocaml.doc"The ID of the Profile that you want to delete."]}letcontext_="DeleteProfileRequest"letmake~profileId=fun()->{profileId}letto_valuex=structure_to_value[("ProfileId",(Some(ResourceId.to_valuex.profileId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inmake~profileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninmake~profileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs."]moduleCreateProfileResponse=structtypenonrect={profile:Profile.toption[@ocaml.doc"The Profile that you just created."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profile=fun()->{profile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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[("Profile",(Option.mapx.profile~f:Profile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofile=(Option.map~f:Profile.of_xml)(Xml.childxml_arg0"Profile")inmake?profile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofile=field_mapjson__"Profile"Profile.of_jsoninmake?profile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty Route 53 Profile."]moduleCreateProfileRequest=structtypenonrect={clientToken:CreatorRequestId.t[@ocaml.doc"ClientToken is an idempotency token that ensures a call to CreateProfile completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from CreateProfile. In this case, safely retry your call to CreateProfile by using the same CreateProfile parameter value."];name:Name.t[@ocaml.doc"A name for the Profile."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the Route 53 Profile."]}letcontext_="CreateProfileRequest"letmake?tags=fun~clientToken->fun~name->fun()->{tags;clientToken;name}letto_valuex=structure_to_value[("ClientToken",(Some(CreatorRequestId.to_valuex.clientToken)));("Name",(Some(Name.to_valuex.name)));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletclientToken=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"ClientToken")inmake?tags~name~clientToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninletclientToken=field_map_exnjson__"ClientToken"CreatorRequestId.of_jsoninmake?tags~name~clientToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty Route 53 Profile."]moduleAssociateResourceToProfileResponse=structtypenonrect={profileResourceAssociation:ProfileResourceAssociation.toption[@ocaml.doc"Infromation about the AssociateResourceToProfile, including a status message."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileResourceAssociation=fun()->{profileResourceAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.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))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.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[("ProfileResourceAssociation",(Option.mapx.profileResourceAssociation~f:ProfileResourceAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileResourceAssociation=(Option.map~f:ProfileResourceAssociation.of_xml)(Xml.childxml_arg0"ProfileResourceAssociation")inmake?profileResourceAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileResourceAssociation=field_mapjson__"ProfileResourceAssociation"ProfileResourceAssociation.of_jsoninmake?profileResourceAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a DNS reource configuration to a Route 53 Profile."]moduleAssociateResourceToProfileRequest=structtypenonrect={name:Name.t[@ocaml.doc"Name for the resource association."];profileId:ResourceId.t[@ocaml.doc"ID of the Profile."];resourceArn:Arn.t[@ocaml.doc"Amazon resource number, ARN, of the DNS resource."];resourceProperties:ResourceProperties.toption[@ocaml.doc"If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900."]}letcontext_="AssociateResourceToProfileRequest"letmake?resourceProperties=fun~name->fun~profileId->fun~resourceArn->fun()->{resourceProperties;name;profileId;resourceArn}letto_valuex=structure_to_value[("Name",(Some(Name.to_valuex.name)));("ProfileId",(Some(ResourceId.to_valuex.profileId)));("ResourceArn",(Some(Arn.to_valuex.resourceArn)));("ResourceProperties",(Option.mapx.resourceProperties~f:ResourceProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceProperties=(Option.map~f:ResourceProperties.of_xml)(Xml.childxml_arg0"ResourceProperties")inletresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inletprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?resourceProperties~resourceArn~profileId~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceProperties=field_mapjson__"ResourceProperties"ResourceProperties.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Arn.of_jsoninletprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninmake?resourceProperties~resourceArn~profileId~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a DNS reource configuration to a Route 53 Profile."]moduleAssociateProfileResponse=structtypenonrect={profileAssociation:ProfileAssociation.toption[@ocaml.doc"The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InvalidParameterExceptionofInvalidParameterException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?profileAssociation=fun()->{profileAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ProfileAssociation",(Option.mapx.profileAssociation~f:ProfileAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprofileAssociation=(Option.map~f:ProfileAssociation.of_xml)(Xml.childxml_arg0"ProfileAssociation")inmake?profileAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprofileAssociation=field_mapjson__"ProfileAssociation"ProfileAssociation.of_jsoninmake?profileAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities."]moduleAssociateProfileRequest=structtypenonrect={name:Name.t[@ocaml.doc"A name for the association."];profileId:ResourceId.t[@ocaml.doc"ID of the Profile."];resourceId:ResourceId.t[@ocaml.doc"The ID of the VPC."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to identify the Profile association."]}letcontext_="AssociateProfileRequest"letmake?tags=fun~name->fun~profileId->fun~resourceId->fun()->{tags;name;profileId;resourceId}letto_valuex=structure_to_value[("Name",(Some(Name.to_valuex.name)));("ProfileId",(Some(ResourceId.to_valuex.profileId)));("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inletprofileId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ProfileId")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?tags~resourceId~profileId~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninletprofileId=field_map_exnjson__"ProfileId"ResourceId.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninmake?tags~resourceId~profileId~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities."]