123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123(* 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.chime_sdk_voiceletapiVersion="2022-08-03"letendpointPrefix="voice-chime"letserviceFullName="Amazon Chime SDK Voice"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[]))])moduleConfidenceScore=structtypenonrect=floatletmakei=letopenResultinok_or_failwith((check_float_mini~min:1.)>>=(fun()->check_float_mini~min:0.));iletof_string=Float.of_stringletto_valuex=`Floatxletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a float"xml_arg0)letof_jsonj=float_of_json~kind:"a float"jletto_json=simple_to_jsonto_valueendmoduleNonEmptyString256=structtypenonrect=stringletcontext_="NonEmptyString256"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NonEmptyString256"jletto_json=simple_to_jsonto_valueendmoduleNonEmptyString=structtypenonrect=stringletcontext_="NonEmptyString"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:".*\\S.*");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NonEmptyString"jletto_json=simple_to_jsonto_valueendmoduleVoiceConnectorItemPriority=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:99)>>=(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 VoiceConnectorItemPriority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleSipApplicationPriority=structtypenonrect=intletmakei=letopenResultinok_or_failwith(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 SipApplicationPriority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_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_valueendmoduleFunctionArn=structtypenonrect=stringletcontext_="FunctionArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:10000)>>=(fun()->check_patterni~pattern:"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[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:"FunctionArn"jletto_json=simple_to_jsonto_valueendmoduleE164PhoneNumber=structtypenonrect=stringletcontext_="E164PhoneNumber"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^\\+?[1-9]\\d{1,14}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"E164PhoneNumber"jletto_json=simple_to_jsonto_valueendmoduleIso8601Timestamp=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_valueendmodulePhoneNumberAssociationName=structtypenonrect=|VoiceConnectorId|VoiceConnectorGroupId|SipRuleId|Non_static_idofstringletmakei=iletto_string=function|VoiceConnectorId->"VoiceConnectorId"|VoiceConnectorGroupId->"VoiceConnectorGroupId"|SipRuleId->"SipRuleId"|Non_static_ids->sletof_string=function|"VoiceConnectorId"->VoiceConnectorId|"VoiceConnectorGroupId"->VoiceConnectorGroupId|"SipRuleId"->SipRuleId|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 PhoneNumberAssociationName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberAssociationName"j)letto_json=simple_to_jsonto_valueendmoduleOrderedPhoneNumberStatus=structtypenonrect=|Processing|Acquired|Failed|Non_static_idofstringletmakei=iletto_string=function|Processing->"Processing"|Acquired->"Acquired"|Failed->"Failed"|Non_static_ids->sletof_string=function|"Processing"->Processing|"Acquired"->Acquired|"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 OrderedPhoneNumberStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OrderedPhoneNumberStatus"j)letto_json=simple_to_jsonto_valueendmoduleSpeakerSearchResult=structtypenonrect={confidenceScore:ConfidenceScore.toption[@ocaml.doc"The confidence score in the speaker search analysis."];voiceProfileId:NonEmptyString256.toption[@ocaml.doc"The voice profile ID."]}letmake?confidenceScore=fun?voiceProfileId->fun()->{confidenceScore;voiceProfileId}letto_valuex=structure_to_value[("ConfidenceScore",(Option.mapx.confidenceScore~f:ConfidenceScore.to_value));("VoiceProfileId",(Option.mapx.voiceProfileId~f:NonEmptyString256.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileId")inletconfidenceScore=(Option.map~f:ConfidenceScore.of_xml)(Xml.childxml_arg0"ConfidenceScore")inmake?voiceProfileId?confidenceScore()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileId=field_mapjson__"VoiceProfileId"NonEmptyString256.of_jsoninletconfidenceScore=field_mapjson__"ConfidenceScore"ConfidenceScore.of_jsoninmake?voiceProfileId?confidenceScore()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The result of a speaker search analysis."]moduleNotificationTarget=structtypenonrect=|EventBridge|SNS|SQS|Non_static_idofstringletmakei=iletto_string=function|EventBridge->"EventBridge"|SNS->"SNS"|SQS->"SQS"|Non_static_ids->sletof_string=function|"EventBridge"->EventBridge|"SNS"->SNS|"SQS"->SQS|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 NotificationTarget"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NotificationTarget"j)letto_json=simple_to_jsonto_valueendmoduleOriginationRoutePriority=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 OriginationRoutePriority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOriginationRouteProtocol=structtypenonrect=|TCP|UDP|Non_static_idofstringletmakei=iletto_string=function|TCP->"TCP"|UDP->"UDP"|Non_static_ids->sletof_string=function|"TCP"->TCP|"UDP"->UDP|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 OriginationRouteProtocol"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OriginationRouteProtocol"j)letto_json=simple_to_jsonto_valueendmoduleOriginationRouteWeight=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 OriginationRouteWeight"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePort=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Port"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAlpha2CountryCode=structtypenonrect=stringletcontext_="Alpha2CountryCode"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[A-Z]{2}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Alpha2CountryCode"jletto_json=simple_to_jsonto_valueendmoduleVoiceConnectorItem=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];priority:VoiceConnectorItemPriority.t[@ocaml.doc"The priority setting of a Voice Connector item. Calls are routed to hosts in priority order, with 1 as the highest priority. When hosts have equal priority, the system distributes calls among them based on their relative weight."]}letcontext_="VoiceConnectorItem"letmake~voiceConnectorId=fun~priority->fun()->{voiceConnectorId;priority}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Priority",(Some(VoiceConnectorItemPriority.to_valuex.priority)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriority=VoiceConnectorItemPriority.of_xml(Xml.child_exn~context:context_xml_arg0"Priority")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake~priority~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriority=field_map_exnjson__"Priority"VoiceConnectorItemPriority.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~priority~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For Amazon Chime SDK Voice Connector groups, the Amazon Chime SDK Voice Connectors to which you route inbound calls. Includes priority configuration settings. Limit: 3 VoiceConnectorItems per Voice Connector group."]modulePhoneNumberType=structtypenonrect=|Local|TollFree|Non_static_idofstringletmakei=iletto_string=function|Local->"Local"|TollFree->"TollFree"|Non_static_ids->sletof_string=function|"Local"->Local|"TollFree"->TollFree|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 PhoneNumberType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberType"j)letto_json=simple_to_jsonto_valueendmoduleSipRuleTargetApplication=structtypenonrect={sipMediaApplicationId:NonEmptyString.toption[@ocaml.doc"The ID of a rule's target SIP media application."];priority:SipApplicationPriority.toption[@ocaml.doc"The priority setting of a rule's target SIP media application."];awsRegion:String_.toption[@ocaml.doc"The AWS Region of a rule's target SIP media application."]}letmake?sipMediaApplicationId=fun?priority->fun?awsRegion->fun()->{sipMediaApplicationId;priority;awsRegion}letto_valuex=structure_to_value[("SipMediaApplicationId",(Option.mapx.sipMediaApplicationId~f:NonEmptyString.to_value));("Priority",(Option.mapx.priority~f:SipApplicationPriority.to_value));("AwsRegion",(Option.mapx.awsRegion~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letawsRegion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsRegion")inletpriority=(Option.map~f:SipApplicationPriority.of_xml)(Xml.childxml_arg0"Priority")inletsipMediaApplicationId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"SipMediaApplicationId")inmake?awsRegion?priority?sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letawsRegion=field_mapjson__"AwsRegion"String_.of_jsoninletpriority=field_mapjson__"Priority"SipApplicationPriority.of_jsoninletsipMediaApplicationId=field_mapjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?awsRegion?priority?sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided."]moduleSipMediaApplicationEndpoint=structtypenonrect={lambdaArn:FunctionArn.toption[@ocaml.doc"Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application."]}letmake?lambdaArn=fun()->{lambdaArn}letto_valuex=structure_to_value[("LambdaArn",(Option.mapx.lambdaArn~f:FunctionArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlambdaArn=(Option.map~f:FunctionArn.of_xml)(Xml.childxml_arg0"LambdaArn")inmake?lambdaArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlambdaArn=field_mapjson__"LambdaArn"FunctionArn.of_jsoninmake?lambdaArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The endpoint assigned to a SIP media application."]moduleCapability=structtypenonrect=|Voice|SMS|Non_static_idofstringletmakei=iletto_string=function|Voice->"Voice"|SMS->"SMS"|Non_static_ids->sletof_string=function|"Voice"->Voice|"SMS"->SMS|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 Capability"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Capability"j)letto_json=simple_to_jsonto_valueendmoduleAreaCode=structtypenonrect=stringletcontext_="AreaCode"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^$|^[0-9]{3,3}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AreaCode"jletto_json=simple_to_jsonto_valueendmoduleCountry=structtypenonrect=stringletcontext_="Country"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^$|^[A-Z]{2,2}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Country"jletto_json=simple_to_jsonto_valueendmoduleParticipant=structtypenonrect={phoneNumber:E164PhoneNumber.toption[@ocaml.doc"The participant's phone number."];proxyPhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The participant's proxy phone number."]}letmake?phoneNumber=fun?proxyPhoneNumber->fun()->{phoneNumber;proxyPhoneNumber}letto_valuex=structure_to_value[("PhoneNumber",(Option.mapx.phoneNumber~f:E164PhoneNumber.to_value));("ProxyPhoneNumber",(Option.mapx.proxyPhoneNumber~f:E164PhoneNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyPhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"ProxyPhoneNumber")inletphoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"PhoneNumber")inmake?proxyPhoneNumber?phoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyPhoneNumber=field_mapjson__"ProxyPhoneNumber"E164PhoneNumber.of_jsoninletphoneNumber=field_mapjson__"PhoneNumber"E164PhoneNumber.of_jsoninmake?proxyPhoneNumber?phoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The phone number and proxy phone number for a participant in an Amazon Chime SDK Voice Connector proxy session."]modulePhoneNumberAssociation=structtypenonrect={value:String_.toption[@ocaml.doc"Contains the ID for the entity specified in Name."];name:PhoneNumberAssociationName.toption[@ocaml.doc"Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID."];associatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The timestamp of the phone number association, in ISO 8601 format."]}letmake?value=fun?name->fun?associatedTimestamp->fun()->{value;name;associatedTimestamp}letto_valuex=structure_to_value[("Value",(Option.mapx.value~f:String_.to_value));("Name",(Option.mapx.name~f:PhoneNumberAssociationName.to_value));("AssociatedTimestamp",(Option.mapx.associatedTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassociatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"AssociatedTimestamp")inletname=(Option.map~f:PhoneNumberAssociationName.of_xml)(Xml.childxml_arg0"Name")inletvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Value")inmake?associatedTimestamp?name?value()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassociatedTimestamp=field_mapjson__"AssociatedTimestamp"Iso8601Timestamp.of_jsoninletname=field_mapjson__"Name"PhoneNumberAssociationName.of_jsoninletvalue=field_mapjson__"Value"String_.of_jsoninmake?associatedTimestamp?name?value()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The phone number associations, such as an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID."]moduleNullableBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleOrderedPhoneNumber=structtypenonrect={e164PhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The phone number, in E.164 format."];status:OrderedPhoneNumberStatus.toption[@ocaml.doc"The phone number status."]}letmake?e164PhoneNumber=fun?status->fun()->{e164PhoneNumber;status}letto_valuex=structure_to_value[("E164PhoneNumber",(Option.mapx.e164PhoneNumber~f:E164PhoneNumber.to_value));("Status",(Option.mapx.status~f:OrderedPhoneNumberStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:OrderedPhoneNumberStatus.of_xml)(Xml.childxml_arg0"Status")inlete164PhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"E164PhoneNumber")inmake?status?e164PhoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"OrderedPhoneNumberStatus.of_jsoninlete164PhoneNumber=field_mapjson__"E164PhoneNumber"E164PhoneNumber.of_jsoninmake?status?e164PhoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A phone number for which an order has been placed."]moduleSensitiveNonEmptyString=structtypenonrect=stringletcontext_="SensitiveNonEmptyString"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:".*\\S.*");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SensitiveNonEmptyString"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^arn[\\/\\:\\-\\_\\.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:"Arn"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_valueendmoduleBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleNonEmptyString128=structtypenonrect=stringletcontext_="NonEmptyString128"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NonEmptyString128"jletto_json=simple_to_jsonto_valueendmoduleSpeakerSearchResultList=structtypenonrect=SpeakerSearchResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SpeakerSearchResult.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:SpeakerSearchResult.of_xml)letof_jsonj=list_of_json~kind:"SpeakerSearchResultList"~of_json:SpeakerSearchResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCallingRegion=structtypenonrect=stringletcontext_="CallingRegion"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:"CallingRegion"jletto_json=simple_to_jsonto_valueendmoduleSensitiveString=structtypenonrect=stringletcontext_="SensitiveString"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SensitiveString"jletto_json=simple_to_jsonto_valueendmoduleStreamingNotificationTarget=structtypenonrect={notificationTarget:NotificationTarget.toption[@ocaml.doc"The streaming notification target."]}letmake?notificationTarget=fun()->{notificationTarget}letto_valuex=structure_to_value[("NotificationTarget",(Option.mapx.notificationTarget~f:NotificationTarget.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnotificationTarget=(Option.map~f:NotificationTarget.of_xml)(Xml.childxml_arg0"NotificationTarget")inmake?notificationTarget()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnotificationTarget=field_mapjson__"NotificationTarget"NotificationTarget.of_jsoninmake?notificationTarget()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The target recipient for a streaming configuration notification."]moduleOriginationRoute=structtypenonrect={host:String_.toption[@ocaml.doc"The FQDN or IP address to contact for origination traffic."];port:Port.toption[@ocaml.doc"The designated origination route port. Defaults to 5060."];protocol:OriginationRouteProtocol.toption[@ocaml.doc"The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use TCP protocol by default."];priority:OriginationRoutePriority.toption[@ocaml.doc"The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first."];weight:OriginationRouteWeight.toption[@ocaml.doc"The weight assigned to an origination route. When hosts have equal priority, calls are distributed between them based on their relative weights."]}letmake?host=fun?port->fun?protocol->fun?priority->fun?weight->fun()->{host;port;protocol;priority;weight}letto_valuex=structure_to_value[("Host",(Option.mapx.host~f:String_.to_value));("Port",(Option.mapx.port~f:Port.to_value));("Protocol",(Option.mapx.protocol~f:OriginationRouteProtocol.to_value));("Priority",(Option.mapx.priority~f:OriginationRoutePriority.to_value));("Weight",(Option.mapx.weight~f:OriginationRouteWeight.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letweight=(Option.map~f:OriginationRouteWeight.of_xml)(Xml.childxml_arg0"Weight")inletpriority=(Option.map~f:OriginationRoutePriority.of_xml)(Xml.childxml_arg0"Priority")inletprotocol=(Option.map~f:OriginationRouteProtocol.of_xml)(Xml.childxml_arg0"Protocol")inletport=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"Port")inlethost=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Host")inmake?weight?priority?protocol?port?host()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letweight=field_mapjson__"Weight"OriginationRouteWeight.of_jsoninletpriority=field_mapjson__"Priority"OriginationRoutePriority.of_jsoninletprotocol=field_mapjson__"Protocol"OriginationRouteProtocol.of_jsoninletport=field_mapjson__"Port"Port.of_jsoninlethost=field_mapjson__"Host"String_.of_jsoninmake?weight?priority?protocol?port?host()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Origination routes define call distribution properties for your SIP hosts to receive inbound calls using an Amazon Chime SDK Voice Connector. Limit: Ten origination routes for each Voice Connector. The parameters listed below are not required, but you must use at least one."]moduleContactCenterSystemType=structtypenonrect=|GENESYS_ENGAGE_ON_PREMISES|AVAYA_AURA_CALL_CENTER_ELITE|AVAYA_AURA_CONTACT_CENTER|CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE|Non_static_idofstringletmakei=iletto_string=function|GENESYS_ENGAGE_ON_PREMISES->"GENESYS_ENGAGE_ON_PREMISES"|AVAYA_AURA_CALL_CENTER_ELITE->"AVAYA_AURA_CALL_CENTER_ELITE"|AVAYA_AURA_CONTACT_CENTER->"AVAYA_AURA_CONTACT_CENTER"|CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE->"CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE"|Non_static_ids->sletof_string=function|"GENESYS_ENGAGE_ON_PREMISES"->GENESYS_ENGAGE_ON_PREMISES|"AVAYA_AURA_CALL_CENTER_ELITE"->AVAYA_AURA_CALL_CENTER_ELITE|"AVAYA_AURA_CONTACT_CENTER"->AVAYA_AURA_CONTACT_CENTER|"CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE"->CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE|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 ContactCenterSystemType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ContactCenterSystemType"j)letto_json=simple_to_jsonto_valueendmoduleSessionBorderControllerType=structtypenonrect=|RIBBON_SBC|ORACLE_ACME_PACKET_SBC|AVAYA_SBCE|CISCO_UNIFIED_BORDER_ELEMENT|AUDIOCODES_MEDIANT_SBC|Non_static_idofstringletmakei=iletto_string=function|RIBBON_SBC->"RIBBON_SBC"|ORACLE_ACME_PACKET_SBC->"ORACLE_ACME_PACKET_SBC"|AVAYA_SBCE->"AVAYA_SBCE"|CISCO_UNIFIED_BORDER_ELEMENT->"CISCO_UNIFIED_BORDER_ELEMENT"|AUDIOCODES_MEDIANT_SBC->"AUDIOCODES_MEDIANT_SBC"|Non_static_ids->sletof_string=function|"RIBBON_SBC"->RIBBON_SBC|"ORACLE_ACME_PACKET_SBC"->ORACLE_ACME_PACKET_SBC|"AVAYA_SBCE"->AVAYA_SBCE|"CISCO_UNIFIED_BORDER_ELEMENT"->CISCO_UNIFIED_BORDER_ELEMENT|"AUDIOCODES_MEDIANT_SBC"->AUDIOCODES_MEDIANT_SBC|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 SessionBorderControllerType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SessionBorderControllerType"j)letto_json=simple_to_jsonto_valueendmoduleDNISEmergencyCallingConfiguration=structtypenonrect={emergencyPhoneNumber:E164PhoneNumber.t[@ocaml.doc"The DNIS phone number that you route emergency calls to, in E.164 format."];testPhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The DNIS phone number for routing test emergency calls to, in E.164 format."];callingCountry:Alpha2CountryCode.t[@ocaml.doc"The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format."]}letcontext_="DNISEmergencyCallingConfiguration"letmake?testPhoneNumber=fun~emergencyPhoneNumber->fun~callingCountry->fun()->{testPhoneNumber;emergencyPhoneNumber;callingCountry}letto_valuex=structure_to_value[("EmergencyPhoneNumber",(Some(E164PhoneNumber.to_valuex.emergencyPhoneNumber)));("TestPhoneNumber",(Option.mapx.testPhoneNumber~f:E164PhoneNumber.to_value));("CallingCountry",(Some(Alpha2CountryCode.to_valuex.callingCountry)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallingCountry=Alpha2CountryCode.of_xml(Xml.child_exn~context:context_xml_arg0"CallingCountry")inlettestPhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"TestPhoneNumber")inletemergencyPhoneNumber=E164PhoneNumber.of_xml(Xml.child_exn~context:context_xml_arg0"EmergencyPhoneNumber")inmake~callingCountry?testPhoneNumber~emergencyPhoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallingCountry=field_map_exnjson__"CallingCountry"Alpha2CountryCode.of_jsoninlettestPhoneNumber=field_mapjson__"TestPhoneNumber"E164PhoneNumber.of_jsoninletemergencyPhoneNumber=field_map_exnjson__"EmergencyPhoneNumber"E164PhoneNumber.of_jsoninmake~callingCountry?testPhoneNumber~emergencyPhoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime SDK Voice Connector's emergency calling configuration."]moduleAlexaSkillId=structtypenonrect=stringletcontext_="AlexaSkillId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"amzn1\\.application-oa2-client\\.[0-9a-fA-F]{32}"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AlexaSkillId"jletto_json=simple_to_jsonto_valueendmoduleVoiceProfileDomainDescription=structtypenonrect=stringletcontext_="VoiceProfileDomainDescription"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(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:"VoiceProfileDomainDescription"jletto_json=simple_to_jsonto_valueendmoduleVoiceProfileDomainName=structtypenonrect=stringletcontext_="VoiceProfileDomainName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9 _.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VoiceProfileDomainName"jletto_json=simple_to_jsonto_valueendmoduleNetworkType=structtypenonrect=|IPV4_ONLY|DUAL_STACK|Non_static_idofstringletmakei=iletto_string=function|IPV4_ONLY->"IPV4_ONLY"|DUAL_STACK->"DUAL_STACK"|Non_static_ids->sletof_string=function|"IPV4_ONLY"->IPV4_ONLY|"DUAL_STACK"->DUAL_STACK|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration NetworkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NetworkType"j)letto_json=simple_to_jsonto_valueendmoduleVoiceConnectorAwsRegion=structtypenonrect=|Us_east_1|Us_west_2|Ca_central_1|Eu_central_1|Eu_west_1|Eu_west_2|Ap_northeast_2|Ap_northeast_1|Ap_southeast_1|Ap_southeast_2|Non_static_idofstringletmakei=iletto_string=function|Us_east_1->"us-east-1"|Us_west_2->"us-west-2"|Ca_central_1->"ca-central-1"|Eu_central_1->"eu-central-1"|Eu_west_1->"eu-west-1"|Eu_west_2->"eu-west-2"|Ap_northeast_2->"ap-northeast-2"|Ap_northeast_1->"ap-northeast-1"|Ap_southeast_1->"ap-southeast-1"|Ap_southeast_2->"ap-southeast-2"|Non_static_ids->sletof_string=function|"us-east-1"->Us_east_1|"us-west-2"->Us_west_2|"ca-central-1"->Ca_central_1|"eu-central-1"->Eu_central_1|"eu-west-1"->Eu_west_1|"eu-west-2"->Eu_west_2|"ap-northeast-2"->Ap_northeast_2|"ap-northeast-1"->Ap_northeast_1|"ap-southeast-1"->Ap_southeast_1|"ap-southeast-2"->Ap_southeast_2|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 VoiceConnectorAwsRegion"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VoiceConnectorAwsRegion"j)letto_json=simple_to_jsonto_valueendmoduleVoiceConnectorIntegrationType=structtypenonrect=|CONNECT_CALL_TRANSFER_CONNECTOR|CONNECT_ANALYTICS_CONNECTOR|Non_static_idofstringletmakei=iletto_string=function|CONNECT_CALL_TRANSFER_CONNECTOR->"CONNECT_CALL_TRANSFER_CONNECTOR"|CONNECT_ANALYTICS_CONNECTOR->"CONNECT_ANALYTICS_CONNECTOR"|Non_static_ids->sletof_string=function|"CONNECT_CALL_TRANSFER_CONNECTOR"->CONNECT_CALL_TRANSFER_CONNECTOR|"CONNECT_ANALYTICS_CONNECTOR"->CONNECT_ANALYTICS_CONNECTOR|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 VoiceConnectorIntegrationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VoiceConnectorIntegrationType"j)letto_json=simple_to_jsonto_valueendmoduleVoiceConnectorName=structtypenonrect=stringletcontext_="VoiceConnectorName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9 _.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VoiceConnectorName"jletto_json=simple_to_jsonto_valueendmoduleVoiceConnectorGroupName=structtypenonrect=stringletcontext_="VoiceConnectorGroupName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9 _.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VoiceConnectorGroupName"jletto_json=simple_to_jsonto_valueendmoduleVoiceConnectorItemList=structtypenonrect=VoiceConnectorItem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceConnectorItem.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:VoiceConnectorItem.of_xml)letof_jsonj=list_of_json~kind:"VoiceConnectorItemList"~of_json:VoiceConnectorItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberTypeList=structtypenonrect=PhoneNumberType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumberType.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:PhoneNumberType.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberTypeList"~of_json:PhoneNumberType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSipRuleName=structtypenonrect=stringletcontext_="SipRuleName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9 _.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SipRuleName"jletto_json=simple_to_jsonto_valueendmoduleSipRuleTargetApplicationList=structtypenonrect=SipRuleTargetApplication.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:25)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SipRuleTargetApplication.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:SipRuleTargetApplication.of_xml)letof_jsonj=list_of_json~kind:"SipRuleTargetApplicationList"~of_json:SipRuleTargetApplication.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSipRuleTriggerType=structtypenonrect=|ToPhoneNumber|RequestUriHostname|Non_static_idofstringletmakei=iletto_string=function|ToPhoneNumber->"ToPhoneNumber"|RequestUriHostname->"RequestUriHostname"|Non_static_ids->sletof_string=function|"ToPhoneNumber"->ToPhoneNumber|"RequestUriHostname"->RequestUriHostname|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 SipRuleTriggerType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SipRuleTriggerType"j)letto_json=simple_to_jsonto_valueendmoduleSipMediaApplicationEndpointList=structtypenonrect=SipMediaApplicationEndpoint.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SipMediaApplicationEndpoint.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:SipMediaApplicationEndpoint.of_xml)letof_jsonj=list_of_json~kind:"SipMediaApplicationEndpointList"~of_json:SipMediaApplicationEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSipMediaApplicationName=structtypenonrect=stringletcontext_="SipMediaApplicationName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9 _.-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SipMediaApplicationName"jletto_json=simple_to_jsonto_valueendmoduleCapabilityList=structtypenonrect=Capability.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Capability.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:Capability.of_xml)letof_jsonj=list_of_json~kind:"CapabilityList"~of_json:Capability.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleGeoMatchLevel=structtypenonrect=|Country|AreaCode|Non_static_idofstringletmakei=iletto_string=function|Country->"Country"|AreaCode->"AreaCode"|Non_static_ids->sletof_string=function|"Country"->Country|"AreaCode"->AreaCode|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 GeoMatchLevel"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeoMatchLevel"j)letto_json=simple_to_jsonto_valueendmoduleGeoMatchParams=structtypenonrect={country:Country.t[@ocaml.doc"The country."];areaCode:AreaCode.t[@ocaml.doc"The area code."]}letcontext_="GeoMatchParams"letmake~country=fun~areaCode->fun()->{country;areaCode}letto_valuex=structure_to_value[("Country",(Some(Country.to_valuex.country)));("AreaCode",(Some(AreaCode.to_valuex.areaCode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letareaCode=AreaCode.of_xml(Xml.child_exn~context:context_xml_arg0"AreaCode")inletcountry=Country.of_xml(Xml.child_exn~context:context_xml_arg0"Country")inmake~areaCode~country()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letareaCode=field_map_exnjson__"AreaCode"AreaCode.of_jsoninletcountry=field_map_exnjson__"Country"Country.of_jsoninmake~areaCode~country()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The country and area code for a proxy phone number in a proxy phone session."]moduleNumberSelectionBehavior=structtypenonrect=|PreferSticky|AvoidSticky|Non_static_idofstringletmakei=iletto_string=function|PreferSticky->"PreferSticky"|AvoidSticky->"AvoidSticky"|Non_static_ids->sletof_string=function|"PreferSticky"->PreferSticky|"AvoidSticky"->AvoidSticky|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 NumberSelectionBehavior"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NumberSelectionBehavior"j)letto_json=simple_to_jsonto_valueendmoduleParticipants=structtypenonrect=Participant.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Participant.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:Participant.of_xml)letof_jsonj=list_of_json~kind:"Participants"~of_json:Participant.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePositiveInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith(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 PositiveInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProxySessionStatus=structtypenonrect=|Open|InProgress|Closed|Non_static_idofstringletmakei=iletto_string=function|Open->"Open"|InProgress->"InProgress"|Closed->"Closed"|Non_static_ids->sletof_string=function|"Open"->Open|"InProgress"->InProgress|"Closed"->Closed|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 ProxySessionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProxySessionStatus"j)letto_json=simple_to_jsonto_valueendmoduleString128=structtypenonrect=stringletcontext_="String128"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:128);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String128"jletto_json=simple_to_jsonto_valueendmoduleCallingName=structtypenonrect=stringletcontext_="CallingName"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^$|^[a-zA-Z0-9 ]{2,15}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CallingName"jletto_json=simple_to_jsonto_valueendmoduleCallingNameStatus=structtypenonrect=|Unassigned|UpdateInProgress|UpdateSucceeded|UpdateFailed|Non_static_idofstringletmakei=iletto_string=function|Unassigned->"Unassigned"|UpdateInProgress->"UpdateInProgress"|UpdateSucceeded->"UpdateSucceeded"|UpdateFailed->"UpdateFailed"|Non_static_ids->sletof_string=function|"Unassigned"->Unassigned|"UpdateInProgress"->UpdateInProgress|"UpdateSucceeded"->UpdateSucceeded|"UpdateFailed"->UpdateFailed|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 CallingNameStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CallingNameStatus"j)letto_json=simple_to_jsonto_valueendmoduleGuidString=structtypenonrect=stringletcontext_="GuidString"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"GuidString"jletto_json=simple_to_jsonto_valueendmodulePhoneNumberAssociationList=structtypenonrect=PhoneNumberAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumberAssociation.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:PhoneNumberAssociation.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberAssociationList"~of_json:PhoneNumberAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberCapabilities=structtypenonrect={inboundCall:NullableBoolean.toption[@ocaml.doc"Allows or denies inbound calling for the specified phone number."];outboundCall:NullableBoolean.toption[@ocaml.doc"Allows or denies outbound calling for the specified phone number."];inboundSMS:NullableBoolean.toption[@ocaml.doc"Allows or denies inbound SMS messaging for the specified phone number."];outboundSMS:NullableBoolean.toption[@ocaml.doc"Allows or denies outbound SMS messaging for the specified phone number."];inboundMMS:NullableBoolean.toption[@ocaml.doc"Allows or denies inbound MMS messaging for the specified phone number."];outboundMMS:NullableBoolean.toption[@ocaml.doc"Allows or denies inbound MMS messaging for the specified phone number."]}letmake?inboundCall=fun?outboundCall->fun?inboundSMS->fun?outboundSMS->fun?inboundMMS->fun?outboundMMS->fun()->{inboundCall;outboundCall;inboundSMS;outboundSMS;inboundMMS;outboundMMS}letto_valuex=structure_to_value[("InboundCall",(Option.mapx.inboundCall~f:NullableBoolean.to_value));("OutboundCall",(Option.mapx.outboundCall~f:NullableBoolean.to_value));("InboundSMS",(Option.mapx.inboundSMS~f:NullableBoolean.to_value));("OutboundSMS",(Option.mapx.outboundSMS~f:NullableBoolean.to_value));("InboundMMS",(Option.mapx.inboundMMS~f:NullableBoolean.to_value));("OutboundMMS",(Option.mapx.outboundMMS~f:NullableBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutboundMMS=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"OutboundMMS")inletinboundMMS=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"InboundMMS")inletoutboundSMS=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"OutboundSMS")inletinboundSMS=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"InboundSMS")inletoutboundCall=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"OutboundCall")inletinboundCall=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"InboundCall")inmake?outboundMMS?inboundMMS?outboundSMS?inboundSMS?outboundCall?inboundCall()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutboundMMS=field_mapjson__"OutboundMMS"NullableBoolean.of_jsoninletinboundMMS=field_mapjson__"InboundMMS"NullableBoolean.of_jsoninletoutboundSMS=field_mapjson__"OutboundSMS"NullableBoolean.of_jsoninletinboundSMS=field_mapjson__"InboundSMS"NullableBoolean.of_jsoninletoutboundCall=field_mapjson__"OutboundCall"NullableBoolean.of_jsoninletinboundCall=field_mapjson__"InboundCall"NullableBoolean.of_jsoninmake?outboundMMS?inboundMMS?outboundSMS?inboundSMS?outboundCall?inboundCall()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The phone number capabilities for Amazon Chime SDK phone numbers, such as enabled inbound and outbound calling, and text messaging."]modulePhoneNumberName=structtypenonrect=stringletcontext_="PhoneNumberName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^$|^[a-zA-Z0-9\\,\\.\\_\\-]+(\\s+[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:"PhoneNumberName"jletto_json=simple_to_jsonto_valueendmodulePhoneNumberProductType=structtypenonrect=|VoiceConnector|SipMediaApplicationDialIn|Non_static_idofstringletmakei=iletto_string=function|VoiceConnector->"VoiceConnector"|SipMediaApplicationDialIn->"SipMediaApplicationDialIn"|Non_static_ids->sletof_string=function|"VoiceConnector"->VoiceConnector|"SipMediaApplicationDialIn"->SipMediaApplicationDialIn|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 PhoneNumberProductType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberProductType"j)letto_json=simple_to_jsonto_valueendmodulePhoneNumberStatus=structtypenonrect=|Cancelled|PortinCancelRequested|PortinInProgress|AcquireInProgress|AcquireFailed|Unassigned|Assigned|ReleaseInProgress|DeleteInProgress|ReleaseFailed|DeleteFailed|Non_static_idofstringletmakei=iletto_string=function|Cancelled->"Cancelled"|PortinCancelRequested->"PortinCancelRequested"|PortinInProgress->"PortinInProgress"|AcquireInProgress->"AcquireInProgress"|AcquireFailed->"AcquireFailed"|Unassigned->"Unassigned"|Assigned->"Assigned"|ReleaseInProgress->"ReleaseInProgress"|DeleteInProgress->"DeleteInProgress"|ReleaseFailed->"ReleaseFailed"|DeleteFailed->"DeleteFailed"|Non_static_ids->sletof_string=function|"Cancelled"->Cancelled|"PortinCancelRequested"->PortinCancelRequested|"PortinInProgress"->PortinInProgress|"AcquireInProgress"->AcquireInProgress|"AcquireFailed"->AcquireFailed|"Unassigned"->Unassigned|"Assigned"->Assigned|"ReleaseInProgress"->ReleaseInProgress|"DeleteInProgress"->DeleteInProgress|"ReleaseFailed"->ReleaseFailed|"DeleteFailed"->DeleteFailed|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 PhoneNumberStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberStatus"j)letto_json=simple_to_jsonto_valueendmoduleOrderedPhoneNumberList=structtypenonrect=OrderedPhoneNumber.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OrderedPhoneNumber.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:OrderedPhoneNumber.of_xml)letof_jsonj=list_of_json~kind:"OrderedPhoneNumberList"~of_json:OrderedPhoneNumber.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberOrderStatus=structtypenonrect=|Processing|Successful|Failed|Partial|PendingDocuments|Submitted|FOC|ChangeRequested|Exception|CancelRequested|Cancelled|Non_static_idofstringletmakei=iletto_string=function|Processing->"Processing"|Successful->"Successful"|Failed->"Failed"|Partial->"Partial"|PendingDocuments->"PendingDocuments"|Submitted->"Submitted"|FOC->"FOC"|ChangeRequested->"ChangeRequested"|Exception->"Exception"|CancelRequested->"CancelRequested"|Cancelled->"Cancelled"|Non_static_ids->sletof_string=function|"Processing"->Processing|"Successful"->Successful|"Failed"->Failed|"Partial"->Partial|"PendingDocuments"->PendingDocuments|"Submitted"->Submitted|"FOC"->FOC|"ChangeRequested"->ChangeRequested|"Exception"->Exception|"CancelRequested"->CancelRequested|"Cancelled"->Cancelled|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 PhoneNumberOrderStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberOrderStatus"j)letto_json=simple_to_jsonto_valueendmodulePhoneNumberOrderType=structtypenonrect=|New|Porting|Non_static_idofstringletmakei=iletto_string=function|New->"New"|Porting->"Porting"|Non_static_ids->sletof_string=function|"New"->New|"Porting"->Porting|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 PhoneNumberOrderType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PhoneNumberOrderType"j)letto_json=simple_to_jsonto_valueendmoduleErrorCode=structtypenonrect=|BadRequest|Conflict|Forbidden|NotFound|PreconditionFailed|ResourceLimitExceeded|ServiceFailure|AccessDenied|ServiceUnavailable|Throttled|Throttling|Unauthorized|Unprocessable|VoiceConnectorGroupAssociationsExist|PhoneNumberAssociationsExist|Gone|Non_static_idofstringletmakei=iletto_string=function|BadRequest->"BadRequest"|Conflict->"Conflict"|Forbidden->"Forbidden"|NotFound->"NotFound"|PreconditionFailed->"PreconditionFailed"|ResourceLimitExceeded->"ResourceLimitExceeded"|ServiceFailure->"ServiceFailure"|AccessDenied->"AccessDenied"|ServiceUnavailable->"ServiceUnavailable"|Throttled->"Throttled"|Throttling->"Throttling"|Unauthorized->"Unauthorized"|Unprocessable->"Unprocessable"|VoiceConnectorGroupAssociationsExist->"VoiceConnectorGroupAssociationsExist"|PhoneNumberAssociationsExist->"PhoneNumberAssociationsExist"|Gone->"Gone"|Non_static_ids->sletof_string=function|"BadRequest"->BadRequest|"Conflict"->Conflict|"Forbidden"->Forbidden|"NotFound"->NotFound|"PreconditionFailed"->PreconditionFailed|"ResourceLimitExceeded"->ResourceLimitExceeded|"ServiceFailure"->ServiceFailure|"AccessDenied"->AccessDenied|"ServiceUnavailable"->ServiceUnavailable|"Throttled"->Throttled|"Throttling"->Throttling|"Unauthorized"->Unauthorized|"Unprocessable"->Unprocessable|"VoiceConnectorGroupAssociationsExist"->VoiceConnectorGroupAssociationsExist|"PhoneNumberAssociationsExist"->PhoneNumberAssociationsExist|"Gone"->Gone|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ErrorCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ErrorCode"j)letto_json=simple_to_jsonto_valueendmoduleCandidateAddress=structtypenonrect={streetInfo:SensitiveNonEmptyString.toption[@ocaml.doc"The street information of the candidate address."];streetNumber:SensitiveNonEmptyString.toption[@ocaml.doc"The numeric portion of the candidate address."];city:SensitiveNonEmptyString.toption[@ocaml.doc"The city of the candidate address."];state:SensitiveNonEmptyString.toption[@ocaml.doc"The state of the candidate address."];postalCode:SensitiveNonEmptyString.toption[@ocaml.doc"The postal code of the candidate address."];postalCodePlus4:SensitiveNonEmptyString.toption[@ocaml.doc"The zip + 4 or postal code +4 of the candidate address."];country:SensitiveNonEmptyString.toption[@ocaml.doc"The country of the candidate address."]}letmake?streetInfo=fun?streetNumber->fun?city->fun?state->fun?postalCode->fun?postalCodePlus4->fun?country->fun()->{streetInfo;streetNumber;city;state;postalCode;postalCodePlus4;country}letto_valuex=structure_to_value[("streetInfo",(Option.mapx.streetInfo~f:SensitiveNonEmptyString.to_value));("streetNumber",(Option.mapx.streetNumber~f:SensitiveNonEmptyString.to_value));("city",(Option.mapx.city~f:SensitiveNonEmptyString.to_value));("state",(Option.mapx.state~f:SensitiveNonEmptyString.to_value));("postalCode",(Option.mapx.postalCode~f:SensitiveNonEmptyString.to_value));("postalCodePlus4",(Option.mapx.postalCodePlus4~f:SensitiveNonEmptyString.to_value));("country",(Option.mapx.country~f:SensitiveNonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcountry=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"country")inletpostalCodePlus4=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"postalCodePlus4")inletpostalCode=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"postalCode")inletstate=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"state")inletcity=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"city")inletstreetNumber=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"streetNumber")inletstreetInfo=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"streetInfo")inmake?country?postalCodePlus4?postalCode?state?city?streetNumber?streetInfo()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcountry=field_mapjson__"country"SensitiveNonEmptyString.of_jsoninletpostalCodePlus4=field_mapjson__"postalCodePlus4"SensitiveNonEmptyString.of_jsoninletpostalCode=field_mapjson__"postalCode"SensitiveNonEmptyString.of_jsoninletstate=field_mapjson__"state"SensitiveNonEmptyString.of_jsoninletcity=field_mapjson__"city"SensitiveNonEmptyString.of_jsoninletstreetNumber=field_mapjson__"streetNumber"SensitiveNonEmptyString.of_jsoninletstreetInfo=field_mapjson__"streetInfo"SensitiveNonEmptyString.of_jsoninmake?country?postalCodePlus4?postalCode?state?city?streetNumber?streetInfo()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A suggested address."]moduleServerSideEncryptionConfiguration=structtypenonrect={kmsKeyArn:Arn.t[@ocaml.doc"The ARN of the KMS key used to encrypt the enrollment data in a voice profile domain. Asymmetric customer managed keys are not supported."]}letcontext_="ServerSideEncryptionConfiguration"letmake~kmsKeyArn=fun()->{kmsKeyArn}letto_valuex=structure_to_value[("KmsKeyArn",(Some(Arn.to_valuex.kmsKeyArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"KmsKeyArn")inmake~kmsKeyArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyArn=field_map_exnjson__"KmsKeyArn"Arn.of_jsoninmake~kmsKeyArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains the configuration settings for server-side encryption. We only support symmetric keys. Do not use asymmetric or HMAC keys, or KMS aliases."]moduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The tag's key."];value:TagValue.t[@ocaml.doc"The tag's value."]}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"Describes a tag applied to a resource."]moduleCallDetails=structtypenonrect={voiceConnectorId:NonEmptyString128.toption[@ocaml.doc"The Voice Connector ID."];transactionId:NonEmptyString256.toption[@ocaml.doc"The transaction ID of a Voice Connector call."];isCaller:Boolean.toption[@ocaml.doc"Identifies a person as the caller or the callee."]}letmake?voiceConnectorId=fun?transactionId->fun?isCaller->fun()->{voiceConnectorId;transactionId;isCaller}letto_valuex=structure_to_value[("VoiceConnectorId",(Option.mapx.voiceConnectorId~f:NonEmptyString128.to_value));("TransactionId",(Option.mapx.transactionId~f:NonEmptyString256.to_value));("IsCaller",(Option.mapx.isCaller~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisCaller=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"IsCaller")inlettransactionId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"TransactionId")inletvoiceConnectorId=(Option.map~f:NonEmptyString128.of_xml)(Xml.childxml_arg0"VoiceConnectorId")inmake?isCaller?transactionId?voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisCaller=field_mapjson__"IsCaller"Boolean.of_jsoninlettransactionId=field_mapjson__"TransactionId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_mapjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?isCaller?transactionId?voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of an Amazon Chime SDK Voice Connector call."]moduleSpeakerSearchDetails=structtypenonrect={results:SpeakerSearchResultList.toption[@ocaml.doc"The result value in the speaker search details."];voiceprintGenerationStatus:NonEmptyString256.toption[@ocaml.doc"The status of a voice print generation operation, VoiceprintGenerationSuccess or VoiceprintGenerationFailure.."]}letmake?results=fun?voiceprintGenerationStatus->fun()->{results;voiceprintGenerationStatus}letto_valuex=structure_to_value[("Results",(Option.mapx.results~f:SpeakerSearchResultList.to_value));("VoiceprintGenerationStatus",(Option.mapx.voiceprintGenerationStatus~f:NonEmptyString256.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceprintGenerationStatus=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceprintGenerationStatus")inletresults=(Option.map~f:SpeakerSearchResultList.of_xml)(Xml.childxml_arg0"Results")inmake?voiceprintGenerationStatus?results()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceprintGenerationStatus=field_mapjson__"VoiceprintGenerationStatus"NonEmptyString256.of_jsoninletresults=field_mapjson__"Results"SpeakerSearchResultList.of_jsoninmake?voiceprintGenerationStatus?results()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of a speaker search task."]moduleCallingRegionList=structtypenonrect=CallingRegion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CallingRegion.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:CallingRegion.of_xml)letof_jsonj=list_of_json~kind:"CallingRegionList"~of_json:CallingRegion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCpsLimit=structtypenonrect=intletmakei=letopenResultinok_or_failwith(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 CpsLimit"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleStringList=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"StringList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCredential=structtypenonrect={username:SensitiveString.toption[@ocaml.doc"The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format."];password:SensitiveString.toption[@ocaml.doc"The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format."]}letmake?username=fun?password->fun()->{username;password}letto_valuex=structure_to_value[("Username",(Option.mapx.username~f:SensitiveString.to_value));("Password",(Option.mapx.password~f:SensitiveString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpassword=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"Password")inletusername=(Option.map~f:SensitiveString.of_xml)(Xml.childxml_arg0"Username")inmake?password?username()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpassword=field_mapjson__"Password"SensitiveString.of_jsoninletusername=field_mapjson__"Username"SensitiveString.of_jsoninmake?password?username()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The SIP credentials used to authenticate requests to an Amazon Chime SDK Voice Connector."]moduleDataRetentionInHours=structtypenonrect=intletmakei=letopenResultinok_or_failwith(check_int_mini~min:0);iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for DataRetentionInHours"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMediaInsightsConfiguration=structtypenonrect={disabled:Boolean.toption[@ocaml.doc"Denotes the configuration as enabled or disabled."];configurationArn:Arn.toption[@ocaml.doc"The configuration's ARN."]}letmake?disabled=fun?configurationArn->fun()->{disabled;configurationArn}letto_valuex=structure_to_value[("Disabled",(Option.mapx.disabled~f:Boolean.to_value));("ConfigurationArn",(Option.mapx.configurationArn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"ConfigurationArn")inletdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inmake?configurationArn?disabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationArn=field_mapjson__"ConfigurationArn"Arn.of_jsoninletdisabled=field_mapjson__"Disabled"Boolean.of_jsoninmake?configurationArn?disabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration for a call analytics task."]moduleStreamingNotificationTargetList=structtypenonrect=StreamingNotificationTarget.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:3)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StreamingNotificationTarget.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:StreamingNotificationTarget.of_xml)letof_jsonj=list_of_json~kind:"StreamingNotificationTargetList"~of_json:StreamingNotificationTarget.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInteger=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOriginationRouteList=structtypenonrect=OriginationRoute.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OriginationRoute.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:OriginationRoute.of_xml)letof_jsonj=list_of_json~kind:"OriginationRouteList"~of_json:OriginationRoute.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleContactCenterSystemTypeList=structtypenonrect=ContactCenterSystemType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ContactCenterSystemType.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:ContactCenterSystemType.of_xml)letof_jsonj=list_of_json~kind:"ContactCenterSystemTypeList"~of_json:ContactCenterSystemType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSessionBorderControllerTypeList=structtypenonrect=SessionBorderControllerType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SessionBorderControllerType.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:SessionBorderControllerType.of_xml)letof_jsonj=list_of_json~kind:"SessionBorderControllerTypeList"~of_json:SessionBorderControllerType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDNISEmergencyCallingConfigurationList=structtypenonrect=DNISEmergencyCallingConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DNISEmergencyCallingConfiguration.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:DNISEmergencyCallingConfiguration.of_xml)letof_jsonj=list_of_json~kind:"DNISEmergencyCallingConfigurationList"~of_json:DNISEmergencyCallingConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAlexaSkillIdList=structtypenonrect=AlexaSkillId.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AlexaSkillId.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:AlexaSkillId.of_xml)letof_jsonj=list_of_json~kind:"AlexaSkillIdList"~of_json:AlexaSkillId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAlexaSkillStatus=structtypenonrect=|ACTIVE|INACTIVE|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|INACTIVE->"INACTIVE"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"INACTIVE"->INACTIVE|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 AlexaSkillStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AlexaSkillStatus"j)letto_json=simple_to_jsonto_valueendmoduleVoiceProfileSummary=structtypenonrect={voiceProfileId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice profile in a voice profile summary."];voiceProfileArn:Arn.toption[@ocaml.doc"The ARN of the voice profile in a voice profile summary."];voiceProfileDomainId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice profile domain in a voice profile summary."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice profile summary was created."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice profile summary was last updated."];expirationTimestamp:Iso8601Timestamp.toption[@ocaml.doc"Extends the life of the voice profile. You can use UpdateVoiceProfile to refresh an existing voice profile's voice print and extend the life of the summary."]}letmake?voiceProfileId=fun?voiceProfileArn->fun?voiceProfileDomainId->fun?createdTimestamp->fun?updatedTimestamp->fun?expirationTimestamp->fun()->{voiceProfileId;voiceProfileArn;voiceProfileDomainId;createdTimestamp;updatedTimestamp;expirationTimestamp}letto_valuex=structure_to_value[("VoiceProfileId",(Option.mapx.voiceProfileId~f:NonEmptyString256.to_value));("VoiceProfileArn",(Option.mapx.voiceProfileArn~f:Arn.to_value));("VoiceProfileDomainId",(Option.mapx.voiceProfileDomainId~f:NonEmptyString256.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("ExpirationTimestamp",(Option.mapx.expirationTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpirationTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"ExpirationTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletvoiceProfileDomainId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileDomainId")inletvoiceProfileArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"VoiceProfileArn")inletvoiceProfileId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileId")inmake?expirationTimestamp?updatedTimestamp?createdTimestamp?voiceProfileDomainId?voiceProfileArn?voiceProfileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpirationTimestamp=field_mapjson__"ExpirationTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletvoiceProfileDomainId=field_mapjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninletvoiceProfileArn=field_mapjson__"VoiceProfileArn"Arn.of_jsoninletvoiceProfileId=field_mapjson__"VoiceProfileId"NonEmptyString256.of_jsoninmake?expirationTimestamp?updatedTimestamp?createdTimestamp?voiceProfileDomainId?voiceProfileArn?voiceProfileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A high-level summary of a voice profile."]moduleVoiceProfileDomainSummary=structtypenonrect={voiceProfileDomainId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice profile domain summary."];voiceProfileDomainArn:Arn.toption[@ocaml.doc"The ARN of a voice profile in a voice profile domain summary."];name:VoiceProfileDomainName.toption[@ocaml.doc"The name of the voice profile domain summary."];description:VoiceProfileDomainDescription.toption[@ocaml.doc"Describes the voice profile domain summary."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile domain summary was created."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile domain summary was last updated."]}letmake?voiceProfileDomainId=fun?voiceProfileDomainArn->fun?name->fun?description->fun?createdTimestamp->fun?updatedTimestamp->fun()->{voiceProfileDomainId;voiceProfileDomainArn;name;description;createdTimestamp;updatedTimestamp}letto_valuex=structure_to_value[("VoiceProfileDomainId",(Option.mapx.voiceProfileDomainId~f:NonEmptyString256.to_value));("VoiceProfileDomainArn",(Option.mapx.voiceProfileDomainArn~f:Arn.to_value));("Name",(Option.mapx.name~f:VoiceProfileDomainName.to_value));("Description",(Option.mapx.description~f:VoiceProfileDomainDescription.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletdescription=(Option.map~f:VoiceProfileDomainDescription.of_xml)(Xml.childxml_arg0"Description")inletname=(Option.map~f:VoiceProfileDomainName.of_xml)(Xml.childxml_arg0"Name")inletvoiceProfileDomainArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"VoiceProfileDomainArn")inletvoiceProfileDomainId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileDomainId")inmake?updatedTimestamp?createdTimestamp?description?name?voiceProfileDomainArn?voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletdescription=field_mapjson__"Description"VoiceProfileDomainDescription.of_jsoninletname=field_mapjson__"Name"VoiceProfileDomainName.of_jsoninletvoiceProfileDomainArn=field_mapjson__"VoiceProfileDomainArn"Arn.of_jsoninletvoiceProfileDomainId=field_mapjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake?updatedTimestamp?createdTimestamp?description?name?voiceProfileDomainArn?voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A high-level overview of a voice profile domain."]moduleVoiceConnector=structtypenonrect={voiceConnectorId:NonEmptyString.toption[@ocaml.doc"The Voice Connector's ID."];awsRegion:VoiceConnectorAwsRegion.toption[@ocaml.doc"The AWS Region in which the Voice Connector is created. Default: us-east-1."];name:VoiceConnectorName.toption[@ocaml.doc"The Voice Connector's name."];outboundHostName:String_.toption[@ocaml.doc"The outbound host name for the Voice Connector."];requireEncryption:Boolean.toption[@ocaml.doc"Enables or disables encryption for the Voice Connector."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The Voice Connector's creation timestamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The Voice Connector's updated timestamp, in ISO 8601 format."];voiceConnectorArn:NonEmptyString.toption[@ocaml.doc"The ARN of the Voice Connector."];integrationType:VoiceConnectorIntegrationType.toption[@ocaml.doc"The connectors for use with Amazon Connect."];networkType:NetworkType.toption[@ocaml.doc"The type of network of the Voice Connector. Either IPv4 only or dual-stack (IPv4 and IPv6)."]}letmake?voiceConnectorId=fun?awsRegion->fun?name->fun?outboundHostName->fun?requireEncryption->fun?createdTimestamp->fun?updatedTimestamp->fun?voiceConnectorArn->fun?integrationType->fun?networkType->fun()->{voiceConnectorId;awsRegion;name;outboundHostName;requireEncryption;createdTimestamp;updatedTimestamp;voiceConnectorArn;integrationType;networkType}letto_valuex=structure_to_value[("VoiceConnectorId",(Option.mapx.voiceConnectorId~f:NonEmptyString.to_value));("AwsRegion",(Option.mapx.awsRegion~f:VoiceConnectorAwsRegion.to_value));("Name",(Option.mapx.name~f:VoiceConnectorName.to_value));("OutboundHostName",(Option.mapx.outboundHostName~f:String_.to_value));("RequireEncryption",(Option.mapx.requireEncryption~f:Boolean.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("VoiceConnectorArn",(Option.mapx.voiceConnectorArn~f:NonEmptyString.to_value));("IntegrationType",(Option.mapx.integrationType~f:VoiceConnectorIntegrationType.to_value));("NetworkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"NetworkType")inletintegrationType=(Option.map~f:VoiceConnectorIntegrationType.of_xml)(Xml.childxml_arg0"IntegrationType")inletvoiceConnectorArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"VoiceConnectorArn")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletrequireEncryption=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"RequireEncryption")inletoutboundHostName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OutboundHostName")inletname=(Option.map~f:VoiceConnectorName.of_xml)(Xml.childxml_arg0"Name")inletawsRegion=(Option.map~f:VoiceConnectorAwsRegion.of_xml)(Xml.childxml_arg0"AwsRegion")inletvoiceConnectorId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"VoiceConnectorId")inmake?networkType?integrationType?voiceConnectorArn?updatedTimestamp?createdTimestamp?requireEncryption?outboundHostName?name?awsRegion?voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninletintegrationType=field_mapjson__"IntegrationType"VoiceConnectorIntegrationType.of_jsoninletvoiceConnectorArn=field_mapjson__"VoiceConnectorArn"NonEmptyString.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletrequireEncryption=field_mapjson__"RequireEncryption"Boolean.of_jsoninletoutboundHostName=field_mapjson__"OutboundHostName"String_.of_jsoninletname=field_mapjson__"Name"VoiceConnectorName.of_jsoninletawsRegion=field_mapjson__"AwsRegion"VoiceConnectorAwsRegion.of_jsoninletvoiceConnectorId=field_mapjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake?networkType?integrationType?voiceConnectorArn?updatedTimestamp?createdTimestamp?requireEncryption?outboundHostName?name?awsRegion?voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Chime SDK Voice Connector configuration, including outbound host name and encryption settings."]moduleVoiceConnectorGroup=structtypenonrect={voiceConnectorGroupId:NonEmptyString.toption[@ocaml.doc"The ID of a Voice Connector group."];name:VoiceConnectorGroupName.toption[@ocaml.doc"The name of a Voice Connector group."];voiceConnectorItems:VoiceConnectorItemList.toption[@ocaml.doc"The Voice Connectors to which you route inbound calls."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The Voice Connector group's creation time stamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The Voice Connector group's creation time stamp, in ISO 8601 format."];voiceConnectorGroupArn:NonEmptyString.toption[@ocaml.doc"The ARN of the Voice Connector group."]}letmake?voiceConnectorGroupId=fun?name->fun?voiceConnectorItems->fun?createdTimestamp->fun?updatedTimestamp->fun?voiceConnectorGroupArn->fun()->{voiceConnectorGroupId;name;voiceConnectorItems;createdTimestamp;updatedTimestamp;voiceConnectorGroupArn}letto_valuex=structure_to_value[("VoiceConnectorGroupId",(Option.mapx.voiceConnectorGroupId~f:NonEmptyString.to_value));("Name",(Option.mapx.name~f:VoiceConnectorGroupName.to_value));("VoiceConnectorItems",(Option.mapx.voiceConnectorItems~f:VoiceConnectorItemList.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("VoiceConnectorGroupArn",(Option.mapx.voiceConnectorGroupArn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroupArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"VoiceConnectorGroupArn")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletvoiceConnectorItems=(Option.map~f:VoiceConnectorItemList.of_xml)(Xml.childxml_arg0"VoiceConnectorItems")inletname=(Option.map~f:VoiceConnectorGroupName.of_xml)(Xml.childxml_arg0"Name")inletvoiceConnectorGroupId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"VoiceConnectorGroupId")inmake?voiceConnectorGroupArn?updatedTimestamp?createdTimestamp?voiceConnectorItems?name?voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroupArn=field_mapjson__"VoiceConnectorGroupArn"NonEmptyString.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletvoiceConnectorItems=field_mapjson__"VoiceConnectorItems"VoiceConnectorItemList.of_jsoninletname=field_mapjson__"Name"VoiceConnectorGroupName.of_jsoninletvoiceConnectorGroupId=field_mapjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake?voiceConnectorGroupArn?updatedTimestamp?createdTimestamp?voiceConnectorItems?name?voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Chime SDK Voice Connector group configuration, including associated Voice Connectors. You can include Voice Connectors from different AWS Regions in a group. This creates a fault tolerant mechanism for fallback in case of availability events."]modulePhoneNumberCountry=structtypenonrect={countryCode:Alpha2CountryCode.toption[@ocaml.doc"The phone number country code. Format: ISO 3166-1 alpha-2."];supportedPhoneNumberTypes:PhoneNumberTypeList.toption[@ocaml.doc"The supported phone number types."]}letmake?countryCode=fun?supportedPhoneNumberTypes->fun()->{countryCode;supportedPhoneNumberTypes}letto_valuex=structure_to_value[("CountryCode",(Option.mapx.countryCode~f:Alpha2CountryCode.to_value));("SupportedPhoneNumberTypes",(Option.mapx.supportedPhoneNumberTypes~f:PhoneNumberTypeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsupportedPhoneNumberTypes=(Option.map~f:PhoneNumberTypeList.of_xml)(Xml.childxml_arg0"SupportedPhoneNumberTypes")inletcountryCode=(Option.map~f:Alpha2CountryCode.of_xml)(Xml.childxml_arg0"CountryCode")inmake?supportedPhoneNumberTypes?countryCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsupportedPhoneNumberTypes=field_mapjson__"SupportedPhoneNumberTypes"PhoneNumberTypeList.of_jsoninletcountryCode=field_mapjson__"CountryCode"Alpha2CountryCode.of_jsoninmake?supportedPhoneNumberTypes?countryCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The phone number's country."]moduleSipRule=structtypenonrect={sipRuleId:NonEmptyString.toption[@ocaml.doc"A SIP rule's ID."];name:SipRuleName.toption[@ocaml.doc"A SIP rule's name."];disabled:Boolean.toption[@ocaml.doc"Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it."];triggerType:SipRuleTriggerType.toption[@ocaml.doc"The type of trigger set for a SIP rule, either a phone number or a URI request host name."];triggerValue:NonEmptyString.toption[@ocaml.doc"The value set for a SIP rule's trigger type. Either a phone number or a URI hostname."];targetApplications:SipRuleTargetApplicationList.toption[@ocaml.doc"The target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the SIP rule was created, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the SIP rule was updated, in ISO 8601 format."]}letmake?sipRuleId=fun?name->fun?disabled->fun?triggerType->fun?triggerValue->fun?targetApplications->fun?createdTimestamp->fun?updatedTimestamp->fun()->{sipRuleId;name;disabled;triggerType;triggerValue;targetApplications;createdTimestamp;updatedTimestamp}letto_valuex=structure_to_value[("SipRuleId",(Option.mapx.sipRuleId~f:NonEmptyString.to_value));("Name",(Option.mapx.name~f:SipRuleName.to_value));("Disabled",(Option.mapx.disabled~f:Boolean.to_value));("TriggerType",(Option.mapx.triggerType~f:SipRuleTriggerType.to_value));("TriggerValue",(Option.mapx.triggerValue~f:NonEmptyString.to_value));("TargetApplications",(Option.mapx.targetApplications~f:SipRuleTargetApplicationList.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inlettargetApplications=(Option.map~f:SipRuleTargetApplicationList.of_xml)(Xml.childxml_arg0"TargetApplications")inlettriggerValue=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"TriggerValue")inlettriggerType=(Option.map~f:SipRuleTriggerType.of_xml)(Xml.childxml_arg0"TriggerType")inletdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inletname=(Option.map~f:SipRuleName.of_xml)(Xml.childxml_arg0"Name")inletsipRuleId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"SipRuleId")inmake?updatedTimestamp?createdTimestamp?targetApplications?triggerValue?triggerType?disabled?name?sipRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninlettargetApplications=field_mapjson__"TargetApplications"SipRuleTargetApplicationList.of_jsoninlettriggerValue=field_mapjson__"TriggerValue"NonEmptyString.of_jsoninlettriggerType=field_mapjson__"TriggerType"SipRuleTriggerType.of_jsoninletdisabled=field_mapjson__"Disabled"Boolean.of_jsoninletname=field_mapjson__"Name"SipRuleName.of_jsoninletsipRuleId=field_mapjson__"SipRuleId"NonEmptyString.of_jsoninmake?updatedTimestamp?createdTimestamp?targetApplications?triggerValue?triggerType?disabled?name?sipRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of a SIP rule, including name, triggers, and target applications. An AWS account can have multiple SIP rules."]moduleSipMediaApplication=structtypenonrect={sipMediaApplicationId:NonEmptyString.toption[@ocaml.doc"A SIP media application's ID."];awsRegion:String_.toption[@ocaml.doc"The AWS Region in which the SIP media application is created."];name:SipMediaApplicationName.toption[@ocaml.doc"The SIP media application's name."];endpoints:SipMediaApplicationEndpointList.toption[@ocaml.doc"List of endpoints for a SIP media application. Currently, only one endpoint per SIP media application is permitted."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The SIP media application creation timestamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the SIP media application was updated."];sipMediaApplicationArn:NonEmptyString.toption[@ocaml.doc"The ARN of the SIP media application."]}letmake?sipMediaApplicationId=fun?awsRegion->fun?name->fun?endpoints->fun?createdTimestamp->fun?updatedTimestamp->fun?sipMediaApplicationArn->fun()->{sipMediaApplicationId;awsRegion;name;endpoints;createdTimestamp;updatedTimestamp;sipMediaApplicationArn}letto_valuex=structure_to_value[("SipMediaApplicationId",(Option.mapx.sipMediaApplicationId~f:NonEmptyString.to_value));("AwsRegion",(Option.mapx.awsRegion~f:String_.to_value));("Name",(Option.mapx.name~f:SipMediaApplicationName.to_value));("Endpoints",(Option.mapx.endpoints~f:SipMediaApplicationEndpointList.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("SipMediaApplicationArn",(Option.mapx.sipMediaApplicationArn~f:NonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationArn=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"SipMediaApplicationArn")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletendpoints=(Option.map~f:SipMediaApplicationEndpointList.of_xml)(Xml.childxml_arg0"Endpoints")inletname=(Option.map~f:SipMediaApplicationName.of_xml)(Xml.childxml_arg0"Name")inletawsRegion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AwsRegion")inletsipMediaApplicationId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"SipMediaApplicationId")inmake?sipMediaApplicationArn?updatedTimestamp?createdTimestamp?endpoints?name?awsRegion?sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationArn=field_mapjson__"SipMediaApplicationArn"NonEmptyString.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletendpoints=field_mapjson__"Endpoints"SipMediaApplicationEndpointList.of_jsoninletname=field_mapjson__"Name"SipMediaApplicationName.of_jsoninletawsRegion=field_mapjson__"AwsRegion"String_.of_jsoninletsipMediaApplicationId=field_mapjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?sipMediaApplicationArn?updatedTimestamp?createdTimestamp?endpoints?name?awsRegion?sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications."]moduleProxySession=structtypenonrect={voiceConnectorId:NonEmptyString128.toption[@ocaml.doc"The Voice Connector ID."];proxySessionId:NonEmptyString128.toption[@ocaml.doc"The proxy session ID."];name:String128.toption[@ocaml.doc"The proxy session name."];status:ProxySessionStatus.toption[@ocaml.doc"The proxy session status."];expiryMinutes:PositiveInteger.toption[@ocaml.doc"The number of minutes allowed for the proxy session."];capabilities:CapabilityList.toption[@ocaml.doc"The proxy session capabilities."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The created time stamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The updated time stamp, in ISO 8601 format."];endedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The ended time stamp, in ISO 8601 format."];participants:Participants.toption[@ocaml.doc"The proxy session participants."];numberSelectionBehavior:NumberSelectionBehavior.toption[@ocaml.doc"The preference for proxy phone number reuse, or stickiness, between the same participants across sessions."];geoMatchLevel:GeoMatchLevel.toption[@ocaml.doc"The preference for matching the country or area code of the proxy phone number with that of the first participant."];geoMatchParams:GeoMatchParams.toption[@ocaml.doc"The country and area code for the proxy phone number."]}letmake?voiceConnectorId=fun?proxySessionId->fun?name->fun?status->fun?expiryMinutes->fun?capabilities->fun?createdTimestamp->fun?updatedTimestamp->fun?endedTimestamp->fun?participants->fun?numberSelectionBehavior->fun?geoMatchLevel->fun?geoMatchParams->fun()->{voiceConnectorId;proxySessionId;name;status;expiryMinutes;capabilities;createdTimestamp;updatedTimestamp;endedTimestamp;participants;numberSelectionBehavior;geoMatchLevel;geoMatchParams}letto_valuex=structure_to_value[("VoiceConnectorId",(Option.mapx.voiceConnectorId~f:NonEmptyString128.to_value));("ProxySessionId",(Option.mapx.proxySessionId~f:NonEmptyString128.to_value));("Name",(Option.mapx.name~f:String128.to_value));("Status",(Option.mapx.status~f:ProxySessionStatus.to_value));("ExpiryMinutes",(Option.mapx.expiryMinutes~f:PositiveInteger.to_value));("Capabilities",(Option.mapx.capabilities~f:CapabilityList.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("EndedTimestamp",(Option.mapx.endedTimestamp~f:Iso8601Timestamp.to_value));("Participants",(Option.mapx.participants~f:Participants.to_value));("NumberSelectionBehavior",(Option.mapx.numberSelectionBehavior~f:NumberSelectionBehavior.to_value));("GeoMatchLevel",(Option.mapx.geoMatchLevel~f:GeoMatchLevel.to_value));("GeoMatchParams",(Option.mapx.geoMatchParams~f:GeoMatchParams.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeoMatchParams=(Option.map~f:GeoMatchParams.of_xml)(Xml.childxml_arg0"GeoMatchParams")inletgeoMatchLevel=(Option.map~f:GeoMatchLevel.of_xml)(Xml.childxml_arg0"GeoMatchLevel")inletnumberSelectionBehavior=(Option.map~f:NumberSelectionBehavior.of_xml)(Xml.childxml_arg0"NumberSelectionBehavior")inletparticipants=(Option.map~f:Participants.of_xml)(Xml.childxml_arg0"Participants")inletendedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"EndedTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletcapabilities=(Option.map~f:CapabilityList.of_xml)(Xml.childxml_arg0"Capabilities")inletexpiryMinutes=(Option.map~f:PositiveInteger.of_xml)(Xml.childxml_arg0"ExpiryMinutes")inletstatus=(Option.map~f:ProxySessionStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:String128.of_xml)(Xml.childxml_arg0"Name")inletproxySessionId=(Option.map~f:NonEmptyString128.of_xml)(Xml.childxml_arg0"ProxySessionId")inletvoiceConnectorId=(Option.map~f:NonEmptyString128.of_xml)(Xml.childxml_arg0"VoiceConnectorId")inmake?geoMatchParams?geoMatchLevel?numberSelectionBehavior?participants?endedTimestamp?updatedTimestamp?createdTimestamp?capabilities?expiryMinutes?status?name?proxySessionId?voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeoMatchParams=field_mapjson__"GeoMatchParams"GeoMatchParams.of_jsoninletgeoMatchLevel=field_mapjson__"GeoMatchLevel"GeoMatchLevel.of_jsoninletnumberSelectionBehavior=field_mapjson__"NumberSelectionBehavior"NumberSelectionBehavior.of_jsoninletparticipants=field_mapjson__"Participants"Participants.of_jsoninletendedTimestamp=field_mapjson__"EndedTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletcapabilities=field_mapjson__"Capabilities"CapabilityList.of_jsoninletexpiryMinutes=field_mapjson__"ExpiryMinutes"PositiveInteger.of_jsoninletstatus=field_mapjson__"Status"ProxySessionStatus.of_jsoninletname=field_mapjson__"Name"String128.of_jsoninletproxySessionId=field_mapjson__"ProxySessionId"NonEmptyString128.of_jsoninletvoiceConnectorId=field_mapjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?geoMatchParams?geoMatchLevel?numberSelectionBehavior?participants?endedTimestamp?updatedTimestamp?createdTimestamp?capabilities?expiryMinutes?status?name?proxySessionId?voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The proxy session for an Amazon Chime SDK Voice Connector."]modulePhoneNumber=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.toption[@ocaml.doc"The phone number's ID."];e164PhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The phone number, in E.164 format."];country:Alpha2CountryCode.toption[@ocaml.doc"The phone number's country. Format: ISO 3166-1 alpha-2."];type_:PhoneNumberType.toption[@ocaml.doc"The phone number's type."];productType:PhoneNumberProductType.toption[@ocaml.doc"The phone number's product type."];status:PhoneNumberStatus.toption[@ocaml.doc"The phone number's status."];capabilities:PhoneNumberCapabilities.toption[@ocaml.doc"The phone number's capabilities."];associations:PhoneNumberAssociationList.toption[@ocaml.doc"The phone number's associations."];callingName:CallingName.toption[@ocaml.doc"The outbound calling name associated with the phone number."];callingNameStatus:CallingNameStatus.toption[@ocaml.doc"The outbound calling name status."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The phone number creation timestamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The updated phone number timestamp, in ISO 8601 format."];deletionTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The deleted phone number timestamp, in ISO 8601 format."];orderId:GuidString.toption[@ocaml.doc"The phone number's order ID."];name:PhoneNumberName.toption[@ocaml.doc"The name of the phone number."]}letmake?phoneNumberId=fun?e164PhoneNumber->fun?country->fun?type_->fun?productType->fun?status->fun?capabilities->fun?associations->fun?callingName->fun?callingNameStatus->fun?createdTimestamp->fun?updatedTimestamp->fun?deletionTimestamp->fun?orderId->fun?name->fun()->{phoneNumberId;e164PhoneNumber;country;type_;productType;status;capabilities;associations;callingName;callingNameStatus;createdTimestamp;updatedTimestamp;deletionTimestamp;orderId;name}letto_valuex=structure_to_value[("PhoneNumberId",(Option.mapx.phoneNumberId~f:SensitiveNonEmptyString.to_value));("E164PhoneNumber",(Option.mapx.e164PhoneNumber~f:E164PhoneNumber.to_value));("Country",(Option.mapx.country~f:Alpha2CountryCode.to_value));("Type",(Option.mapx.type_~f:PhoneNumberType.to_value));("ProductType",(Option.mapx.productType~f:PhoneNumberProductType.to_value));("Status",(Option.mapx.status~f:PhoneNumberStatus.to_value));("Capabilities",(Option.mapx.capabilities~f:PhoneNumberCapabilities.to_value));("Associations",(Option.mapx.associations~f:PhoneNumberAssociationList.to_value));("CallingName",(Option.mapx.callingName~f:CallingName.to_value));("CallingNameStatus",(Option.mapx.callingNameStatus~f:CallingNameStatus.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("DeletionTimestamp",(Option.mapx.deletionTimestamp~f:Iso8601Timestamp.to_value));("OrderId",(Option.mapx.orderId~f:GuidString.to_value));("Name",(Option.mapx.name~f:PhoneNumberName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:PhoneNumberName.of_xml)(Xml.childxml_arg0"Name")inletorderId=(Option.map~f:GuidString.of_xml)(Xml.childxml_arg0"OrderId")inletdeletionTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"DeletionTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletcallingNameStatus=(Option.map~f:CallingNameStatus.of_xml)(Xml.childxml_arg0"CallingNameStatus")inletcallingName=(Option.map~f:CallingName.of_xml)(Xml.childxml_arg0"CallingName")inletassociations=(Option.map~f:PhoneNumberAssociationList.of_xml)(Xml.childxml_arg0"Associations")inletcapabilities=(Option.map~f:PhoneNumberCapabilities.of_xml)(Xml.childxml_arg0"Capabilities")inletstatus=(Option.map~f:PhoneNumberStatus.of_xml)(Xml.childxml_arg0"Status")inletproductType=(Option.map~f:PhoneNumberProductType.of_xml)(Xml.childxml_arg0"ProductType")inlettype_=(Option.map~f:PhoneNumberType.of_xml)(Xml.childxml_arg0"Type")inletcountry=(Option.map~f:Alpha2CountryCode.of_xml)(Xml.childxml_arg0"Country")inlete164PhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"E164PhoneNumber")inletphoneNumberId=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"PhoneNumberId")inmake?name?orderId?deletionTimestamp?updatedTimestamp?createdTimestamp?callingNameStatus?callingName?associations?capabilities?status?productType?type_?country?e164PhoneNumber?phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"PhoneNumberName.of_jsoninletorderId=field_mapjson__"OrderId"GuidString.of_jsoninletdeletionTimestamp=field_mapjson__"DeletionTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletcallingNameStatus=field_mapjson__"CallingNameStatus"CallingNameStatus.of_jsoninletcallingName=field_mapjson__"CallingName"CallingName.of_jsoninletassociations=field_mapjson__"Associations"PhoneNumberAssociationList.of_jsoninletcapabilities=field_mapjson__"Capabilities"PhoneNumberCapabilities.of_jsoninletstatus=field_mapjson__"Status"PhoneNumberStatus.of_jsoninletproductType=field_mapjson__"ProductType"PhoneNumberProductType.of_jsoninlettype_=field_mapjson__"Type"PhoneNumberType.of_jsoninletcountry=field_mapjson__"Country"Alpha2CountryCode.of_jsoninlete164PhoneNumber=field_mapjson__"E164PhoneNumber"E164PhoneNumber.of_jsoninletphoneNumberId=field_mapjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake?name?orderId?deletionTimestamp?updatedTimestamp?createdTimestamp?callingNameStatus?callingName?associations?capabilities?status?productType?type_?country?e164PhoneNumber?phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A phone number used to call an Amazon Chime SDK Voice Connector."]modulePhoneNumberOrder=structtypenonrect={phoneNumberOrderId:GuidString.toption[@ocaml.doc"The ID of the phone order."];productType:PhoneNumberProductType.toption[@ocaml.doc"The phone number order product type."];status:PhoneNumberOrderStatus.toption[@ocaml.doc"The status of the phone number order."];orderType:PhoneNumberOrderType.toption[@ocaml.doc"The type of phone number being ordered, local or toll-free."];orderedPhoneNumbers:OrderedPhoneNumberList.toption[@ocaml.doc"The ordered phone number details, such as the phone number in E.164 format and the phone number status."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The phone number order creation time stamp, in ISO 8601 format."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The updated phone number order time stamp, in ISO 8601 format."];focDate:Iso8601Timestamp.toption[@ocaml.doc"The Firm Order Commitment (FOC) date for phone number porting orders. This field is null if a phone number order is not a porting order."]}letmake?phoneNumberOrderId=fun?productType->fun?status->fun?orderType->fun?orderedPhoneNumbers->fun?createdTimestamp->fun?updatedTimestamp->fun?focDate->fun()->{phoneNumberOrderId;productType;status;orderType;orderedPhoneNumbers;createdTimestamp;updatedTimestamp;focDate}letto_valuex=structure_to_value[("PhoneNumberOrderId",(Option.mapx.phoneNumberOrderId~f:GuidString.to_value));("ProductType",(Option.mapx.productType~f:PhoneNumberProductType.to_value));("Status",(Option.mapx.status~f:PhoneNumberOrderStatus.to_value));("OrderType",(Option.mapx.orderType~f:PhoneNumberOrderType.to_value));("OrderedPhoneNumbers",(Option.mapx.orderedPhoneNumbers~f:OrderedPhoneNumberList.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("FocDate",(Option.mapx.focDate~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfocDate=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"FocDate")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletorderedPhoneNumbers=(Option.map~f:OrderedPhoneNumberList.of_xml)(Xml.childxml_arg0"OrderedPhoneNumbers")inletorderType=(Option.map~f:PhoneNumberOrderType.of_xml)(Xml.childxml_arg0"OrderType")inletstatus=(Option.map~f:PhoneNumberOrderStatus.of_xml)(Xml.childxml_arg0"Status")inletproductType=(Option.map~f:PhoneNumberProductType.of_xml)(Xml.childxml_arg0"ProductType")inletphoneNumberOrderId=(Option.map~f:GuidString.of_xml)(Xml.childxml_arg0"PhoneNumberOrderId")inmake?focDate?updatedTimestamp?createdTimestamp?orderedPhoneNumbers?orderType?status?productType?phoneNumberOrderId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfocDate=field_mapjson__"FocDate"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletorderedPhoneNumbers=field_mapjson__"OrderedPhoneNumbers"OrderedPhoneNumberList.of_jsoninletorderType=field_mapjson__"OrderType"PhoneNumberOrderType.of_jsoninletstatus=field_mapjson__"Status"PhoneNumberOrderStatus.of_jsoninletproductType=field_mapjson__"ProductType"PhoneNumberProductType.of_jsoninletphoneNumberOrderId=field_mapjson__"PhoneNumberOrderId"GuidString.of_jsoninmake?focDate?updatedTimestamp?createdTimestamp?orderedPhoneNumbers?orderType?status?productType?phoneNumberOrderId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The details of an Amazon Chime SDK phone number order."]modulePhoneNumberError=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.toption[@ocaml.doc"The phone number ID for which the action failed."];errorCode:ErrorCode.toption[@ocaml.doc"The error code."];errorMessage:String_.toption[@ocaml.doc"The error message."]}letmake?phoneNumberId=fun?errorCode->fun?errorMessage->fun()->{phoneNumberId;errorCode;errorMessage}letto_valuex=structure_to_value[("PhoneNumberId",(Option.mapx.phoneNumberId~f:SensitiveNonEmptyString.to_value));("ErrorCode",(Option.mapx.errorCode~f:ErrorCode.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterrorCode=(Option.map~f:ErrorCode.of_xml)(Xml.childxml_arg0"ErrorCode")inletphoneNumberId=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"PhoneNumberId")inmake?errorMessage?errorCode?phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"ErrorMessage"String_.of_jsoninleterrorCode=field_mapjson__"ErrorCode"ErrorCode.of_jsoninletphoneNumberId=field_mapjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake?errorMessage?errorCode?phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If a phone number action fails for one or more of the phone numbers in a request, a list of the failed phone numbers is returned, along with error codes and error messages."]moduleUpdatePhoneNumberRequestItem=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.t[@ocaml.doc"The phone number ID to update."];productType:PhoneNumberProductType.toption[@ocaml.doc"The product type to update."];callingName:CallingName.toption[@ocaml.doc"The outbound calling name to update."];name:PhoneNumberName.toption[@ocaml.doc"The name of the phone number."]}letcontext_="UpdatePhoneNumberRequestItem"letmake?productType=fun?callingName->fun?name->fun~phoneNumberId->fun()->{productType;callingName;name;phoneNumberId}letto_valuex=structure_to_value[("PhoneNumberId",(Some(SensitiveNonEmptyString.to_valuex.phoneNumberId)));("ProductType",(Option.mapx.productType~f:PhoneNumberProductType.to_value));("CallingName",(Option.mapx.callingName~f:CallingName.to_value));("Name",(Option.mapx.name~f:PhoneNumberName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:PhoneNumberName.of_xml)(Xml.childxml_arg0"Name")inletcallingName=(Option.map~f:CallingName.of_xml)(Xml.childxml_arg0"CallingName")inletproductType=(Option.map~f:PhoneNumberProductType.of_xml)(Xml.childxml_arg0"ProductType")inletphoneNumberId=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"PhoneNumberId")inmake?name?callingName?productType~phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"PhoneNumberName.of_jsoninletcallingName=field_mapjson__"CallingName"CallingName.of_jsoninletproductType=field_mapjson__"ProductType"PhoneNumberProductType.of_jsoninletphoneNumberId=field_map_exnjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake?name?callingName?productType~phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The phone number ID, product type, or calling name fields to update, used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions."]moduleAccessDeniedException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You don't have the permissions needed to run this action."]moduleAddress=structtypenonrect={streetName:SensitiveNonEmptyString.toption[@ocaml.doc"The address street, such as 8th Avenue."];streetSuffix:SensitiveNonEmptyString.toption[@ocaml.doc"The address suffix, such as the N in 8th Avenue N."];postDirectional:SensitiveNonEmptyString.toption[@ocaml.doc"An address suffix location, such as the S. Unit A in Central Park S. Unit A."];preDirectional:SensitiveNonEmptyString.toption[@ocaml.doc"An address prefix location, such as the N in N. Third St."];streetNumber:SensitiveNonEmptyString.toption[@ocaml.doc"The numeric portion of an address."];city:SensitiveNonEmptyString.toption[@ocaml.doc"The city of an address."];state:SensitiveNonEmptyString.toption[@ocaml.doc"The state of an address."];postalCode:SensitiveNonEmptyString.toption[@ocaml.doc"The postal code of an address."];postalCodePlus4:SensitiveNonEmptyString.toption[@ocaml.doc"The zip + 4 or postal code + 4 of an address."];country:SensitiveNonEmptyString.toption[@ocaml.doc"The country of an address."]}letmake?streetName=fun?streetSuffix->fun?postDirectional->fun?preDirectional->fun?streetNumber->fun?city->fun?state->fun?postalCode->fun?postalCodePlus4->fun?country->fun()->{streetName;streetSuffix;postDirectional;preDirectional;streetNumber;city;state;postalCode;postalCodePlus4;country}letto_valuex=structure_to_value[("streetName",(Option.mapx.streetName~f:SensitiveNonEmptyString.to_value));("streetSuffix",(Option.mapx.streetSuffix~f:SensitiveNonEmptyString.to_value));("postDirectional",(Option.mapx.postDirectional~f:SensitiveNonEmptyString.to_value));("preDirectional",(Option.mapx.preDirectional~f:SensitiveNonEmptyString.to_value));("streetNumber",(Option.mapx.streetNumber~f:SensitiveNonEmptyString.to_value));("city",(Option.mapx.city~f:SensitiveNonEmptyString.to_value));("state",(Option.mapx.state~f:SensitiveNonEmptyString.to_value));("postalCode",(Option.mapx.postalCode~f:SensitiveNonEmptyString.to_value));("postalCodePlus4",(Option.mapx.postalCodePlus4~f:SensitiveNonEmptyString.to_value));("country",(Option.mapx.country~f:SensitiveNonEmptyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcountry=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"country")inletpostalCodePlus4=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"postalCodePlus4")inletpostalCode=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"postalCode")inletstate=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"state")inletcity=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"city")inletstreetNumber=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"streetNumber")inletpreDirectional=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"preDirectional")inletpostDirectional=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"postDirectional")inletstreetSuffix=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"streetSuffix")inletstreetName=(Option.map~f:SensitiveNonEmptyString.of_xml)(Xml.childxml_arg0"streetName")inmake?country?postalCodePlus4?postalCode?state?city?streetNumber?preDirectional?postDirectional?streetSuffix?streetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcountry=field_mapjson__"country"SensitiveNonEmptyString.of_jsoninletpostalCodePlus4=field_mapjson__"postalCodePlus4"SensitiveNonEmptyString.of_jsoninletpostalCode=field_mapjson__"postalCode"SensitiveNonEmptyString.of_jsoninletstate=field_mapjson__"state"SensitiveNonEmptyString.of_jsoninletcity=field_mapjson__"city"SensitiveNonEmptyString.of_jsoninletstreetNumber=field_mapjson__"streetNumber"SensitiveNonEmptyString.of_jsoninletpreDirectional=field_mapjson__"preDirectional"SensitiveNonEmptyString.of_jsoninletpostDirectional=field_mapjson__"postDirectional"SensitiveNonEmptyString.of_jsoninletstreetSuffix=field_mapjson__"streetSuffix"SensitiveNonEmptyString.of_jsoninletstreetName=field_mapjson__"streetName"SensitiveNonEmptyString.of_jsoninmake?country?postalCodePlus4?postalCode?state?city?streetNumber?preDirectional?postDirectional?streetSuffix?streetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A validated address."]moduleBadRequestException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input parameters don't match the service's restrictions."]moduleCandidateAddressList=structtypenonrect=CandidateAddress.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CandidateAddress.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:CandidateAddress.of_xml)letof_jsonj=list_of_json~kind:"CandidateAddressList"~of_json:CandidateAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleForbiddenException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client is permanently forbidden from making the request."]moduleNotFoundException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested resource couldn't be found."]moduleServiceFailureException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The service encountered an unexpected error."]moduleServiceUnavailableException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The service is currently unavailable."]moduleThrottledClientException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The number of customer requests exceeds the request rate limit."]moduleUnauthorizedClientException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client isn't authorized to request a resource."]moduleValidationResult=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:2)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ValidationResult"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Multiple instances of the same request were made simultaneously."]moduleGoneException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Access to the target resource is no longer available at the origin server. This condition is likely to be permanent."]moduleVoiceProfile=structtypenonrect={voiceProfileId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice profile."];voiceProfileArn:Arn.toption[@ocaml.doc"The ARN of the voice profile."];voiceProfileDomainId:NonEmptyString256.toption[@ocaml.doc"The ID of the domain that contains the voice profile."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile was created and enrolled."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile was last updated."];expirationTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice profile expires unless you re-enroll the caller via the UpdateVoiceProfile API."]}letmake?voiceProfileId=fun?voiceProfileArn->fun?voiceProfileDomainId->fun?createdTimestamp->fun?updatedTimestamp->fun?expirationTimestamp->fun()->{voiceProfileId;voiceProfileArn;voiceProfileDomainId;createdTimestamp;updatedTimestamp;expirationTimestamp}letto_valuex=structure_to_value[("VoiceProfileId",(Option.mapx.voiceProfileId~f:NonEmptyString256.to_value));("VoiceProfileArn",(Option.mapx.voiceProfileArn~f:Arn.to_value));("VoiceProfileDomainId",(Option.mapx.voiceProfileDomainId~f:NonEmptyString256.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("ExpirationTimestamp",(Option.mapx.expirationTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpirationTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"ExpirationTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletvoiceProfileDomainId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileDomainId")inletvoiceProfileArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"VoiceProfileArn")inletvoiceProfileId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileId")inmake?expirationTimestamp?updatedTimestamp?createdTimestamp?voiceProfileDomainId?voiceProfileArn?voiceProfileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpirationTimestamp=field_mapjson__"ExpirationTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletvoiceProfileDomainId=field_mapjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninletvoiceProfileArn=field_mapjson__"VoiceProfileArn"Arn.of_jsoninletvoiceProfileId=field_mapjson__"VoiceProfileId"NonEmptyString256.of_jsoninmake?expirationTimestamp?updatedTimestamp?createdTimestamp?voiceProfileDomainId?voiceProfileArn?voiceProfileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The combination of a voice print and caller ID."]moduleVoiceProfileDomain=structtypenonrect={voiceProfileDomainId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice profile domain."];voiceProfileDomainArn:Arn.toption[@ocaml.doc"The voice profile domain's Amazon Resource Number (ARN)."];name:VoiceProfileDomainName.toption[@ocaml.doc"The name of the voice profile domain."];description:VoiceProfileDomainDescription.toption[@ocaml.doc"The description of the voice profile domain."];serverSideEncryptionConfiguration:ServerSideEncryptionConfiguration.toption[@ocaml.doc"A structure that contains the configuration settings for server-side encryption."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile domain was created."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the voice profile was last updated."]}letmake?voiceProfileDomainId=fun?voiceProfileDomainArn->fun?name->fun?description->fun?serverSideEncryptionConfiguration->fun?createdTimestamp->fun?updatedTimestamp->fun()->{voiceProfileDomainId;voiceProfileDomainArn;name;description;serverSideEncryptionConfiguration;createdTimestamp;updatedTimestamp}letto_valuex=structure_to_value[("VoiceProfileDomainId",(Option.mapx.voiceProfileDomainId~f:NonEmptyString256.to_value));("VoiceProfileDomainArn",(Option.mapx.voiceProfileDomainArn~f:Arn.to_value));("Name",(Option.mapx.name~f:VoiceProfileDomainName.to_value));("Description",(Option.mapx.description~f:VoiceProfileDomainDescription.to_value));("ServerSideEncryptionConfiguration",(Option.mapx.serverSideEncryptionConfiguration~f:ServerSideEncryptionConfiguration.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletserverSideEncryptionConfiguration=(Option.map~f:ServerSideEncryptionConfiguration.of_xml)(Xml.childxml_arg0"ServerSideEncryptionConfiguration")inletdescription=(Option.map~f:VoiceProfileDomainDescription.of_xml)(Xml.childxml_arg0"Description")inletname=(Option.map~f:VoiceProfileDomainName.of_xml)(Xml.childxml_arg0"Name")inletvoiceProfileDomainArn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"VoiceProfileDomainArn")inletvoiceProfileDomainId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceProfileDomainId")inmake?updatedTimestamp?createdTimestamp?serverSideEncryptionConfiguration?description?name?voiceProfileDomainArn?voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletserverSideEncryptionConfiguration=field_mapjson__"ServerSideEncryptionConfiguration"ServerSideEncryptionConfiguration.of_jsoninletdescription=field_mapjson__"Description"VoiceProfileDomainDescription.of_jsoninletname=field_mapjson__"Name"VoiceProfileDomainName.of_jsoninletvoiceProfileDomainArn=field_mapjson__"VoiceProfileDomainArn"Arn.of_jsoninletvoiceProfileDomainId=field_mapjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake?updatedTimestamp?createdTimestamp?serverSideEncryptionConfiguration?description?name?voiceProfileDomainArn?voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A collection of voice profiles."]moduleResourceLimitExceededException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request exceeds the resource limit."]moduleSipMediaApplicationCall=structtypenonrect={transactionId:GuidString.toption[@ocaml.doc"The call's transaction ID."]}letmake?transactionId=fun()->{transactionId}letto_valuex=structure_to_value[("TransactionId",(Option.mapx.transactionId~f:GuidString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransactionId=(Option.map~f:GuidString.of_xml)(Xml.childxml_arg0"TransactionId")inmake?transactionId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransactionId=field_mapjson__"TransactionId"GuidString.of_jsoninmake?transactionId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A Call instance for a SIP media application."]moduleSMAUpdateCallArgumentsMap=structtypenonrect=(SensitiveString.t*SensitiveString.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(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->((SensitiveString.of_stringchopped),(SensitiveString.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(SensitiveString.to_valuex)|>(funx->(SensitiveString.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:SensitiveString.of_string~of_json:SensitiveString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVoiceConnectorSettings=structtypenonrect={cdrBucket:String_.toption[@ocaml.doc"The S3 bucket that stores the Voice Connector's call detail records."]}letmake?cdrBucket=fun()->{cdrBucket}letto_valuex=structure_to_value[("CdrBucket",(Option.mapx.cdrBucket~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcdrBucket=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"CdrBucket")inmake?cdrBucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcdrBucket=field_mapjson__"CdrBucket"String_.of_jsoninmake?cdrBucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Amazon Chime SDK Voice Connector settings. Includes any Amazon S3 buckets designated for storing call detail records."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f: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_valuevendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f: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_valuevendmoduleUnprocessableEntityException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A well-formed request couldn't be followed due to semantic errors."]moduleVoiceToneAnalysisTask=structtypenonrect={voiceToneAnalysisTaskId:NonEmptyString256.toption[@ocaml.doc"The ID of the voice tone analysis task."];voiceToneAnalysisTaskStatus:NonEmptyString.toption[@ocaml.doc"The status of a voice tone analysis task, IN_QUEUE, IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, FAILED, or STOPPED."];callDetails:CallDetails.toption[@ocaml.doc"The call details of a voice tone analysis task."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice tone analysis task was created."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice tone analysis task was updated."];startedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a voice tone analysis task started."];statusMessage:String_.toption[@ocaml.doc"The status of a voice tone analysis task."]}letmake?voiceToneAnalysisTaskId=fun?voiceToneAnalysisTaskStatus->fun?callDetails->fun?createdTimestamp->fun?updatedTimestamp->fun?startedTimestamp->fun?statusMessage->fun()->{voiceToneAnalysisTaskId;voiceToneAnalysisTaskStatus;callDetails;createdTimestamp;updatedTimestamp;startedTimestamp;statusMessage}letto_valuex=structure_to_value[("VoiceToneAnalysisTaskId",(Option.mapx.voiceToneAnalysisTaskId~f:NonEmptyString256.to_value));("VoiceToneAnalysisTaskStatus",(Option.mapx.voiceToneAnalysisTaskStatus~f:NonEmptyString.to_value));("CallDetails",(Option.mapx.callDetails~f:CallDetails.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("StartedTimestamp",(Option.mapx.startedTimestamp~f:Iso8601Timestamp.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")inletstartedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"StartedTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletcallDetails=(Option.map~f:CallDetails.of_xml)(Xml.childxml_arg0"CallDetails")inletvoiceToneAnalysisTaskStatus=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"VoiceToneAnalysisTaskStatus")inletvoiceToneAnalysisTaskId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"VoiceToneAnalysisTaskId")inmake?statusMessage?startedTimestamp?updatedTimestamp?createdTimestamp?callDetails?voiceToneAnalysisTaskStatus?voiceToneAnalysisTaskId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"String_.of_jsoninletstartedTimestamp=field_mapjson__"StartedTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletcallDetails=field_mapjson__"CallDetails"CallDetails.of_jsoninletvoiceToneAnalysisTaskStatus=field_mapjson__"VoiceToneAnalysisTaskStatus"NonEmptyString.of_jsoninletvoiceToneAnalysisTaskId=field_mapjson__"VoiceToneAnalysisTaskId"NonEmptyString256.of_jsoninmake?statusMessage?startedTimestamp?updatedTimestamp?createdTimestamp?callDetails?voiceToneAnalysisTaskStatus?voiceToneAnalysisTaskId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A representation of an asynchronous request to perform voice tone analysis on a Voice Connector call."]moduleClientRequestId=structtypenonrect=stringletcontext_="ClientRequestId"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^[-_a-zA-Z0-9]*${2,64}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ClientRequestId"jletto_json=simple_to_jsonto_valueendmoduleLanguageCode=structtypenonrect=|En_US|Non_static_idofstringletmakei=iletto_string=function|En_US->"en-US"|Non_static_ids->sletof_string=function|"en-US"->En_US|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 LanguageCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LanguageCode"j)letto_json=simple_to_jsonto_valueendmoduleSpeakerSearchTask=structtypenonrect={speakerSearchTaskId:NonEmptyString256.toption[@ocaml.doc"The speaker search task ID."];speakerSearchTaskStatus:NonEmptyString.toption[@ocaml.doc"The status of the speaker search task, IN_QUEUE, IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, FAILED, or STOPPED."];callDetails:CallDetails.toption[@ocaml.doc"The call details of a speaker search task."];speakerSearchDetails:SpeakerSearchDetails.toption[@ocaml.doc"The details of a speaker search task."];createdTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a speaker search task was created."];updatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which a speaker search task was updated."];startedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The time at which the speaker search task began."];statusMessage:String_.toption[@ocaml.doc"A detailed message about the status of a speaker search."]}letmake?speakerSearchTaskId=fun?speakerSearchTaskStatus->fun?callDetails->fun?speakerSearchDetails->fun?createdTimestamp->fun?updatedTimestamp->fun?startedTimestamp->fun?statusMessage->fun()->{speakerSearchTaskId;speakerSearchTaskStatus;callDetails;speakerSearchDetails;createdTimestamp;updatedTimestamp;startedTimestamp;statusMessage}letto_valuex=structure_to_value[("SpeakerSearchTaskId",(Option.mapx.speakerSearchTaskId~f:NonEmptyString256.to_value));("SpeakerSearchTaskStatus",(Option.mapx.speakerSearchTaskStatus~f:NonEmptyString.to_value));("CallDetails",(Option.mapx.callDetails~f:CallDetails.to_value));("SpeakerSearchDetails",(Option.mapx.speakerSearchDetails~f:SpeakerSearchDetails.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Iso8601Timestamp.to_value));("UpdatedTimestamp",(Option.mapx.updatedTimestamp~f:Iso8601Timestamp.to_value));("StartedTimestamp",(Option.mapx.startedTimestamp~f:Iso8601Timestamp.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")inletstartedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"StartedTimestamp")inletupdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"UpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletspeakerSearchDetails=(Option.map~f:SpeakerSearchDetails.of_xml)(Xml.childxml_arg0"SpeakerSearchDetails")inletcallDetails=(Option.map~f:CallDetails.of_xml)(Xml.childxml_arg0"CallDetails")inletspeakerSearchTaskStatus=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"SpeakerSearchTaskStatus")inletspeakerSearchTaskId=(Option.map~f:NonEmptyString256.of_xml)(Xml.childxml_arg0"SpeakerSearchTaskId")inmake?statusMessage?startedTimestamp?updatedTimestamp?createdTimestamp?speakerSearchDetails?callDetails?speakerSearchTaskStatus?speakerSearchTaskId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"String_.of_jsoninletstartedTimestamp=field_mapjson__"StartedTimestamp"Iso8601Timestamp.of_jsoninletupdatedTimestamp=field_mapjson__"UpdatedTimestamp"Iso8601Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Iso8601Timestamp.of_jsoninletspeakerSearchDetails=field_mapjson__"SpeakerSearchDetails"SpeakerSearchDetails.of_jsoninletcallDetails=field_mapjson__"CallDetails"CallDetails.of_jsoninletspeakerSearchTaskStatus=field_mapjson__"SpeakerSearchTaskStatus"NonEmptyString.of_jsoninletspeakerSearchTaskId=field_mapjson__"SpeakerSearchTaskId"NonEmptyString256.of_jsoninmake?statusMessage?startedTimestamp?updatedTimestamp?createdTimestamp?speakerSearchDetails?callDetails?speakerSearchTaskStatus?speakerSearchTaskId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A representation of an asynchronous request to perform speaker search analysis on a Voice Connector call."]moduleCallLegType=structtypenonrect=|Caller|Callee|Non_static_idofstringletmakei=iletto_string=function|Caller->"Caller"|Callee->"Callee"|Non_static_ids->sletof_string=function|"Caller"->Caller|"Callee"->Callee|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 CallLegType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CallLegType"j)letto_json=simple_to_jsonto_valueendmoduleE164PhoneNumberList=structtypenonrect=E164PhoneNumber.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:E164PhoneNumber.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:E164PhoneNumber.of_xml)letof_jsonj=list_of_json~kind:"E164PhoneNumberList"~of_json:E164PhoneNumber.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:500)>>=(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 PhoneNumberMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTollFreePrefix=structtypenonrect=stringletcontext_="TollFreePrefix"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:3)>>=(fun()->check_patterni~pattern:"^8(00|33|44|55|66|77|88)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TollFreePrefix"jletto_json=simple_to_jsonto_valueendmoduleTermination=structtypenonrect={cpsLimit:CpsLimit.toption[@ocaml.doc"The limit on calls per second. Max value based on account service quota. Default value of 1."];defaultPhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The default outbound calling number."];callingRegions:CallingRegionList.toption[@ocaml.doc"The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required."];cidrAllowedList:StringList.toption[@ocaml.doc"The IP addresses allowed to make calls, in CIDR format."];disabled:Boolean.toption[@ocaml.doc"When termination is disabled, outbound calls cannot be made."]}letmake?cpsLimit=fun?defaultPhoneNumber->fun?callingRegions->fun?cidrAllowedList->fun?disabled->fun()->{cpsLimit;defaultPhoneNumber;callingRegions;cidrAllowedList;disabled}letto_valuex=structure_to_value[("CpsLimit",(Option.mapx.cpsLimit~f:CpsLimit.to_value));("DefaultPhoneNumber",(Option.mapx.defaultPhoneNumber~f:E164PhoneNumber.to_value));("CallingRegions",(Option.mapx.callingRegions~f:CallingRegionList.to_value));("CidrAllowedList",(Option.mapx.cidrAllowedList~f:StringList.to_value));("Disabled",(Option.mapx.disabled~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inletcidrAllowedList=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"CidrAllowedList")inletcallingRegions=(Option.map~f:CallingRegionList.of_xml)(Xml.childxml_arg0"CallingRegions")inletdefaultPhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"DefaultPhoneNumber")inletcpsLimit=(Option.map~f:CpsLimit.of_xml)(Xml.childxml_arg0"CpsLimit")inmake?disabled?cidrAllowedList?callingRegions?defaultPhoneNumber?cpsLimit()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisabled=field_mapjson__"Disabled"Boolean.of_jsoninletcidrAllowedList=field_mapjson__"CidrAllowedList"StringList.of_jsoninletcallingRegions=field_mapjson__"CallingRegions"CallingRegionList.of_jsoninletdefaultPhoneNumber=field_mapjson__"DefaultPhoneNumber"E164PhoneNumber.of_jsoninletcpsLimit=field_mapjson__"CpsLimit"CpsLimit.of_jsoninmake?disabled?cidrAllowedList?callingRegions?defaultPhoneNumber?cpsLimit()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Termination settings enable SIP hosts to make outbound calls using an Amazon Chime SDK Voice Connector."]moduleCredentialList=structtypenonrect=Credential.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Credential.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:Credential.of_xml)letof_jsonj=list_of_json~kind:"CredentialList"~of_json:Credential.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStreamingConfiguration=structtypenonrect={dataRetentionInHours:DataRetentionInHours.t[@ocaml.doc"The amount of time, in hours, to the Kinesis data."];disabled:Boolean.t[@ocaml.doc"When true, streaming to Kinesis is off."];streamingNotificationTargets:StreamingNotificationTargetList.toption[@ocaml.doc"The streaming notification targets."];mediaInsightsConfiguration:MediaInsightsConfiguration.toption[@ocaml.doc"The call analytics configuration."]}letcontext_="StreamingConfiguration"letmake?streamingNotificationTargets=fun?mediaInsightsConfiguration->fun~dataRetentionInHours->fun~disabled->fun()->{streamingNotificationTargets;mediaInsightsConfiguration;dataRetentionInHours;disabled}letto_valuex=structure_to_value[("DataRetentionInHours",(Some(DataRetentionInHours.to_valuex.dataRetentionInHours)));("Disabled",(Some(Boolean.to_valuex.disabled)));("StreamingNotificationTargets",(Option.mapx.streamingNotificationTargets~f:StreamingNotificationTargetList.to_value));("MediaInsightsConfiguration",(Option.mapx.mediaInsightsConfiguration~f:MediaInsightsConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmediaInsightsConfiguration=(Option.map~f:MediaInsightsConfiguration.of_xml)(Xml.childxml_arg0"MediaInsightsConfiguration")inletstreamingNotificationTargets=(Option.map~f:StreamingNotificationTargetList.of_xml)(Xml.childxml_arg0"StreamingNotificationTargets")inletdisabled=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"Disabled")inletdataRetentionInHours=DataRetentionInHours.of_xml(Xml.child_exn~context:context_xml_arg0"DataRetentionInHours")inmake?mediaInsightsConfiguration?streamingNotificationTargets~disabled~dataRetentionInHours()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmediaInsightsConfiguration=field_mapjson__"MediaInsightsConfiguration"MediaInsightsConfiguration.of_jsoninletstreamingNotificationTargets=field_mapjson__"StreamingNotificationTargets"StreamingNotificationTargetList.of_jsoninletdisabled=field_map_exnjson__"Disabled"Boolean.of_jsoninletdataRetentionInHours=field_map_exnjson__"DataRetentionInHours"DataRetentionInHours.of_jsoninmake?mediaInsightsConfiguration?streamingNotificationTargets~disabled~dataRetentionInHours()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The streaming configuration associated with an Amazon Chime SDK Voice Connector. Specifies whether media streaming is enabled for sending to Amazon Kinesis, and shows the retention period for the Amazon Kinesis data, in hours."]moduleProxy=structtypenonrect={defaultSessionExpiryMinutes:Integer.toption[@ocaml.doc"The default number of minutes allowed for proxy sessions."];disabled:Boolean.toption[@ocaml.doc"When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector."];fallBackPhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The phone number to route calls to after a proxy session expires."];phoneNumberCountries:StringList.toption[@ocaml.doc"The countries for proxy phone numbers to be selected from."]}letmake?defaultSessionExpiryMinutes=fun?disabled->fun?fallBackPhoneNumber->fun?phoneNumberCountries->fun()->{defaultSessionExpiryMinutes;disabled;fallBackPhoneNumber;phoneNumberCountries}letto_valuex=structure_to_value[("DefaultSessionExpiryMinutes",(Option.mapx.defaultSessionExpiryMinutes~f:Integer.to_value));("Disabled",(Option.mapx.disabled~f:Boolean.to_value));("FallBackPhoneNumber",(Option.mapx.fallBackPhoneNumber~f:E164PhoneNumber.to_value));("PhoneNumberCountries",(Option.mapx.phoneNumberCountries~f:StringList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberCountries=(Option.map~f:StringList.of_xml)(Xml.childxml_arg0"PhoneNumberCountries")inletfallBackPhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"FallBackPhoneNumber")inletdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inletdefaultSessionExpiryMinutes=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"DefaultSessionExpiryMinutes")inmake?phoneNumberCountries?fallBackPhoneNumber?disabled?defaultSessionExpiryMinutes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberCountries=field_mapjson__"PhoneNumberCountries"StringList.of_jsoninletfallBackPhoneNumber=field_mapjson__"FallBackPhoneNumber"E164PhoneNumber.of_jsoninletdisabled=field_mapjson__"Disabled"Boolean.of_jsoninletdefaultSessionExpiryMinutes=field_mapjson__"DefaultSessionExpiryMinutes"Integer.of_jsoninmake?phoneNumberCountries?fallBackPhoneNumber?disabled?defaultSessionExpiryMinutes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The proxy configuration for an Amazon Chime SDK Voice Connector."]moduleCountryList=structtypenonrect=Country.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:100)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Country.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:Country.of_xml)letof_jsonj=list_of_json~kind:"CountryList"~of_json:Country.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOrigination=structtypenonrect={routes:OriginationRouteList.toption[@ocaml.doc"The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled."];disabled:Boolean.toption[@ocaml.doc"When origination settings are disabled, inbound calls are not enabled for your Amazon Chime SDK Voice Connector. This parameter is not required, but you must specify this parameter or Routes."]}letmake?routes=fun?disabled->fun()->{routes;disabled}letto_valuex=structure_to_value[("Routes",(Option.mapx.routes~f:OriginationRouteList.to_value));("Disabled",(Option.mapx.disabled~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inletroutes=(Option.map~f:OriginationRouteList.of_xml)(Xml.childxml_arg0"Routes")inmake?disabled?routes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisabled=field_mapjson__"Disabled"Boolean.of_jsoninletroutes=field_mapjson__"Routes"OriginationRouteList.of_jsoninmake?disabled?routes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime SDK Voice Connector. The parameters listed below are not required, but you must use at least one."]moduleLoggingConfiguration=structtypenonrect={enableSIPLogs:Boolean.toption[@ocaml.doc"Boolean that enables sending SIP message logs to Amazon CloudWatch."];enableMediaMetricLogs:Boolean.toption[@ocaml.doc"Enables or disables media metrics logging."]}letmake?enableSIPLogs=fun?enableMediaMetricLogs->fun()->{enableSIPLogs;enableMediaMetricLogs}letto_valuex=structure_to_value[("EnableSIPLogs",(Option.mapx.enableSIPLogs~f:Boolean.to_value));("EnableMediaMetricLogs",(Option.mapx.enableMediaMetricLogs~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableMediaMetricLogs=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"EnableMediaMetricLogs")inletenableSIPLogs=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"EnableSIPLogs")inmake?enableMediaMetricLogs?enableSIPLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableMediaMetricLogs=field_mapjson__"EnableMediaMetricLogs"Boolean.of_jsoninletenableSIPLogs=field_mapjson__"EnableSIPLogs"Boolean.of_jsoninmake?enableMediaMetricLogs?enableSIPLogs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The logging configuration associated with an Amazon Chime SDK Voice Connector. Specifies whether SIP message logs can be sent to Amazon CloudWatch Logs."]moduleExternalSystemsConfiguration=structtypenonrect={sessionBorderControllerTypes:SessionBorderControllerTypeList.toption[@ocaml.doc"The session border controllers."];contactCenterSystemTypes:ContactCenterSystemTypeList.toption[@ocaml.doc"The contact center system."]}letmake?sessionBorderControllerTypes=fun?contactCenterSystemTypes->fun()->{sessionBorderControllerTypes;contactCenterSystemTypes}letto_valuex=structure_to_value[("SessionBorderControllerTypes",(Option.mapx.sessionBorderControllerTypes~f:SessionBorderControllerTypeList.to_value));("ContactCenterSystemTypes",(Option.mapx.contactCenterSystemTypes~f:ContactCenterSystemTypeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactCenterSystemTypes=(Option.map~f:ContactCenterSystemTypeList.of_xml)(Xml.childxml_arg0"ContactCenterSystemTypes")inletsessionBorderControllerTypes=(Option.map~f:SessionBorderControllerTypeList.of_xml)(Xml.childxml_arg0"SessionBorderControllerTypes")inmake?contactCenterSystemTypes?sessionBorderControllerTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactCenterSystemTypes=field_mapjson__"ContactCenterSystemTypes"ContactCenterSystemTypeList.of_jsoninletsessionBorderControllerTypes=field_mapjson__"SessionBorderControllerTypes"SessionBorderControllerTypeList.of_jsoninmake?contactCenterSystemTypes?sessionBorderControllerTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an external systems configuration for a Voice Connector."]moduleEmergencyCallingConfiguration=structtypenonrect={dNIS:DNISEmergencyCallingConfigurationList.toption[@ocaml.doc"The Dialed Number Identification Service (DNIS) emergency calling configuration details."]}letmake?dNIS=fun()->{dNIS}letto_valuex=structure_to_value[("DNIS",(Option.mapx.dNIS~f:DNISEmergencyCallingConfigurationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdNIS=(Option.map~f:DNISEmergencyCallingConfigurationList.of_xml)(Xml.childxml_arg0"DNIS")inmake?dNIS()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdNIS=field_mapjson__"DNIS"DNISEmergencyCallingConfigurationList.of_jsoninmake?dNIS()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The emergency calling configuration details associated with an Amazon Chime SDK Voice Connector."]moduleSipMediaApplicationLoggingConfiguration=structtypenonrect={enableSipMediaApplicationMessageLogs:Boolean.toption[@ocaml.doc"Enables message logging for the specified SIP media application."]}letmake?enableSipMediaApplicationMessageLogs=fun()->{enableSipMediaApplicationMessageLogs}letto_valuex=structure_to_value[("EnableSipMediaApplicationMessageLogs",(Option.mapx.enableSipMediaApplicationMessageLogs~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableSipMediaApplicationMessageLogs=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"EnableSipMediaApplicationMessageLogs")inmake?enableSipMediaApplicationMessageLogs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableSipMediaApplicationMessageLogs=field_mapjson__"EnableSipMediaApplicationMessageLogs"Boolean.of_jsoninmake?enableSipMediaApplicationMessageLogs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The logging configuration of a SIP media application."]moduleSipMediaApplicationAlexaSkillConfiguration=structtypenonrect={alexaSkillStatus:AlexaSkillStatus.t[@ocaml.doc"The status of the Alexa Skill configuration."];alexaSkillIds:AlexaSkillIdList.t[@ocaml.doc"The ID of the Alexa Skill configuration."]}letcontext_="SipMediaApplicationAlexaSkillConfiguration"letmake~alexaSkillStatus=fun~alexaSkillIds->fun()->{alexaSkillStatus;alexaSkillIds}letto_valuex=structure_to_value[("AlexaSkillStatus",(Some(AlexaSkillStatus.to_valuex.alexaSkillStatus)));("AlexaSkillIds",(Some(AlexaSkillIdList.to_valuex.alexaSkillIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letalexaSkillIds=AlexaSkillIdList.of_xml(Xml.child_exn~context:context_xml_arg0"AlexaSkillIds")inletalexaSkillStatus=AlexaSkillStatus.of_xml(Xml.child_exn~context:context_xml_arg0"AlexaSkillStatus")inmake~alexaSkillIds~alexaSkillStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letalexaSkillIds=field_map_exnjson__"AlexaSkillIds"AlexaSkillIdList.of_jsoninletalexaSkillStatus=field_map_exnjson__"AlexaSkillStatus"AlexaSkillStatus.of_jsoninmake~alexaSkillIds~alexaSkillStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The Alexa Skill configuration of a SIP media application. Due to changes made by the Amazon Alexa service, this data type is no longer available for use. For more information, refer to the Alexa Smart Properties page."]moduleVoiceProfileSummaryList=structtypenonrect=VoiceProfileSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceProfileSummary.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:VoiceProfileSummary.of_xml)letof_jsonj=list_of_json~kind:"VoiceProfileSummaryList"~of_json:VoiceProfileSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResultMax=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 ResultMax"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleVoiceProfileDomainSummaryList=structtypenonrect=VoiceProfileDomainSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceProfileDomainSummary.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:VoiceProfileDomainSummary.of_xml)letof_jsonj=list_of_json~kind:"VoiceProfileDomainSummaryList"~of_json:VoiceProfileDomainSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVoiceConnectorList=structtypenonrect=VoiceConnector.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceConnector.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:VoiceConnector.of_xml)letof_jsonj=list_of_json~kind:"VoiceConnectorList"~of_json:VoiceConnector.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSensitiveStringList=structtypenonrect=SensitiveString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SensitiveString.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:SensitiveString.of_xml)letof_jsonj=list_of_json~kind:"SensitiveStringList"~of_json:SensitiveString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVoiceConnectorGroupList=structtypenonrect=VoiceConnectorGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceConnectorGroup.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:VoiceConnectorGroup.of_xml)letof_jsonj=list_of_json~kind:"VoiceConnectorGroupList"~of_json:VoiceConnectorGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberCountriesList=structtypenonrect=PhoneNumberCountry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumberCountry.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:PhoneNumberCountry.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberCountriesList"~of_json:PhoneNumberCountry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextTokenString=structtypenonrect=stringletcontext_="NextTokenString"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:65535);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextTokenString"jletto_json=simple_to_jsonto_valueendmoduleSipRuleList=structtypenonrect=SipRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SipRule.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:SipRule.of_xml)letof_jsonj=list_of_json~kind:"SipRuleList"~of_json:SipRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSipMediaApplicationList=structtypenonrect=SipMediaApplication.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SipMediaApplication.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:SipMediaApplication.of_xml)letof_jsonj=list_of_json~kind:"SipMediaApplicationList"~of_json:SipMediaApplication.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxySessions=structtypenonrect=ProxySession.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxySession.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:ProxySession.of_xml)letof_jsonj=list_of_json~kind:"ProxySessions"~of_json:ProxySession.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberList=structtypenonrect=PhoneNumber.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumber.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:PhoneNumber.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberList"~of_json:PhoneNumber.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePhoneNumberOrderList=structtypenonrect=PhoneNumberOrder.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumberOrder.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:PhoneNumberOrder.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberOrderList"~of_json:PhoneNumberOrder.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVoiceConnectorAwsRegionList=structtypenonrect=VoiceConnectorAwsRegion.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VoiceConnectorAwsRegion.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:VoiceConnectorAwsRegion.of_xml)letof_jsonj=list_of_json~kind:"VoiceConnectorAwsRegionList"~of_json:VoiceConnectorAwsRegion.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTerminationHealth=structtypenonrect={timestamp:Iso8601Timestamp.toption[@ocaml.doc"The timestamp, in ISO 8601 format."];source:String_.toption[@ocaml.doc"The source IP address."]}letmake?timestamp=fun?source->fun()->{timestamp;source}letto_valuex=structure_to_value[("Timestamp",(Option.mapx.timestamp~f:Iso8601Timestamp.to_value));("Source",(Option.mapx.source~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Source")inlettimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inmake?source?timestamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsource=field_mapjson__"Source"String_.of_jsoninlettimestamp=field_mapjson__"Timestamp"Iso8601Timestamp.of_jsoninmake?source?timestamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The termination health details, including the source IP address and timestamp of the last successful SIP OPTIONS message from your SIP infrastructure."]modulePhoneNumberErrorList=structtypenonrect=PhoneNumberError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PhoneNumberError.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:PhoneNumberError.of_xml)letof_jsonj=list_of_json~kind:"PhoneNumberErrorList"~of_json:PhoneNumberError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSMACreateCallArgumentsMap=structtypenonrect=(SensitiveString.t*SensitiveString.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(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->((SensitiveString.of_stringchopped),(SensitiveString.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(SensitiveString.to_valuex)|>(funx->(SensitiveString.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:SensitiveString.of_string~of_json:SensitiveString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSipHeadersMap=structtypenonrect=(SensitiveString.t*SensitiveString.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(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->((SensitiveString.of_stringchopped),(SensitiveString.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(SensitiveString.to_valuex)|>(funx->(SensitiveString.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:SensitiveString.of_string~of_json:SensitiveString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleParticipantPhoneNumberList=structtypenonrect=E164PhoneNumber.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:2)>>=(fun()->check_list_mini~min:2));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:E164PhoneNumber.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:E164PhoneNumber.of_xml)letof_jsonj=list_of_json~kind:"ParticipantPhoneNumberList"~of_json:E164PhoneNumber.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxySessionNameString=structtypenonrect=stringletcontext_="ProxySessionNameString"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^$|^[a-zA-Z0-9 ]{0,30}$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProxySessionNameString"jletto_json=simple_to_jsonto_valueendmoduleUpdatePhoneNumberRequestItemList=structtypenonrect=UpdatePhoneNumberRequestItem.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:UpdatePhoneNumberRequestItem.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:UpdatePhoneNumberRequestItem.of_xml)letof_jsonj=list_of_json~kind:"UpdatePhoneNumberRequestItemList"~of_json:UpdatePhoneNumberRequestItem.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNonEmptyStringList=structtypenonrect=String_.tlistletmakei=letopenResultinok_or_failwith(check_list_mini~min:1);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"NonEmptyStringList"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleValidateE911AddressResponse=structtypenonrect={validationResult:ValidationResult.toption[@ocaml.doc"Number indicating the result of address validation. Each possible result is defined as follows: 0 - Address validation succeeded. 1 - Address validation succeeded. The address was a close enough match and has been corrected as part of the address object. 2 - Address validation failed. You should re-submit the validation request with candidates from the CandidateAddressList result, if it's a close match."];addressExternalId:String_.toption[@ocaml.doc"The ID that represents the address."];address:Address.toption[@ocaml.doc"The validated address."];candidateAddressList:CandidateAddressList.toption[@ocaml.doc"The list of address suggestions.."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?validationResult=fun?addressExternalId->fun?address->fun?candidateAddressList->fun()->{validationResult;addressExternalId;address;candidateAddressList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ValidationResult",(Option.mapx.validationResult~f:ValidationResult.to_value));("AddressExternalId",(Option.mapx.addressExternalId~f:String_.to_value));("Address",(Option.mapx.address~f:Address.to_value));("CandidateAddressList",(Option.mapx.candidateAddressList~f:CandidateAddressList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcandidateAddressList=(Option.map~f:CandidateAddressList.of_xml)(Xml.childxml_arg0"CandidateAddressList")inletaddress=(Option.map~f:Address.of_xml)(Xml.childxml_arg0"Address")inletaddressExternalId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"AddressExternalId")inletvalidationResult=(Option.map~f:ValidationResult.of_xml)(Xml.childxml_arg0"ValidationResult")inmake?candidateAddressList?address?addressExternalId?validationResult()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcandidateAddressList=field_mapjson__"CandidateAddressList"CandidateAddressList.of_jsoninletaddress=field_mapjson__"Address"Address.of_jsoninletaddressExternalId=field_mapjson__"AddressExternalId"String_.of_jsoninletvalidationResult=field_mapjson__"ValidationResult"ValidationResult.of_jsoninmake?candidateAddressList?address?addressExternalId?validationResult()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Validates an address to be used for 911 calls made with Amazon Chime SDK Voice Connectors. You can use validated addresses in a Presence Information Data Format Location Object file that you include in SIP requests. That helps ensure that addresses are routed to the appropriate Public Safety Answering Point."]moduleValidateE911AddressRequest=structtypenonrect={awsAccountId:NonEmptyString.t[@ocaml.doc"The AWS account ID."];streetNumber:SensitiveNonEmptyString.t[@ocaml.doc"The address street number, such as 200 or 2121."];streetInfo:SensitiveNonEmptyString.t[@ocaml.doc"The address street information, such as 8th Avenue."];city:SensitiveNonEmptyString.t[@ocaml.doc"The address city, such as Portland."];state:SensitiveNonEmptyString.t[@ocaml.doc"The address state, such as ME."];country:SensitiveNonEmptyString.t[@ocaml.doc"The country in the address being validated as two-letter country code in ISO 3166-1 alpha-2 format, such as US. For more information, see ISO 3166-1 alpha-2 in Wikipedia."];postalCode:SensitiveNonEmptyString.t[@ocaml.doc"The dress postal code, such 04352."]}letcontext_="ValidateE911AddressRequest"letmake~awsAccountId=fun~streetNumber->fun~streetInfo->fun~city->fun~state->fun~country->fun~postalCode->fun()->{awsAccountId;streetNumber;streetInfo;city;state;country;postalCode}letto_valuex=structure_to_value[("AwsAccountId",(Some(NonEmptyString.to_valuex.awsAccountId)));("StreetNumber",(Some(SensitiveNonEmptyString.to_valuex.streetNumber)));("StreetInfo",(Some(SensitiveNonEmptyString.to_valuex.streetInfo)));("City",(Some(SensitiveNonEmptyString.to_valuex.city)));("State",(Some(SensitiveNonEmptyString.to_valuex.state)));("Country",(Some(SensitiveNonEmptyString.to_valuex.country)));("PostalCode",(Some(SensitiveNonEmptyString.to_valuex.postalCode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpostalCode=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"PostalCode")inletcountry=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"Country")inletstate=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"State")inletcity=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"City")inletstreetInfo=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"StreetInfo")inletstreetNumber=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"StreetNumber")inletawsAccountId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"AwsAccountId")inmake~postalCode~country~state~city~streetInfo~streetNumber~awsAccountId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpostalCode=field_map_exnjson__"PostalCode"SensitiveNonEmptyString.of_jsoninletcountry=field_map_exnjson__"Country"SensitiveNonEmptyString.of_jsoninletstate=field_map_exnjson__"State"SensitiveNonEmptyString.of_jsoninletcity=field_map_exnjson__"City"SensitiveNonEmptyString.of_jsoninletstreetInfo=field_map_exnjson__"StreetInfo"SensitiveNonEmptyString.of_jsoninletstreetNumber=field_map_exnjson__"StreetNumber"SensitiveNonEmptyString.of_jsoninletawsAccountId=field_map_exnjson__"AwsAccountId"NonEmptyString.of_jsoninmake~postalCode~country~state~city~streetInfo~streetNumber~awsAccountId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Validates an address to be used for 911 calls made with Amazon Chime SDK Voice Connectors. You can use validated addresses in a Presence Information Data Format Location Object file that you include in SIP requests. That helps ensure that addresses are routed to the appropriate Public Safety Answering Point."]moduleUpdateVoiceProfileResponse=structtypenonrect={voiceProfile:VoiceProfile.toption[@ocaml.doc"The updated voice profile settings."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`GoneExceptionofGoneException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfile=fun()->{voiceProfile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GoneException"->`GoneException(GoneException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GoneException"->`GoneException(GoneException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GoneExceptione->`Assoc[("error",(`String"GoneException"));("details",(GoneException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfile",(Option.mapx.voiceProfile~f:VoiceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfile=(Option.map~f:VoiceProfile.of_xml)(Xml.childxml_arg0"VoiceProfile")inmake?voiceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfile=field_mapjson__"VoiceProfile"VoiceProfile.of_jsoninmake?voiceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified voice profile\226\128\153s voice print and refreshes its expiration timestamp. As a condition of using this feature, you acknowledge that the collection, use, storage, and retention of your caller\226\128\153s biometric identifiers and biometric information (\226\128\156biometric data\226\128\157) in the form of a digital voiceprint requires the caller\226\128\153s informed consent via a written release. Such consent is required under various state laws, including biometrics laws in Illinois, Texas, Washington and other state privacy laws. You must provide a written release to each caller through a process that clearly reflects each caller\226\128\153s informed consent before using Amazon Chime SDK Voice Insights service, as required under the terms of your agreement with AWS governing your use of the service."]moduleUpdateVoiceProfileRequest=structtypenonrect={voiceProfileId:NonEmptyString256.t[@ocaml.doc"The profile ID."];speakerSearchTaskId:NonEmptyString256.t[@ocaml.doc"The ID of the speaker search task."]}letcontext_="UpdateVoiceProfileRequest"letmake~voiceProfileId=fun~speakerSearchTaskId->fun()->{voiceProfileId;speakerSearchTaskId}letto_valuex=structure_to_value[("VoiceProfileId",(Some(NonEmptyString256.to_valuex.voiceProfileId)));("SpeakerSearchTaskId",(Some(NonEmptyString256.to_valuex.speakerSearchTaskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"SpeakerSearchTaskId")inletvoiceProfileId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileId")inmake~speakerSearchTaskId~voiceProfileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTaskId=field_map_exnjson__"SpeakerSearchTaskId"NonEmptyString256.of_jsoninletvoiceProfileId=field_map_exnjson__"VoiceProfileId"NonEmptyString256.of_jsoninmake~speakerSearchTaskId~voiceProfileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified voice profile\226\128\153s voice print and refreshes its expiration timestamp. As a condition of using this feature, you acknowledge that the collection, use, storage, and retention of your caller\226\128\153s biometric identifiers and biometric information (\226\128\156biometric data\226\128\157) in the form of a digital voiceprint requires the caller\226\128\153s informed consent via a written release. Such consent is required under various state laws, including biometrics laws in Illinois, Texas, Washington and other state privacy laws. You must provide a written release to each caller through a process that clearly reflects each caller\226\128\153s informed consent before using Amazon Chime SDK Voice Insights service, as required under the terms of your agreement with AWS governing your use of the service."]moduleUpdateVoiceProfileDomainResponse=structtypenonrect={voiceProfileDomain:VoiceProfileDomain.toption[@ocaml.doc"The updated details of the voice profile domain."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfileDomain=fun()->{voiceProfileDomain}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfileDomain",(Option.mapx.voiceProfileDomain~f:VoiceProfileDomain.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileDomain=(Option.map~f:VoiceProfileDomain.of_xml)(Xml.childxml_arg0"VoiceProfileDomain")inmake?voiceProfileDomain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileDomain=field_mapjson__"VoiceProfileDomain"VoiceProfileDomain.of_jsoninmake?voiceProfileDomain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the settings for the specified voice profile domain."]moduleUpdateVoiceProfileDomainRequest=structtypenonrect={voiceProfileDomainId:NonEmptyString256.t[@ocaml.doc"The domain ID."];name:VoiceProfileDomainName.toption[@ocaml.doc"The name of the voice profile domain."];description:VoiceProfileDomainDescription.toption[@ocaml.doc"The description of the voice profile domain."]}letcontext_="UpdateVoiceProfileDomainRequest"letmake?name=fun?description->fun~voiceProfileDomainId->fun()->{name;description;voiceProfileDomainId}letto_valuex=structure_to_value[("VoiceProfileDomainId",(Some(NonEmptyString256.to_valuex.voiceProfileDomainId)));("Name",(Option.mapx.name~f:VoiceProfileDomainName.to_value));("Description",(Option.mapx.description~f:VoiceProfileDomainDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:VoiceProfileDomainDescription.of_xml)(Xml.childxml_arg0"Description")inletname=(Option.map~f:VoiceProfileDomainName.of_xml)(Xml.childxml_arg0"Name")inletvoiceProfileDomainId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileDomainId")inmake?description?name~voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"VoiceProfileDomainDescription.of_jsoninletname=field_mapjson__"Name"VoiceProfileDomainName.of_jsoninletvoiceProfileDomainId=field_map_exnjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake?description?name~voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the settings for the specified voice profile domain."]moduleUpdateVoiceConnectorResponse=structtypenonrect={voiceConnector:VoiceConnector.toption[@ocaml.doc"The updated Voice Connector details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnector=fun()->{voiceConnector}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnector",(Option.mapx.voiceConnector~f:VoiceConnector.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnector=(Option.map~f:VoiceConnector.of_xml)(Xml.childxml_arg0"VoiceConnector")inmake?voiceConnector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnector=field_mapjson__"VoiceConnector"VoiceConnector.of_jsoninmake?voiceConnector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details for the specified Amazon Chime SDK Voice Connector."]moduleUpdateVoiceConnectorRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];name:VoiceConnectorName.t[@ocaml.doc"The name of the Voice Connector."];requireEncryption:Boolean.t[@ocaml.doc"When enabled, requires encryption for the Voice Connector."]}letcontext_="UpdateVoiceConnectorRequest"letmake~voiceConnectorId=fun~name->fun~requireEncryption->fun()->{voiceConnectorId;name;requireEncryption}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Name",(Some(VoiceConnectorName.to_valuex.name)));("RequireEncryption",(Some(Boolean.to_valuex.requireEncryption)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrequireEncryption=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"RequireEncryption")inletname=VoiceConnectorName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~requireEncryption~name~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrequireEncryption=field_map_exnjson__"RequireEncryption"Boolean.of_jsoninletname=field_map_exnjson__"Name"VoiceConnectorName.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~requireEncryption~name~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details for the specified Amazon Chime SDK Voice Connector."]moduleUpdateVoiceConnectorGroupResponse=structtypenonrect={voiceConnectorGroup:VoiceConnectorGroup.toption[@ocaml.doc"The updated Voice Connector group."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectorGroup=fun()->{voiceConnectorGroup}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectorGroup",(Option.mapx.voiceConnectorGroup~f:VoiceConnectorGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroup=(Option.map~f:VoiceConnectorGroup.of_xml)(Xml.childxml_arg0"VoiceConnectorGroup")inmake?voiceConnectorGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroup=field_mapjson__"VoiceConnectorGroup"VoiceConnectorGroup.of_jsoninmake?voiceConnectorGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the settings for the specified Amazon Chime SDK Voice Connector group."]moduleUpdateVoiceConnectorGroupRequest=structtypenonrect={voiceConnectorGroupId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];name:VoiceConnectorGroupName.t[@ocaml.doc"The name of the Voice Connector group."];voiceConnectorItems:VoiceConnectorItemList.t[@ocaml.doc"The VoiceConnectorItems to associate with the Voice Connector group."]}letcontext_="UpdateVoiceConnectorGroupRequest"letmake~voiceConnectorGroupId=fun~name->fun~voiceConnectorItems->fun()->{voiceConnectorGroupId;name;voiceConnectorItems}letto_valuex=structure_to_value[("voiceConnectorGroupId",(Some(NonEmptyString.to_valuex.voiceConnectorGroupId)));("Name",(Some(VoiceConnectorGroupName.to_valuex.name)));("VoiceConnectorItems",(Some(VoiceConnectorItemList.to_valuex.voiceConnectorItems)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorItems=VoiceConnectorItemList.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorItems")inletname=VoiceConnectorGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletvoiceConnectorGroupId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorGroupId")inmake~voiceConnectorItems~name~voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorItems=field_map_exnjson__"VoiceConnectorItems"VoiceConnectorItemList.of_jsoninletname=field_map_exnjson__"Name"VoiceConnectorGroupName.of_jsoninletvoiceConnectorGroupId=field_map_exnjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake~voiceConnectorItems~name~voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the settings for the specified Amazon Chime SDK Voice Connector group."]moduleUpdateSipRuleResponse=structtypenonrect={sipRule:SipRule.toption[@ocaml.doc"The updated SIP rule details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipRule=fun()->{sipRule}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipRule",(Option.mapx.sipRule~f:SipRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipRule=(Option.map~f:SipRule.of_xml)(Xml.childxml_arg0"SipRule")inmake?sipRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipRule=field_mapjson__"SipRule"SipRule.of_jsoninmake?sipRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details of the specified SIP rule."]moduleUpdateSipRuleRequest=structtypenonrect={sipRuleId:NonEmptyString.t[@ocaml.doc"The SIP rule ID."];name:SipRuleName.t[@ocaml.doc"The new name for the specified SIP rule."];disabled:NullableBoolean.toption[@ocaml.doc"The new value that indicates whether the rule is disabled."];targetApplications:SipRuleTargetApplicationList.toption[@ocaml.doc"The new list of target applications."]}letcontext_="UpdateSipRuleRequest"letmake?disabled=fun?targetApplications->fun~sipRuleId->fun~name->fun()->{disabled;targetApplications;sipRuleId;name}letto_valuex=structure_to_value[("sipRuleId",(Some(NonEmptyString.to_valuex.sipRuleId)));("Name",(Some(SipRuleName.to_valuex.name)));("Disabled",(Option.mapx.disabled~f:NullableBoolean.to_value));("TargetApplications",(Option.mapx.targetApplications~f:SipRuleTargetApplicationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetApplications=(Option.map~f:SipRuleTargetApplicationList.of_xml)(Xml.childxml_arg0"TargetApplications")inletdisabled=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"Disabled")inletname=SipRuleName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletsipRuleId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipRuleId")inmake?targetApplications?disabled~name~sipRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetApplications=field_mapjson__"TargetApplications"SipRuleTargetApplicationList.of_jsoninletdisabled=field_mapjson__"Disabled"NullableBoolean.of_jsoninletname=field_map_exnjson__"Name"SipRuleName.of_jsoninletsipRuleId=field_map_exnjson__"SipRuleId"NonEmptyString.of_jsoninmake?targetApplications?disabled~name~sipRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details of the specified SIP rule."]moduleUpdateSipMediaApplicationResponse=structtypenonrect={sipMediaApplication:SipMediaApplication.toption[@ocaml.doc"The updated SIP media application\226\128\153s details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplication=fun()->{sipMediaApplication}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplication",(Option.mapx.sipMediaApplication~f:SipMediaApplication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplication=(Option.map~f:SipMediaApplication.of_xml)(Xml.childxml_arg0"SipMediaApplication")inmake?sipMediaApplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplication=field_mapjson__"SipMediaApplication"SipMediaApplication.of_jsoninmake?sipMediaApplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details of the specified SIP media application."]moduleUpdateSipMediaApplicationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."];name:SipMediaApplicationName.toption[@ocaml.doc"The new name for the specified SIP media application."];endpoints:SipMediaApplicationEndpointList.toption[@ocaml.doc"The new set of endpoints for the specified SIP media application."]}letcontext_="UpdateSipMediaApplicationRequest"letmake?name=fun?endpoints->fun~sipMediaApplicationId->fun()->{name;endpoints;sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)));("Name",(Option.mapx.name~f:SipMediaApplicationName.to_value));("Endpoints",(Option.mapx.endpoints~f:SipMediaApplicationEndpointList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpoints=(Option.map~f:SipMediaApplicationEndpointList.of_xml)(Xml.childxml_arg0"Endpoints")inletname=(Option.map~f:SipMediaApplicationName.of_xml)(Xml.childxml_arg0"Name")inletsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake?endpoints?name~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpoints=field_mapjson__"Endpoints"SipMediaApplicationEndpointList.of_jsoninletname=field_mapjson__"Name"SipMediaApplicationName.of_jsoninletsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?endpoints?name~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the details of the specified SIP media application."]moduleUpdateSipMediaApplicationCallResponse=structtypenonrect={sipMediaApplicationCall:SipMediaApplicationCall.toption[@ocaml.doc"A Call instance for a SIP media application."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationCall=fun()->{sipMediaApplicationCall}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationCall",(Option.mapx.sipMediaApplicationCall~f:SipMediaApplicationCall.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationCall=(Option.map~f:SipMediaApplicationCall.of_xml)(Xml.childxml_arg0"SipMediaApplicationCall")inmake?sipMediaApplicationCall()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationCall=field_mapjson__"SipMediaApplicationCall"SipMediaApplicationCall.of_jsoninmake?sipMediaApplicationCall()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. The Lambda function can then return a new set of actions."]moduleUpdateSipMediaApplicationCallRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The ID of the SIP media application handling the call."];transactionId:NonEmptyString.t[@ocaml.doc"The ID of the call transaction."];arguments:SMAUpdateCallArgumentsMap.t[@ocaml.doc"Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs."]}letcontext_="UpdateSipMediaApplicationCallRequest"letmake~sipMediaApplicationId=fun~transactionId->fun~arguments->fun()->{sipMediaApplicationId;transactionId;arguments}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)));("transactionId",(Some(NonEmptyString.to_valuex.transactionId)));("Arguments",(Some(SMAUpdateCallArgumentsMap.to_valuex.arguments)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarguments=SMAUpdateCallArgumentsMap.of_xml(Xml.child_exn~context:context_xml_arg0"Arguments")inlettransactionId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"transactionId")inletsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake~arguments~transactionId~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarguments=field_map_exnjson__"Arguments"SMAUpdateCallArgumentsMap.of_jsoninlettransactionId=field_map_exnjson__"TransactionId"NonEmptyString.of_jsoninletsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake~arguments~transactionId~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. The Lambda function can then return a new set of actions."]moduleUpdateProxySessionResponse=structtypenonrect={proxySession:ProxySession.toption[@ocaml.doc"The updated proxy session details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxySession=fun()->{proxySession}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxySession",(Option.mapx.proxySession~f:ProxySession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxySession=(Option.map~f:ProxySession.of_xml)(Xml.childxml_arg0"ProxySession")inmake?proxySession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxySession=field_mapjson__"ProxySession"ProxySession.of_jsoninmake?proxySession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified proxy session details, such as voice or SMS capabilities."]moduleUpdateProxySessionRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];proxySessionId:NonEmptyString128.t[@ocaml.doc"The proxy session ID."];capabilities:CapabilityList.t[@ocaml.doc"The proxy session capabilities."];expiryMinutes:PositiveInteger.toption[@ocaml.doc"The number of minutes allowed for the proxy session."]}letcontext_="UpdateProxySessionRequest"letmake?expiryMinutes=fun~voiceConnectorId->fun~proxySessionId->fun~capabilities->fun()->{expiryMinutes;voiceConnectorId;proxySessionId;capabilities}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("proxySessionId",(Some(NonEmptyString128.to_valuex.proxySessionId)));("Capabilities",(Some(CapabilityList.to_valuex.capabilities)));("ExpiryMinutes",(Option.mapx.expiryMinutes~f:PositiveInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexpiryMinutes=(Option.map~f:PositiveInteger.of_xml)(Xml.childxml_arg0"ExpiryMinutes")inletcapabilities=CapabilityList.of_xml(Xml.child_exn~context:context_xml_arg0"Capabilities")inletproxySessionId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"proxySessionId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?expiryMinutes~capabilities~proxySessionId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexpiryMinutes=field_mapjson__"ExpiryMinutes"PositiveInteger.of_jsoninletcapabilities=field_map_exnjson__"Capabilities"CapabilityList.of_jsoninletproxySessionId=field_map_exnjson__"ProxySessionId"NonEmptyString128.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?expiryMinutes~capabilities~proxySessionId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified proxy session details, such as voice or SMS capabilities."]moduleUpdatePhoneNumberSettingsRequest=structtypenonrect={callingName:CallingName.t[@ocaml.doc"The default outbound calling name for the account."]}letcontext_="UpdatePhoneNumberSettingsRequest"letmake~callingName=fun()->{callingName}letto_valuex=structure_to_value[("CallingName",(Some(CallingName.to_valuex.callingName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallingName=CallingName.of_xml(Xml.child_exn~context:context_xml_arg0"CallingName")inmake~callingName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallingName=field_map_exnjson__"CallingName"CallingName.of_jsoninmake~callingName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the phone number settings for the administrator's AWS account, such as the default outbound calling name. You can update the default outbound calling name once every seven days. Outbound calling names can take up to 72 hours to update."]moduleUpdatePhoneNumberResponse=structtypenonrect={phoneNumber:PhoneNumber.toption[@ocaml.doc"The updated phone number details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumber=fun()->{phoneNumber}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumber",(Option.mapx.phoneNumber~f:PhoneNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumber=(Option.map~f:PhoneNumber.of_xml)(Xml.childxml_arg0"PhoneNumber")inmake?phoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumber=field_mapjson__"PhoneNumber"PhoneNumber.of_jsoninmake?phoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates phone number details, such as product type, calling name, or phone number name for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type, calling name, or phone number name in one action. For numbers outside the U.S., you must use the Amazon Chime SDK SIP Media Application Dial-In product type. Updates to outbound calling names can take 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update."]moduleUpdatePhoneNumberRequest=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.t[@ocaml.doc"The phone number ID."];productType:PhoneNumberProductType.toption[@ocaml.doc"The product type."];callingName:CallingName.toption[@ocaml.doc"The outbound calling name associated with the phone number."];name:PhoneNumberName.toption[@ocaml.doc"Specifies the updated name assigned to one or more phone numbers."]}letcontext_="UpdatePhoneNumberRequest"letmake?productType=fun?callingName->fun?name->fun~phoneNumberId->fun()->{productType;callingName;name;phoneNumberId}letto_valuex=structure_to_value[("phoneNumberId",(Some(SensitiveNonEmptyString.to_valuex.phoneNumberId)));("ProductType",(Option.mapx.productType~f:PhoneNumberProductType.to_value));("CallingName",(Option.mapx.callingName~f:CallingName.to_value));("Name",(Option.mapx.name~f:PhoneNumberName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:PhoneNumberName.of_xml)(Xml.childxml_arg0"Name")inletcallingName=(Option.map~f:CallingName.of_xml)(Xml.childxml_arg0"CallingName")inletproductType=(Option.map~f:PhoneNumberProductType.of_xml)(Xml.childxml_arg0"ProductType")inletphoneNumberId=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"phoneNumberId")inmake?name?callingName?productType~phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"PhoneNumberName.of_jsoninletcallingName=field_mapjson__"CallingName"CallingName.of_jsoninletproductType=field_mapjson__"ProductType"PhoneNumberProductType.of_jsoninletphoneNumberId=field_map_exnjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake?name?callingName?productType~phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates phone number details, such as product type, calling name, or phone number name for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type, calling name, or phone number name in one action. For numbers outside the U.S., you must use the Amazon Chime SDK SIP Media Application Dial-In product type. Updates to outbound calling names can take 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update."]moduleUpdateGlobalSettingsRequest=structtypenonrect={voiceConnector:VoiceConnectorSettings.toption[@ocaml.doc"The Voice Connector settings."]}letmake?voiceConnector=fun()->{voiceConnector}letto_valuex=structure_to_value[("VoiceConnector",(Option.mapx.voiceConnector~f:VoiceConnectorSettings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnector=(Option.map~f:VoiceConnectorSettings.of_xml)(Xml.childxml_arg0"VoiceConnector")inmake?voiceConnector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnector=field_mapjson__"VoiceConnector"VoiceConnectorSettings.of_jsoninmake?voiceConnector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates global settings for the Amazon Chime SDK Voice Connectors in an AWS account."]moduleUntagResourceRequest=structtypenonrect={resourceARN:Arn.t[@ocaml.doc"The ARN of the resource having its tags removed."];tagKeys:TagKeyList.t[@ocaml.doc"The keys of the tags being removed from the 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 tags from a resource."]moduleTagResourceRequest=structtypenonrect={resourceARN:Arn.t[@ocaml.doc"The ARN of the resource being tagged."];tags:TagList.t[@ocaml.doc"A list of the tags being added to the resource."]}letcontext_="TagResourceRequest"letmake~resourceARN=fun~tags->fun()->{resourceARN;tags}letto_valuex=structure_to_value[("ResourceARN",(Some(Arn.to_valuex.resourceARN)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")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"TagList.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"Arn.of_jsoninmake~tags~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds a tag to the specified resource."]moduleStopVoiceToneAnalysisTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];voiceToneAnalysisTaskId:NonEmptyString256.t[@ocaml.doc"The ID of the voice tone analysis task."]}letcontext_="StopVoiceToneAnalysisTaskRequest"letmake~voiceConnectorId=fun~voiceToneAnalysisTaskId->fun()->{voiceConnectorId;voiceToneAnalysisTaskId}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("VoiceToneAnalysisTaskId",(Some(NonEmptyString256.to_valuex.voiceToneAnalysisTaskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceToneAnalysisTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceToneAnalysisTaskId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake~voiceToneAnalysisTaskId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceToneAnalysisTaskId=field_map_exnjson__"VoiceToneAnalysisTaskId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~voiceToneAnalysisTaskId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a voice tone analysis task."]moduleStopSpeakerSearchTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];speakerSearchTaskId:NonEmptyString256.t[@ocaml.doc"The speaker search task ID."]}letcontext_="StopSpeakerSearchTaskRequest"letmake~voiceConnectorId=fun~speakerSearchTaskId->fun()->{voiceConnectorId;speakerSearchTaskId}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("SpeakerSearchTaskId",(Some(NonEmptyString256.to_valuex.speakerSearchTaskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"SpeakerSearchTaskId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake~speakerSearchTaskId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTaskId=field_map_exnjson__"SpeakerSearchTaskId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~speakerSearchTaskId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops a speaker search task."]moduleStartVoiceToneAnalysisTaskResponse=structtypenonrect={voiceToneAnalysisTask:VoiceToneAnalysisTask.toption[@ocaml.doc"The details of the voice tone analysis task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`GoneExceptionofGoneException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`UnprocessableEntityExceptionofUnprocessableEntityException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceToneAnalysisTask=fun()->{voiceToneAnalysisTask}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GoneException"->`GoneException(GoneException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|"UnprocessableEntityException"->`UnprocessableEntityException(UnprocessableEntityException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GoneException"->`GoneException(GoneException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|"UnprocessableEntityException"->`UnprocessableEntityException(UnprocessableEntityException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GoneExceptione->`Assoc[("error",(`String"GoneException"));("details",(GoneException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`UnprocessableEntityExceptione->`Assoc[("error",(`String"UnprocessableEntityException"));("details",(UnprocessableEntityException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceToneAnalysisTask",(Option.mapx.voiceToneAnalysisTask~f:VoiceToneAnalysisTask.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceToneAnalysisTask=(Option.map~f:VoiceToneAnalysisTask.of_xml)(Xml.childxml_arg0"VoiceToneAnalysisTask")inmake?voiceToneAnalysisTask()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceToneAnalysisTask=field_mapjson__"VoiceToneAnalysisTask"VoiceToneAnalysisTask.of_jsoninmake?voiceToneAnalysisTask()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice analytics in the Amazon Chime SDK Developer Guide. Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK."]moduleStartVoiceToneAnalysisTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];transactionId:NonEmptyString256.t[@ocaml.doc"The transaction ID."];languageCode:LanguageCode.t[@ocaml.doc"The language code."];clientRequestToken:ClientRequestId.toption[@ocaml.doc"The unique identifier for the client request. Use a different token for different voice tone analysis tasks."]}letcontext_="StartVoiceToneAnalysisTaskRequest"letmake?clientRequestToken=fun~voiceConnectorId->fun~transactionId->fun~languageCode->fun()->{clientRequestToken;voiceConnectorId;transactionId;languageCode}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("TransactionId",(Some(NonEmptyString256.to_valuex.transactionId)));("LanguageCode",(Some(LanguageCode.to_valuex.languageCode)));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientRequestToken=(Option.map~f:ClientRequestId.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletlanguageCode=LanguageCode.of_xml(Xml.child_exn~context:context_xml_arg0"LanguageCode")inlettransactionId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"TransactionId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake?clientRequestToken~languageCode~transactionId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestId.of_jsoninletlanguageCode=field_map_exnjson__"LanguageCode"LanguageCode.of_jsoninlettransactionId=field_map_exnjson__"TransactionId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?clientRequestToken~languageCode~transactionId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice analytics in the Amazon Chime SDK Developer Guide. Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK."]moduleStartSpeakerSearchTaskResponse=structtypenonrect={speakerSearchTask:SpeakerSearchTask.toption[@ocaml.doc"The details of the speaker search task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`GoneExceptionofGoneException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`UnprocessableEntityExceptionofUnprocessableEntityException.t|`Unknown_operation_errorof(string*stringoption)]letmake?speakerSearchTask=fun()->{speakerSearchTask}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GoneException"->`GoneException(GoneException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|"UnprocessableEntityException"->`UnprocessableEntityException(UnprocessableEntityException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GoneException"->`GoneException(GoneException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|"UnprocessableEntityException"->`UnprocessableEntityException(UnprocessableEntityException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GoneExceptione->`Assoc[("error",(`String"GoneException"));("details",(GoneException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`UnprocessableEntityExceptione->`Assoc[("error",(`String"UnprocessableEntityException"));("details",(UnprocessableEntityException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SpeakerSearchTask",(Option.mapx.speakerSearchTask~f:SpeakerSearchTask.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTask=(Option.map~f:SpeakerSearchTask.of_xml)(Xml.childxml_arg0"SpeakerSearchTask")inmake?speakerSearchTask()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTask=field_mapjson__"SpeakerSearchTask"SpeakerSearchTask.of_jsoninmake?speakerSearchTask()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a speaker search task. Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK."]moduleStartSpeakerSearchTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];transactionId:NonEmptyString256.t[@ocaml.doc"The transaction ID of the call being analyzed."];voiceProfileDomainId:NonEmptyString256.t[@ocaml.doc"The ID of the voice profile domain that will store the voice profile."];clientRequestToken:ClientRequestId.toption[@ocaml.doc"The unique identifier for the client request. Use a different token for different speaker search tasks."];callLeg:CallLegType.toption[@ocaml.doc"Specifies which call leg to stream for speaker search."]}letcontext_="StartSpeakerSearchTaskRequest"letmake?clientRequestToken=fun?callLeg->fun~voiceConnectorId->fun~transactionId->fun~voiceProfileDomainId->fun()->{clientRequestToken;callLeg;voiceConnectorId;transactionId;voiceProfileDomainId}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("TransactionId",(Some(NonEmptyString256.to_valuex.transactionId)));("VoiceProfileDomainId",(Some(NonEmptyString256.to_valuex.voiceProfileDomainId)));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestId.to_value));("CallLeg",(Option.mapx.callLeg~f:CallLegType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallLeg=(Option.map~f:CallLegType.of_xml)(Xml.childxml_arg0"CallLeg")inletclientRequestToken=(Option.map~f:ClientRequestId.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletvoiceProfileDomainId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileDomainId")inlettransactionId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"TransactionId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake?callLeg?clientRequestToken~voiceProfileDomainId~transactionId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallLeg=field_mapjson__"CallLeg"CallLegType.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestId.of_jsoninletvoiceProfileDomainId=field_map_exnjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninlettransactionId=field_map_exnjson__"TransactionId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?callLeg?clientRequestToken~voiceProfileDomainId~transactionId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a speaker search task. Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK."]moduleSearchAvailablePhoneNumbersResponse=structtypenonrect={e164PhoneNumbers:E164PhoneNumberList.toption[@ocaml.doc"Confines a search to just the phone numbers in the E.164 format."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?e164PhoneNumbers=fun?nextToken->fun()->{e164PhoneNumbers;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("E164PhoneNumbers",(Option.mapx.e164PhoneNumbers~f:E164PhoneNumberList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inlete164PhoneNumbers=(Option.map~f:E164PhoneNumberList.of_xml)(Xml.childxml_arg0"E164PhoneNumbers")inmake?nextToken?e164PhoneNumbers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninlete164PhoneNumbers=field_mapjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninmake?nextToken?e164PhoneNumbers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Searches the provisioned phone numbers in an organization."]moduleSearchAvailablePhoneNumbersRequest=structtypenonrect={areaCode:String_.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified area code."];city:String_.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified city."];country:Alpha2CountryCode.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified country."];state:String_.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified state."];tollFreePrefix:TollFreePrefix.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified toll-free prefix."];phoneNumberType:PhoneNumberType.toption[@ocaml.doc"Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free."];maxResults:PhoneNumberMaxResults.toption[@ocaml.doc"The maximum number of results to return."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}letmake?areaCode=fun?city->fun?country->fun?state->fun?tollFreePrefix->fun?phoneNumberType->fun?maxResults->fun?nextToken->fun()->{areaCode;city;country;state;tollFreePrefix;phoneNumberType;maxResults;nextToken}letto_valuex=structure_to_value[("area-code",(Option.mapx.areaCode~f:String_.to_value));("city",(Option.mapx.city~f:String_.to_value));("country",(Option.mapx.country~f:Alpha2CountryCode.to_value));("state",(Option.mapx.state~f:String_.to_value));("toll-free-prefix",(Option.mapx.tollFreePrefix~f:TollFreePrefix.to_value));("phone-number-type",(Option.mapx.phoneNumberType~f:PhoneNumberType.to_value));("max-results",(Option.mapx.maxResults~f:PhoneNumberMaxResults.to_value));("next-token",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inletmaxResults=(Option.map~f:PhoneNumberMaxResults.of_xml)(Xml.childxml_arg0"max-results")inletphoneNumberType=(Option.map~f:PhoneNumberType.of_xml)(Xml.childxml_arg0"phone-number-type")inlettollFreePrefix=(Option.map~f:TollFreePrefix.of_xml)(Xml.childxml_arg0"toll-free-prefix")inletstate=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"state")inletcountry=(Option.map~f:Alpha2CountryCode.of_xml)(Xml.childxml_arg0"country")inletcity=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"city")inletareaCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"area-code")inmake?nextToken?maxResults?phoneNumberType?tollFreePrefix?state?country?city?areaCode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletmaxResults=field_mapjson__"MaxResults"PhoneNumberMaxResults.of_jsoninletphoneNumberType=field_mapjson__"PhoneNumberType"PhoneNumberType.of_jsoninlettollFreePrefix=field_mapjson__"TollFreePrefix"TollFreePrefix.of_jsoninletstate=field_mapjson__"State"String_.of_jsoninletcountry=field_mapjson__"Country"Alpha2CountryCode.of_jsoninletcity=field_mapjson__"City"String_.of_jsoninletareaCode=field_mapjson__"AreaCode"String_.of_jsoninmake?nextToken?maxResults?phoneNumberType?tollFreePrefix?state?country?city?areaCode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Searches the provisioned phone numbers in an organization."]moduleRestorePhoneNumberResponse=structtypenonrect={phoneNumber:PhoneNumber.toption[@ocaml.doc"The restored phone number."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumber=fun()->{phoneNumber}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumber",(Option.mapx.phoneNumber~f:PhoneNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumber=(Option.map~f:PhoneNumber.of_xml)(Xml.childxml_arg0"PhoneNumber")inmake?phoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumber=field_mapjson__"PhoneNumber"PhoneNumber.of_jsoninmake?phoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restores a deleted phone number."]moduleRestorePhoneNumberRequest=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.t[@ocaml.doc"The ID of the phone number being restored."]}letcontext_="RestorePhoneNumberRequest"letmake~phoneNumberId=fun()->{phoneNumberId}letto_valuex=structure_to_value[("phoneNumberId",(Some(SensitiveNonEmptyString.to_valuex.phoneNumberId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberId=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"phoneNumberId")inmake~phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberId=field_map_exnjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake~phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Restores a deleted phone number."]modulePutVoiceConnectorTerminationResponse=structtypenonrect={termination:Termination.toption[@ocaml.doc"The updated termination settings."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?termination=fun()->{termination}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Termination",(Option.mapx.termination~f:Termination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettermination=(Option.map~f:Termination.of_xml)(Xml.childxml_arg0"Termination")inmake?termination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettermination=field_mapjson__"Termination"Termination.of_jsoninmake?termination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's termination settings."]modulePutVoiceConnectorTerminationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];termination:Termination.t[@ocaml.doc"The termination settings to be updated."]}letcontext_="PutVoiceConnectorTerminationRequest"letmake~voiceConnectorId=fun~termination->fun()->{voiceConnectorId;termination}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Termination",(Some(Termination.to_valuex.termination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettermination=Termination.of_xml(Xml.child_exn~context:context_xml_arg0"Termination")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~termination~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettermination=field_map_exnjson__"Termination"Termination.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~termination~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's termination settings."]modulePutVoiceConnectorTerminationCredentialsRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];credentials:CredentialList.toption[@ocaml.doc"The termination credentials being updated."]}letcontext_="PutVoiceConnectorTerminationCredentialsRequest"letmake?credentials=fun~voiceConnectorId->fun()->{credentials;voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Credentials",(Option.mapx.credentials~f:CredentialList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcredentials=(Option.map~f:CredentialList.of_xml)(Xml.childxml_arg0"Credentials")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?credentials~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcredentials=field_mapjson__"Credentials"CredentialList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake?credentials~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's termination credentials."]modulePutVoiceConnectorStreamingConfigurationResponse=structtypenonrect={streamingConfiguration:StreamingConfiguration.toption[@ocaml.doc"The updated streaming settings."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?streamingConfiguration=fun()->{streamingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("StreamingConfiguration",(Option.mapx.streamingConfiguration~f:StreamingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamingConfiguration=(Option.map~f:StreamingConfiguration.of_xml)(Xml.childxml_arg0"StreamingConfiguration")inmake?streamingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamingConfiguration=field_mapjson__"StreamingConfiguration"StreamingConfiguration.of_jsoninmake?streamingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's streaming configuration settings."]modulePutVoiceConnectorStreamingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];streamingConfiguration:StreamingConfiguration.t[@ocaml.doc"The streaming settings being updated."]}letcontext_="PutVoiceConnectorStreamingConfigurationRequest"letmake~voiceConnectorId=fun~streamingConfiguration->fun()->{voiceConnectorId;streamingConfiguration}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("StreamingConfiguration",(Some(StreamingConfiguration.to_valuex.streamingConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamingConfiguration=StreamingConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"StreamingConfiguration")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~streamingConfiguration~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamingConfiguration=field_map_exnjson__"StreamingConfiguration"StreamingConfiguration.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~streamingConfiguration~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's streaming configuration settings."]modulePutVoiceConnectorProxyResponse=structtypenonrect={proxy:Proxy.toption[@ocaml.doc"The proxy configuration details."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxy=fun()->{proxy}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxy",(Option.mapx.proxy~f:Proxy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxy=(Option.map~f:Proxy.of_xml)(Xml.childxml_arg0"Proxy")inmake?proxy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxy=field_mapjson__"Proxy"Proxy.of_jsoninmake?proxy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Puts the specified proxy configuration to the specified Amazon Chime SDK Voice Connector."]modulePutVoiceConnectorProxyRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];defaultSessionExpiryMinutes:Integer.t[@ocaml.doc"The default number of minutes allowed for proxy session."];phoneNumberPoolCountries:CountryList.t[@ocaml.doc"The countries for proxy phone numbers to be selected from."];fallBackPhoneNumber:E164PhoneNumber.toption[@ocaml.doc"The phone number to route calls to after a proxy session expires."];disabled:Boolean.toption[@ocaml.doc"When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector."]}letcontext_="PutVoiceConnectorProxyRequest"letmake?fallBackPhoneNumber=fun?disabled->fun~voiceConnectorId->fun~defaultSessionExpiryMinutes->fun~phoneNumberPoolCountries->fun()->{fallBackPhoneNumber;disabled;voiceConnectorId;defaultSessionExpiryMinutes;phoneNumberPoolCountries}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("DefaultSessionExpiryMinutes",(Some(Integer.to_valuex.defaultSessionExpiryMinutes)));("PhoneNumberPoolCountries",(Some(CountryList.to_valuex.phoneNumberPoolCountries)));("FallBackPhoneNumber",(Option.mapx.fallBackPhoneNumber~f:E164PhoneNumber.to_value));("Disabled",(Option.mapx.disabled~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdisabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"Disabled")inletfallBackPhoneNumber=(Option.map~f:E164PhoneNumber.of_xml)(Xml.childxml_arg0"FallBackPhoneNumber")inletphoneNumberPoolCountries=CountryList.of_xml(Xml.child_exn~context:context_xml_arg0"PhoneNumberPoolCountries")inletdefaultSessionExpiryMinutes=Integer.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultSessionExpiryMinutes")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?disabled?fallBackPhoneNumber~phoneNumberPoolCountries~defaultSessionExpiryMinutes~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdisabled=field_mapjson__"Disabled"Boolean.of_jsoninletfallBackPhoneNumber=field_mapjson__"FallBackPhoneNumber"E164PhoneNumber.of_jsoninletphoneNumberPoolCountries=field_map_exnjson__"PhoneNumberPoolCountries"CountryList.of_jsoninletdefaultSessionExpiryMinutes=field_map_exnjson__"DefaultSessionExpiryMinutes"Integer.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?disabled?fallBackPhoneNumber~phoneNumberPoolCountries~defaultSessionExpiryMinutes~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Puts the specified proxy configuration to the specified Amazon Chime SDK Voice Connector."]modulePutVoiceConnectorOriginationResponse=structtypenonrect={origination:Origination.toption[@ocaml.doc"The updated origination settings."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?origination=fun()->{origination}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Origination",(Option.mapx.origination~f:Origination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorigination=(Option.map~f:Origination.of_xml)(Xml.childxml_arg0"Origination")inmake?origination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorigination=field_mapjson__"Origination"Origination.of_jsoninmake?origination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's origination settings."]modulePutVoiceConnectorOriginationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];origination:Origination.t[@ocaml.doc"The origination settings being updated."]}letcontext_="PutVoiceConnectorOriginationRequest"letmake~voiceConnectorId=fun~origination->fun()->{voiceConnectorId;origination}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Origination",(Some(Origination.to_valuex.origination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorigination=Origination.of_xml(Xml.child_exn~context:context_xml_arg0"Origination")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~origination~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorigination=field_map_exnjson__"Origination"Origination.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~origination~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's origination settings."]modulePutVoiceConnectorLoggingConfigurationResponse=structtypenonrect={loggingConfiguration:LoggingConfiguration.toption[@ocaml.doc"The updated logging configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?loggingConfiguration=fun()->{loggingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("LoggingConfiguration",(Option.mapx.loggingConfiguration~f:LoggingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloggingConfiguration=(Option.map~f:LoggingConfiguration.of_xml)(Xml.childxml_arg0"LoggingConfiguration")inmake?loggingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloggingConfiguration=field_mapjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninmake?loggingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's logging configuration."]modulePutVoiceConnectorLoggingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];loggingConfiguration:LoggingConfiguration.t[@ocaml.doc"The logging configuration being updated."]}letcontext_="PutVoiceConnectorLoggingConfigurationRequest"letmake~voiceConnectorId=fun~loggingConfiguration->fun()->{voiceConnectorId;loggingConfiguration}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("LoggingConfiguration",(Some(LoggingConfiguration.to_valuex.loggingConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloggingConfiguration=LoggingConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"LoggingConfiguration")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~loggingConfiguration~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloggingConfiguration=field_map_exnjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~loggingConfiguration~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's logging configuration."]modulePutVoiceConnectorExternalSystemsConfigurationResponse=structtypenonrect={externalSystemsConfiguration:ExternalSystemsConfiguration.toption[@ocaml.doc"An object that contains information about an external systems configuration for a Voice Connector."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?externalSystemsConfiguration=fun()->{externalSystemsConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ExternalSystemsConfiguration",(Option.mapx.externalSystemsConfiguration~f:ExternalSystemsConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexternalSystemsConfiguration=(Option.map~f:ExternalSystemsConfiguration.of_xml)(Xml.childxml_arg0"ExternalSystemsConfiguration")inmake?externalSystemsConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexternalSystemsConfiguration=field_mapjson__"ExternalSystemsConfiguration"ExternalSystemsConfiguration.of_jsoninmake?externalSystemsConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an external systems configuration to a Voice Connector."]modulePutVoiceConnectorExternalSystemsConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The ID of the Voice Connector for which to add the external system configuration."];sessionBorderControllerTypes:SessionBorderControllerTypeList.toption[@ocaml.doc"The session border controllers to use."];contactCenterSystemTypes:ContactCenterSystemTypeList.toption[@ocaml.doc"The contact center system to use."]}letcontext_="PutVoiceConnectorExternalSystemsConfigurationRequest"letmake?sessionBorderControllerTypes=fun?contactCenterSystemTypes->fun~voiceConnectorId->fun()->{sessionBorderControllerTypes;contactCenterSystemTypes;voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("SessionBorderControllerTypes",(Option.mapx.sessionBorderControllerTypes~f:SessionBorderControllerTypeList.to_value));("ContactCenterSystemTypes",(Option.mapx.contactCenterSystemTypes~f:ContactCenterSystemTypeList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactCenterSystemTypes=(Option.map~f:ContactCenterSystemTypeList.of_xml)(Xml.childxml_arg0"ContactCenterSystemTypes")inletsessionBorderControllerTypes=(Option.map~f:SessionBorderControllerTypeList.of_xml)(Xml.childxml_arg0"SessionBorderControllerTypes")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?contactCenterSystemTypes?sessionBorderControllerTypes~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactCenterSystemTypes=field_mapjson__"ContactCenterSystemTypes"ContactCenterSystemTypeList.of_jsoninletsessionBorderControllerTypes=field_mapjson__"SessionBorderControllerTypes"SessionBorderControllerTypeList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?contactCenterSystemTypes?sessionBorderControllerTypes~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds an external systems configuration to a Voice Connector."]modulePutVoiceConnectorEmergencyCallingConfigurationResponse=structtypenonrect={emergencyCallingConfiguration:EmergencyCallingConfiguration.toption[@ocaml.doc"The updated configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?emergencyCallingConfiguration=fun()->{emergencyCallingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EmergencyCallingConfiguration",(Option.mapx.emergencyCallingConfiguration~f:EmergencyCallingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemergencyCallingConfiguration=(Option.map~f:EmergencyCallingConfiguration.of_xml)(Xml.childxml_arg0"EmergencyCallingConfiguration")inmake?emergencyCallingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemergencyCallingConfiguration=field_mapjson__"EmergencyCallingConfiguration"EmergencyCallingConfiguration.of_jsoninmake?emergencyCallingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's emergency calling configuration."]modulePutVoiceConnectorEmergencyCallingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];emergencyCallingConfiguration:EmergencyCallingConfiguration.t[@ocaml.doc"The configuration being updated."]}letcontext_="PutVoiceConnectorEmergencyCallingConfigurationRequest"letmake~voiceConnectorId=fun~emergencyCallingConfiguration->fun()->{voiceConnectorId;emergencyCallingConfiguration}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("EmergencyCallingConfiguration",(Some(EmergencyCallingConfiguration.to_valuex.emergencyCallingConfiguration)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemergencyCallingConfiguration=EmergencyCallingConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"EmergencyCallingConfiguration")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~emergencyCallingConfiguration~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemergencyCallingConfiguration=field_map_exnjson__"EmergencyCallingConfiguration"EmergencyCallingConfiguration.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~emergencyCallingConfiguration~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a Voice Connector's emergency calling configuration."]modulePutSipMediaApplicationLoggingConfigurationResponse=structtypenonrect={sipMediaApplicationLoggingConfiguration:SipMediaApplicationLoggingConfiguration.toption[@ocaml.doc"The updated logging configuration for the specified SIP media application."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationLoggingConfiguration=fun()->{sipMediaApplicationLoggingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationLoggingConfiguration",(Option.mapx.sipMediaApplicationLoggingConfiguration~f:SipMediaApplicationLoggingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationLoggingConfiguration=(Option.map~f:SipMediaApplicationLoggingConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationLoggingConfiguration")inmake?sipMediaApplicationLoggingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationLoggingConfiguration=field_mapjson__"SipMediaApplicationLoggingConfiguration"SipMediaApplicationLoggingConfiguration.of_jsoninmake?sipMediaApplicationLoggingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the logging configuration for the specified SIP media application."]modulePutSipMediaApplicationLoggingConfigurationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."];sipMediaApplicationLoggingConfiguration:SipMediaApplicationLoggingConfiguration.toption[@ocaml.doc"The logging configuration for the specified SIP media application."]}letcontext_="PutSipMediaApplicationLoggingConfigurationRequest"letmake?sipMediaApplicationLoggingConfiguration=fun~sipMediaApplicationId->fun()->{sipMediaApplicationLoggingConfiguration;sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)));("SipMediaApplicationLoggingConfiguration",(Option.mapx.sipMediaApplicationLoggingConfiguration~f:SipMediaApplicationLoggingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationLoggingConfiguration=(Option.map~f:SipMediaApplicationLoggingConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationLoggingConfiguration")inletsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake?sipMediaApplicationLoggingConfiguration~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationLoggingConfiguration=field_mapjson__"SipMediaApplicationLoggingConfiguration"SipMediaApplicationLoggingConfiguration.of_jsoninletsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?sipMediaApplicationLoggingConfiguration~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the logging configuration for the specified SIP media application."]modulePutSipMediaApplicationAlexaSkillConfigurationResponse=structtypenonrect={sipMediaApplicationAlexaSkillConfiguration:SipMediaApplicationAlexaSkillConfiguration.toption[@ocaml.doc"Returns the Alexa Skill configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationAlexaSkillConfiguration=fun()->{sipMediaApplicationAlexaSkillConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationAlexaSkillConfiguration",(Option.mapx.sipMediaApplicationAlexaSkillConfiguration~f:SipMediaApplicationAlexaSkillConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationAlexaSkillConfiguration=(Option.map~f:SipMediaApplicationAlexaSkillConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationAlexaSkillConfiguration")inmake?sipMediaApplicationAlexaSkillConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationAlexaSkillConfiguration=field_mapjson__"SipMediaApplicationAlexaSkillConfiguration"SipMediaApplicationAlexaSkillConfiguration.of_jsoninmake?sipMediaApplicationAlexaSkillConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Alexa Skill configuration for the SIP media application. Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page."]modulePutSipMediaApplicationAlexaSkillConfigurationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."];sipMediaApplicationAlexaSkillConfiguration:SipMediaApplicationAlexaSkillConfiguration.toption[@ocaml.doc"The Alexa Skill configuration."]}letcontext_="PutSipMediaApplicationAlexaSkillConfigurationRequest"letmake?sipMediaApplicationAlexaSkillConfiguration=fun~sipMediaApplicationId->fun()->{sipMediaApplicationAlexaSkillConfiguration;sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)));("SipMediaApplicationAlexaSkillConfiguration",(Option.mapx.sipMediaApplicationAlexaSkillConfiguration~f:SipMediaApplicationAlexaSkillConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationAlexaSkillConfiguration=(Option.map~f:SipMediaApplicationAlexaSkillConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationAlexaSkillConfiguration")inletsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake?sipMediaApplicationAlexaSkillConfiguration~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationAlexaSkillConfiguration=field_mapjson__"SipMediaApplicationAlexaSkillConfiguration"SipMediaApplicationAlexaSkillConfiguration.of_jsoninletsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?sipMediaApplicationAlexaSkillConfiguration~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the Alexa Skill configuration for the SIP media application. Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page."]moduleListVoiceProfilesResponse=structtypenonrect={voiceProfiles:VoiceProfileSummaryList.toption[@ocaml.doc"The list of voice profiles."];nextToken:String_.toption[@ocaml.doc"The token used to retrieve the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfiles=fun?nextToken->fun()->{voiceProfiles;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfiles",(Option.mapx.voiceProfiles~f:VoiceProfileSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletvoiceProfiles=(Option.map~f:VoiceProfileSummaryList.of_xml)(Xml.childxml_arg0"VoiceProfiles")inmake?nextToken?voiceProfiles()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletvoiceProfiles=field_mapjson__"VoiceProfiles"VoiceProfileSummaryList.of_jsoninmake?nextToken?voiceProfiles()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the voice profiles in a voice profile domain."]moduleListVoiceProfilesRequest=structtypenonrect={voiceProfileDomainId:NonEmptyString256.t[@ocaml.doc"The ID of the voice profile domain."];nextToken:String_.toption[@ocaml.doc"The token used to retrieve the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results in the request."]}letcontext_="ListVoiceProfilesRequest"letmake?nextToken=fun?maxResults->fun~voiceProfileDomainId->fun()->{nextToken;maxResults;voiceProfileDomainId}letto_valuex=structure_to_value[("voice-profile-domain-id",(Some(NonEmptyString256.to_valuex.voiceProfileDomainId)));("next-token",(Option.mapx.nextToken~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inletvoiceProfileDomainId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"voice-profile-domain-id")inmake?maxResults?nextToken~voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"String_.of_jsoninletvoiceProfileDomainId=field_map_exnjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake?maxResults?nextToken~voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the voice profiles in a voice profile domain."]moduleListVoiceProfileDomainsResponse=structtypenonrect={voiceProfileDomains:VoiceProfileDomainSummaryList.toption[@ocaml.doc"The list of voice profile domains."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfileDomains=fun?nextToken->fun()->{voiceProfileDomains;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfileDomains",(Option.mapx.voiceProfileDomains~f:VoiceProfileDomainSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletvoiceProfileDomains=(Option.map~f:VoiceProfileDomainSummaryList.of_xml)(Xml.childxml_arg0"VoiceProfileDomains")inmake?nextToken?voiceProfileDomains()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletvoiceProfileDomains=field_mapjson__"VoiceProfileDomains"VoiceProfileDomainSummaryList.of_jsoninmake?nextToken?voiceProfileDomains()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the specified voice profile domains in the administrator's AWS account."]moduleListVoiceProfileDomainsRequest=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("next-token",(Option.mapx.nextToken~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the specified voice profile domains in the administrator's AWS account."]moduleListVoiceConnectorsResponse=structtypenonrect={voiceConnectors:VoiceConnectorList.toption[@ocaml.doc"The details of the Voice Connectors."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectors=fun?nextToken->fun()->{voiceConnectors;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectors",(Option.mapx.voiceConnectors~f:VoiceConnectorList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletvoiceConnectors=(Option.map~f:VoiceConnectorList.of_xml)(Xml.childxml_arg0"VoiceConnectors")inmake?nextToken?voiceConnectors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletvoiceConnectors=field_mapjson__"VoiceConnectors"VoiceConnectorList.of_jsoninmake?nextToken?voiceConnectors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Amazon Chime SDK Voice Connectors in the administrators AWS account."]moduleListVoiceConnectorsRequest=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("next-token",(Option.mapx.nextToken~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Amazon Chime SDK Voice Connectors in the administrators AWS account."]moduleListVoiceConnectorTerminationCredentialsResponse=structtypenonrect={usernames:SensitiveStringList.toption[@ocaml.doc"A list of user names."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?usernames=fun()->{usernames}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Usernames",(Option.mapx.usernames~f:SensitiveStringList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letusernames=(Option.map~f:SensitiveStringList.of_xml)(Xml.childxml_arg0"Usernames")inmake?usernames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letusernames=field_mapjson__"Usernames"SensitiveStringList.of_jsoninmake?usernames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP credentials for the specified Amazon Chime SDK Voice Connector."]moduleListVoiceConnectorTerminationCredentialsRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="ListVoiceConnectorTerminationCredentialsRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP credentials for the specified Amazon Chime SDK Voice Connector."]moduleListVoiceConnectorGroupsResponse=structtypenonrect={voiceConnectorGroups:VoiceConnectorGroupList.toption[@ocaml.doc"The details of the Voice Connector groups."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectorGroups=fun?nextToken->fun()->{voiceConnectorGroups;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectorGroups",(Option.mapx.voiceConnectorGroups~f:VoiceConnectorGroupList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletvoiceConnectorGroups=(Option.map~f:VoiceConnectorGroupList.of_xml)(Xml.childxml_arg0"VoiceConnectorGroups")inmake?nextToken?voiceConnectorGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletvoiceConnectorGroups=field_mapjson__"VoiceConnectorGroups"VoiceConnectorGroupList.of_jsoninmake?nextToken?voiceConnectorGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Amazon Chime SDK Voice Connector groups in the administrator's AWS account."]moduleListVoiceConnectorGroupsRequest=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("next-token",(Option.mapx.nextToken~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Amazon Chime SDK Voice Connector groups in the administrator's AWS account."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"The tags in the list."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.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:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of the tags in a given resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:Arn.t[@ocaml.doc"The resource ARN."]}letcontext_="ListTagsForResourceRequest"letmake~resourceARN=fun()->{resourceARN}letto_valuex=structure_to_value[("arn",(Some(Arn.to_valuex.resourceARN)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceARN=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"arn")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"Returns a list of the tags in a given resource."]moduleListSupportedPhoneNumberCountriesResponse=structtypenonrect={phoneNumberCountries:PhoneNumberCountriesList.toption[@ocaml.doc"The supported phone number countries."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberCountries=fun()->{phoneNumberCountries}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberCountries",(Option.mapx.phoneNumberCountries~f:PhoneNumberCountriesList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberCountries=(Option.map~f:PhoneNumberCountriesList.of_xml)(Xml.childxml_arg0"PhoneNumberCountries")inmake?phoneNumberCountries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberCountries=field_mapjson__"PhoneNumberCountries"PhoneNumberCountriesList.of_jsoninmake?phoneNumberCountries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the countries that you can order phone numbers from."]moduleListSupportedPhoneNumberCountriesRequest=structtypenonrect={productType:PhoneNumberProductType.t[@ocaml.doc"The phone number product type."]}letcontext_="ListSupportedPhoneNumberCountriesRequest"letmake~productType=fun()->{productType}letto_valuex=structure_to_value[("product-type",(Some(PhoneNumberProductType.to_valuex.productType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproductType=PhoneNumberProductType.of_xml(Xml.child_exn~context:context_xml_arg0"product-type")inmake~productType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproductType=field_map_exnjson__"ProductType"PhoneNumberProductType.of_jsoninmake~productType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the countries that you can order phone numbers from."]moduleListSipRulesResponse=structtypenonrect={sipRules:SipRuleList.toption[@ocaml.doc"The list of SIP rules and details."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipRules=fun?nextToken->fun()->{sipRules;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipRules",(Option.mapx.sipRules~f:SipRuleList.to_value));("NextToken",(Option.mapx.nextToken~f:NextTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"NextToken")inletsipRules=(Option.map~f:SipRuleList.of_xml)(Xml.childxml_arg0"SipRules")inmake?nextToken?sipRules()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletsipRules=field_mapjson__"SipRules"SipRuleList.of_jsoninmake?nextToken?sipRules()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP rules under the administrator's AWS account."]moduleListSipRulesRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.toption[@ocaml.doc"The SIP media application ID."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call. Defaults to 100."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to return the next page of results."]}letmake?sipMediaApplicationId=fun?maxResults->fun?nextToken->fun()->{sipMediaApplicationId;maxResults;nextToken}letto_valuex=structure_to_value[("sip-media-application",(Option.mapx.sipMediaApplicationId~f:NonEmptyString.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value));("next-token",(Option.mapx.nextToken~f:NextTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"next-token")inletmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletsipMediaApplicationId=(Option.map~f:NonEmptyString.of_xml)(Xml.childxml_arg0"sip-media-application")inmake?nextToken?maxResults?sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletsipMediaApplicationId=field_mapjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake?nextToken?maxResults?sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP rules under the administrator's AWS account."]moduleListSipMediaApplicationsResponse=structtypenonrect={sipMediaApplications:SipMediaApplicationList.toption[@ocaml.doc"The list of SIP media applications and application details."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplications=fun?nextToken->fun()->{sipMediaApplications;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplications",(Option.mapx.sipMediaApplications~f:SipMediaApplicationList.to_value));("NextToken",(Option.mapx.nextToken~f:NextTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"NextToken")inletsipMediaApplications=(Option.map~f:SipMediaApplicationList.of_xml)(Xml.childxml_arg0"SipMediaApplications")inmake?nextToken?sipMediaApplications()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletsipMediaApplications=field_mapjson__"SipMediaApplications"SipMediaApplicationList.of_jsoninmake?nextToken?sipMediaApplications()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP media applications under the administrator's AWS account."]moduleListSipMediaApplicationsRequest=structtypenonrect={maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call. Defaults to 100."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to return the next page of results."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("max-results",(Option.mapx.maxResults~f:ResultMax.to_value));("next-token",(Option.mapx.nextToken~f:NextTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"next-token")inletmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the SIP media applications under the administrator's AWS account."]moduleListProxySessionsResponse=structtypenonrect={proxySessions:ProxySessions.toption[@ocaml.doc"The proxy sessions' details."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to retrieve the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxySessions=fun?nextToken->fun()->{proxySessions;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxySessions",(Option.mapx.proxySessions~f:ProxySessions.to_value));("NextToken",(Option.mapx.nextToken~f:NextTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"NextToken")inletproxySessions=(Option.map~f:ProxySessions.of_xml)(Xml.childxml_arg0"ProxySessions")inmake?nextToken?proxySessions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletproxySessions=field_mapjson__"ProxySessions"ProxySessions.of_jsoninmake?nextToken?proxySessions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the proxy sessions for the specified Amazon Chime SDK Voice Connector."]moduleListProxySessionsRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];status:ProxySessionStatus.toption[@ocaml.doc"The proxy session status."];nextToken:NextTokenString.toption[@ocaml.doc"The token used to retrieve the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."]}letcontext_="ListProxySessionsRequest"letmake?status=fun?nextToken->fun?maxResults->fun~voiceConnectorId->fun()->{status;nextToken;maxResults;voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("status",(Option.mapx.status~f:ProxySessionStatus.to_value));("next-token",(Option.mapx.nextToken~f:NextTokenString.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:NextTokenString.of_xml)(Xml.childxml_arg0"next-token")inletstatus=(Option.map~f:ProxySessionStatus.of_xml)(Xml.childxml_arg0"status")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?maxResults?nextToken?status~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"NextTokenString.of_jsoninletstatus=field_mapjson__"Status"ProxySessionStatus.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?maxResults?nextToken?status~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the proxy sessions for the specified Amazon Chime SDK Voice Connector."]moduleListPhoneNumbersResponse=structtypenonrect={phoneNumbers:PhoneNumberList.toption[@ocaml.doc"The phone number details."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumbers=fun?nextToken->fun()->{phoneNumbers;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumbers",(Option.mapx.phoneNumbers~f:PhoneNumberList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletphoneNumbers=(Option.map~f:PhoneNumberList.of_xml)(Xml.childxml_arg0"PhoneNumbers")inmake?nextToken?phoneNumbers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletphoneNumbers=field_mapjson__"PhoneNumbers"PhoneNumberList.of_jsoninmake?nextToken?phoneNumbers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the phone numbers for the specified Amazon Chime SDK account, Amazon Chime SDK user, Amazon Chime SDK Voice Connector, or Amazon Chime SDK Voice Connector group."]moduleListPhoneNumbersRequest=structtypenonrect={status:String_.toption[@ocaml.doc"The status of your organization's phone numbers."];productType:PhoneNumberProductType.toption[@ocaml.doc"The phone number product types."];filterName:PhoneNumberAssociationName.toption[@ocaml.doc"The filter to limit the number of results."];filterValue:String_.toption[@ocaml.doc"The filter value."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."];nextToken:String_.toption[@ocaml.doc"The token used to return the next page of results."]}letmake?status=fun?productType->fun?filterName->fun?filterValue->fun?maxResults->fun?nextToken->fun()->{status;productType;filterName;filterValue;maxResults;nextToken}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:String_.to_value));("product-type",(Option.mapx.productType~f:PhoneNumberProductType.to_value));("filter-name",(Option.mapx.filterName~f:PhoneNumberAssociationName.to_value));("filter-value",(Option.mapx.filterValue~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value));("next-token",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inletmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletfilterValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"filter-value")inletfilterName=(Option.map~f:PhoneNumberAssociationName.of_xml)(Xml.childxml_arg0"filter-name")inletproductType=(Option.map~f:PhoneNumberProductType.of_xml)(Xml.childxml_arg0"product-type")inletstatus=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"status")inmake?nextToken?maxResults?filterValue?filterName?productType?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletfilterValue=field_mapjson__"FilterValue"String_.of_jsoninletfilterName=field_mapjson__"FilterName"PhoneNumberAssociationName.of_jsoninletproductType=field_mapjson__"ProductType"PhoneNumberProductType.of_jsoninletstatus=field_mapjson__"Status"String_.of_jsoninmake?nextToken?maxResults?filterValue?filterName?productType?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the phone numbers for the specified Amazon Chime SDK account, Amazon Chime SDK user, Amazon Chime SDK Voice Connector, or Amazon Chime SDK Voice Connector group."]moduleListPhoneNumberOrdersResponse=structtypenonrect={phoneNumberOrders:PhoneNumberOrderList.toption[@ocaml.doc"The phone number order details."];nextToken:String_.toption[@ocaml.doc"The token used to retrieve the next page of results."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberOrders=fun?nextToken->fun()->{phoneNumberOrders;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberOrders",(Option.mapx.phoneNumberOrders~f:PhoneNumberOrderList.to_value));("NextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"NextToken")inletphoneNumberOrders=(Option.map~f:PhoneNumberOrderList.of_xml)(Xml.childxml_arg0"PhoneNumberOrders")inmake?nextToken?phoneNumberOrders()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"String_.of_jsoninletphoneNumberOrders=field_mapjson__"PhoneNumberOrders"PhoneNumberOrderList.of_jsoninmake?nextToken?phoneNumberOrders()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the phone numbers for an administrator's Amazon Chime SDK account."]moduleListPhoneNumberOrdersRequest=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token used to retrieve the next page of results."];maxResults:ResultMax.toption[@ocaml.doc"The maximum number of results to return in a single call."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("next-token",(Option.mapx.nextToken~f:String_.to_value));("max-results",(Option.mapx.maxResults~f:ResultMax.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ResultMax.of_xml)(Xml.childxml_arg0"max-results")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"next-token")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"ResultMax.of_jsoninletnextToken=field_mapjson__"NextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the phone numbers for an administrator's Amazon Chime SDK account."]moduleListAvailableVoiceConnectorRegionsResponse=structtypenonrect={voiceConnectorRegions:VoiceConnectorAwsRegionList.toption[@ocaml.doc"The list of AWS Regions."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectorRegions=fun()->{voiceConnectorRegions}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectorRegions",(Option.mapx.voiceConnectorRegions~f:VoiceConnectorAwsRegionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorRegions=(Option.map~f:VoiceConnectorAwsRegionList.of_xml)(Xml.childxml_arg0"VoiceConnectorRegions")inmake?voiceConnectorRegions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorRegions=field_mapjson__"VoiceConnectorRegions"VoiceConnectorAwsRegionList.of_jsoninmake?voiceConnectorRegions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the available AWS Regions in which you can create an Amazon Chime SDK Voice Connector."]moduleGetVoiceToneAnalysisTaskResponse=structtypenonrect={voiceToneAnalysisTask:VoiceToneAnalysisTask.toption[@ocaml.doc"The details of the voice tone analysis task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceToneAnalysisTask=fun()->{voiceToneAnalysisTask}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceToneAnalysisTask",(Option.mapx.voiceToneAnalysisTask~f:VoiceToneAnalysisTask.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceToneAnalysisTask=(Option.map~f:VoiceToneAnalysisTask.of_xml)(Xml.childxml_arg0"VoiceToneAnalysisTask")inmake?voiceToneAnalysisTask()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceToneAnalysisTask=field_mapjson__"VoiceToneAnalysisTask"VoiceToneAnalysisTask.of_jsoninmake?voiceToneAnalysisTask()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of a voice tone analysis task."]moduleGetVoiceToneAnalysisTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];voiceToneAnalysisTaskId:NonEmptyString256.t[@ocaml.doc"The ID of the voice tone analysis task."];isCaller:Boolean.t[@ocaml.doc"Specifies whether the voice being analyzed is the caller (originator) or the callee (responder)."]}letcontext_="GetVoiceToneAnalysisTaskRequest"letmake~voiceConnectorId=fun~voiceToneAnalysisTaskId->fun~isCaller->fun()->{voiceConnectorId;voiceToneAnalysisTaskId;isCaller}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("VoiceToneAnalysisTaskId",(Some(NonEmptyString256.to_valuex.voiceToneAnalysisTaskId)));("isCaller",(Some(Boolean.to_valuex.isCaller)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisCaller=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"isCaller")inletvoiceToneAnalysisTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceToneAnalysisTaskId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake~isCaller~voiceToneAnalysisTaskId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisCaller=field_map_exnjson__"IsCaller"Boolean.of_jsoninletvoiceToneAnalysisTaskId=field_map_exnjson__"VoiceToneAnalysisTaskId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~isCaller~voiceToneAnalysisTaskId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of a voice tone analysis task."]moduleGetVoiceProfileResponse=structtypenonrect={voiceProfile:VoiceProfile.toption[@ocaml.doc"The voice profile details."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfile=fun()->{voiceProfile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfile",(Option.mapx.voiceProfile~f:VoiceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfile=(Option.map~f:VoiceProfile.of_xml)(Xml.childxml_arg0"VoiceProfile")inmake?voiceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfile=field_mapjson__"VoiceProfile"VoiceProfile.of_jsoninmake?voiceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified voice profile."]moduleGetVoiceProfileRequest=structtypenonrect={voiceProfileId:NonEmptyString256.t[@ocaml.doc"The voice profile ID."]}letcontext_="GetVoiceProfileRequest"letmake~voiceProfileId=fun()->{voiceProfileId}letto_valuex=structure_to_value[("VoiceProfileId",(Some(NonEmptyString256.to_valuex.voiceProfileId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileId")inmake~voiceProfileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileId=field_map_exnjson__"VoiceProfileId"NonEmptyString256.of_jsoninmake~voiceProfileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified voice profile."]moduleGetVoiceProfileDomainResponse=structtypenonrect={voiceProfileDomain:VoiceProfileDomain.toption[@ocaml.doc"The details of the voice profile domain."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfileDomain=fun()->{voiceProfileDomain}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfileDomain",(Option.mapx.voiceProfileDomain~f:VoiceProfileDomain.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileDomain=(Option.map~f:VoiceProfileDomain.of_xml)(Xml.childxml_arg0"VoiceProfileDomain")inmake?voiceProfileDomain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileDomain=field_mapjson__"VoiceProfileDomain"VoiceProfileDomain.of_jsoninmake?voiceProfileDomain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified voice profile domain."]moduleGetVoiceProfileDomainRequest=structtypenonrect={voiceProfileDomainId:NonEmptyString256.t[@ocaml.doc"The voice profile domain ID."]}letcontext_="GetVoiceProfileDomainRequest"letmake~voiceProfileDomainId=fun()->{voiceProfileDomainId}letto_valuex=structure_to_value[("VoiceProfileDomainId",(Some(NonEmptyString256.to_valuex.voiceProfileDomainId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileDomainId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileDomainId")inmake~voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileDomainId=field_map_exnjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake~voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified voice profile domain."]moduleGetVoiceConnectorTerminationResponse=structtypenonrect={termination:Termination.toption[@ocaml.doc"The termination setting details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?termination=fun()->{termination}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Termination",(Option.mapx.termination~f:Termination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettermination=(Option.map~f:Termination.of_xml)(Xml.childxml_arg0"Termination")inmake?termination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettermination=field_mapjson__"Termination"Termination.of_jsoninmake?termination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the termination setting details for the specified Voice Connector."]moduleGetVoiceConnectorTerminationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorTerminationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the termination setting details for the specified Voice Connector."]moduleGetVoiceConnectorTerminationHealthResponse=structtypenonrect={terminationHealth:TerminationHealth.toption[@ocaml.doc"The termination health details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?terminationHealth=fun()->{terminationHealth}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TerminationHealth",(Option.mapx.terminationHealth~f:TerminationHealth.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letterminationHealth=(Option.map~f:TerminationHealth.of_xml)(Xml.childxml_arg0"TerminationHealth")inmake?terminationHealth()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letterminationHealth=field_mapjson__"TerminationHealth"TerminationHealth.of_jsoninmake?terminationHealth()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the last time a SIP OPTIONS ping was received from your SIP infrastructure for the specified Amazon Chime SDK Voice Connector."]moduleGetVoiceConnectorTerminationHealthRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorTerminationHealthRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves information about the last time a SIP OPTIONS ping was received from your SIP infrastructure for the specified Amazon Chime SDK Voice Connector."]moduleGetVoiceConnectorStreamingConfigurationResponse=structtypenonrect={streamingConfiguration:StreamingConfiguration.toption[@ocaml.doc"The details of the streaming configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?streamingConfiguration=fun()->{streamingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("StreamingConfiguration",(Option.mapx.streamingConfiguration~f:StreamingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstreamingConfiguration=(Option.map~f:StreamingConfiguration.of_xml)(Xml.childxml_arg0"StreamingConfiguration")inmake?streamingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstreamingConfiguration=field_mapjson__"StreamingConfiguration"StreamingConfiguration.of_jsoninmake?streamingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the streaming configuration details for the specified Amazon Chime SDK Voice Connector. Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows the retention period, in hours, for the Amazon Kinesis data."]moduleGetVoiceConnectorStreamingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorStreamingConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the streaming configuration details for the specified Amazon Chime SDK Voice Connector. Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows the retention period, in hours, for the Amazon Kinesis data."]moduleGetVoiceConnectorResponse=structtypenonrect={voiceConnector:VoiceConnector.toption[@ocaml.doc"The Voice Connector details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnector=fun()->{voiceConnector}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnector",(Option.mapx.voiceConnector~f:VoiceConnector.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnector=(Option.map~f:VoiceConnector.of_xml)(Xml.childxml_arg0"VoiceConnector")inmake?voiceConnector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnector=field_mapjson__"VoiceConnector"VoiceConnector.of_jsoninmake?voiceConnector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified Amazon Chime SDK Voice Connector, such as timestamps,name, outbound host, and encryption requirements."]moduleGetVoiceConnectorRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified Amazon Chime SDK Voice Connector, such as timestamps,name, outbound host, and encryption requirements."]moduleGetVoiceConnectorProxyResponse=structtypenonrect={proxy:Proxy.toption[@ocaml.doc"The proxy configuration details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxy=fun()->{proxy}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxy",(Option.mapx.proxy~f:Proxy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxy=(Option.map~f:Proxy.of_xml)(Xml.childxml_arg0"Proxy")inmake?proxy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxy=field_mapjson__"Proxy"Proxy.of_jsoninmake?proxy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the proxy configuration details for the specified Amazon Chime SDK Voice Connector."]moduleGetVoiceConnectorProxyRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorProxyRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the proxy configuration details for the specified Amazon Chime SDK Voice Connector."]moduleGetVoiceConnectorOriginationResponse=structtypenonrect={origination:Origination.toption[@ocaml.doc"The origination setting details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?origination=fun()->{origination}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Origination",(Option.mapx.origination~f:Origination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letorigination=(Option.map~f:Origination.of_xml)(Xml.childxml_arg0"Origination")inmake?origination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letorigination=field_mapjson__"Origination"Origination.of_jsoninmake?origination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the origination settings for the specified Voice Connector."]moduleGetVoiceConnectorOriginationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorOriginationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the origination settings for the specified Voice Connector."]moduleGetVoiceConnectorLoggingConfigurationResponse=structtypenonrect={loggingConfiguration:LoggingConfiguration.toption[@ocaml.doc"The logging configuration details ."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?loggingConfiguration=fun()->{loggingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("LoggingConfiguration",(Option.mapx.loggingConfiguration~f:LoggingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letloggingConfiguration=(Option.map~f:LoggingConfiguration.of_xml)(Xml.childxml_arg0"LoggingConfiguration")inmake?loggingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letloggingConfiguration=field_mapjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninmake?loggingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the logging configuration settings for the specified Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch Logs."]moduleGetVoiceConnectorLoggingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorLoggingConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the logging configuration settings for the specified Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch Logs."]moduleGetVoiceConnectorGroupResponse=structtypenonrect={voiceConnectorGroup:VoiceConnectorGroup.toption[@ocaml.doc"The details of the Voice Connector group."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectorGroup=fun()->{voiceConnectorGroup}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectorGroup",(Option.mapx.voiceConnectorGroup~f:VoiceConnectorGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroup=(Option.map~f:VoiceConnectorGroup.of_xml)(Xml.childxml_arg0"VoiceConnectorGroup")inmake?voiceConnectorGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroup=field_mapjson__"VoiceConnectorGroup"VoiceConnectorGroup.of_jsoninmake?voiceConnectorGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified Amazon Chime SDK Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems."]moduleGetVoiceConnectorGroupRequest=structtypenonrect={voiceConnectorGroupId:NonEmptyString.t[@ocaml.doc"The Voice Connector group ID."]}letcontext_="GetVoiceConnectorGroupRequest"letmake~voiceConnectorGroupId=fun()->{voiceConnectorGroupId}letto_valuex=structure_to_value[("voiceConnectorGroupId",(Some(NonEmptyString.to_valuex.voiceConnectorGroupId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroupId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorGroupId")inmake~voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroupId=field_map_exnjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake~voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified Amazon Chime SDK Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems."]moduleGetVoiceConnectorExternalSystemsConfigurationResponse=structtypenonrect={externalSystemsConfiguration:ExternalSystemsConfiguration.toption[@ocaml.doc"An object that contains information about an external systems configuration for a Voice Connector."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?externalSystemsConfiguration=fun()->{externalSystemsConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ExternalSystemsConfiguration",(Option.mapx.externalSystemsConfiguration~f:ExternalSystemsConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexternalSystemsConfiguration=(Option.map~f:ExternalSystemsConfiguration.of_xml)(Xml.childxml_arg0"ExternalSystemsConfiguration")inmake?externalSystemsConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexternalSystemsConfiguration=field_mapjson__"ExternalSystemsConfiguration"ExternalSystemsConfiguration.of_jsoninmake?externalSystemsConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about an external systems configuration for a Voice Connector."]moduleGetVoiceConnectorExternalSystemsConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The ID of the Voice Connector for which to return information about the external system configuration."]}letcontext_="GetVoiceConnectorExternalSystemsConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about an external systems configuration for a Voice Connector."]moduleGetVoiceConnectorEmergencyCallingConfigurationResponse=structtypenonrect={emergencyCallingConfiguration:EmergencyCallingConfiguration.toption[@ocaml.doc"The details of the emergency calling configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?emergencyCallingConfiguration=fun()->{emergencyCallingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EmergencyCallingConfiguration",(Option.mapx.emergencyCallingConfiguration~f:EmergencyCallingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemergencyCallingConfiguration=(Option.map~f:EmergencyCallingConfiguration.of_xml)(Xml.childxml_arg0"EmergencyCallingConfiguration")inmake?emergencyCallingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemergencyCallingConfiguration=field_mapjson__"EmergencyCallingConfiguration"EmergencyCallingConfiguration.of_jsoninmake?emergencyCallingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the emergency calling configuration details for the specified Voice Connector."]moduleGetVoiceConnectorEmergencyCallingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="GetVoiceConnectorEmergencyCallingConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the emergency calling configuration details for the specified Voice Connector."]moduleGetSpeakerSearchTaskResponse=structtypenonrect={speakerSearchTask:SpeakerSearchTask.toption[@ocaml.doc"The details of the speaker search task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?speakerSearchTask=fun()->{speakerSearchTask}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SpeakerSearchTask",(Option.mapx.speakerSearchTask~f:SpeakerSearchTask.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTask=(Option.map~f:SpeakerSearchTask.of_xml)(Xml.childxml_arg0"SpeakerSearchTask")inmake?speakerSearchTask()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTask=field_mapjson__"SpeakerSearchTask"SpeakerSearchTask.of_jsoninmake?speakerSearchTask()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified speaker search task."]moduleGetSpeakerSearchTaskRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];speakerSearchTaskId:NonEmptyString256.t[@ocaml.doc"The ID of the speaker search task."]}letcontext_="GetSpeakerSearchTaskRequest"letmake~voiceConnectorId=fun~speakerSearchTaskId->fun()->{voiceConnectorId;speakerSearchTaskId}letto_valuex=structure_to_value[("VoiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("SpeakerSearchTaskId",(Some(NonEmptyString256.to_valuex.speakerSearchTaskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"SpeakerSearchTaskId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceConnectorId")inmake~speakerSearchTaskId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTaskId=field_map_exnjson__"SpeakerSearchTaskId"NonEmptyString256.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~speakerSearchTaskId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of the specified speaker search task."]moduleGetSipRuleResponse=structtypenonrect={sipRule:SipRule.toption[@ocaml.doc"The SIP rule details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipRule=fun()->{sipRule}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipRule",(Option.mapx.sipRule~f:SipRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipRule=(Option.map~f:SipRule.of_xml)(Xml.childxml_arg0"SipRule")inmake?sipRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipRule=field_mapjson__"SipRule"SipRule.of_jsoninmake?sipRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints."]moduleGetSipRuleRequest=structtypenonrect={sipRuleId:NonEmptyString.t[@ocaml.doc"The SIP rule ID."]}letcontext_="GetSipRuleRequest"letmake~sipRuleId=fun()->{sipRuleId}letto_valuex=structure_to_value[("sipRuleId",(Some(NonEmptyString.to_valuex.sipRuleId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipRuleId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipRuleId")inmake~sipRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipRuleId=field_map_exnjson__"SipRuleId"NonEmptyString.of_jsoninmake~sipRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints."]moduleGetSipMediaApplicationResponse=structtypenonrect={sipMediaApplication:SipMediaApplication.toption[@ocaml.doc"The details of the SIP media application."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplication=fun()->{sipMediaApplication}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplication",(Option.mapx.sipMediaApplication~f:SipMediaApplication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplication=(Option.map~f:SipMediaApplication.of_xml)(Xml.childxml_arg0"SipMediaApplication")inmake?sipMediaApplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplication=field_mapjson__"SipMediaApplication"SipMediaApplication.of_jsoninmake?sipMediaApplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the information for a SIP media application, including name, AWS Region, and endpoints."]moduleGetSipMediaApplicationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID ."]}letcontext_="GetSipMediaApplicationRequest"letmake~sipMediaApplicationId=fun()->{sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the information for a SIP media application, including name, AWS Region, and endpoints."]moduleGetSipMediaApplicationLoggingConfigurationResponse=structtypenonrect={sipMediaApplicationLoggingConfiguration:SipMediaApplicationLoggingConfiguration.toption[@ocaml.doc"The actual logging configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationLoggingConfiguration=fun()->{sipMediaApplicationLoggingConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationLoggingConfiguration",(Option.mapx.sipMediaApplicationLoggingConfiguration~f:SipMediaApplicationLoggingConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationLoggingConfiguration=(Option.map~f:SipMediaApplicationLoggingConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationLoggingConfiguration")inmake?sipMediaApplicationLoggingConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationLoggingConfiguration=field_mapjson__"SipMediaApplicationLoggingConfiguration"SipMediaApplicationLoggingConfiguration.of_jsoninmake?sipMediaApplicationLoggingConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the logging configuration for the specified SIP media application."]moduleGetSipMediaApplicationLoggingConfigurationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."]}letcontext_="GetSipMediaApplicationLoggingConfigurationRequest"letmake~sipMediaApplicationId=fun()->{sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the logging configuration for the specified SIP media application."]moduleGetSipMediaApplicationAlexaSkillConfigurationResponse=structtypenonrect={sipMediaApplicationAlexaSkillConfiguration:SipMediaApplicationAlexaSkillConfiguration.toption[@ocaml.doc"Returns the Alexa Skill configuration."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationAlexaSkillConfiguration=fun()->{sipMediaApplicationAlexaSkillConfiguration}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationAlexaSkillConfiguration",(Option.mapx.sipMediaApplicationAlexaSkillConfiguration~f:SipMediaApplicationAlexaSkillConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationAlexaSkillConfiguration=(Option.map~f:SipMediaApplicationAlexaSkillConfiguration.of_xml)(Xml.childxml_arg0"SipMediaApplicationAlexaSkillConfiguration")inmake?sipMediaApplicationAlexaSkillConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationAlexaSkillConfiguration=field_mapjson__"SipMediaApplicationAlexaSkillConfiguration"SipMediaApplicationAlexaSkillConfiguration.of_jsoninmake?sipMediaApplicationAlexaSkillConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the Alexa Skill configuration for the SIP media application. Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page."]moduleGetSipMediaApplicationAlexaSkillConfigurationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."]}letcontext_="GetSipMediaApplicationAlexaSkillConfigurationRequest"letmake~sipMediaApplicationId=fun()->{sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the Alexa Skill configuration for the SIP media application. Due to changes made by the Amazon Alexa service, this API is no longer available for use. For more information, refer to the Alexa Smart Properties page."]moduleGetProxySessionResponse=structtypenonrect={proxySession:ProxySession.toption[@ocaml.doc"The proxy session details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxySession=fun()->{proxySession}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxySession",(Option.mapx.proxySession~f:ProxySession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxySession=(Option.map~f:ProxySession.of_xml)(Xml.childxml_arg0"ProxySession")inmake?proxySession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxySession=field_mapjson__"ProxySession"ProxySession.of_jsoninmake?proxySession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified proxy session details for the specified Amazon Chime SDK Voice Connector."]moduleGetProxySessionRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];proxySessionId:NonEmptyString128.t[@ocaml.doc"The proxy session ID."]}letcontext_="GetProxySessionRequest"letmake~voiceConnectorId=fun~proxySessionId->fun()->{voiceConnectorId;proxySessionId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("proxySessionId",(Some(NonEmptyString128.to_valuex.proxySessionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxySessionId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"proxySessionId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~proxySessionId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxySessionId=field_map_exnjson__"ProxySessionId"NonEmptyString128.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~proxySessionId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified proxy session details for the specified Amazon Chime SDK Voice Connector."]moduleGetPhoneNumberSettingsResponse=structtypenonrect={callingName:CallingName.toption[@ocaml.doc"The default outbound calling name for the account."];callingNameUpdatedTimestamp:Iso8601Timestamp.toption[@ocaml.doc"The updated outbound calling name timestamp, in ISO 8601 format."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?callingName=fun?callingNameUpdatedTimestamp->fun()->{callingName;callingNameUpdatedTimestamp}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("CallingName",(Option.mapx.callingName~f:CallingName.to_value));("CallingNameUpdatedTimestamp",(Option.mapx.callingNameUpdatedTimestamp~f:Iso8601Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcallingNameUpdatedTimestamp=(Option.map~f:Iso8601Timestamp.of_xml)(Xml.childxml_arg0"CallingNameUpdatedTimestamp")inletcallingName=(Option.map~f:CallingName.of_xml)(Xml.childxml_arg0"CallingName")inmake?callingNameUpdatedTimestamp?callingName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcallingNameUpdatedTimestamp=field_mapjson__"CallingNameUpdatedTimestamp"Iso8601Timestamp.of_jsoninletcallingName=field_mapjson__"CallingName"CallingName.of_jsoninmake?callingNameUpdatedTimestamp?callingName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name."]moduleGetPhoneNumberResponse=structtypenonrect={phoneNumber:PhoneNumber.toption[@ocaml.doc"The phone number details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumber=fun()->{phoneNumber}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumber",(Option.mapx.phoneNumber~f:PhoneNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumber=(Option.map~f:PhoneNumber.of_xml)(Xml.childxml_arg0"PhoneNumber")inmake?phoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumber=field_mapjson__"PhoneNumber"PhoneNumber.of_jsoninmake?phoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified phone number ID, such as associations, capabilities, and product type."]moduleGetPhoneNumberRequest=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.t[@ocaml.doc"The phone number ID."]}letcontext_="GetPhoneNumberRequest"letmake~phoneNumberId=fun()->{phoneNumberId}letto_valuex=structure_to_value[("phoneNumberId",(Some(SensitiveNonEmptyString.to_valuex.phoneNumberId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberId=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"phoneNumberId")inmake~phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberId=field_map_exnjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake~phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified phone number ID, such as associations, capabilities, and product type."]moduleGetPhoneNumberOrderResponse=structtypenonrect={phoneNumberOrder:PhoneNumberOrder.toption[@ocaml.doc"The phone number order details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberOrder=fun()->{phoneNumberOrder}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberOrder",(Option.mapx.phoneNumberOrder~f:PhoneNumberOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberOrder=(Option.map~f:PhoneNumberOrder.of_xml)(Xml.childxml_arg0"PhoneNumberOrder")inmake?phoneNumberOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberOrder=field_mapjson__"PhoneNumberOrder"PhoneNumberOrder.of_jsoninmake?phoneNumberOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified phone number order, such as the order creation timestamp, phone numbers in E.164 format, product type, and order status."]moduleGetPhoneNumberOrderRequest=structtypenonrect={phoneNumberOrderId:GuidString.t[@ocaml.doc"The ID of the phone number order ."]}letcontext_="GetPhoneNumberOrderRequest"letmake~phoneNumberOrderId=fun()->{phoneNumberOrderId}letto_valuex=structure_to_value[("phoneNumberOrderId",(Some(GuidString.to_valuex.phoneNumberOrderId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberOrderId=GuidString.of_xml(Xml.child_exn~context:context_xml_arg0"phoneNumberOrderId")inmake~phoneNumberOrderId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberOrderId=field_map_exnjson__"PhoneNumberOrderId"GuidString.of_jsoninmake~phoneNumberOrderId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details for the specified phone number order, such as the order creation timestamp, phone numbers in E.164 format, product type, and order status."]moduleGetGlobalSettingsResponse=structtypenonrect={voiceConnector:VoiceConnectorSettings.toption[@ocaml.doc"The Voice Connector settings."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnector=fun()->{voiceConnector}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnector",(Option.mapx.voiceConnector~f:VoiceConnectorSettings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnector=(Option.map~f:VoiceConnectorSettings.of_xml)(Xml.childxml_arg0"VoiceConnector")inmake?voiceConnector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnector=field_mapjson__"VoiceConnector"VoiceConnectorSettings.of_jsoninmake?voiceConnector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the global settings for the Amazon Chime SDK Voice Connectors in an AWS account."]moduleDisassociatePhoneNumbersFromVoiceConnectorResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector."]moduleDisassociatePhoneNumbersFromVoiceConnectorRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];e164PhoneNumbers:E164PhoneNumberList.t[@ocaml.doc"List of phone numbers, in E.164 format."]}letcontext_="DisassociatePhoneNumbersFromVoiceConnectorRequest"letmake~voiceConnectorId=fun~e164PhoneNumbers->fun()->{voiceConnectorId;e164PhoneNumbers}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("E164PhoneNumbers",(Some(E164PhoneNumberList.to_valuex.e164PhoneNumbers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lete164PhoneNumbers=E164PhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"E164PhoneNumbers")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~e164PhoneNumbers~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lete164PhoneNumbers=field_map_exnjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~e164PhoneNumbers~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector."]moduleDisassociatePhoneNumbersFromVoiceConnectorGroupResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector group."]moduleDisassociatePhoneNumbersFromVoiceConnectorGroupRequest=structtypenonrect={voiceConnectorGroupId:NonEmptyString.t[@ocaml.doc"The Voice Connector group ID."];e164PhoneNumbers:E164PhoneNumberList.t[@ocaml.doc"The list of phone numbers, in E.164 format."]}letcontext_="DisassociatePhoneNumbersFromVoiceConnectorGroupRequest"letmake~voiceConnectorGroupId=fun~e164PhoneNumbers->fun()->{voiceConnectorGroupId;e164PhoneNumbers}letto_valuex=structure_to_value[("voiceConnectorGroupId",(Some(NonEmptyString.to_valuex.voiceConnectorGroupId)));("E164PhoneNumbers",(Some(E164PhoneNumberList.to_valuex.e164PhoneNumbers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lete164PhoneNumbers=E164PhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"E164PhoneNumbers")inletvoiceConnectorGroupId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorGroupId")inmake~e164PhoneNumbers~voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lete164PhoneNumbers=field_map_exnjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninletvoiceConnectorGroupId=field_map_exnjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake~e164PhoneNumbers~voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector group."]moduleDeleteVoiceProfileRequest=structtypenonrect={voiceProfileId:NonEmptyString256.t[@ocaml.doc"The voice profile ID."]}letcontext_="DeleteVoiceProfileRequest"letmake~voiceProfileId=fun()->{voiceProfileId}letto_valuex=structure_to_value[("VoiceProfileId",(Some(NonEmptyString256.to_valuex.voiceProfileId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileId")inmake~voiceProfileId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileId=field_map_exnjson__"VoiceProfileId"NonEmptyString256.of_jsoninmake~voiceProfileId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a voice profile, including its voice print and enrollment data. WARNING: This action is not reversible."]moduleDeleteVoiceProfileDomainRequest=structtypenonrect={voiceProfileDomainId:NonEmptyString256.t[@ocaml.doc"The voice profile domain ID."]}letcontext_="DeleteVoiceProfileDomainRequest"letmake~voiceProfileDomainId=fun()->{voiceProfileDomainId}letto_valuex=structure_to_value[("VoiceProfileDomainId",(Some(NonEmptyString256.to_valuex.voiceProfileDomainId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileDomainId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"VoiceProfileDomainId")inmake~voiceProfileDomainId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileDomainId=field_map_exnjson__"VoiceProfileDomainId"NonEmptyString256.of_jsoninmake~voiceProfileDomainId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes all voice profiles in the domain. WARNING: This action is not reversible."]moduleDeleteVoiceConnectorTerminationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorTerminationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the termination settings for the specified Amazon Chime SDK Voice Connector. If emergency calling is configured for the Voice Connector, it must be deleted prior to deleting the termination settings."]moduleDeleteVoiceConnectorTerminationCredentialsRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];usernames:SensitiveStringList.t[@ocaml.doc"The RFC2617 compliant username associated with the SIP credentials, in US-ASCII format."]}letcontext_="DeleteVoiceConnectorTerminationCredentialsRequest"letmake~voiceConnectorId=fun~usernames->fun()->{voiceConnectorId;usernames}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("Usernames",(Some(SensitiveStringList.to_valuex.usernames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letusernames=SensitiveStringList.of_xml(Xml.child_exn~context:context_xml_arg0"Usernames")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~usernames~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letusernames=field_map_exnjson__"Usernames"SensitiveStringList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~usernames~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified SIP credentials used by your equipment to authenticate during call termination."]moduleDeleteVoiceConnectorStreamingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorStreamingConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Voice Connector's streaming configuration."]moduleDeleteVoiceConnectorRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an Amazon Chime SDK Voice Connector. Any phone numbers associated with the Amazon Chime SDK Voice Connector must be disassociated from it before it can be deleted."]moduleDeleteVoiceConnectorProxyRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorProxyRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the proxy configuration from the specified Amazon Chime SDK Voice Connector."]moduleDeleteVoiceConnectorOriginationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorOriginationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the origination settings for the specified Amazon Chime SDK Voice Connector. If emergency calling is configured for the Voice Connector, it must be deleted prior to deleting the origination settings."]moduleDeleteVoiceConnectorGroupRequest=structtypenonrect={voiceConnectorGroupId:NonEmptyString.t[@ocaml.doc"The Voice Connector Group ID."]}letcontext_="DeleteVoiceConnectorGroupRequest"letmake~voiceConnectorGroupId=fun()->{voiceConnectorGroupId}letto_valuex=structure_to_value[("voiceConnectorGroupId",(Some(NonEmptyString.to_valuex.voiceConnectorGroupId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroupId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorGroupId")inmake~voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroupId=field_map_exnjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake~voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes an Amazon Chime SDK Voice Connector group. Any VoiceConnectorItems and phone numbers associated with the group must be removed before it can be deleted."]moduleDeleteVoiceConnectorExternalSystemsConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The ID of the Voice Connector for which to delete the external system configuration."]}letcontext_="DeleteVoiceConnectorExternalSystemsConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the external systems configuration for a Voice Connector."]moduleDeleteVoiceConnectorEmergencyCallingConfigurationRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."]}letcontext_="DeleteVoiceConnectorEmergencyCallingConfigurationRequest"letmake~voiceConnectorId=fun()->{voiceConnectorId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the emergency calling details from the specified Amazon Chime SDK Voice Connector."]moduleDeleteSipRuleRequest=structtypenonrect={sipRuleId:NonEmptyString.t[@ocaml.doc"The SIP rule ID."]}letcontext_="DeleteSipRuleRequest"letmake~sipRuleId=fun()->{sipRuleId}letto_valuex=structure_to_value[("sipRuleId",(Some(NonEmptyString.to_valuex.sipRuleId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipRuleId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipRuleId")inmake~sipRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipRuleId=field_map_exnjson__"SipRuleId"NonEmptyString.of_jsoninmake~sipRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a SIP rule."]moduleDeleteSipMediaApplicationRequest=structtypenonrect={sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The SIP media application ID."]}letcontext_="DeleteSipMediaApplicationRequest"letmake~sipMediaApplicationId=fun()->{sipMediaApplicationId}letto_valuex=structure_to_value[("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inmake~sipMediaApplicationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninmake~sipMediaApplicationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a SIP media application."]moduleDeleteProxySessionRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];proxySessionId:NonEmptyString128.t[@ocaml.doc"The proxy session ID."]}letcontext_="DeleteProxySessionRequest"letmake~voiceConnectorId=fun~proxySessionId->fun()->{voiceConnectorId;proxySessionId}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("proxySessionId",(Some(NonEmptyString128.to_valuex.proxySessionId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxySessionId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"proxySessionId")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake~proxySessionId~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxySessionId=field_map_exnjson__"ProxySessionId"NonEmptyString128.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake~proxySessionId~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified proxy session from the specified Amazon Chime SDK Voice Connector."]moduleDeletePhoneNumberRequest=structtypenonrect={phoneNumberId:SensitiveNonEmptyString.t[@ocaml.doc"The phone number ID."]}letcontext_="DeletePhoneNumberRequest"letmake~phoneNumberId=fun()->{phoneNumberId}letto_valuex=structure_to_value[("phoneNumberId",(Some(SensitiveNonEmptyString.to_valuex.phoneNumberId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberId=SensitiveNonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"phoneNumberId")inmake~phoneNumberId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberId=field_map_exnjson__"PhoneNumberId"SensitiveNonEmptyString.of_jsoninmake~phoneNumberId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime SDK Voice Connectors before it can be deleted. Deleted phone numbers remain in the Deletion queue queue for 7 days before they are deleted permanently."]moduleCreateVoiceProfileResponse=structtypenonrect={voiceProfile:VoiceProfile.toption[@ocaml.doc"The requested voice profile."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`GoneExceptionofGoneException.t|`NotFoundExceptionofNotFoundException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfile=fun()->{voiceProfile}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"GoneException"->`GoneException(GoneException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"GoneException"->`GoneException(GoneException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`GoneExceptione->`Assoc[("error",(`String"GoneException"));("details",(GoneException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfile",(Option.mapx.voiceProfile~f:VoiceProfile.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfile=(Option.map~f:VoiceProfile.of_xml)(Xml.childxml_arg0"VoiceProfile")inmake?voiceProfile()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfile=field_mapjson__"VoiceProfile"VoiceProfile.of_jsoninmake?voiceProfile()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a voice profile, which consists of an enrolled user and their latest voice print. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profiles and voice analytics, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide."]moduleCreateVoiceProfileRequest=structtypenonrect={speakerSearchTaskId:NonEmptyString256.t[@ocaml.doc"The ID of the speaker search task."]}letcontext_="CreateVoiceProfileRequest"letmake~speakerSearchTaskId=fun()->{speakerSearchTaskId}letto_valuex=structure_to_value[("SpeakerSearchTaskId",(Some(NonEmptyString256.to_valuex.speakerSearchTaskId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeakerSearchTaskId=NonEmptyString256.of_xml(Xml.child_exn~context:context_xml_arg0"SpeakerSearchTaskId")inmake~speakerSearchTaskId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeakerSearchTaskId=field_map_exnjson__"SpeakerSearchTaskId"NonEmptyString256.of_jsoninmake~speakerSearchTaskId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a voice profile, which consists of an enrolled user and their latest voice print. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profiles and voice analytics, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide."]moduleCreateVoiceProfileDomainResponse=structtypenonrect={voiceProfileDomain:VoiceProfileDomain.toption[@ocaml.doc"The requested voice profile domain."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceProfileDomain=fun()->{voiceProfileDomain}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceProfileDomain",(Option.mapx.voiceProfileDomain~f:VoiceProfileDomain.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceProfileDomain=(Option.map~f:VoiceProfileDomain.of_xml)(Xml.childxml_arg0"VoiceProfileDomain")inmake?voiceProfileDomain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceProfileDomain=field_mapjson__"VoiceProfileDomain"VoiceProfileDomain.of_jsoninmake?voiceProfileDomain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a voice profile domain, a collection of voice profiles, their voice prints, and encrypted enrollment audio. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profile domains, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide."]moduleCreateVoiceProfileDomainRequest=structtypenonrect={name:VoiceProfileDomainName.t[@ocaml.doc"The name of the voice profile domain."];description:VoiceProfileDomainDescription.toption[@ocaml.doc"A description of the voice profile domain."];serverSideEncryptionConfiguration:ServerSideEncryptionConfiguration.t[@ocaml.doc"The server-side encryption configuration for the request."];clientRequestToken:ClientRequestId.toption[@ocaml.doc"The unique identifier for the client request. Use a different token for different domain creation requests."];tags:TagList.toption[@ocaml.doc"The tags assigned to the domain."]}letcontext_="CreateVoiceProfileDomainRequest"letmake?description=fun?clientRequestToken->fun?tags->fun~name->fun~serverSideEncryptionConfiguration->fun()->{description;clientRequestToken;tags;name;serverSideEncryptionConfiguration}letto_valuex=structure_to_value[("Name",(Some(VoiceProfileDomainName.to_valuex.name)));("Description",(Option.mapx.description~f:VoiceProfileDomainDescription.to_value));("ServerSideEncryptionConfiguration",(Some(ServerSideEncryptionConfiguration.to_valuex.serverSideEncryptionConfiguration)));("ClientRequestToken",(Option.mapx.clientRequestToken~f:ClientRequestId.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletclientRequestToken=(Option.map~f:ClientRequestId.of_xml)(Xml.childxml_arg0"ClientRequestToken")inletserverSideEncryptionConfiguration=ServerSideEncryptionConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"ServerSideEncryptionConfiguration")inletdescription=(Option.map~f:VoiceProfileDomainDescription.of_xml)(Xml.childxml_arg0"Description")inletname=VoiceProfileDomainName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?tags?clientRequestToken~serverSideEncryptionConfiguration?description~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletclientRequestToken=field_mapjson__"ClientRequestToken"ClientRequestId.of_jsoninletserverSideEncryptionConfiguration=field_map_exnjson__"ServerSideEncryptionConfiguration"ServerSideEncryptionConfiguration.of_jsoninletdescription=field_mapjson__"Description"VoiceProfileDomainDescription.of_jsoninletname=field_map_exnjson__"Name"VoiceProfileDomainName.of_jsoninmake?tags?clientRequestToken~serverSideEncryptionConfiguration?description~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a voice profile domain, a collection of voice profiles, their voice prints, and encrypted enrollment audio. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profile domains, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide."]moduleCreateVoiceConnectorResponse=structtypenonrect={voiceConnector:VoiceConnector.toption[@ocaml.doc"The details of the Voice Connector."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnector=fun()->{voiceConnector}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnector",(Option.mapx.voiceConnector~f:VoiceConnector.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnector=(Option.map~f:VoiceConnector.of_xml)(Xml.childxml_arg0"VoiceConnector")inmake?voiceConnector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnector=field_mapjson__"VoiceConnector"VoiceConnector.of_jsoninmake?voiceConnector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Amazon Chime SDK Voice Connector. For more information about Voice Connectors, see Managing Amazon Chime SDK Voice Connector groups in the Amazon Chime SDK Administrator Guide."]moduleCreateVoiceConnectorRequest=structtypenonrect={name:VoiceConnectorName.t[@ocaml.doc"The name of the Voice Connector."];awsRegion:VoiceConnectorAwsRegion.toption[@ocaml.doc"The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value: us-east-1 ."];requireEncryption:Boolean.t[@ocaml.doc"Enables or disables encryption for the Voice Connector."];tags:TagList.toption[@ocaml.doc"The tags assigned to the Voice Connector."];integrationType:VoiceConnectorIntegrationType.toption[@ocaml.doc"The connectors for use with Amazon Connect. The following options are available: CONNECT_CALL_TRANSFER_CONNECTOR - Enables enterprises to integrate Amazon Connect with other voice systems to directly transfer voice calls and metadata without using the public telephone network. They can use Amazon Connect telephony and Interactive Voice Response (IVR) with their existing voice systems to modernize the IVR experience of their existing contact center and their enterprise and branch voice systems. Additionally, enterprises migrating their contact center to Amazon Connect can start with Connect telephony and IVR for immediate modernization ahead of agent migration. CONNECT_ANALYTICS_CONNECTOR - Enables enterprises to integrate Amazon Connect with other voice systems for real-time and post-call analytics. They can use Amazon Connect Contact Lens with their existing voice systems to provides call recordings, conversational analytics (including contact transcript, sensitive data redaction, content categorization, theme detection, sentiment analysis, real-time alerts, and post-contact summary), and agent performance evaluations (including evaluation forms, automated evaluation, supervisor review) with a rich user experience to display, search and filter customer interactions, and programmatic access to data streams and the data lake. Additionally, enterprises migrating their contact center to Amazon Connect can start with Contact Lens analytics and performance insights ahead of agent migration."];networkType:NetworkType.toption[@ocaml.doc"The type of network for the Voice Connector. Either IPv4 only or dual-stack (IPv4 and IPv6)."]}letcontext_="CreateVoiceConnectorRequest"letmake?awsRegion=fun?tags->fun?integrationType->fun?networkType->fun~name->fun~requireEncryption->fun()->{awsRegion;tags;integrationType;networkType;name;requireEncryption}letto_valuex=structure_to_value[("Name",(Some(VoiceConnectorName.to_valuex.name)));("AwsRegion",(Option.mapx.awsRegion~f:VoiceConnectorAwsRegion.to_value));("RequireEncryption",(Some(Boolean.to_valuex.requireEncryption)));("Tags",(Option.mapx.tags~f:TagList.to_value));("IntegrationType",(Option.mapx.integrationType~f:VoiceConnectorIntegrationType.to_value));("NetworkType",(Option.mapx.networkType~f:NetworkType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetworkType=(Option.map~f:NetworkType.of_xml)(Xml.childxml_arg0"NetworkType")inletintegrationType=(Option.map~f:VoiceConnectorIntegrationType.of_xml)(Xml.childxml_arg0"IntegrationType")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletrequireEncryption=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"RequireEncryption")inletawsRegion=(Option.map~f:VoiceConnectorAwsRegion.of_xml)(Xml.childxml_arg0"AwsRegion")inletname=VoiceConnectorName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?networkType?integrationType?tags~requireEncryption?awsRegion~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetworkType=field_mapjson__"NetworkType"NetworkType.of_jsoninletintegrationType=field_mapjson__"IntegrationType"VoiceConnectorIntegrationType.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletrequireEncryption=field_map_exnjson__"RequireEncryption"Boolean.of_jsoninletawsRegion=field_mapjson__"AwsRegion"VoiceConnectorAwsRegion.of_jsoninletname=field_map_exnjson__"Name"VoiceConnectorName.of_jsoninmake?networkType?integrationType?tags~requireEncryption?awsRegion~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Amazon Chime SDK Voice Connector. For more information about Voice Connectors, see Managing Amazon Chime SDK Voice Connector groups in the Amazon Chime SDK Administrator Guide."]moduleCreateVoiceConnectorGroupResponse=structtypenonrect={voiceConnectorGroup:VoiceConnectorGroup.toption[@ocaml.doc"The details of the Voice Connector group."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?voiceConnectorGroup=fun()->{voiceConnectorGroup}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VoiceConnectorGroup",(Option.mapx.voiceConnectorGroup~f:VoiceConnectorGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorGroup=(Option.map~f:VoiceConnectorGroup.of_xml)(Xml.childxml_arg0"VoiceConnectorGroup")inmake?voiceConnectorGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorGroup=field_mapjson__"VoiceConnectorGroup"VoiceConnectorGroup.of_jsoninmake?voiceConnectorGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Amazon Chime SDK Voice Connector group under the administrator's AWS account. You can associate Amazon Chime SDK Voice Connectors with the Voice Connector group by including VoiceConnectorItems in the request. You can include Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events."]moduleCreateVoiceConnectorGroupRequest=structtypenonrect={name:VoiceConnectorGroupName.t[@ocaml.doc"The name of the Voice Connector group."];voiceConnectorItems:VoiceConnectorItemList.toption[@ocaml.doc"Lists the Voice Connectors that inbound calls are routed to."]}letcontext_="CreateVoiceConnectorGroupRequest"letmake?voiceConnectorItems=fun~name->fun()->{voiceConnectorItems;name}letto_valuex=structure_to_value[("Name",(Some(VoiceConnectorGroupName.to_valuex.name)));("VoiceConnectorItems",(Option.mapx.voiceConnectorItems~f:VoiceConnectorItemList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvoiceConnectorItems=(Option.map~f:VoiceConnectorItemList.of_xml)(Xml.childxml_arg0"VoiceConnectorItems")inletname=VoiceConnectorGroupName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?voiceConnectorItems~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvoiceConnectorItems=field_mapjson__"VoiceConnectorItems"VoiceConnectorItemList.of_jsoninletname=field_map_exnjson__"Name"VoiceConnectorGroupName.of_jsoninmake?voiceConnectorItems~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Amazon Chime SDK Voice Connector group under the administrator's AWS account. You can associate Amazon Chime SDK Voice Connectors with the Voice Connector group by including VoiceConnectorItems in the request. You can include Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events."]moduleCreateSipRuleResponse=structtypenonrect={sipRule:SipRule.toption[@ocaml.doc"The SIP rule information, including the rule ID, triggers, and target applications."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipRule=fun()->{sipRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipRule",(Option.mapx.sipRule~f:SipRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipRule=(Option.map~f:SipRule.of_xml)(Xml.childxml_arg0"SipRule")inmake?sipRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipRule=field_mapjson__"SipRule"SipRule.of_jsoninmake?sipRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a SIP rule, which can be used to run a SIP media application as a target for a specific trigger type. For more information about SIP rules, see Managing SIP media applications and rules in the Amazon Chime SDK Administrator Guide."]moduleCreateSipRuleRequest=structtypenonrect={name:SipRuleName.t[@ocaml.doc"The name of the SIP rule."];triggerType:SipRuleTriggerType.t[@ocaml.doc"The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber."];triggerValue:NonEmptyString.t[@ocaml.doc"If TriggerType is RequestUriHostname, the value can be the outbound host name of a Voice Connector. If TriggerType is ToPhoneNumber, the value can be a customer-owned phone number in the E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the ToPhoneNumber value."];disabled:NullableBoolean.toption[@ocaml.doc"Disables or enables a SIP rule. You must disable SIP rules before you can delete them."];targetApplications:SipRuleTargetApplicationList.toption[@ocaml.doc"List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used."]}letcontext_="CreateSipRuleRequest"letmake?disabled=fun?targetApplications->fun~name->fun~triggerType->fun~triggerValue->fun()->{disabled;targetApplications;name;triggerType;triggerValue}letto_valuex=structure_to_value[("Name",(Some(SipRuleName.to_valuex.name)));("TriggerType",(Some(SipRuleTriggerType.to_valuex.triggerType)));("TriggerValue",(Some(NonEmptyString.to_valuex.triggerValue)));("Disabled",(Option.mapx.disabled~f:NullableBoolean.to_value));("TargetApplications",(Option.mapx.targetApplications~f:SipRuleTargetApplicationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetApplications=(Option.map~f:SipRuleTargetApplicationList.of_xml)(Xml.childxml_arg0"TargetApplications")inletdisabled=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"Disabled")inlettriggerValue=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"TriggerValue")inlettriggerType=SipRuleTriggerType.of_xml(Xml.child_exn~context:context_xml_arg0"TriggerType")inletname=SipRuleName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?targetApplications?disabled~triggerValue~triggerType~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetApplications=field_mapjson__"TargetApplications"SipRuleTargetApplicationList.of_jsoninletdisabled=field_mapjson__"Disabled"NullableBoolean.of_jsoninlettriggerValue=field_map_exnjson__"TriggerValue"NonEmptyString.of_jsoninlettriggerType=field_map_exnjson__"TriggerType"SipRuleTriggerType.of_jsoninletname=field_map_exnjson__"Name"SipRuleName.of_jsoninmake?targetApplications?disabled~triggerValue~triggerType~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a SIP rule, which can be used to run a SIP media application as a target for a specific trigger type. For more information about SIP rules, see Managing SIP media applications and rules in the Amazon Chime SDK Administrator Guide."]moduleCreateSipMediaApplicationResponse=structtypenonrect={sipMediaApplication:SipMediaApplication.toption[@ocaml.doc"The SIP media application details."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplication=fun()->{sipMediaApplication}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplication",(Option.mapx.sipMediaApplication~f:SipMediaApplication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplication=(Option.map~f:SipMediaApplication.of_xml)(Xml.childxml_arg0"SipMediaApplication")inmake?sipMediaApplication()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplication=field_mapjson__"SipMediaApplication"SipMediaApplication.of_jsoninmake?sipMediaApplication()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a SIP media application. For more information about SIP media applications, see Managing SIP media applications and rules in the Amazon Chime SDK Administrator Guide."]moduleCreateSipMediaApplicationRequest=structtypenonrect={awsRegion:String_.t[@ocaml.doc"The AWS Region assigned to the SIP media application."];name:SipMediaApplicationName.t[@ocaml.doc"The SIP media application's name."];endpoints:SipMediaApplicationEndpointList.t[@ocaml.doc"List of endpoints (Lambda ARNs) specified for the SIP media application."];tags:TagList.toption[@ocaml.doc"The tags assigned to the SIP media application."]}letcontext_="CreateSipMediaApplicationRequest"letmake?tags=fun~awsRegion->fun~name->fun~endpoints->fun()->{tags;awsRegion;name;endpoints}letto_valuex=structure_to_value[("AwsRegion",(Some(String_.to_valuex.awsRegion)));("Name",(Some(SipMediaApplicationName.to_valuex.name)));("Endpoints",(Some(SipMediaApplicationEndpointList.to_valuex.endpoints)));("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")inletendpoints=SipMediaApplicationEndpointList.of_xml(Xml.child_exn~context:context_xml_arg0"Endpoints")inletname=SipMediaApplicationName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletawsRegion=String_.of_xml(Xml.child_exn~context:context_xml_arg0"AwsRegion")inmake?tags~endpoints~name~awsRegion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletendpoints=field_map_exnjson__"Endpoints"SipMediaApplicationEndpointList.of_jsoninletname=field_map_exnjson__"Name"SipMediaApplicationName.of_jsoninletawsRegion=field_map_exnjson__"AwsRegion"String_.of_jsoninmake?tags~endpoints~name~awsRegion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a SIP media application. For more information about SIP media applications, see Managing SIP media applications and rules in the Amazon Chime SDK Administrator Guide."]moduleCreateSipMediaApplicationCallResponse=structtypenonrect={sipMediaApplicationCall:SipMediaApplicationCall.toption[@ocaml.doc"The actual call."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?sipMediaApplicationCall=fun()->{sipMediaApplicationCall}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SipMediaApplicationCall",(Option.mapx.sipMediaApplicationCall~f:SipMediaApplicationCall.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsipMediaApplicationCall=(Option.map~f:SipMediaApplicationCall.of_xml)(Xml.childxml_arg0"SipMediaApplicationCall")inmake?sipMediaApplicationCall()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsipMediaApplicationCall=field_mapjson__"SipMediaApplicationCall"SipMediaApplicationCall.of_jsoninmake?sipMediaApplicationCall()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified sipMediaApplicationId."]moduleCreateSipMediaApplicationCallRequest=structtypenonrect={fromPhoneNumber:E164PhoneNumber.t[@ocaml.doc"The phone number that a user calls from. This is a phone number in your Amazon Chime SDK phone number inventory."];toPhoneNumber:E164PhoneNumber.t[@ocaml.doc"The phone number that the service should call."];sipMediaApplicationId:NonEmptyString.t[@ocaml.doc"The ID of the SIP media application."];sipHeaders:SipHeadersMap.toption[@ocaml.doc"The SIP headers added to an outbound call leg."];argumentsMap:SMACreateCallArgumentsMap.toption[@ocaml.doc"Context passed to a CreateSipMediaApplication API call. For example, you could pass key-value pairs such as: \"FirstName\": \"John\", \"LastName\": \"Doe\""]}letcontext_="CreateSipMediaApplicationCallRequest"letmake?sipHeaders=fun?argumentsMap->fun~fromPhoneNumber->fun~toPhoneNumber->fun~sipMediaApplicationId->fun()->{sipHeaders;argumentsMap;fromPhoneNumber;toPhoneNumber;sipMediaApplicationId}letto_valuex=structure_to_value[("FromPhoneNumber",(Some(E164PhoneNumber.to_valuex.fromPhoneNumber)));("ToPhoneNumber",(Some(E164PhoneNumber.to_valuex.toPhoneNumber)));("sipMediaApplicationId",(Some(NonEmptyString.to_valuex.sipMediaApplicationId)));("SipHeaders",(Option.mapx.sipHeaders~f:SipHeadersMap.to_value));("ArgumentsMap",(Option.mapx.argumentsMap~f:SMACreateCallArgumentsMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letargumentsMap=(Option.map~f:SMACreateCallArgumentsMap.of_xml)(Xml.childxml_arg0"ArgumentsMap")inletsipHeaders=(Option.map~f:SipHeadersMap.of_xml)(Xml.childxml_arg0"SipHeaders")inletsipMediaApplicationId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"sipMediaApplicationId")inlettoPhoneNumber=E164PhoneNumber.of_xml(Xml.child_exn~context:context_xml_arg0"ToPhoneNumber")inletfromPhoneNumber=E164PhoneNumber.of_xml(Xml.child_exn~context:context_xml_arg0"FromPhoneNumber")inmake?argumentsMap?sipHeaders~sipMediaApplicationId~toPhoneNumber~fromPhoneNumber()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letargumentsMap=field_mapjson__"ArgumentsMap"SMACreateCallArgumentsMap.of_jsoninletsipHeaders=field_mapjson__"SipHeaders"SipHeadersMap.of_jsoninletsipMediaApplicationId=field_map_exnjson__"SipMediaApplicationId"NonEmptyString.of_jsoninlettoPhoneNumber=field_map_exnjson__"ToPhoneNumber"E164PhoneNumber.of_jsoninletfromPhoneNumber=field_map_exnjson__"FromPhoneNumber"E164PhoneNumber.of_jsoninmake?argumentsMap?sipHeaders~sipMediaApplicationId~toPhoneNumber~fromPhoneNumber()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified sipMediaApplicationId."]moduleCreateProxySessionResponse=structtypenonrect={proxySession:ProxySession.toption[@ocaml.doc"The proxy session details."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxySession=fun()->{proxySession}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxySession",(Option.mapx.proxySession~f:ProxySession.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxySession=(Option.map~f:ProxySession.of_xml)(Xml.childxml_arg0"ProxySession")inmake?proxySession()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxySession=field_mapjson__"ProxySession"ProxySession.of_jsoninmake?proxySession()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a proxy session for the specified Amazon Chime SDK Voice Connector for the specified participant phone numbers."]moduleCreateProxySessionRequest=structtypenonrect={voiceConnectorId:NonEmptyString128.t[@ocaml.doc"The Voice Connector ID."];participantPhoneNumbers:ParticipantPhoneNumberList.t[@ocaml.doc"The participant phone numbers."];name:ProxySessionNameString.toption[@ocaml.doc"The name of the proxy session."];expiryMinutes:PositiveInteger.toption[@ocaml.doc"The number of minutes allowed for the proxy session."];capabilities:CapabilityList.t[@ocaml.doc"The proxy session's capabilities."];numberSelectionBehavior:NumberSelectionBehavior.toption[@ocaml.doc"The preference for proxy phone number reuse, or stickiness, between the same participants across sessions."];geoMatchLevel:GeoMatchLevel.toption[@ocaml.doc"The preference for matching the country or area code of the proxy phone number with that of the first participant."];geoMatchParams:GeoMatchParams.toption[@ocaml.doc"The country and area code for the proxy phone number."]}letcontext_="CreateProxySessionRequest"letmake?name=fun?expiryMinutes->fun?numberSelectionBehavior->fun?geoMatchLevel->fun?geoMatchParams->fun~voiceConnectorId->fun~participantPhoneNumbers->fun~capabilities->fun()->{name;expiryMinutes;numberSelectionBehavior;geoMatchLevel;geoMatchParams;voiceConnectorId;participantPhoneNumbers;capabilities}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString128.to_valuex.voiceConnectorId)));("ParticipantPhoneNumbers",(Some(ParticipantPhoneNumberList.to_valuex.participantPhoneNumbers)));("Name",(Option.mapx.name~f:ProxySessionNameString.to_value));("ExpiryMinutes",(Option.mapx.expiryMinutes~f:PositiveInteger.to_value));("Capabilities",(Some(CapabilityList.to_valuex.capabilities)));("NumberSelectionBehavior",(Option.mapx.numberSelectionBehavior~f:NumberSelectionBehavior.to_value));("GeoMatchLevel",(Option.mapx.geoMatchLevel~f:GeoMatchLevel.to_value));("GeoMatchParams",(Option.mapx.geoMatchParams~f:GeoMatchParams.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeoMatchParams=(Option.map~f:GeoMatchParams.of_xml)(Xml.childxml_arg0"GeoMatchParams")inletgeoMatchLevel=(Option.map~f:GeoMatchLevel.of_xml)(Xml.childxml_arg0"GeoMatchLevel")inletnumberSelectionBehavior=(Option.map~f:NumberSelectionBehavior.of_xml)(Xml.childxml_arg0"NumberSelectionBehavior")inletcapabilities=CapabilityList.of_xml(Xml.child_exn~context:context_xml_arg0"Capabilities")inletexpiryMinutes=(Option.map~f:PositiveInteger.of_xml)(Xml.childxml_arg0"ExpiryMinutes")inletname=(Option.map~f:ProxySessionNameString.of_xml)(Xml.childxml_arg0"Name")inletparticipantPhoneNumbers=ParticipantPhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"ParticipantPhoneNumbers")inletvoiceConnectorId=NonEmptyString128.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?geoMatchParams?geoMatchLevel?numberSelectionBehavior~capabilities?expiryMinutes?name~participantPhoneNumbers~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeoMatchParams=field_mapjson__"GeoMatchParams"GeoMatchParams.of_jsoninletgeoMatchLevel=field_mapjson__"GeoMatchLevel"GeoMatchLevel.of_jsoninletnumberSelectionBehavior=field_mapjson__"NumberSelectionBehavior"NumberSelectionBehavior.of_jsoninletcapabilities=field_map_exnjson__"Capabilities"CapabilityList.of_jsoninletexpiryMinutes=field_mapjson__"ExpiryMinutes"PositiveInteger.of_jsoninletname=field_mapjson__"Name"ProxySessionNameString.of_jsoninletparticipantPhoneNumbers=field_map_exnjson__"ParticipantPhoneNumbers"ParticipantPhoneNumberList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString128.of_jsoninmake?geoMatchParams?geoMatchLevel?numberSelectionBehavior~capabilities?expiryMinutes?name~participantPhoneNumbers~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a proxy session for the specified Amazon Chime SDK Voice Connector for the specified participant phone numbers."]moduleCreatePhoneNumberOrderResponse=structtypenonrect={phoneNumberOrder:PhoneNumberOrder.toption[@ocaml.doc"The phone number order details."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`ResourceLimitExceededExceptionofResourceLimitExceededException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberOrder=fun()->{phoneNumberOrder}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"ResourceLimitExceededException"->`ResourceLimitExceededException(ResourceLimitExceededException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`ResourceLimitExceededExceptione->`Assoc[("error",(`String"ResourceLimitExceededException"));("details",(ResourceLimitExceededException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberOrder",(Option.mapx.phoneNumberOrder~f:PhoneNumberOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberOrder=(Option.map~f:PhoneNumberOrder.of_xml)(Xml.childxml_arg0"PhoneNumberOrder")inmake?phoneNumberOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberOrder=field_mapjson__"PhoneNumberOrder"PhoneNumberOrder.of_jsoninmake?phoneNumberOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an order for phone numbers to be provisioned. For numbers outside the U.S., you must use the Amazon Chime SDK SIP media application dial-in product type."]moduleCreatePhoneNumberOrderRequest=structtypenonrect={productType:PhoneNumberProductType.t[@ocaml.doc"The phone number product type."];e164PhoneNumbers:E164PhoneNumberList.t[@ocaml.doc"List of phone numbers, in E.164 format."];name:PhoneNumberName.toption[@ocaml.doc"Specifies the name assigned to one or more phone numbers."]}letcontext_="CreatePhoneNumberOrderRequest"letmake?name=fun~productType->fun~e164PhoneNumbers->fun()->{name;productType;e164PhoneNumbers}letto_valuex=structure_to_value[("ProductType",(Some(PhoneNumberProductType.to_valuex.productType)));("E164PhoneNumbers",(Some(E164PhoneNumberList.to_valuex.e164PhoneNumbers)));("Name",(Option.mapx.name~f:PhoneNumberName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:PhoneNumberName.of_xml)(Xml.childxml_arg0"Name")inlete164PhoneNumbers=E164PhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"E164PhoneNumbers")inletproductType=PhoneNumberProductType.of_xml(Xml.child_exn~context:context_xml_arg0"ProductType")inmake?name~e164PhoneNumbers~productType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"PhoneNumberName.of_jsoninlete164PhoneNumbers=field_map_exnjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninletproductType=field_map_exnjson__"ProductType"PhoneNumberProductType.of_jsoninmake?name~e164PhoneNumbers~productType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an order for phone numbers to be provisioned. For numbers outside the U.S., you must use the Amazon Chime SDK SIP media application dial-in product type."]moduleBatchUpdatePhoneNumberResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"A list of failed phone numbers and their error messages."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates phone number product types, calling names, or phone number names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type, the calling name, or phone name. You cannot have a duplicate phoneNumberId in a request."]moduleBatchUpdatePhoneNumberRequest=structtypenonrect={updatePhoneNumberRequestItems:UpdatePhoneNumberRequestItemList.t[@ocaml.doc"Lists the phone numbers in the update request."]}letcontext_="BatchUpdatePhoneNumberRequest"letmake~updatePhoneNumberRequestItems=fun()->{updatePhoneNumberRequestItems}letto_valuex=structure_to_value[("UpdatePhoneNumberRequestItems",(Some(UpdatePhoneNumberRequestItemList.to_valuex.updatePhoneNumberRequestItems)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdatePhoneNumberRequestItems=UpdatePhoneNumberRequestItemList.of_xml(Xml.child_exn~context:context_xml_arg0"UpdatePhoneNumberRequestItems")inmake~updatePhoneNumberRequestItems()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdatePhoneNumberRequestItems=field_map_exnjson__"UpdatePhoneNumberRequestItems"UpdatePhoneNumberRequestItemList.of_jsoninmake~updatePhoneNumberRequestItems()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates phone number product types, calling names, or phone number names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type, the calling name, or phone name. You cannot have a duplicate phoneNumberId in a request."]moduleBatchDeletePhoneNumberResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime SDK Voice Connectors before they can be deleted. Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently."]moduleBatchDeletePhoneNumberRequest=structtypenonrect={phoneNumberIds:NonEmptyStringList.t[@ocaml.doc"List of phone number IDs."]}letcontext_="BatchDeletePhoneNumberRequest"letmake~phoneNumberIds=fun()->{phoneNumberIds}letto_valuex=structure_to_value[("PhoneNumberIds",(Some(NonEmptyStringList.to_valuex.phoneNumberIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberIds=NonEmptyStringList.of_xml(Xml.child_exn~context:context_xml_arg0"PhoneNumberIds")inmake~phoneNumberIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberIds=field_map_exnjson__"PhoneNumberIds"NonEmptyStringList.of_jsoninmake~phoneNumberIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime SDK Voice Connectors before they can be deleted. Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently."]moduleAssociatePhoneNumbersWithVoiceConnectorResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates phone numbers with the specified Amazon Chime SDK Voice Connector."]moduleAssociatePhoneNumbersWithVoiceConnectorRequest=structtypenonrect={voiceConnectorId:NonEmptyString.t[@ocaml.doc"The Voice Connector ID."];e164PhoneNumbers:E164PhoneNumberList.t[@ocaml.doc"List of phone numbers, in E.164 format."];forceAssociate:NullableBoolean.toption[@ocaml.doc"If true, associates the provided phone numbers with the provided Amazon Chime SDK Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations."]}letcontext_="AssociatePhoneNumbersWithVoiceConnectorRequest"letmake?forceAssociate=fun~voiceConnectorId->fun~e164PhoneNumbers->fun()->{forceAssociate;voiceConnectorId;e164PhoneNumbers}letto_valuex=structure_to_value[("voiceConnectorId",(Some(NonEmptyString.to_valuex.voiceConnectorId)));("E164PhoneNumbers",(Some(E164PhoneNumberList.to_valuex.e164PhoneNumbers)));("ForceAssociate",(Option.mapx.forceAssociate~f:NullableBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letforceAssociate=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"ForceAssociate")inlete164PhoneNumbers=E164PhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"E164PhoneNumbers")inletvoiceConnectorId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorId")inmake?forceAssociate~e164PhoneNumbers~voiceConnectorId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letforceAssociate=field_mapjson__"ForceAssociate"NullableBoolean.of_jsoninlete164PhoneNumbers=field_map_exnjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninletvoiceConnectorId=field_map_exnjson__"VoiceConnectorId"NonEmptyString.of_jsoninmake?forceAssociate~e164PhoneNumbers~voiceConnectorId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates phone numbers with the specified Amazon Chime SDK Voice Connector."]moduleAssociatePhoneNumbersWithVoiceConnectorGroupResponse=structtypenonrect={phoneNumberErrors:PhoneNumberErrorList.toption[@ocaml.doc"If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`BadRequestExceptionofBadRequestException.t|`ForbiddenExceptionofForbiddenException.t|`NotFoundExceptionofNotFoundException.t|`ServiceFailureExceptionofServiceFailureException.t|`ServiceUnavailableExceptionofServiceUnavailableException.t|`ThrottledClientExceptionofThrottledClientException.t|`UnauthorizedClientExceptionofUnauthorizedClientException.t|`Unknown_operation_errorof(string*stringoption)]letmake?phoneNumberErrors=fun()->{phoneNumberErrors}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_jsonjson)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_jsonjson)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_jsonjson)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ForbiddenException"->`ForbiddenException(ForbiddenException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"ServiceFailureException"->`ServiceFailureException(ServiceFailureException.of_xmlxml)|"ServiceUnavailableException"->`ServiceUnavailableException(ServiceUnavailableException.of_xmlxml)|"ThrottledClientException"->`ThrottledClientException(ThrottledClientException.of_xmlxml)|"UnauthorizedClientException"->`UnauthorizedClientException(UnauthorizedClientException.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))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ForbiddenExceptione->`Assoc[("error",(`String"ForbiddenException"));("details",(ForbiddenException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`ServiceFailureExceptione->`Assoc[("error",(`String"ServiceFailureException"));("details",(ServiceFailureException.to_jsone))]|`ServiceUnavailableExceptione->`Assoc[("error",(`String"ServiceUnavailableException"));("details",(ServiceUnavailableException.to_jsone))]|`ThrottledClientExceptione->`Assoc[("error",(`String"ThrottledClientException"));("details",(ThrottledClientException.to_jsone))]|`UnauthorizedClientExceptione->`Assoc[("error",(`String"UnauthorizedClientException"));("details",(UnauthorizedClientException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("PhoneNumberErrors",(Option.mapx.phoneNumberErrors~f:PhoneNumberErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letphoneNumberErrors=(Option.map~f:PhoneNumberErrorList.of_xml)(Xml.childxml_arg0"PhoneNumberErrors")inmake?phoneNumberErrors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letphoneNumberErrors=field_mapjson__"PhoneNumberErrors"PhoneNumberErrorList.of_jsoninmake?phoneNumberErrors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates phone numbers with the specified Amazon Chime SDK Voice Connector group."]moduleAssociatePhoneNumbersWithVoiceConnectorGroupRequest=structtypenonrect={voiceConnectorGroupId:NonEmptyString.t[@ocaml.doc"The Amazon Chime SDK Voice Connector group ID."];e164PhoneNumbers:E164PhoneNumberList.t[@ocaml.doc"List of phone numbers, in E.164 format."];forceAssociate:NullableBoolean.toption[@ocaml.doc"If true, associates the provided phone numbers with the provided Amazon Chime SDK Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations."]}letcontext_="AssociatePhoneNumbersWithVoiceConnectorGroupRequest"letmake?forceAssociate=fun~voiceConnectorGroupId->fun~e164PhoneNumbers->fun()->{forceAssociate;voiceConnectorGroupId;e164PhoneNumbers}letto_valuex=structure_to_value[("voiceConnectorGroupId",(Some(NonEmptyString.to_valuex.voiceConnectorGroupId)));("E164PhoneNumbers",(Some(E164PhoneNumberList.to_valuex.e164PhoneNumbers)));("ForceAssociate",(Option.mapx.forceAssociate~f:NullableBoolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letforceAssociate=(Option.map~f:NullableBoolean.of_xml)(Xml.childxml_arg0"ForceAssociate")inlete164PhoneNumbers=E164PhoneNumberList.of_xml(Xml.child_exn~context:context_xml_arg0"E164PhoneNumbers")inletvoiceConnectorGroupId=NonEmptyString.of_xml(Xml.child_exn~context:context_xml_arg0"voiceConnectorGroupId")inmake?forceAssociate~e164PhoneNumbers~voiceConnectorGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letforceAssociate=field_mapjson__"ForceAssociate"NullableBoolean.of_jsoninlete164PhoneNumbers=field_map_exnjson__"E164PhoneNumbers"E164PhoneNumberList.of_jsoninletvoiceConnectorGroupId=field_map_exnjson__"VoiceConnectorGroupId"NonEmptyString.of_jsoninmake?forceAssociate~e164PhoneNumbers~voiceConnectorGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates phone numbers with the specified Amazon Chime SDK Voice Connector group."]