123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859(* 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.sesv2letapiVersion="2019-09-27"letendpointPrefix="email"letserviceFullName="Amazon Simple Email Service"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Amazon SES V2"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[]))])moduleBounceSubType=structtypenonrect=stringletcontext_="BounceSubType"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:"BounceSubType"jletto_json=simple_to_jsonto_valueendmoduleBounceType=structtypenonrect=|UNDETERMINED|TRANSIENT|PERMANENT|Non_static_idofstringletmakei=iletto_string=function|UNDETERMINED->"UNDETERMINED"|TRANSIENT->"TRANSIENT"|PERMANENT->"PERMANENT"|Non_static_ids->sletof_string=function|"UNDETERMINED"->UNDETERMINED|"TRANSIENT"->TRANSIENT|"PERMANENT"->PERMANENT|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 BounceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BounceType"j)letto_json=simple_to_jsonto_valueendmoduleDiagnosticCode=structtypenonrect=stringletcontext_="DiagnosticCode"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:"DiagnosticCode"jletto_json=simple_to_jsonto_valueendmoduleComplaintFeedbackType=structtypenonrect=stringletcontext_="ComplaintFeedbackType"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:"ComplaintFeedbackType"jletto_json=simple_to_jsonto_valueendmoduleComplaintSubType=structtypenonrect=stringletcontext_="ComplaintSubType"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:"ComplaintSubType"jletto_json=simple_to_jsonto_valueendmoduleBounce=structtypenonrect={bounceType:BounceType.toption[@ocaml.doc"The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT"];bounceSubType:BounceSubType.toption[@ocaml.doc"The subtype of the bounce, as determined by SES."];diagnosticCode:DiagnosticCode.toption[@ocaml.doc"The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN."]}letmake?bounceType=fun?bounceSubType->fun?diagnosticCode->fun()->{bounceType;bounceSubType;diagnosticCode}letto_valuex=structure_to_value[("BounceType",(Option.mapx.bounceType~f:BounceType.to_value));("BounceSubType",(Option.mapx.bounceSubType~f:BounceSubType.to_value));("DiagnosticCode",(Option.mapx.diagnosticCode~f:DiagnosticCode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdiagnosticCode=(Option.map~f:DiagnosticCode.of_xml)(Xml.childxml_arg0"DiagnosticCode")inletbounceSubType=(Option.map~f:BounceSubType.of_xml)(Xml.childxml_arg0"BounceSubType")inletbounceType=(Option.map~f:BounceType.of_xml)(Xml.childxml_arg0"BounceType")inmake?diagnosticCode?bounceSubType?bounceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdiagnosticCode=field_mapjson__"DiagnosticCode"DiagnosticCode.of_jsoninletbounceSubType=field_mapjson__"BounceSubType"BounceSubType.of_jsoninletbounceType=field_mapjson__"BounceType"BounceType.of_jsoninmake?diagnosticCode?bounceSubType?bounceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a Bounce event."]moduleComplaint=structtypenonrect={complaintSubType:ComplaintSubType.toption[@ocaml.doc"Can either be null or OnAccountSuppressionList. If the value is OnAccountSuppressionList, SES accepted the message, but didn't attempt to send it because it was on the account-level suppression list."];complaintFeedbackType:ComplaintFeedbackType.toption[@ocaml.doc"The value of the Feedback-Type field from the feedback report received from the ISP."]}letmake?complaintSubType=fun?complaintFeedbackType->fun()->{complaintSubType;complaintFeedbackType}letto_valuex=structure_to_value[("ComplaintSubType",(Option.mapx.complaintSubType~f:ComplaintSubType.to_value));("ComplaintFeedbackType",(Option.mapx.complaintFeedbackType~f:ComplaintFeedbackType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomplaintFeedbackType=(Option.map~f:ComplaintFeedbackType.of_xml)(Xml.childxml_arg0"ComplaintFeedbackType")inletcomplaintSubType=(Option.map~f:ComplaintSubType.of_xml)(Xml.childxml_arg0"ComplaintSubType")inmake?complaintFeedbackType?complaintSubType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomplaintFeedbackType=field_mapjson__"ComplaintFeedbackType"ComplaintFeedbackType.of_jsoninletcomplaintSubType=field_mapjson__"ComplaintSubType"ComplaintSubType.of_jsoninmake?complaintFeedbackType?complaintSubType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a Complaint event."]moduleDefaultDimensionValue=structtypenonrect=string[@@ocaml.doc"The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]letcontext_="DefaultDimensionValue"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:"DefaultDimensionValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]moduleDimensionName=structtypenonrect=string[@@ocaml.doc"The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria: It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). It can contain no more than 256 characters."]letcontext_="DimensionName"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:"DimensionName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria: It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). It can contain no more than 256 characters."]moduleDimensionValueSource=structtypenonrect=|MESSAGE_TAG|EMAIL_HEADER|LINK_TAG|Non_static_idofstringletmakei=iletto_string=function|MESSAGE_TAG->"MESSAGE_TAG"|EMAIL_HEADER->"EMAIL_HEADER"|LINK_TAG->"LINK_TAG"|Non_static_ids->sletof_string=function|"MESSAGE_TAG"->MESSAGE_TAG|"EMAIL_HEADER"->EMAIL_HEADER|"LINK_TAG"->LINK_TAG|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 DimensionValueSource"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DimensionValueSource"j)letto_json=simple_to_jsonto_valueendmoduleAttachmentContentDescription=structtypenonrect=stringletcontext_="AttachmentContentDescription"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:1000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AttachmentContentDescription"jletto_json=simple_to_jsonto_valueendmoduleAttachmentContentDisposition=structtypenonrect=|ATTACHMENT|INLINE|Non_static_idofstringletmakei=iletto_string=function|ATTACHMENT->"ATTACHMENT"|INLINE->"INLINE"|Non_static_ids->sletof_string=function|"ATTACHMENT"->ATTACHMENT|"INLINE"->INLINE|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 AttachmentContentDisposition"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AttachmentContentDisposition"j)letto_json=simple_to_jsonto_valueendmoduleAttachmentContentId=structtypenonrect=stringletcontext_="AttachmentContentId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:78)>>=(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:"AttachmentContentId"jletto_json=simple_to_jsonto_valueendmoduleAttachmentContentTransferEncoding=structtypenonrect=|BASE64|QUOTED_PRINTABLE|SEVEN_BIT|Non_static_idofstringletmakei=iletto_string=function|BASE64->"BASE64"|QUOTED_PRINTABLE->"QUOTED_PRINTABLE"|SEVEN_BIT->"SEVEN_BIT"|Non_static_ids->sletof_string=function|"BASE64"->BASE64|"QUOTED_PRINTABLE"->QUOTED_PRINTABLE|"SEVEN_BIT"->SEVEN_BIT|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 AttachmentContentTransferEncoding"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AttachmentContentTransferEncoding"j)letto_json=simple_to_jsonto_valueendmoduleAttachmentContentType=structtypenonrect=stringletcontext_="AttachmentContentType"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:78)>>=(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:"AttachmentContentType"jletto_json=simple_to_jsonto_valueendmoduleAttachmentFileName=structtypenonrect=stringletcontext_="AttachmentFileName"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:255);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AttachmentFileName"jletto_json=simple_to_jsonto_valueendmoduleRawAttachmentData=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueendmoduleCharset=structtypenonrect=stringletcontext_="Charset"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:"Charset"jletto_json=simple_to_jsonto_valueendmoduleMessageData=structtypenonrect=stringletcontext_="MessageData"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:"MessageData"jletto_json=simple_to_jsonto_valueendmoduleMessageHeaderName=structtypenonrect=string[@@ocaml.doc"The name of the message header. The message header name has to meet the following criteria: Can contain any printable ASCII character (33 - 126) except for colon (:). Can contain no more than 126 characters."]letcontext_="MessageHeaderName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:126)>>=(fun()->check_patterni~pattern:"^[!-9;-@A-~]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MessageHeaderName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the message header. The message header name has to meet the following criteria: Can contain any printable ASCII character (33 - 126) except for colon (:). Can contain no more than 126 characters."]moduleMessageHeaderValue=structtypenonrect=string[@@ocaml.doc"The value of the message header. The message header value has to meet the following criteria: Can contain any printable ASCII character."]letcontext_="MessageHeaderValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:995)>>=(fun()->check_patterni~pattern:"[ -~]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MessageHeaderValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The value of the message header. The message header value has to meet the following criteria: Can contain any printable ASCII character."]moduleEmailAddress=structtypenonrect=stringletcontext_="EmailAddress"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:"EmailAddress"jletto_json=simple_to_jsonto_valueendmoduleMessageTagName=structtypenonrect=string[@@ocaml.doc"The name of the message tag. The message tag name has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]letcontext_="MessageTagName"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:"MessageTagName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the message tag. The message tag name has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]moduleMessageTagValue=structtypenonrect=string[@@ocaml.doc"The value of the message tag. The message tag value has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]letcontext_="MessageTagValue"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:"MessageTagValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The value of the message tag. The message tag value has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]moduleEmailTemplateData=structtypenonrect=string[@@ocaml.doc"An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable."]letcontext_="EmailTemplateData"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:262144);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EmailTemplateData"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable."]moduleIspName=structtypenonrect=string[@@ocaml.doc"The name of an email provider."]letcontext_="IspName"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:"IspName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of an email provider."]moduleContactListImportAction=structtypenonrect=|DELETE|PUT|Non_static_idofstringletmakei=iletto_string=function|DELETE->"DELETE"|PUT->"PUT"|Non_static_ids->sletof_string=function|"DELETE"->DELETE|"PUT"->PUT|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 ContactListImportAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ContactListImportAction"j)letto_json=simple_to_jsonto_valueendmoduleContactListName=structtypenonrect=stringletcontext_="ContactListName"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:"ContactListName"jletto_json=simple_to_jsonto_valueendmoduleSuppressionListImportAction=structtypenonrect=|DELETE|PUT|Non_static_idofstringletmakei=iletto_string=function|DELETE->"DELETE"|PUT->"PUT"|Non_static_ids->sletof_string=function|"DELETE"->DELETE|"PUT"->PUT|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 SuppressionListImportAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SuppressionListImportAction"j)letto_json=simple_to_jsonto_valueendmoduleSubscriptionStatus=structtypenonrect=|OPT_IN|OPT_OUT|Non_static_idofstringletmakei=iletto_string=function|OPT_IN->"OPT_IN"|OPT_OUT->"OPT_OUT"|Non_static_ids->sletof_string=function|"OPT_IN"->OPT_IN|"OPT_OUT"->OPT_OUT|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 SubscriptionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SubscriptionStatus"j)letto_json=simple_to_jsonto_valueendmoduleTopicName=structtypenonrect=stringletcontext_="TopicName"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:"TopicName"jletto_json=simple_to_jsonto_valueendmoduleEventDetails=structtypenonrect={bounce:Bounce.toption[@ocaml.doc"Information about a Bounce event."];complaint:Complaint.toption[@ocaml.doc"Information about a Complaint event."]}letmake?bounce=fun?complaint->fun()->{bounce;complaint}letto_valuex=structure_to_value[("Bounce",(Option.mapx.bounce~f:Bounce.to_value));("Complaint",(Option.mapx.complaint~f:Complaint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcomplaint=(Option.map~f:Complaint.of_xml)(Xml.childxml_arg0"Complaint")inletbounce=(Option.map~f:Bounce.of_xml)(Xml.childxml_arg0"Bounce")inmake?complaint?bounce()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcomplaint=field_mapjson__"Complaint"Complaint.of_jsoninletbounce=field_mapjson__"Bounce"Bounce.of_jsoninmake?complaint?bounce()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a Bounce object if the event type is BOUNCE. Contains a Complaint object if the event type is COMPLAINT."]moduleEventType=structtypenonrect=|SEND|REJECT|BOUNCE|COMPLAINT|DELIVERY|OPEN|CLICK|RENDERING_FAILURE|DELIVERY_DELAY|SUBSCRIPTION|Non_static_idofstringletmakei=iletto_string=function|SEND->"SEND"|REJECT->"REJECT"|BOUNCE->"BOUNCE"|COMPLAINT->"COMPLAINT"|DELIVERY->"DELIVERY"|OPEN->"OPEN"|CLICK->"CLICK"|RENDERING_FAILURE->"RENDERING_FAILURE"|DELIVERY_DELAY->"DELIVERY_DELAY"|SUBSCRIPTION->"SUBSCRIPTION"|Non_static_ids->sletof_string=function|"SEND"->SEND|"REJECT"->REJECT|"BOUNCE"->BOUNCE|"COMPLAINT"->COMPLAINT|"DELIVERY"->DELIVERY|"OPEN"->OPEN|"CLICK"->CLICK|"RENDERING_FAILURE"->RENDERING_FAILURE|"DELIVERY_DELAY"->DELIVERY_DELAY|"SUBSCRIPTION"->SUBSCRIPTION|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 EventType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EventType"j)letto_json=simple_to_jsonto_valueendmoduleTimestamp=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_valueendmoduleInsightsEmailAddress=structtypenonrect=stringletcontext_="InsightsEmailAddress"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:320)>>=(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:"InsightsEmailAddress"jletto_json=simple_to_jsonto_valueendmoduleEmailSubject=structtypenonrect=stringletcontext_="EmailSubject"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:998)>>=(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:"EmailSubject"jletto_json=simple_to_jsonto_valueendmoduleIsp=structtypenonrect=stringletcontext_="Isp"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:"Isp"jletto_json=simple_to_jsonto_valueendmoduleDeliveryEventType=structtypenonrect=|SEND|DELIVERY|TRANSIENT_BOUNCE|PERMANENT_BOUNCE|UNDETERMINED_BOUNCE|COMPLAINT|Non_static_idofstringletmakei=iletto_string=function|SEND->"SEND"|DELIVERY->"DELIVERY"|TRANSIENT_BOUNCE->"TRANSIENT_BOUNCE"|PERMANENT_BOUNCE->"PERMANENT_BOUNCE"|UNDETERMINED_BOUNCE->"UNDETERMINED_BOUNCE"|COMPLAINT->"COMPLAINT"|Non_static_ids->sletof_string=function|"SEND"->SEND|"DELIVERY"->DELIVERY|"TRANSIENT_BOUNCE"->TRANSIENT_BOUNCE|"PERMANENT_BOUNCE"->PERMANENT_BOUNCE|"UNDETERMINED_BOUNCE"->UNDETERMINED_BOUNCE|"COMPLAINT"->COMPLAINT|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 DeliveryEventType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeliveryEventType"j)letto_json=simple_to_jsonto_valueendmoduleEngagementEventType=structtypenonrect=|OPEN|CLICK|Non_static_idofstringletmakei=iletto_string=function|OPEN->"OPEN"|CLICK->"CLICK"|Non_static_ids->sletof_string=function|"OPEN"->OPEN|"CLICK"->CLICK|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 EngagementEventType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EngagementEventType"j)letto_json=simple_to_jsonto_valueendmoduleMetricDimensionValue=structtypenonrect=string[@@ocaml.doc"A list of values associated with the MetricDimensionName to filter metrics by. Can either be * as a wildcard for all values or a list of up to 10 specific values. If one Dimension has the * value, other dimensions can only contain one value."]letcontext_="MetricDimensionValue"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MetricDimensionValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A list of values associated with the MetricDimensionName to filter metrics by. Can either be * as a wildcard for all values or a list of up to 10 specific values. If one Dimension has the * value, other dimensions can only contain one value."]moduleMetric=structtypenonrect=|SEND|COMPLAINT|PERMANENT_BOUNCE|TRANSIENT_BOUNCE|OPEN|CLICK|DELIVERY|DELIVERY_OPEN|DELIVERY_CLICK|DELIVERY_COMPLAINT|Non_static_idofstringletmakei=iletto_string=function|SEND->"SEND"|COMPLAINT->"COMPLAINT"|PERMANENT_BOUNCE->"PERMANENT_BOUNCE"|TRANSIENT_BOUNCE->"TRANSIENT_BOUNCE"|OPEN->"OPEN"|CLICK->"CLICK"|DELIVERY->"DELIVERY"|DELIVERY_OPEN->"DELIVERY_OPEN"|DELIVERY_CLICK->"DELIVERY_CLICK"|DELIVERY_COMPLAINT->"DELIVERY_COMPLAINT"|Non_static_ids->sletof_string=function|"SEND"->SEND|"COMPLAINT"->COMPLAINT|"PERMANENT_BOUNCE"->PERMANENT_BOUNCE|"TRANSIENT_BOUNCE"->TRANSIENT_BOUNCE|"OPEN"->OPEN|"CLICK"->CLICK|"DELIVERY"->DELIVERY|"DELIVERY_OPEN"->DELIVERY_OPEN|"DELIVERY_CLICK"->DELIVERY_CLICK|"DELIVERY_COMPLAINT"->DELIVERY_COMPLAINT|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 Metric"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Metric"j)letto_json=simple_to_jsonto_valueendmoduleMetricAggregation=structtypenonrect=|RATE|VOLUME|Non_static_idofstringletmakei=iletto_string=function|RATE->"RATE"|VOLUME->"VOLUME"|Non_static_ids->sletof_string=function|"RATE"->RATE|"VOLUME"->VOLUME|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 MetricAggregation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MetricAggregation"j)letto_json=simple_to_jsonto_valueendmodulePercentage=structtypenonrect=float[@@ocaml.doc"An object that contains information about inbox placement percentages."]letmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An object that contains information about inbox placement percentages."]moduleVolume=structtypenonrect=Int64.t[@@ocaml.doc"An object that contains information about inbox placement volume."]letmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueend[@@ocaml.doc"An object that contains information about inbox placement volume."]moduleSuppressionConfidenceVerdictThreshold=structtypenonrect=|MEDIUM|HIGH|MANAGED|Non_static_idofstringletmakei=iletto_string=function|MEDIUM->"MEDIUM"|HIGH->"HIGH"|MANAGED->"MANAGED"|Non_static_ids->sletof_string=function|"MEDIUM"->MEDIUM|"HIGH"->HIGH|"MANAGED"->MANAGED|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 SuppressionConfidenceVerdictThreshold"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SuppressionConfidenceVerdictThreshold"j)letto_json=simple_to_jsonto_valueendmoduleCloudWatchDimensionConfiguration=structtypenonrect={dimensionName:DimensionName.t[@ocaml.doc"The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."];dimensionValueSource:DimensionValueSource.t[@ocaml.doc"The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. To use your own email headers, choose emailHeader. To use link tags, choose linkTags."];defaultDimensionValue:DefaultDimensionValue.t[@ocaml.doc"The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria: Can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-), at signs (\\@), and periods (.). It can contain no more than 256 characters."]}letcontext_="CloudWatchDimensionConfiguration"letmake~dimensionName=fun~dimensionValueSource->fun~defaultDimensionValue->fun()->{dimensionName;dimensionValueSource;defaultDimensionValue}letto_valuex=structure_to_value[("DimensionName",(Some(DimensionName.to_valuex.dimensionName)));("DimensionValueSource",(Some(DimensionValueSource.to_valuex.dimensionValueSource)));("DefaultDimensionValue",(Some(DefaultDimensionValue.to_valuex.defaultDimensionValue)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultDimensionValue=DefaultDimensionValue.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultDimensionValue")inletdimensionValueSource=DimensionValueSource.of_xml(Xml.child_exn~context:context_xml_arg0"DimensionValueSource")inletdimensionName=DimensionName.of_xml(Xml.child_exn~context:context_xml_arg0"DimensionName")inmake~defaultDimensionValue~dimensionValueSource~dimensionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultDimensionValue=field_map_exnjson__"DefaultDimensionValue"DefaultDimensionValue.of_jsoninletdimensionValueSource=field_map_exnjson__"DimensionValueSource"DimensionValueSource.of_jsoninletdimensionName=field_map_exnjson__"DimensionName"DimensionName.of_jsoninmake~defaultDimensionValue~dimensionValueSource~dimensionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the dimension configuration to use when you send email events to Amazon CloudWatch."]moduleAttachment=structtypenonrect={rawContent:RawAttachmentData.t[@ocaml.doc"The raw data of the attachment. It needs to be base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you."];contentDisposition:AttachmentContentDisposition.toption[@ocaml.doc"A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ATTACHMENT or INLINE."];fileName:AttachmentFileName.t[@ocaml.doc"The file name for the attachment as it will appear in the email. Amazon SES restricts certain file extensions. To ensure attachments are accepted, check the Unsupported attachment types in the Amazon SES Developer Guide."];contentDescription:AttachmentContentDescription.toption[@ocaml.doc"A brief description of the attachment content."];contentId:AttachmentContentId.toption[@ocaml.doc"Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content."];contentTransferEncoding:AttachmentContentTransferEncoding.toption[@ocaml.doc"Specifies how the attachment is encoded. Supported values: BASE64, QUOTED_PRINTABLE, SEVEN_BIT."];contentType:AttachmentContentType.toption[@ocaml.doc"The MIME type of the attachment. Example: application/pdf, image/jpeg"]}letcontext_="Attachment"letmake?contentDisposition=fun?contentDescription->fun?contentId->fun?contentTransferEncoding->fun?contentType->fun~rawContent->fun~fileName->fun()->{contentDisposition;contentDescription;contentId;contentTransferEncoding;contentType;rawContent;fileName}letto_valuex=structure_to_value[("RawContent",(Some(RawAttachmentData.to_valuex.rawContent)));("ContentDisposition",(Option.mapx.contentDisposition~f:AttachmentContentDisposition.to_value));("FileName",(Some(AttachmentFileName.to_valuex.fileName)));("ContentDescription",(Option.mapx.contentDescription~f:AttachmentContentDescription.to_value));("ContentId",(Option.mapx.contentId~f:AttachmentContentId.to_value));("ContentTransferEncoding",(Option.mapx.contentTransferEncoding~f:AttachmentContentTransferEncoding.to_value));("ContentType",(Option.mapx.contentType~f:AttachmentContentType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontentType=(Option.map~f:AttachmentContentType.of_xml)(Xml.childxml_arg0"ContentType")inletcontentTransferEncoding=(Option.map~f:AttachmentContentTransferEncoding.of_xml)(Xml.childxml_arg0"ContentTransferEncoding")inletcontentId=(Option.map~f:AttachmentContentId.of_xml)(Xml.childxml_arg0"ContentId")inletcontentDescription=(Option.map~f:AttachmentContentDescription.of_xml)(Xml.childxml_arg0"ContentDescription")inletfileName=AttachmentFileName.of_xml(Xml.child_exn~context:context_xml_arg0"FileName")inletcontentDisposition=(Option.map~f:AttachmentContentDisposition.of_xml)(Xml.childxml_arg0"ContentDisposition")inletrawContent=RawAttachmentData.of_xml(Xml.child_exn~context:context_xml_arg0"RawContent")inmake?contentType?contentTransferEncoding?contentId?contentDescription~fileName?contentDisposition~rawContent()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontentType=field_mapjson__"ContentType"AttachmentContentType.of_jsoninletcontentTransferEncoding=field_mapjson__"ContentTransferEncoding"AttachmentContentTransferEncoding.of_jsoninletcontentId=field_mapjson__"ContentId"AttachmentContentId.of_jsoninletcontentDescription=field_mapjson__"ContentDescription"AttachmentContentDescription.of_jsoninletfileName=field_map_exnjson__"FileName"AttachmentFileName.of_jsoninletcontentDisposition=field_mapjson__"ContentDisposition"AttachmentContentDisposition.of_jsoninletrawContent=field_map_exnjson__"RawContent"RawAttachmentData.of_jsoninmake?contentType?contentTransferEncoding?contentId?contentDescription~fileName?contentDisposition~rawContent()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains metadata and attachment raw content."]moduleContent=structtypenonrect={data:MessageData.t[@ocaml.doc"The content of the message itself."];charset:Charset.toption[@ocaml.doc"The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS."]}letcontext_="Content"letmake?charset=fun~data->fun()->{charset;data}letto_valuex=structure_to_value[("Data",(Some(MessageData.to_valuex.data)));("Charset",(Option.mapx.charset~f:Charset.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcharset=(Option.map~f:Charset.of_xml)(Xml.childxml_arg0"Charset")inletdata=MessageData.of_xml(Xml.child_exn~context:context_xml_arg0"Data")inmake?charset~data()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcharset=field_mapjson__"Charset"Charset.of_jsoninletdata=field_map_exnjson__"Data"MessageData.of_jsoninmake?charset~data()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that represents the content of the email, and optionally a character set specification."]moduleMessageHeader=structtypenonrect={name:MessageHeaderName.t[@ocaml.doc"The name of the message header. The message header name has to meet the following criteria: Can contain any printable ASCII character (33 - 126) except for colon (:). Can contain no more than 126 characters."];value:MessageHeaderValue.t[@ocaml.doc"The value of the message header. The message header value has to meet the following criteria: Can contain any printable ASCII character. Can contain no more than 995 characters. The combined length of the header name and value must not exceed 996 characters."]}letcontext_="MessageHeader"letmake~name=fun~value->fun()->{name;value}letto_valuex=structure_to_value[("Name",(Some(MessageHeaderName.to_valuex.name)));("Value",(Some(MessageHeaderValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=MessageHeaderValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletname=MessageHeaderName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake~value~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"MessageHeaderValue.of_jsoninletname=field_map_exnjson__"Name"MessageHeaderName.of_jsoninmake~value~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the name and value of a message header that you add to an email."]moduleEmailTemplateHtml=structtypenonrect=string[@@ocaml.doc"The HTML body of the email."]letcontext_="EmailTemplateHtml"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:"EmailTemplateHtml"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The HTML body of the email."]moduleEmailTemplateSubject=structtypenonrect=string[@@ocaml.doc"The subject line of the email."]letcontext_="EmailTemplateSubject"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:"EmailTemplateSubject"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The subject line of the email."]moduleEmailTemplateText=structtypenonrect=string[@@ocaml.doc"The email body that will be visible to recipients whose email clients do not display HTML."]letcontext_="EmailTemplateText"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:"EmailTemplateText"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The email body that will be visible to recipients whose email clients do not display HTML."]moduleEmailAddressList=structtypenonrect=EmailAddress.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EmailAddress.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:EmailAddress.of_xml)letof_jsonj=list_of_json~kind:"EmailAddressList"~of_json:EmailAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMessageTag=structtypenonrect={name:MessageTagName.t[@ocaml.doc"The name of the message tag. The message tag name has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."];value:MessageTagValue.t[@ocaml.doc"The value of the message tag. The message tag value has to meet the following criteria: It can only contain ASCII letters (a\226\128\147z, A\226\128\147Z), numbers (0\226\128\1479), underscores (_), or dashes (-). It can contain no more than 256 characters."]}letcontext_="MessageTag"letmake~name=fun~value->fun()->{name;value}letto_valuex=structure_to_value[("Name",(Some(MessageTagName.to_valuex.name)));("Value",(Some(MessageTagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=MessageTagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletname=MessageTagName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake~value~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"MessageTagValue.of_jsoninletname=field_map_exnjson__"Name"MessageTagName.of_jsoninmake~value~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the name and value of a tag that you apply to an email. You can use message tags when you publish email sending events."]moduleReplacementTemplate=structtypenonrect={replacementTemplateData:EmailTemplateData.toption[@ocaml.doc"A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template."]}letmake?replacementTemplateData=fun()->{replacementTemplateData}letto_valuex=structure_to_value[("ReplacementTemplateData",(Option.mapx.replacementTemplateData~f:EmailTemplateData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplacementTemplateData=(Option.map~f:EmailTemplateData.of_xml)(Xml.childxml_arg0"ReplacementTemplateData")inmake?replacementTemplateData()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplacementTemplateData=field_mapjson__"ReplacementTemplateData"EmailTemplateData.of_jsoninmake?replacementTemplateData()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object which contains ReplacementTemplateData to be used for a specific BulkEmailEntry."]moduleEnabled=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_valueendmoduleIspNameList=structtypenonrect=IspName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IspName.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:IspName.of_xml)letof_jsonj=list_of_json~kind:"IspNameList"~of_json:IspName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSendingStatus=structtypenonrect=|ENABLED|REINSTATED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|REINSTATED->"REINSTATED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"REINSTATED"->REINSTATED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SendingStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SendingStatus"j)letto_json=simple_to_jsonto_valueendmoduleStatusCause=structtypenonrect=string[@@ocaml.doc"A description of the reason for a status change, such as automated actions taken due to reputation findings or manual status updates."]letcontext_="StatusCause"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(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:"StatusCause"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A description of the reason for a status change, such as automated actions taken due to reputation findings or manual status updates."]moduleRegion=structtypenonrect=string[@@ocaml.doc"The name of an AWS-Region."]letcontext_="Region"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:"Region"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of an AWS-Region."]moduleContactListDestination=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];contactListImportAction:ContactListImportAction.t[@ocaml.doc">The type of action to perform on the addresses. The following are the possible values: PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value. DELETE: remove the addresses from the contact list."]}letcontext_="ContactListDestination"letmake~contactListName=fun~contactListImportAction->fun()->{contactListName;contactListImportAction}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("ContactListImportAction",(Some(ContactListImportAction.to_valuex.contactListImportAction)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactListImportAction=ContactListImportAction.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListImportAction")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake~contactListImportAction~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactListImportAction=field_map_exnjson__"ContactListImportAction"ContactListImportAction.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake~contactListImportAction~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the action of a contact list."]moduleSuppressionListDestination=structtypenonrect={suppressionListImportAction:SuppressionListImportAction.t[@ocaml.doc"The type of action to perform on the address. The following are possible values: PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value. DELETE: remove the addresses from the suppression list."]}letcontext_="SuppressionListDestination"letmake~suppressionListImportAction=fun()->{suppressionListImportAction}letto_valuex=structure_to_value[("SuppressionListImportAction",(Some(SuppressionListImportAction.to_valuex.suppressionListImportAction)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsuppressionListImportAction=SuppressionListImportAction.of_xml(Xml.child_exn~context:context_xml_arg0"SuppressionListImportAction")inmake~suppressionListImportAction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsuppressionListImportAction=field_map_exnjson__"SuppressionListImportAction"SuppressionListImportAction.of_jsoninmake~suppressionListImportAction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the action of suppression list."]moduleEsp=structtypenonrect=stringletcontext_="Esp"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:"Esp"jletto_json=simple_to_jsonto_valueendmoduleIp=structtypenonrect=string[@@ocaml.doc"An IPv4 address."]letcontext_="Ip"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:"Ip"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An IPv4 address."]moduleTopicPreference=structtypenonrect={topicName:TopicName.t[@ocaml.doc"The name of the topic."];subscriptionStatus:SubscriptionStatus.t[@ocaml.doc"The contact's subscription status to a topic which is either OPT_IN or OPT_OUT."]}letcontext_="TopicPreference"letmake~topicName=fun~subscriptionStatus->fun()->{topicName;subscriptionStatus}letto_valuex=structure_to_value[("TopicName",(Some(TopicName.to_valuex.topicName)));("SubscriptionStatus",(Some(SubscriptionStatus.to_valuex.subscriptionStatus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubscriptionStatus=SubscriptionStatus.of_xml(Xml.child_exn~context:context_xml_arg0"SubscriptionStatus")inlettopicName=TopicName.of_xml(Xml.child_exn~context:context_xml_arg0"TopicName")inmake~subscriptionStatus~topicName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubscriptionStatus=field_map_exnjson__"SubscriptionStatus"SubscriptionStatus.of_jsoninlettopicName=field_map_exnjson__"TopicName"TopicName.of_jsoninmake~subscriptionStatus~topicName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The contact's preference for being opted-in to or opted-out of a topic."]moduleTagKey=structtypenonrect=stringletcontext_="TagKey"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:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"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:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleInsightsEvent=structtypenonrect={timestamp:Timestamp.toption[@ocaml.doc"The timestamp of the event."];type_:EventType.toption[@ocaml.doc"The type of event: SEND - The send request was successful and SES will attempt to deliver the message to the recipient\226\128\153s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) DELIVERY - SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient. BOUNCE - Feedback received for delivery failures. Additional details about the bounce are provided in the Details object. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient. COMPLAINT - Complaint received for the email. Additional details about the complaint are provided in the Details object. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient. OPEN - Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient. CLICK - Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient."];details:EventDetails.toption[@ocaml.doc"Details about bounce or complaint events."]}letmake?timestamp=fun?type_->fun?details->fun()->{timestamp;type_;details}letto_valuex=structure_to_value[("Timestamp",(Option.mapx.timestamp~f:Timestamp.to_value));("Type",(Option.mapx.type_~f:EventType.to_value));("Details",(Option.mapx.details~f:EventDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdetails=(Option.map~f:EventDetails.of_xml)(Xml.childxml_arg0"Details")inlettype_=(Option.map~f:EventType.of_xml)(Xml.childxml_arg0"Type")inlettimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"Timestamp")inmake?details?type_?timestamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdetails=field_mapjson__"Details"EventDetails.of_jsoninlettype_=field_mapjson__"Type"EventType.of_jsoninlettimestamp=field_mapjson__"Timestamp"Timestamp.of_jsoninmake?details?type_?timestamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing details about a specific event."]moduleEmailAddressFilterList=structtypenonrect=InsightsEmailAddress.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:5);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:InsightsEmailAddress.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:InsightsEmailAddress.of_xml)letof_jsonj=list_of_json~kind:"EmailAddressFilterList"~of_json:InsightsEmailAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEmailSubjectFilterList=structtypenonrect=EmailSubject.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:1);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EmailSubject.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:EmailSubject.of_xml)letof_jsonj=list_of_json~kind:"EmailSubjectFilterList"~of_json:EmailSubject.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIspFilterList=structtypenonrect=Isp.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:5);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Isp.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:Isp.of_xml)letof_jsonj=list_of_json~kind:"IspFilterList"~of_json:Isp.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLastDeliveryEventList=structtypenonrect=DeliveryEventType.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:5);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DeliveryEventType.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:DeliveryEventType.of_xml)letof_jsonj=list_of_json~kind:"LastDeliveryEventList"~of_json:DeliveryEventType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLastEngagementEventList=structtypenonrect=EngagementEventType.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:2);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EngagementEventType.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:EngagementEventType.of_xml)letof_jsonj=list_of_json~kind:"LastEngagementEventList"~of_json:EngagementEventType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExportDimensionValue=structtypenonrect=MetricDimensionValue.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:MetricDimensionValue.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:MetricDimensionValue.of_xml)letof_jsonj=list_of_json~kind:"ExportDimensionValue"~of_json:MetricDimensionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMetricDimensionName=structtypenonrect=|EMAIL_IDENTITY|CONFIGURATION_SET|ISP|Non_static_idofstringletmakei=iletto_string=function|EMAIL_IDENTITY->"EMAIL_IDENTITY"|CONFIGURATION_SET->"CONFIGURATION_SET"|ISP->"ISP"|Non_static_ids->sletof_string=function|"EMAIL_IDENTITY"->EMAIL_IDENTITY|"CONFIGURATION_SET"->CONFIGURATION_SET|"ISP"->ISP|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 MetricDimensionName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MetricDimensionName"j)letto_json=simple_to_jsonto_valueendmoduleExportMetric=structtypenonrect={name:Metric.toption;aggregation:MetricAggregation.toption}letmake?name=fun?aggregation->fun()->{name;aggregation}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:Metric.to_value));("Aggregation",(Option.mapx.aggregation~f:MetricAggregation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaggregation=(Option.map~f:MetricAggregation.of_xml)(Xml.childxml_arg0"Aggregation")inletname=(Option.map~f:Metric.of_xml)(Xml.childxml_arg0"Name")inmake?aggregation?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaggregation=field_mapjson__"Aggregation"MetricAggregation.of_jsoninletname=field_mapjson__"Name"Metric.of_jsoninmake?aggregation?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains a mapping between a Metric and MetricAggregation."]moduleEmailAddressInsightsConfidenceVerdict=structtypenonrect=|LOW|MEDIUM|HIGH|Non_static_idofstringletmakei=iletto_string=function|LOW->"LOW"|MEDIUM->"MEDIUM"|HIGH->"HIGH"|Non_static_ids->sletof_string=function|"LOW"->LOW|"MEDIUM"->MEDIUM|"HIGH"->HIGH|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 EmailAddressInsightsConfidenceVerdict"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EmailAddressInsightsConfidenceVerdict"j)letto_json=simple_to_jsonto_valueendmoduleDomainIspPlacement=structtypenonrect={ispName:IspName.toption[@ocaml.doc"The name of the email provider that the inbox placement data applies to."];inboxRawCount:Volume.toption[@ocaml.doc"The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes."];spamRawCount:Volume.toption[@ocaml.doc"The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders."];inboxPercentage:Percentage.toption[@ocaml.doc"The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes."];spamPercentage:Percentage.toption[@ocaml.doc"The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders."]}letmake?ispName=fun?inboxRawCount->fun?spamRawCount->fun?inboxPercentage->fun?spamPercentage->fun()->{ispName;inboxRawCount;spamRawCount;inboxPercentage;spamPercentage}letto_valuex=structure_to_value[("IspName",(Option.mapx.ispName~f:IspName.to_value));("InboxRawCount",(Option.mapx.inboxRawCount~f:Volume.to_value));("SpamRawCount",(Option.mapx.spamRawCount~f:Volume.to_value));("InboxPercentage",(Option.mapx.inboxPercentage~f:Percentage.to_value));("SpamPercentage",(Option.mapx.spamPercentage~f:Percentage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspamPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"SpamPercentage")inletinboxPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"InboxPercentage")inletspamRawCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"SpamRawCount")inletinboxRawCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"InboxRawCount")inletispName=(Option.map~f:IspName.of_xml)(Xml.childxml_arg0"IspName")inmake?spamPercentage?inboxPercentage?spamRawCount?inboxRawCount?ispName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspamPercentage=field_mapjson__"SpamPercentage"Percentage.of_jsoninletinboxPercentage=field_mapjson__"InboxPercentage"Percentage.of_jsoninletspamRawCount=field_mapjson__"SpamRawCount"Volume.of_jsoninletinboxRawCount=field_mapjson__"InboxRawCount"Volume.of_jsoninletispName=field_mapjson__"IspName"IspName.of_jsoninmake?spamPercentage?inboxPercentage?spamRawCount?inboxRawCount?ispName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains inbox placement data for email sent from one of your email domains to a specific email provider."]moduleFeatureStatus=structtypenonrect=|ENABLED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration FeatureStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FeatureStatus"j)letto_json=simple_to_jsonto_valueendmoduleSuppressionConfidenceThreshold=structtypenonrect={confidenceVerdictThreshold:SuppressionConfidenceVerdictThreshold.t[@ocaml.doc"The confidence level threshold for suppression decisions."]}letcontext_="SuppressionConfidenceThreshold"letmake~confidenceVerdictThreshold=fun()->{confidenceVerdictThreshold}letto_valuex=structure_to_value[("ConfidenceVerdictThreshold",(Some(SuppressionConfidenceVerdictThreshold.to_valuex.confidenceVerdictThreshold)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfidenceVerdictThreshold=SuppressionConfidenceVerdictThreshold.of_xml(Xml.child_exn~context:context_xml_arg0"ConfidenceVerdictThreshold")inmake~confidenceVerdictThreshold()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfidenceVerdictThreshold=field_map_exnjson__"ConfidenceVerdictThreshold"SuppressionConfidenceVerdictThreshold.of_jsoninmake~confidenceVerdictThreshold()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the confidence threshold settings for Auto Validation."]moduleCloudWatchDimensionConfigurations=structtypenonrect=CloudWatchDimensionConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CloudWatchDimensionConfiguration.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:CloudWatchDimensionConfiguration.of_xml)letof_jsonj=list_of_json~kind:"CloudWatchDimensionConfigurations"~of_json:CloudWatchDimensionConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith(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:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleBlacklistingDescription=structtypenonrect=string[@@ocaml.doc"A description of the blacklisting event."]letcontext_="BlacklistingDescription"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:"BlacklistingDescription"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A description of the blacklisting event."]moduleRblName=structtypenonrect=string[@@ocaml.doc"The name of a blacklist that an IP address was found on."]letcontext_="RblName"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:"RblName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of a blacklist that an IP address was found on."]moduleCounter=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleDescription=structtypenonrect=stringletcontext_="Description"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Description"jletto_json=simple_to_jsonto_valueendmoduleDisplayName=structtypenonrect=stringletcontext_="DisplayName"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:"DisplayName"jletto_json=simple_to_jsonto_valueendmoduleAttachmentList=structtypenonrect=Attachment.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Attachment.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:Attachment.of_xml)letof_jsonj=list_of_json~kind:"AttachmentList"~of_json:Attachment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBody=structtypenonrect={text:Content.toption[@ocaml.doc"An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering."];html:Content.toption[@ocaml.doc"An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more."]}letmake?text=fun?html->fun()->{text;html}letto_valuex=structure_to_value[("Text",(Option.mapx.text~f:Content.to_value));("Html",(Option.mapx.html~f:Content.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethtml=(Option.map~f:Content.of_xml)(Xml.childxml_arg0"Html")inlettext=(Option.map~f:Content.of_xml)(Xml.childxml_arg0"Text")inmake?html?text()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethtml=field_mapjson__"Html"Content.of_jsoninlettext=field_mapjson__"Text"Content.of_jsoninmake?html?text()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the body of the email message."]moduleMessageHeaderList=structtypenonrect=MessageHeader.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:15)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MessageHeader.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:MessageHeader.of_xml)letof_jsonj=list_of_json~kind:"MessageHeaderList"~of_json:MessageHeader.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRawMessageData=structtypenonrect=string[@@ocaml.doc"The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. Attachments must be in a file format that the Amazon SES API v2 supports. The entire message must be Base64 encoded. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321."]letmakei=iletof_stringx=xletto_valuex=`Blobxletto_queryv=to_queryto_valuevletto_headerx=xletof_xmlxml_arg0=string_of_xml~kind:"a blob"xml_arg0letof_jsonj=string_of_json~kind:"a blob"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. Attachments must be in a file format that the Amazon SES API v2 supports. The entire message must be Base64 encoded. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321."]moduleEmailTemplateContent=structtypenonrect={subject:EmailTemplateSubject.toption[@ocaml.doc"The subject line of the email."];text:EmailTemplateText.toption[@ocaml.doc"The email body that will be visible to recipients whose email clients do not display HTML."];html:EmailTemplateHtml.toption[@ocaml.doc"The HTML body of the email."]}letmake?subject=fun?text->fun?html->fun()->{subject;text;html}letto_valuex=structure_to_value[("Subject",(Option.mapx.subject~f:EmailTemplateSubject.to_value));("Text",(Option.mapx.text~f:EmailTemplateText.to_value));("Html",(Option.mapx.html~f:EmailTemplateHtml.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethtml=(Option.map~f:EmailTemplateHtml.of_xml)(Xml.childxml_arg0"Html")inlettext=(Option.map~f:EmailTemplateText.of_xml)(Xml.childxml_arg0"Text")inletsubject=(Option.map~f:EmailTemplateSubject.of_xml)(Xml.childxml_arg0"Subject")inmake?html?text?subject()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethtml=field_mapjson__"Html"EmailTemplateHtml.of_jsoninlettext=field_mapjson__"Text"EmailTemplateText.of_jsoninletsubject=field_mapjson__"Subject"EmailTemplateSubject.of_jsoninmake?html?text?subject()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The content of the email, composed of a subject line, an HTML part, and a text-only part."]moduleEmailTemplateName=structtypenonrect=string[@@ocaml.doc"The name of the template. You will refer to this name when you send email using the SendEmail or SendBulkEmail operations."]letcontext_="EmailTemplateName"letmakei=letopenResultinok_or_failwith(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:"EmailTemplateName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the template. You will refer to this name when you send email using the SendEmail or SendBulkEmail operations."]moduleBulkEmailStatus=structtypenonrect=|SUCCESS|MESSAGE_REJECTED|MAIL_FROM_DOMAIN_NOT_VERIFIED|CONFIGURATION_SET_NOT_FOUND|TEMPLATE_NOT_FOUND|ACCOUNT_SUSPENDED|ACCOUNT_THROTTLED|ACCOUNT_DAILY_QUOTA_EXCEEDED|INVALID_SENDING_POOL_NAME|ACCOUNT_SENDING_PAUSED|CONFIGURATION_SET_SENDING_PAUSED|INVALID_PARAMETER|TRANSIENT_FAILURE|FAILED|Non_static_idofstringletmakei=iletto_string=function|SUCCESS->"SUCCESS"|MESSAGE_REJECTED->"MESSAGE_REJECTED"|MAIL_FROM_DOMAIN_NOT_VERIFIED->"MAIL_FROM_DOMAIN_NOT_VERIFIED"|CONFIGURATION_SET_NOT_FOUND->"CONFIGURATION_SET_NOT_FOUND"|TEMPLATE_NOT_FOUND->"TEMPLATE_NOT_FOUND"|ACCOUNT_SUSPENDED->"ACCOUNT_SUSPENDED"|ACCOUNT_THROTTLED->"ACCOUNT_THROTTLED"|ACCOUNT_DAILY_QUOTA_EXCEEDED->"ACCOUNT_DAILY_QUOTA_EXCEEDED"|INVALID_SENDING_POOL_NAME->"INVALID_SENDING_POOL_NAME"|ACCOUNT_SENDING_PAUSED->"ACCOUNT_SENDING_PAUSED"|CONFIGURATION_SET_SENDING_PAUSED->"CONFIGURATION_SET_SENDING_PAUSED"|INVALID_PARAMETER->"INVALID_PARAMETER"|TRANSIENT_FAILURE->"TRANSIENT_FAILURE"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"SUCCESS"->SUCCESS|"MESSAGE_REJECTED"->MESSAGE_REJECTED|"MAIL_FROM_DOMAIN_NOT_VERIFIED"->MAIL_FROM_DOMAIN_NOT_VERIFIED|"CONFIGURATION_SET_NOT_FOUND"->CONFIGURATION_SET_NOT_FOUND|"TEMPLATE_NOT_FOUND"->TEMPLATE_NOT_FOUND|"ACCOUNT_SUSPENDED"->ACCOUNT_SUSPENDED|"ACCOUNT_THROTTLED"->ACCOUNT_THROTTLED|"ACCOUNT_DAILY_QUOTA_EXCEEDED"->ACCOUNT_DAILY_QUOTA_EXCEEDED|"INVALID_SENDING_POOL_NAME"->INVALID_SENDING_POOL_NAME|"ACCOUNT_SENDING_PAUSED"->ACCOUNT_SENDING_PAUSED|"CONFIGURATION_SET_SENDING_PAUSED"->CONFIGURATION_SET_SENDING_PAUSED|"INVALID_PARAMETER"->INVALID_PARAMETER|"TRANSIENT_FAILURE"->TRANSIENT_FAILURE|"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 BulkEmailStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BulkEmailStatus"j)letto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleOutboundMessageId=structtypenonrect=stringletcontext_="OutboundMessageId"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:"OutboundMessageId"jletto_json=simple_to_jsonto_valueendmoduleDestination=structtypenonrect={toAddresses:EmailAddressList.toption[@ocaml.doc"An array that contains the email addresses of the \"To\" recipients for the email."];ccAddresses:EmailAddressList.toption[@ocaml.doc"An array that contains the email addresses of the \"CC\" (carbon copy) recipients for the email."];bccAddresses:EmailAddressList.toption[@ocaml.doc"An array that contains the email addresses of the \"BCC\" (blind carbon copy) recipients for the email."]}letmake?toAddresses=fun?ccAddresses->fun?bccAddresses->fun()->{toAddresses;ccAddresses;bccAddresses}letto_valuex=structure_to_value[("ToAddresses",(Option.mapx.toAddresses~f:EmailAddressList.to_value));("CcAddresses",(Option.mapx.ccAddresses~f:EmailAddressList.to_value));("BccAddresses",(Option.mapx.bccAddresses~f:EmailAddressList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbccAddresses=(Option.map~f:EmailAddressList.of_xml)(Xml.childxml_arg0"BccAddresses")inletccAddresses=(Option.map~f:EmailAddressList.of_xml)(Xml.childxml_arg0"CcAddresses")inlettoAddresses=(Option.map~f:EmailAddressList.of_xml)(Xml.childxml_arg0"ToAddresses")inmake?bccAddresses?ccAddresses?toAddresses()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbccAddresses=field_mapjson__"BccAddresses"EmailAddressList.of_jsoninletccAddresses=field_mapjson__"CcAddresses"EmailAddressList.of_jsoninlettoAddresses=field_mapjson__"ToAddresses"EmailAddressList.of_jsoninmake?bccAddresses?ccAddresses?toAddresses()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that describes the recipients for an email. Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the \\@ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the \\@ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492."]moduleMessageTagList=structtypenonrect=MessageTag.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MessageTag.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:MessageTag.of_xml)letof_jsonj=list_of_json~kind:"MessageTagList"~of_json:MessageTag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReplacementEmailContent=structtypenonrect={replacementTemplate:ReplacementTemplate.toption[@ocaml.doc"The ReplacementTemplate associated with ReplacementEmailContent."]}letmake?replacementTemplate=fun()->{replacementTemplate}letto_valuex=structure_to_value[("ReplacementTemplate",(Option.mapx.replacementTemplate~f:ReplacementTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplacementTemplate=(Option.map~f:ReplacementTemplate.of_xml)(Xml.childxml_arg0"ReplacementTemplate")inmake?replacementTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplacementTemplate=field_mapjson__"ReplacementTemplate"ReplacementTemplate.of_jsoninmake?replacementTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ReplaceEmailContent object to be used for a specific BulkEmailEntry. The ReplacementTemplate can be specified within this object."]moduleDomain=structtypenonrect=stringletcontext_="Domain"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:"Domain"jletto_json=simple_to_jsonto_valueendmoduleInboxPlacementTrackingOption=structtypenonrect={global:Enabled.toption[@ocaml.doc"Specifies whether inbox placement data is being tracked for the domain."];trackedIsps:IspNameList.toption[@ocaml.doc"An array of strings, one for each major email provider that the inbox placement data applies to."]}letmake?global=fun?trackedIsps->fun()->{global;trackedIsps}letto_valuex=structure_to_value[("Global",(Option.mapx.global~f:Enabled.to_value));("TrackedIsps",(Option.mapx.trackedIsps~f:IspNameList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettrackedIsps=(Option.map~f:IspNameList.of_xml)(Xml.childxml_arg0"TrackedIsps")inletglobal=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"Global")inmake?trackedIsps?global()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettrackedIsps=field_mapjson__"TrackedIsps"IspNameList.of_jsoninletglobal=field_mapjson__"Global"Enabled.of_jsoninmake?trackedIsps?global()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the inbox placement data settings for a verified domain that\226\128\153s associated with your Amazon Web Services account. This data is available only if you enabled the Deliverability dashboard for the domain."]moduleTenantId=structtypenonrect=stringletcontext_="TenantId"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:"TenantId"jletto_json=simple_to_jsonto_valueendmoduleTenantName=structtypenonrect=string[@@ocaml.doc"The name of a tenant. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only."]letcontext_="TenantName"letmakei=letopenResultinok_or_failwith(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:"TenantName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of a tenant. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only."]moduleResourceType=structtypenonrect=|EMAIL_IDENTITY|CONFIGURATION_SET|EMAIL_TEMPLATE|Non_static_idofstringletmakei=iletto_string=function|EMAIL_IDENTITY->"EMAIL_IDENTITY"|CONFIGURATION_SET->"CONFIGURATION_SET"|EMAIL_TEMPLATE->"EMAIL_TEMPLATE"|Non_static_ids->sletof_string=function|"EMAIL_IDENTITY"->EMAIL_IDENTITY|"CONFIGURATION_SET"->CONFIGURATION_SET|"EMAIL_TEMPLATE"->EMAIL_TEMPLATE|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 ResourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceType"j)letto_json=simple_to_jsonto_valueendmoduleSuppressionListReason=structtypenonrect=|BOUNCE|COMPLAINT|Non_static_idofstringletmakei=iletto_string=function|BOUNCE->"BOUNCE"|COMPLAINT->"COMPLAINT"|Non_static_ids->sletof_string=function|"BOUNCE"->BOUNCE|"COMPLAINT"->COMPLAINT|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 SuppressionListReason"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SuppressionListReason"j)letto_json=simple_to_jsonto_valueendmoduleRecommendationImpact=structtypenonrect=|LOW|HIGH|Non_static_idofstringletmakei=iletto_string=function|LOW->"LOW"|HIGH->"HIGH"|Non_static_ids->sletof_string=function|"LOW"->LOW|"HIGH"->HIGH|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 RecommendationImpact"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecommendationImpact"j)letto_json=simple_to_jsonto_valueendmoduleReputationEntityReference=structtypenonrect=string[@@ocaml.doc"The unique identifier for a reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."]letcontext_="ReputationEntityReference"letmakei=letopenResultinok_or_failwith(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:"ReputationEntityReference"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The unique identifier for a reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."]moduleReputationEntityType=structtypenonrect=|RESOURCE|Non_static_idofstringletmakei=iletto_string=function|RESOURCE->"RESOURCE"|Non_static_ids->sletof_string=function|"RESOURCE"->RESOURCE|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 ReputationEntityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReputationEntityType"j)letto_json=simple_to_jsonto_valueendmoduleStatusRecord=structtypenonrect={status:SendingStatus.toption[@ocaml.doc"The current sending status. This can be one of the following: ENABLED \226\128\147 Sending is allowed. DISABLED \226\128\147 Sending is prevented. REINSTATED \226\128\147 Sending is allowed even with active reputation findings."];cause:StatusCause.toption[@ocaml.doc"A description of the reason for the current status, or null if no specific cause is available."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"The timestamp when this status was last updated."]}letmake?status=fun?cause->fun?lastUpdatedTimestamp->fun()->{status;cause;lastUpdatedTimestamp}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:SendingStatus.to_value));("Cause",(Option.mapx.cause~f:StatusCause.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcause=(Option.map~f:StatusCause.of_xml)(Xml.childxml_arg0"Cause")inletstatus=(Option.map~f:SendingStatus.of_xml)(Xml.childxml_arg0"Status")inmake?lastUpdatedTimestamp?cause?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcause=field_mapjson__"Cause"StatusCause.of_jsoninletstatus=field_mapjson__"Status"SendingStatus.of_jsoninmake?lastUpdatedTimestamp?cause?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains status information for a reputation entity, including the current status, cause description, and timestamp."]moduleRecommendationDescription=structtypenonrect=stringletcontext_="RecommendationDescription"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:"RecommendationDescription"jletto_json=simple_to_jsonto_valueendmoduleRecommendationStatus=structtypenonrect=|OPEN|FIXED|Non_static_idofstringletmakei=iletto_string=function|OPEN->"OPEN"|FIXED->"FIXED"|Non_static_ids->sletof_string=function|"OPEN"->OPEN|"FIXED"->FIXED|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 RecommendationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecommendationStatus"j)letto_json=simple_to_jsonto_valueendmoduleRecommendationType=structtypenonrect=|DKIM|DMARC|SPF|BIMI|COMPLAINT|BOUNCE|FEEDBACK_3P|IP_LISTING|Non_static_idofstringletmakei=iletto_string=function|DKIM->"DKIM"|DMARC->"DMARC"|SPF->"SPF"|BIMI->"BIMI"|COMPLAINT->"COMPLAINT"|BOUNCE->"BOUNCE"|FEEDBACK_3P->"FEEDBACK_3P"|IP_LISTING->"IP_LISTING"|Non_static_ids->sletof_string=function|"DKIM"->DKIM|"DMARC"->DMARC|"SPF"->SPF|"BIMI"->BIMI|"COMPLAINT"->COMPLAINT|"BOUNCE"->BOUNCE|"FEEDBACK_3P"->FEEDBACK_3P|"IP_LISTING"->IP_LISTING|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 RecommendationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecommendationType"j)letto_json=simple_to_jsonto_valueendmoduleEndpointId=structtypenonrect=string[@@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."]letcontext_="EndpointId"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:"EndpointId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."]moduleEndpointName=structtypenonrect=string[@@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."]letcontext_="EndpointName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^[\\w\\-_]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EndpointName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."]moduleRegions=structtypenonrect=Region.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Region.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:Region.of_xml)letof_jsonj=list_of_json~kind:"Regions"~of_json:Region.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatus=structtypenonrect=|CREATING|READY|FAILED|DELETING|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|READY->"READY"|FAILED->"FAILED"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"READY"->READY|"FAILED"->FAILED|"DELETING"->DELETING|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration Status"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Status"j)letto_json=simple_to_jsonto_valueendmoduleFailedRecordsCount=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 FailedRecordsCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleImportDestination=structtypenonrect={suppressionListDestination:SuppressionListDestination.toption[@ocaml.doc"An object that contains the action of the import job towards suppression list."];contactListDestination:ContactListDestination.toption[@ocaml.doc"An object that contains the action of the import job towards a contact list."]}letmake?suppressionListDestination=fun?contactListDestination->fun()->{suppressionListDestination;contactListDestination}letto_valuex=structure_to_value[("SuppressionListDestination",(Option.mapx.suppressionListDestination~f:SuppressionListDestination.to_value));("ContactListDestination",(Option.mapx.contactListDestination~f:ContactListDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactListDestination=(Option.map~f:ContactListDestination.of_xml)(Xml.childxml_arg0"ContactListDestination")inletsuppressionListDestination=(Option.map~f:SuppressionListDestination.of_xml)(Xml.childxml_arg0"SuppressionListDestination")inmake?contactListDestination?suppressionListDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactListDestination=field_mapjson__"ContactListDestination"ContactListDestination.of_jsoninletsuppressionListDestination=field_mapjson__"SuppressionListDestination"SuppressionListDestination.of_jsoninmake?contactListDestination?suppressionListDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the resource destination the import job is going to target."]moduleJobId=structtypenonrect=string[@@ocaml.doc"A string that represents a job ID."]letcontext_="JobId"letmakei=letopenResultinok_or_failwith(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:"JobId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A string that represents a job ID."]moduleJobStatus=structtypenonrect=|CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED|Non_static_idofstringletmakei=iletto_string=function|CREATED->"CREATED"|PROCESSING->"PROCESSING"|COMPLETED->"COMPLETED"|FAILED->"FAILED"|CANCELLED->"CANCELLED"|Non_static_ids->sletof_string=function|"CREATED"->CREATED|"PROCESSING"->PROCESSING|"COMPLETED"->COMPLETED|"FAILED"->FAILED|"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 JobStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"JobStatus"j)letto_json=simple_to_jsonto_valueendmoduleProcessedRecordsCount=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 ProcessedRecordsCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleExportSourceType=structtypenonrect=|METRICS_DATA|MESSAGE_INSIGHTS|Non_static_idofstringletmakei=iletto_string=function|METRICS_DATA->"METRICS_DATA"|MESSAGE_INSIGHTS->"MESSAGE_INSIGHTS"|Non_static_ids->sletof_string=function|"METRICS_DATA"->METRICS_DATA|"MESSAGE_INSIGHTS"->MESSAGE_INSIGHTS|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 ExportSourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ExportSourceType"j)letto_json=simple_to_jsonto_valueendmoduleIdentity=structtypenonrect=stringletcontext_="Identity"letmakei=letopenResultinok_or_failwith(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:"Identity"jletto_json=simple_to_jsonto_valueendmoduleIdentityType=structtypenonrect=|EMAIL_ADDRESS|DOMAIN|MANAGED_DOMAIN|Non_static_idofstringletmakei=iletto_string=function|EMAIL_ADDRESS->"EMAIL_ADDRESS"|DOMAIN->"DOMAIN"|MANAGED_DOMAIN->"MANAGED_DOMAIN"|Non_static_ids->sletof_string=function|"EMAIL_ADDRESS"->EMAIL_ADDRESS|"DOMAIN"->DOMAIN|"MANAGED_DOMAIN"->MANAGED_DOMAIN|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 IdentityType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IdentityType"j)letto_json=simple_to_jsonto_valueendmoduleVerificationStatus=structtypenonrect=|PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|SUCCESS->"SUCCESS"|FAILED->"FAILED"|TEMPORARY_FAILURE->"TEMPORARY_FAILURE"|NOT_STARTED->"NOT_STARTED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"SUCCESS"->SUCCESS|"FAILED"->FAILED|"TEMPORARY_FAILURE"->TEMPORARY_FAILURE|"NOT_STARTED"->NOT_STARTED|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 VerificationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VerificationStatus"j)letto_json=simple_to_jsonto_valueendmoduleCampaignId=structtypenonrect=stringletcontext_="CampaignId"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:"CampaignId"jletto_json=simple_to_jsonto_valueendmoduleEsps=structtypenonrect=Esp.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Esp.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:Esp.of_xml)letof_jsonj=list_of_json~kind:"Esps"~of_json:Esp.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImageUrl=structtypenonrect=stringletcontext_="ImageUrl"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:"ImageUrl"jletto_json=simple_to_jsonto_valueendmoduleIpList=structtypenonrect=Ip.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Ip.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:Ip.of_xml)letof_jsonj=list_of_json~kind:"IpList"~of_json:Ip.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubject=structtypenonrect=stringletcontext_="Subject"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:"Subject"jletto_json=simple_to_jsonto_valueendmoduleDeliverabilityTestStatus=structtypenonrect=|IN_PROGRESS|COMPLETED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|COMPLETED->"COMPLETED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"COMPLETED"->COMPLETED|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 DeliverabilityTestStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeliverabilityTestStatus"j)letto_json=simple_to_jsonto_valueendmoduleDeliverabilityTestSubject=structtypenonrect=string[@@ocaml.doc"The subject line for an email that you submitted in a predictive inbox placement test."]letcontext_="DeliverabilityTestSubject"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:"DeliverabilityTestSubject"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The subject line for an email that you submitted in a predictive inbox placement test."]moduleReportId=structtypenonrect=string[@@ocaml.doc"A unique string that identifies a Deliverability dashboard report."]letcontext_="ReportId"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:"ReportId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A unique string that identifies a Deliverability dashboard report."]moduleReportName=structtypenonrect=string[@@ocaml.doc"A name that helps you identify a report generated by the Deliverability dashboard."]letcontext_="ReportName"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:"ReportName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A name that helps you identify a report generated by the Deliverability dashboard."]moduleFailureRedirectionURL=structtypenonrect=string[@@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]letcontext_="FailureRedirectionURL"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:"FailureRedirectionURL"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]moduleSuccessRedirectionURL=structtypenonrect=string[@@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."]letcontext_="SuccessRedirectionURL"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:"SuccessRedirectionURL"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."]moduleTopicPreferenceList=structtypenonrect=TopicPreference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TopicPreference.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:TopicPreference.of_xml)letof_jsonj=list_of_json~kind:"TopicPreferenceList"~of_json:TopicPreference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUnsubscribeAll=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_valueendmoduleUseDefaultIfPreferenceUnavailable=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_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character."];value:TagValue.t[@ocaml.doc"The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this\194\160parameter. If you don't specify a value, Amazon SES sets the value to an empty string."]}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"An object that defines the tags that are associated with a resource. A\194\160tag\194\160is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags. Each tag consists of a required\194\160tag key\194\160and an associated\194\160tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags: Tag keys and values are case sensitive. For each associated resource, each tag key must be unique and it can have only one value. The\194\160aws:\194\160prefix is reserved for use by Amazon Web Services; you can\226\128\153t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix. Tags that use this prefix don\226\128\153t count against the limit of 50 tags per resource. You can associate tags with public or shared resources, but the tags are available only for your Amazon Web Services account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified Amazon Web Services Region for your Amazon Web Services account."]moduleFeedbackId=structtypenonrect=stringletcontext_="FeedbackId"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:"FeedbackId"jletto_json=simple_to_jsonto_valueendmoduleInsightsEvents=structtypenonrect=InsightsEvent.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:InsightsEvent.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:InsightsEvent.of_xml)letof_jsonj=list_of_json~kind:"InsightsEvents"~of_json:InsightsEvent.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMessageInsightsExportMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:10000)>>=(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 MessageInsightsExportMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleMessageInsightsFilters=structtypenonrect={fromEmailAddress:EmailAddressFilterList.toption[@ocaml.doc"The from address used to send the message."];destination:EmailAddressFilterList.toption[@ocaml.doc"The recipient's email address."];subject:EmailSubjectFilterList.toption[@ocaml.doc"The subject line of the message."];isp:IspFilterList.toption[@ocaml.doc"The recipient's ISP (e.g., Gmail, Yahoo, etc.)."];lastDeliveryEvent:LastDeliveryEventList.toption[@ocaml.doc"The last delivery-related event for the email, where the ordering is as follows: SEND < BOUNCE < DELIVERY < COMPLAINT."];lastEngagementEvent:LastEngagementEventList.toption[@ocaml.doc"The last engagement-related event for the email, where the ordering is as follows: OPEN < CLICK. Engagement events are only available if Engagement tracking is enabled."]}letmake?fromEmailAddress=fun?destination->fun?subject->fun?isp->fun?lastDeliveryEvent->fun?lastEngagementEvent->fun()->{fromEmailAddress;destination;subject;isp;lastDeliveryEvent;lastEngagementEvent}letto_valuex=structure_to_value[("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddressFilterList.to_value));("Destination",(Option.mapx.destination~f:EmailAddressFilterList.to_value));("Subject",(Option.mapx.subject~f:EmailSubjectFilterList.to_value));("Isp",(Option.mapx.isp~f:IspFilterList.to_value));("LastDeliveryEvent",(Option.mapx.lastDeliveryEvent~f:LastDeliveryEventList.to_value));("LastEngagementEvent",(Option.mapx.lastEngagementEvent~f:LastEngagementEventList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastEngagementEvent=(Option.map~f:LastEngagementEventList.of_xml)(Xml.childxml_arg0"LastEngagementEvent")inletlastDeliveryEvent=(Option.map~f:LastDeliveryEventList.of_xml)(Xml.childxml_arg0"LastDeliveryEvent")inletisp=(Option.map~f:IspFilterList.of_xml)(Xml.childxml_arg0"Isp")inletsubject=(Option.map~f:EmailSubjectFilterList.of_xml)(Xml.childxml_arg0"Subject")inletdestination=(Option.map~f:EmailAddressFilterList.of_xml)(Xml.childxml_arg0"Destination")inletfromEmailAddress=(Option.map~f:EmailAddressFilterList.of_xml)(Xml.childxml_arg0"FromEmailAddress")inmake?lastEngagementEvent?lastDeliveryEvent?isp?subject?destination?fromEmailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastEngagementEvent=field_mapjson__"LastEngagementEvent"LastEngagementEventList.of_jsoninletlastDeliveryEvent=field_mapjson__"LastDeliveryEvent"LastDeliveryEventList.of_jsoninletisp=field_mapjson__"Isp"IspFilterList.of_jsoninletsubject=field_mapjson__"Subject"EmailSubjectFilterList.of_jsoninletdestination=field_mapjson__"Destination"EmailAddressFilterList.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddressFilterList.of_jsoninmake?lastEngagementEvent?lastDeliveryEvent?isp?subject?destination?fromEmailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing Message Insights filters. If you specify multiple filters, the filters are joined by AND. If you specify multiple values for a filter, the values are joined by OR. Filter values are case-sensitive. FromEmailAddress, Destination, and Subject filters support partial match. A partial match is performed by using the * wildcard character placed at the beginning (suffix match), the end (prefix match) or both ends of the string (contains match). In order to match the literal characters * or \\, they must be escaped using the \\ character. If no wildcard character is present, an exact match is performed."]moduleExportDimensions=structtypenonrect=(MetricDimensionName.t*ExportDimensionValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:3)>>=(fun()->check_list_mini~min:1));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types MetricDimensionName ExportDimensionValue"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(MetricDimensionName.to_valuex)|>(funx->(ExportDimensionValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:MetricDimensionName.of_string~of_json:ExportDimensionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleExportMetrics=structtypenonrect=ExportMetric.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:ExportMetric.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:ExportMetric.of_xml)letof_jsonj=list_of_json~kind:"ExportMetrics"~of_json:ExportMetric.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMetricNamespace=structtypenonrect=|VDM|Non_static_idofstringletmakei=iletto_string=function|VDM->"VDM"|Non_static_ids->sletof_string=function|"VDM"->VDM|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 MetricNamespace"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MetricNamespace"j)letto_json=simple_to_jsonto_valueendmoduleDnsToken=structtypenonrect=stringletcontext_="DnsToken"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:"DnsToken"jletto_json=simple_to_jsonto_valueendmoduleAdminEmail=structtypenonrect=stringletcontext_="AdminEmail"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:"AdminEmail"jletto_json=simple_to_jsonto_valueendmodulePrimaryNameServer=structtypenonrect=stringletcontext_="PrimaryNameServer"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:"PrimaryNameServer"jletto_json=simple_to_jsonto_valueendmoduleSerialNumber=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleEmailAddressInsightsVerdict=structtypenonrect={confidenceVerdict:EmailAddressInsightsConfidenceVerdict.toption[@ocaml.doc"The confidence level of the validation verdict."]}letmake?confidenceVerdict=fun()->{confidenceVerdict}letto_valuex=structure_to_value[("ConfidenceVerdict",(Option.mapx.confidenceVerdict~f:EmailAddressInsightsConfidenceVerdict.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfidenceVerdict=(Option.map~f:EmailAddressInsightsConfidenceVerdict.of_xml)(Xml.childxml_arg0"ConfidenceVerdict")inmake?confidenceVerdict()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfidenceVerdict=field_mapjson__"ConfidenceVerdict"EmailAddressInsightsConfidenceVerdict.of_jsoninmake?confidenceVerdict()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the overall validation verdict for an email address."]moduleDomainIspPlacements=structtypenonrect=DomainIspPlacement.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DomainIspPlacement.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:DomainIspPlacement.of_xml)letof_jsonj=list_of_json~kind:"DomainIspPlacements"~of_json:DomainIspPlacement.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVolumeStatistics=structtypenonrect={inboxRawCount:Volume.toption[@ocaml.doc"The total number of emails that arrived in recipients' inboxes."];spamRawCount:Volume.toption[@ocaml.doc"The total number of emails that arrived in recipients' spam or junk mail folders."];projectedInbox:Volume.toption[@ocaml.doc"An estimate of the percentage of emails sent from the current domain that will arrive in recipients' inboxes."];projectedSpam:Volume.toption[@ocaml.doc"An estimate of the percentage of emails sent from the current domain that will arrive in recipients' spam or junk mail folders."]}letmake?inboxRawCount=fun?spamRawCount->fun?projectedInbox->fun?projectedSpam->fun()->{inboxRawCount;spamRawCount;projectedInbox;projectedSpam}letto_valuex=structure_to_value[("InboxRawCount",(Option.mapx.inboxRawCount~f:Volume.to_value));("SpamRawCount",(Option.mapx.spamRawCount~f:Volume.to_value));("ProjectedInbox",(Option.mapx.projectedInbox~f:Volume.to_value));("ProjectedSpam",(Option.mapx.projectedSpam~f:Volume.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprojectedSpam=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"ProjectedSpam")inletprojectedInbox=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"ProjectedInbox")inletspamRawCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"SpamRawCount")inletinboxRawCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"InboxRawCount")inmake?projectedSpam?projectedInbox?spamRawCount?inboxRawCount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprojectedSpam=field_mapjson__"ProjectedSpam"Volume.of_jsoninletprojectedInbox=field_mapjson__"ProjectedInbox"Volume.of_jsoninletspamRawCount=field_mapjson__"SpamRawCount"Volume.of_jsoninletinboxRawCount=field_mapjson__"InboxRawCount"Volume.of_jsoninmake?projectedSpam?projectedInbox?spamRawCount?inboxRawCount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the amount of email that was delivered to recipients."]modulePlacementStatistics=structtypenonrect={inboxPercentage:Percentage.toption[@ocaml.doc"The percentage of emails that arrived in recipients' inboxes during the predictive inbox placement test."];spamPercentage:Percentage.toption[@ocaml.doc"The percentage of emails that arrived in recipients' spam or junk mail folders during the predictive inbox placement test."];missingPercentage:Percentage.toption[@ocaml.doc"The percentage of emails that didn't arrive in recipients' inboxes at all during the predictive inbox placement test."];spfPercentage:Percentage.toption[@ocaml.doc"The percentage of emails that were authenticated by using Sender Policy Framework (SPF) during the predictive inbox placement test."];dkimPercentage:Percentage.toption[@ocaml.doc"The percentage of emails that were authenticated by using DomainKeys Identified Mail (DKIM) during the predictive inbox placement test."]}letmake?inboxPercentage=fun?spamPercentage->fun?missingPercentage->fun?spfPercentage->fun?dkimPercentage->fun()->{inboxPercentage;spamPercentage;missingPercentage;spfPercentage;dkimPercentage}letto_valuex=structure_to_value[("InboxPercentage",(Option.mapx.inboxPercentage~f:Percentage.to_value));("SpamPercentage",(Option.mapx.spamPercentage~f:Percentage.to_value));("MissingPercentage",(Option.mapx.missingPercentage~f:Percentage.to_value));("SpfPercentage",(Option.mapx.spfPercentage~f:Percentage.to_value));("DkimPercentage",(Option.mapx.dkimPercentage~f:Percentage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdkimPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"DkimPercentage")inletspfPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"SpfPercentage")inletmissingPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"MissingPercentage")inletspamPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"SpamPercentage")inletinboxPercentage=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"InboxPercentage")inmake?dkimPercentage?spfPercentage?missingPercentage?spamPercentage?inboxPercentage()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdkimPercentage=field_mapjson__"DkimPercentage"Percentage.of_jsoninletspfPercentage=field_mapjson__"SpfPercentage"Percentage.of_jsoninletmissingPercentage=field_mapjson__"MissingPercentage"Percentage.of_jsoninletspamPercentage=field_mapjson__"SpamPercentage"Percentage.of_jsoninletinboxPercentage=field_mapjson__"InboxPercentage"Percentage.of_jsoninmake?dkimPercentage?spfPercentage?missingPercentage?spamPercentage?inboxPercentage()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains inbox placement data for an email provider."]modulePercentage100Wrapper=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 Percentage100Wrapper"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePoolName=structtypenonrect=string[@@ocaml.doc"The name of a dedicated IP pool."]letcontext_="PoolName"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:"PoolName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of a dedicated IP pool."]moduleWarmupStatus=structtypenonrect=|IN_PROGRESS|DONE|NOT_APPLICABLE|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|DONE->"DONE"|NOT_APPLICABLE->"NOT_APPLICABLE"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"DONE"->DONE|"NOT_APPLICABLE"->NOT_APPLICABLE|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 WarmupStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"WarmupStatus"j)letto_json=simple_to_jsonto_valueendmoduleSuppressionConditionThreshold=structtypenonrect={conditionThresholdEnabled:FeatureStatus.t[@ocaml.doc"Indicates whether Auto Validation is enabled for suppression. Set to ENABLED to enable the Auto Validation feature, or set to DISABLED to disable it."];overallConfidenceThreshold:SuppressionConfidenceThreshold.toption[@ocaml.doc"The overall confidence threshold used to determine suppression decisions."]}letcontext_="SuppressionConditionThreshold"letmake?overallConfidenceThreshold=fun~conditionThresholdEnabled->fun()->{overallConfidenceThreshold;conditionThresholdEnabled}letto_valuex=structure_to_value[("ConditionThresholdEnabled",(Some(FeatureStatus.to_valuex.conditionThresholdEnabled)));("OverallConfidenceThreshold",(Option.mapx.overallConfidenceThreshold~f:SuppressionConfidenceThreshold.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoverallConfidenceThreshold=(Option.map~f:SuppressionConfidenceThreshold.of_xml)(Xml.childxml_arg0"OverallConfidenceThreshold")inletconditionThresholdEnabled=FeatureStatus.of_xml(Xml.child_exn~context:context_xml_arg0"ConditionThresholdEnabled")inmake?overallConfidenceThreshold~conditionThresholdEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoverallConfidenceThreshold=field_mapjson__"OverallConfidenceThreshold"SuppressionConfidenceThreshold.of_jsoninletconditionThresholdEnabled=field_map_exnjson__"ConditionThresholdEnabled"FeatureStatus.of_jsoninmake?overallConfidenceThreshold~conditionThresholdEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains Auto Validation settings, allowing you to suppress sending to specific destination(s) if they do not meet required threshold. For details on Auto Validation, see Auto Validation."]moduleCloudWatchDestination=structtypenonrect={dimensionConfigurations:CloudWatchDimensionConfigurations.t[@ocaml.doc"An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch."]}letcontext_="CloudWatchDestination"letmake~dimensionConfigurations=fun()->{dimensionConfigurations}letto_valuex=structure_to_value[("DimensionConfigurations",(Some(CloudWatchDimensionConfigurations.to_valuex.dimensionConfigurations)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdimensionConfigurations=CloudWatchDimensionConfigurations.of_xml(Xml.child_exn~context:context_xml_arg0"DimensionConfigurations")inmake~dimensionConfigurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdimensionConfigurations=field_map_exnjson__"DimensionConfigurations"CloudWatchDimensionConfigurations.of_jsoninmake~dimensionConfigurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics."]moduleEventBridgeDestination=structtypenonrect={eventBusArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported."]}letcontext_="EventBridgeDestination"letmake~eventBusArn=fun()->{eventBusArn}letto_valuex=structure_to_value[("EventBusArn",(Some(AmazonResourceName.to_valuex.eventBusArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventBusArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"EventBusArn")inmake~eventBusArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventBusArn=field_map_exnjson__"EventBusArn"AmazonResourceName.of_jsoninmake~eventBusArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur."]moduleEventDestinationName=structtypenonrect=string[@@ocaml.doc"The name of an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage."]letcontext_="EventDestinationName"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:"EventDestinationName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage."]moduleEventTypes=structtypenonrect=EventType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EventType.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:EventType.of_xml)letof_jsonj=list_of_json~kind:"EventTypes"~of_json:EventType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleKinesisFirehoseDestination=structtypenonrect={iamRoleArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream."];deliveryStreamArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to."]}letcontext_="KinesisFirehoseDestination"letmake~iamRoleArn=fun~deliveryStreamArn->fun()->{iamRoleArn;deliveryStreamArn}letto_valuex=structure_to_value[("IamRoleArn",(Some(AmazonResourceName.to_valuex.iamRoleArn)));("DeliveryStreamArn",(Some(AmazonResourceName.to_valuex.deliveryStreamArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeliveryStreamArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"DeliveryStreamArn")inletiamRoleArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"IamRoleArn")inmake~deliveryStreamArn~iamRoleArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeliveryStreamArn=field_map_exnjson__"DeliveryStreamArn"AmazonResourceName.of_jsoninletiamRoleArn=field_map_exnjson__"IamRoleArn"AmazonResourceName.of_jsoninmake~deliveryStreamArn~iamRoleArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift."]modulePinpointDestination=structtypenonrect={applicationArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon Pinpoint project to send email events to."]}letmake?applicationArn=fun()->{applicationArn}letto_valuex=structure_to_value[("ApplicationArn",(Option.mapx.applicationArn~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ApplicationArn")inmake?applicationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationArn=field_mapjson__"ApplicationArn"AmazonResourceName.of_jsoninmake?applicationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide."]moduleSnsDestination=structtypenonrect={topicArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide."]}letcontext_="SnsDestination"letmake~topicArn=fun()->{topicArn}letto_valuex=structure_to_value[("TopicArn",(Some(AmazonResourceName.to_valuex.topicArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"TopicArn")inmake~topicArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicArn=field_map_exnjson__"TopicArn"AmazonResourceName.of_jsoninmake~topicArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur."]moduleBlacklistEntry=structtypenonrect={rblName:RblName.toption[@ocaml.doc"The name of the blacklist that the IP address appears on."];listingTime:Timestamp.toption[@ocaml.doc"The time when the blacklisting event occurred."];description:BlacklistingDescription.toption[@ocaml.doc"Additional information about the blacklisting event, as provided by the blacklist maintainer."]}letmake?rblName=fun?listingTime->fun?description->fun()->{rblName;listingTime;description}letto_valuex=structure_to_value[("RblName",(Option.mapx.rblName~f:RblName.to_value));("ListingTime",(Option.mapx.listingTime~f:Timestamp.to_value));("Description",(Option.mapx.description~f:BlacklistingDescription.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:BlacklistingDescription.of_xml)(Xml.childxml_arg0"Description")inletlistingTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"ListingTime")inletrblName=(Option.map~f:RblName.of_xml)(Xml.childxml_arg0"RblName")inmake?description?listingTime?rblName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"BlacklistingDescription.of_jsoninletlistingTime=field_mapjson__"ListingTime"Timestamp.of_jsoninletrblName=field_mapjson__"RblName"RblName.of_jsoninmake?description?listingTime?rblName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about a blacklisting event that impacts one of the dedicated IP addresses that is associated with your account."]moduleAdditionalContactEmailAddress=structtypenonrect=stringletcontext_="AdditionalContactEmailAddress"letmakei=letopenResultinok_or_failwith((check_string_mini~min:6)>>=(fun()->(check_string_maxi~max:254)>>=(fun()->check_patterni~pattern:"^(.+)@(.+)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AdditionalContactEmailAddress"jletto_json=simple_to_jsonto_valueendmoduleCaseId=structtypenonrect=stringletcontext_="CaseId"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:"CaseId"jletto_json=simple_to_jsonto_valueendmoduleReviewStatus=structtypenonrect=|PENDING|FAILED|GRANTED|DENIED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|FAILED->"FAILED"|GRANTED->"GRANTED"|DENIED->"DENIED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"FAILED"->FAILED|"GRANTED"->GRANTED|"DENIED"->DENIED|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 ReviewStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReviewStatus"j)letto_json=simple_to_jsonto_valueendmoduleRouteDetails=structtypenonrect={region:Region.t[@ocaml.doc"The name of an AWS-Region to be a secondary region for the multi-region endpoint (global-endpoint)."]}letcontext_="RouteDetails"letmake~region=fun()->{region}letto_valuex=structure_to_value[("Region",(Some(Region.to_valuex.region)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregion=Region.of_xml(Xml.child_exn~context:context_xml_arg0"Region")inmake~region()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregion=field_map_exnjson__"Region"Region.of_jsoninmake~region()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains route configuration. Includes secondary region name."]moduleQueryErrorCode=structtypenonrect=|INTERNAL_FAILURE|ACCESS_DENIED|Non_static_idofstringletmakei=iletto_string=function|INTERNAL_FAILURE->"INTERNAL_FAILURE"|ACCESS_DENIED->"ACCESS_DENIED"|Non_static_ids->sletof_string=function|"INTERNAL_FAILURE"->INTERNAL_FAILURE|"ACCESS_DENIED"->ACCESS_DENIED|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 QueryErrorCode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"QueryErrorCode"j)letto_json=simple_to_jsonto_valueendmoduleQueryErrorMessage=structtypenonrect=stringletcontext_="QueryErrorMessage"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:"QueryErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleQueryIdentifier=structtypenonrect=stringletcontext_="QueryIdentifier"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"QueryIdentifier"jletto_json=simple_to_jsonto_valueendmoduleMetricValueList=structtypenonrect=Counter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Counter.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:Counter.of_xml)letof_jsonj=list_of_json~kind:"MetricValueList"~of_json:Counter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTimestampList=structtypenonrect=Timestamp.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Timestamp.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:Timestamp.of_xml)letof_jsonj=list_of_json~kind:"TimestampList"~of_json:Timestamp.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDimensions=structtypenonrect=(MetricDimensionName.t*MetricDimensionValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:3)>>=(fun()->check_list_mini~min:1));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((MetricDimensionName.of_stringchopped),(MetricDimensionValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(MetricDimensionName.to_valuex)|>(funx->(MetricDimensionValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:MetricDimensionName.of_string~of_json:MetricDimensionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTopic=structtypenonrect={topicName:TopicName.t[@ocaml.doc"The name of the topic."];displayName:DisplayName.t[@ocaml.doc"The name of the topic the contact will see."];description:Description.toption[@ocaml.doc"A description of what the topic is about, which the contact will see."];defaultSubscriptionStatus:SubscriptionStatus.t[@ocaml.doc"The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic."]}letcontext_="Topic"letmake?description=fun~topicName->fun~displayName->fun~defaultSubscriptionStatus->fun()->{description;topicName;displayName;defaultSubscriptionStatus}letto_valuex=structure_to_value[("TopicName",(Some(TopicName.to_valuex.topicName)));("DisplayName",(Some(DisplayName.to_valuex.displayName)));("Description",(Option.mapx.description~f:Description.to_value));("DefaultSubscriptionStatus",(Some(SubscriptionStatus.to_valuex.defaultSubscriptionStatus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefaultSubscriptionStatus=SubscriptionStatus.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultSubscriptionStatus")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletdisplayName=DisplayName.of_xml(Xml.child_exn~context:context_xml_arg0"DisplayName")inlettopicName=TopicName.of_xml(Xml.child_exn~context:context_xml_arg0"TopicName")inmake~defaultSubscriptionStatus?description~displayName~topicName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefaultSubscriptionStatus=field_map_exnjson__"DefaultSubscriptionStatus"SubscriptionStatus.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletdisplayName=field_map_exnjson__"DisplayName"DisplayName.of_jsoninlettopicName=field_map_exnjson__"TopicName"TopicName.of_jsoninmake~defaultSubscriptionStatus?description~displayName~topicName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An interest group, theme, or label within a list. Lists can have multiple topics."]moduleMessage=structtypenonrect={subject:Content.t[@ocaml.doc"The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047."];body:Body.t[@ocaml.doc"The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both."];headers:MessageHeaderList.toption[@ocaml.doc"The list of message headers that will be added to the email message."];attachments:AttachmentList.toption[@ocaml.doc"The List of attachments to include in your email. All recipients will receive the same attachments."]}letcontext_="Message"letmake?headers=fun?attachments->fun~subject->fun~body->fun()->{headers;attachments;subject;body}letto_valuex=structure_to_value[("Subject",(Some(Content.to_valuex.subject)));("Body",(Some(Body.to_valuex.body)));("Headers",(Option.mapx.headers~f:MessageHeaderList.to_value));("Attachments",(Option.mapx.attachments~f:AttachmentList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachments=(Option.map~f:AttachmentList.of_xml)(Xml.childxml_arg0"Attachments")inletheaders=(Option.map~f:MessageHeaderList.of_xml)(Xml.childxml_arg0"Headers")inletbody=Body.of_xml(Xml.child_exn~context:context_xml_arg0"Body")inletsubject=Content.of_xml(Xml.child_exn~context:context_xml_arg0"Subject")inmake?attachments?headers~body~subject()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachments=field_mapjson__"Attachments"AttachmentList.of_jsoninletheaders=field_mapjson__"Headers"MessageHeaderList.of_jsoninletbody=field_map_exnjson__"Body"Body.of_jsoninletsubject=field_map_exnjson__"Subject"Content.of_jsoninmake?attachments?headers~body~subject()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the email message that you're sending. The Message object consists of a subject line and a message body."]moduleRawMessage=structtypenonrect={data:RawMessageData.t[@ocaml.doc"The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. Attachments must be in a file format that the Amazon SES supports. The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321."]}letcontext_="RawMessage"letmake~data=fun()->{data}letof_header_and_body=((fun(xs,pipe)->make~data:pipe())[@warning"-27"])letto_valuex=structure_to_value[("Data",(Some(RawMessageData.to_valuex.data)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdata=RawMessageData.of_xml(Xml.child_exn~context:context_xml_arg0"Data")inmake~data()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdata=field_map_exnjson__"Data"RawMessageData.of_jsoninmake~data()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the raw content of an email message."]moduleTemplate=structtypenonrect={templateName:EmailTemplateName.toption[@ocaml.doc"The name of the template. You will refer to this name when you send email using the SendEmail or SendBulkEmail operations."];templateArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the template."];templateContent:EmailTemplateContent.toption[@ocaml.doc"The content of the template. Amazon SES supports only simple substitions when you send email using the SendEmail or SendBulkEmail operations and you provide the full template content in the request."];templateData:EmailTemplateData.toption[@ocaml.doc"An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable."];headers:MessageHeaderList.toption[@ocaml.doc"The list of message headers that will be added to the email message."];attachments:AttachmentList.toption[@ocaml.doc"The List of attachments to include in your email. All recipients will receive the same attachments."]}letmake?templateName=fun?templateArn->fun?templateContent->fun?templateData->fun?headers->fun?attachments->fun()->{templateName;templateArn;templateContent;templateData;headers;attachments}letto_valuex=structure_to_value[("TemplateName",(Option.mapx.templateName~f:EmailTemplateName.to_value));("TemplateArn",(Option.mapx.templateArn~f:AmazonResourceName.to_value));("TemplateContent",(Option.mapx.templateContent~f:EmailTemplateContent.to_value));("TemplateData",(Option.mapx.templateData~f:EmailTemplateData.to_value));("Headers",(Option.mapx.headers~f:MessageHeaderList.to_value));("Attachments",(Option.mapx.attachments~f:AttachmentList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachments=(Option.map~f:AttachmentList.of_xml)(Xml.childxml_arg0"Attachments")inletheaders=(Option.map~f:MessageHeaderList.of_xml)(Xml.childxml_arg0"Headers")inlettemplateData=(Option.map~f:EmailTemplateData.of_xml)(Xml.childxml_arg0"TemplateData")inlettemplateContent=(Option.map~f:EmailTemplateContent.of_xml)(Xml.childxml_arg0"TemplateContent")inlettemplateArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"TemplateArn")inlettemplateName=(Option.map~f:EmailTemplateName.of_xml)(Xml.childxml_arg0"TemplateName")inmake?attachments?headers?templateData?templateContent?templateArn?templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachments=field_mapjson__"Attachments"AttachmentList.of_jsoninletheaders=field_mapjson__"Headers"MessageHeaderList.of_jsoninlettemplateData=field_mapjson__"TemplateData"EmailTemplateData.of_jsoninlettemplateContent=field_mapjson__"TemplateContent"EmailTemplateContent.of_jsoninlettemplateArn=field_mapjson__"TemplateArn"AmazonResourceName.of_jsoninlettemplateName=field_mapjson__"TemplateName"EmailTemplateName.of_jsoninmake?attachments?headers?templateData?templateContent?templateArn?templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to reuse in email messages that you send. You can specifiy the email template by providing the name or ARN of an email template previously saved in your Amazon SES account or by providing the full template content."]moduleBulkEmailEntryResult=structtypenonrect={status:BulkEmailStatus.toption[@ocaml.doc"The status of a message sent using the SendBulkTemplatedEmail operation. Possible values for this parameter include: SUCCESS: Amazon SES accepted the message, and will attempt to deliver it to the recipients. MESSAGE_REJECTED: The message was rejected because it contained a virus. MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not verified. CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified does not exist. TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist. ACCOUNT_SUSPENDED: Your account has been shut down because of issues related to your email sending practices. ACCOUNT_THROTTLED: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit. ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period. INVALID_SENDING_POOL_NAME: The configuration set you specified refers to an IP pool that does not exist. ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation. CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation. INVALID_PARAMETER_VALUE: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information. TRANSIENT_FAILURE: Amazon SES was unable to process your request because of a temporary issue. FAILED: Amazon SES was unable to process your request. See the error message for additional information."];error:ErrorMessage.toption[@ocaml.doc"A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation."];messageId:OutboundMessageId.toption[@ocaml.doc"The unique message identifier returned from the SendBulkTemplatedEmail operation."]}letmake?status=fun?error->fun?messageId->fun()->{status;error;messageId}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:BulkEmailStatus.to_value));("Error",(Option.mapx.error~f:ErrorMessage.to_value));("MessageId",(Option.mapx.messageId~f:OutboundMessageId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessageId=(Option.map~f:OutboundMessageId.of_xml)(Xml.childxml_arg0"MessageId")inleterror=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Error")inletstatus=(Option.map~f:BulkEmailStatus.of_xml)(Xml.childxml_arg0"Status")inmake?messageId?error?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessageId=field_mapjson__"MessageId"OutboundMessageId.of_jsoninleterror=field_mapjson__"Error"ErrorMessage.of_jsoninletstatus=field_mapjson__"Status"BulkEmailStatus.of_jsoninmake?messageId?error?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The result of the SendBulkEmail operation of each specified BulkEmailEntry."]moduleBulkEmailEntry=structtypenonrect={destination:Destination.t[@ocaml.doc"Represents the destination of the message, consisting of To:, CC:, and BCC: fields. Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the \\@ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the \\@ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492."];replacementTags:MessageTagList.toption[@ocaml.doc"A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events."];replacementEmailContent:ReplacementEmailContent.toption[@ocaml.doc"The ReplacementEmailContent associated with a BulkEmailEntry."];replacementHeaders:MessageHeaderList.toption[@ocaml.doc"The list of message headers associated with the BulkEmailEntry data type. Headers Not Present in BulkEmailEntry: If a header is specified in Template but not in BulkEmailEntry, the header from Template will be added to the outgoing email. Headers Present in BulkEmailEntry: If a header is specified in BulkEmailEntry, it takes precedence over any header of the same name specified in Template : If the header is also defined within Template, the value from BulkEmailEntry will replace the header's value in the email. If the header is not defined within Template, it will simply be added to the email as specified in BulkEmailEntry."]}letcontext_="BulkEmailEntry"letmake?replacementTags=fun?replacementEmailContent->fun?replacementHeaders->fun~destination->fun()->{replacementTags;replacementEmailContent;replacementHeaders;destination}letto_valuex=structure_to_value[("Destination",(Some(Destination.to_valuex.destination)));("ReplacementTags",(Option.mapx.replacementTags~f:MessageTagList.to_value));("ReplacementEmailContent",(Option.mapx.replacementEmailContent~f:ReplacementEmailContent.to_value));("ReplacementHeaders",(Option.mapx.replacementHeaders~f:MessageHeaderList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreplacementHeaders=(Option.map~f:MessageHeaderList.of_xml)(Xml.childxml_arg0"ReplacementHeaders")inletreplacementEmailContent=(Option.map~f:ReplacementEmailContent.of_xml)(Xml.childxml_arg0"ReplacementEmailContent")inletreplacementTags=(Option.map~f:MessageTagList.of_xml)(Xml.childxml_arg0"ReplacementTags")inletdestination=Destination.of_xml(Xml.child_exn~context:context_xml_arg0"Destination")inmake?replacementHeaders?replacementEmailContent?replacementTags~destination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreplacementHeaders=field_mapjson__"ReplacementHeaders"MessageHeaderList.of_jsoninletreplacementEmailContent=field_mapjson__"ReplacementEmailContent"ReplacementEmailContent.of_jsoninletreplacementTags=field_mapjson__"ReplacementTags"MessageTagList.of_jsoninletdestination=field_map_exnjson__"Destination"Destination.of_jsoninmake?replacementHeaders?replacementEmailContent?replacementTags~destination()letto_jsonv=composed_to_jsonto_valuevendmoduleDkimSigningAttributesOrigin=structtypenonrect=|AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2|AWS_SES_ME_CENTRAL_1|AWS_SES_AP_SOUTH_2|AWS_SES_EU_CENTRAL_2|AWS_SES_AP_SOUTHEAST_5|AWS_SES_CA_WEST_1|Non_static_idofstringletmakei=iletto_string=function|AWS_SES->"AWS_SES"|EXTERNAL->"EXTERNAL"|AWS_SES_AF_SOUTH_1->"AWS_SES_AF_SOUTH_1"|AWS_SES_EU_NORTH_1->"AWS_SES_EU_NORTH_1"|AWS_SES_AP_SOUTH_1->"AWS_SES_AP_SOUTH_1"|AWS_SES_EU_WEST_3->"AWS_SES_EU_WEST_3"|AWS_SES_EU_WEST_2->"AWS_SES_EU_WEST_2"|AWS_SES_EU_SOUTH_1->"AWS_SES_EU_SOUTH_1"|AWS_SES_EU_WEST_1->"AWS_SES_EU_WEST_1"|AWS_SES_AP_NORTHEAST_3->"AWS_SES_AP_NORTHEAST_3"|AWS_SES_AP_NORTHEAST_2->"AWS_SES_AP_NORTHEAST_2"|AWS_SES_ME_SOUTH_1->"AWS_SES_ME_SOUTH_1"|AWS_SES_AP_NORTHEAST_1->"AWS_SES_AP_NORTHEAST_1"|AWS_SES_IL_CENTRAL_1->"AWS_SES_IL_CENTRAL_1"|AWS_SES_SA_EAST_1->"AWS_SES_SA_EAST_1"|AWS_SES_CA_CENTRAL_1->"AWS_SES_CA_CENTRAL_1"|AWS_SES_AP_SOUTHEAST_1->"AWS_SES_AP_SOUTHEAST_1"|AWS_SES_AP_SOUTHEAST_2->"AWS_SES_AP_SOUTHEAST_2"|AWS_SES_AP_SOUTHEAST_3->"AWS_SES_AP_SOUTHEAST_3"|AWS_SES_EU_CENTRAL_1->"AWS_SES_EU_CENTRAL_1"|AWS_SES_US_EAST_1->"AWS_SES_US_EAST_1"|AWS_SES_US_EAST_2->"AWS_SES_US_EAST_2"|AWS_SES_US_WEST_1->"AWS_SES_US_WEST_1"|AWS_SES_US_WEST_2->"AWS_SES_US_WEST_2"|AWS_SES_ME_CENTRAL_1->"AWS_SES_ME_CENTRAL_1"|AWS_SES_AP_SOUTH_2->"AWS_SES_AP_SOUTH_2"|AWS_SES_EU_CENTRAL_2->"AWS_SES_EU_CENTRAL_2"|AWS_SES_AP_SOUTHEAST_5->"AWS_SES_AP_SOUTHEAST_5"|AWS_SES_CA_WEST_1->"AWS_SES_CA_WEST_1"|Non_static_ids->sletof_string=function|"AWS_SES"->AWS_SES|"EXTERNAL"->EXTERNAL|"AWS_SES_AF_SOUTH_1"->AWS_SES_AF_SOUTH_1|"AWS_SES_EU_NORTH_1"->AWS_SES_EU_NORTH_1|"AWS_SES_AP_SOUTH_1"->AWS_SES_AP_SOUTH_1|"AWS_SES_EU_WEST_3"->AWS_SES_EU_WEST_3|"AWS_SES_EU_WEST_2"->AWS_SES_EU_WEST_2|"AWS_SES_EU_SOUTH_1"->AWS_SES_EU_SOUTH_1|"AWS_SES_EU_WEST_1"->AWS_SES_EU_WEST_1|"AWS_SES_AP_NORTHEAST_3"->AWS_SES_AP_NORTHEAST_3|"AWS_SES_AP_NORTHEAST_2"->AWS_SES_AP_NORTHEAST_2|"AWS_SES_ME_SOUTH_1"->AWS_SES_ME_SOUTH_1|"AWS_SES_AP_NORTHEAST_1"->AWS_SES_AP_NORTHEAST_1|"AWS_SES_IL_CENTRAL_1"->AWS_SES_IL_CENTRAL_1|"AWS_SES_SA_EAST_1"->AWS_SES_SA_EAST_1|"AWS_SES_CA_CENTRAL_1"->AWS_SES_CA_CENTRAL_1|"AWS_SES_AP_SOUTHEAST_1"->AWS_SES_AP_SOUTHEAST_1|"AWS_SES_AP_SOUTHEAST_2"->AWS_SES_AP_SOUTHEAST_2|"AWS_SES_AP_SOUTHEAST_3"->AWS_SES_AP_SOUTHEAST_3|"AWS_SES_EU_CENTRAL_1"->AWS_SES_EU_CENTRAL_1|"AWS_SES_US_EAST_1"->AWS_SES_US_EAST_1|"AWS_SES_US_EAST_2"->AWS_SES_US_EAST_2|"AWS_SES_US_WEST_1"->AWS_SES_US_WEST_1|"AWS_SES_US_WEST_2"->AWS_SES_US_WEST_2|"AWS_SES_ME_CENTRAL_1"->AWS_SES_ME_CENTRAL_1|"AWS_SES_AP_SOUTH_2"->AWS_SES_AP_SOUTH_2|"AWS_SES_EU_CENTRAL_2"->AWS_SES_EU_CENTRAL_2|"AWS_SES_AP_SOUTHEAST_5"->AWS_SES_AP_SOUTHEAST_5|"AWS_SES_CA_WEST_1"->AWS_SES_CA_WEST_1|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 DkimSigningAttributesOrigin"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DkimSigningAttributesOrigin"j)letto_json=simple_to_jsonto_valueendmoduleDkimSigningKeyLength=structtypenonrect=|RSA_1024_BIT|RSA_2048_BIT|Non_static_idofstringletmakei=iletto_string=function|RSA_1024_BIT->"RSA_1024_BIT"|RSA_2048_BIT->"RSA_2048_BIT"|Non_static_ids->sletof_string=function|"RSA_1024_BIT"->RSA_1024_BIT|"RSA_2048_BIT"->RSA_2048_BIT|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 DkimSigningKeyLength"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DkimSigningKeyLength"j)letto_json=simple_to_jsonto_valueendmodulePrivateKey=structtypenonrect=stringletcontext_="PrivateKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:20480)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9+\\/]+={0,2}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PrivateKey"jletto_json=simple_to_jsonto_valueendmoduleSelector=structtypenonrect=stringletcontext_="Selector"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9]))$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Selector"jletto_json=simple_to_jsonto_valueendmoduleDomainDeliverabilityTrackingOption=structtypenonrect={domain:Domain.toption[@ocaml.doc"A verified domain that\226\128\153s associated with your Amazon Web Services account and currently has an active Deliverability dashboard subscription."];subscriptionStartDate:Timestamp.toption[@ocaml.doc"The date when you enabled the Deliverability dashboard for the domain."];inboxPlacementTrackingOption:InboxPlacementTrackingOption.toption[@ocaml.doc"An object that contains information about the inbox placement data settings for the domain."]}letmake?domain=fun?subscriptionStartDate->fun?inboxPlacementTrackingOption->fun()->{domain;subscriptionStartDate;inboxPlacementTrackingOption}letto_valuex=structure_to_value[("Domain",(Option.mapx.domain~f:Domain.to_value));("SubscriptionStartDate",(Option.mapx.subscriptionStartDate~f:Timestamp.to_value));("InboxPlacementTrackingOption",(Option.mapx.inboxPlacementTrackingOption~f:InboxPlacementTrackingOption.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinboxPlacementTrackingOption=(Option.map~f:InboxPlacementTrackingOption.of_xml)(Xml.childxml_arg0"InboxPlacementTrackingOption")inletsubscriptionStartDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubscriptionStartDate")inletdomain=(Option.map~f:Domain.of_xml)(Xml.childxml_arg0"Domain")inmake?inboxPlacementTrackingOption?subscriptionStartDate?domain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinboxPlacementTrackingOption=field_mapjson__"InboxPlacementTrackingOption"InboxPlacementTrackingOption.of_jsoninletsubscriptionStartDate=field_mapjson__"SubscriptionStartDate"Timestamp.of_jsoninletdomain=field_mapjson__"Domain"Domain.of_jsoninmake?inboxPlacementTrackingOption?subscriptionStartDate?domain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the Deliverability dashboard subscription for a verified domain that you use to send email and currently has an active Deliverability dashboard subscription. If a Deliverability dashboard subscription is active for a domain, you gain access to reputation, inbox placement, and other metrics for the domain."]moduleDashboardOptions=structtypenonrect={engagementMetrics:FeatureStatus.toption[@ocaml.doc"Specifies the status of your VDM engagement metrics collection. Can be one of the following: ENABLED \226\128\147 Amazon SES enables engagement metrics for the configuration set. DISABLED \226\128\147 Amazon SES disables engagement metrics for the configuration set."]}letmake?engagementMetrics=fun()->{engagementMetrics}letto_valuex=structure_to_value[("EngagementMetrics",(Option.mapx.engagementMetrics~f:FeatureStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letengagementMetrics=(Option.map~f:FeatureStatus.of_xml)(Xml.childxml_arg0"EngagementMetrics")inmake?engagementMetrics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letengagementMetrics=field_mapjson__"EngagementMetrics"FeatureStatus.of_jsoninmake?engagementMetrics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing additional settings for your VDM configuration as applicable to the Dashboard."]moduleGuardianOptions=structtypenonrect={optimizedSharedDelivery:FeatureStatus.toption[@ocaml.doc"Specifies the status of your VDM optimized shared delivery. Can be one of the following: ENABLED \226\128\147 Amazon SES enables optimized shared delivery for the configuration set. DISABLED \226\128\147 Amazon SES disables optimized shared delivery for the configuration set."]}letmake?optimizedSharedDelivery=fun()->{optimizedSharedDelivery}letto_valuex=structure_to_value[("OptimizedSharedDelivery",(Option.mapx.optimizedSharedDelivery~f:FeatureStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoptimizedSharedDelivery=(Option.map~f:FeatureStatus.of_xml)(Xml.childxml_arg0"OptimizedSharedDelivery")inmake?optimizedSharedDelivery()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoptimizedSharedDelivery=field_mapjson__"OptimizedSharedDelivery"FeatureStatus.of_jsoninmake?optimizedSharedDelivery()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing additional settings for your VDM configuration as applicable to the Guardian."]moduleDashboardAttributes=structtypenonrect={engagementMetrics:FeatureStatus.toption[@ocaml.doc"Specifies the status of your VDM engagement metrics collection. Can be one of the following: ENABLED \226\128\147 Amazon SES enables engagement metrics for your account. DISABLED \226\128\147 Amazon SES disables engagement metrics for your account."]}letmake?engagementMetrics=fun()->{engagementMetrics}letto_valuex=structure_to_value[("EngagementMetrics",(Option.mapx.engagementMetrics~f:FeatureStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letengagementMetrics=(Option.map~f:FeatureStatus.of_xml)(Xml.childxml_arg0"EngagementMetrics")inmake?engagementMetrics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letengagementMetrics=field_mapjson__"EngagementMetrics"FeatureStatus.of_jsoninmake?engagementMetrics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing additional settings for your VDM configuration as applicable to the Dashboard."]moduleGuardianAttributes=structtypenonrect={optimizedSharedDelivery:FeatureStatus.toption[@ocaml.doc"Specifies the status of your VDM optimized shared delivery. Can be one of the following: ENABLED \226\128\147 Amazon SES enables optimized shared delivery for your account. DISABLED \226\128\147 Amazon SES disables optimized shared delivery for your account."]}letmake?optimizedSharedDelivery=fun()->{optimizedSharedDelivery}letto_valuex=structure_to_value[("OptimizedSharedDelivery",(Option.mapx.optimizedSharedDelivery~f:FeatureStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoptimizedSharedDelivery=(Option.map~f:FeatureStatus.of_xml)(Xml.childxml_arg0"OptimizedSharedDelivery")inmake?optimizedSharedDelivery()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoptimizedSharedDelivery=field_mapjson__"OptimizedSharedDelivery"FeatureStatus.of_jsoninmake?optimizedSharedDelivery()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing additional settings for your VDM configuration as applicable to the Guardian."]moduleTenantInfo=structtypenonrect={tenantName:TenantName.toption[@ocaml.doc"The name of the tenant."];tenantId:TenantId.toption[@ocaml.doc"A unique identifier for the tenant."];tenantArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the tenant."];createdTimestamp:Timestamp.toption[@ocaml.doc"The date and time when the tenant was created."]}letmake?tenantName=fun?tenantId->fun?tenantArn->fun?createdTimestamp->fun()->{tenantName;tenantId;tenantArn;createdTimestamp}letto_valuex=structure_to_value[("TenantName",(Option.mapx.tenantName~f:TenantName.to_value));("TenantId",(Option.mapx.tenantId~f:TenantId.to_value));("TenantArn",(Option.mapx.tenantArn~f:AmazonResourceName.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inlettenantArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"TenantArn")inlettenantId=(Option.map~f:TenantId.of_xml)(Xml.childxml_arg0"TenantId")inlettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inmake?createdTimestamp?tenantArn?tenantId?tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninlettenantArn=field_mapjson__"TenantArn"AmazonResourceName.of_jsoninlettenantId=field_mapjson__"TenantId"TenantId.of_jsoninlettenantName=field_mapjson__"TenantName"TenantName.of_jsoninmake?createdTimestamp?tenantArn?tenantId?tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains basic information about a tenant."]moduleTenantResource=structtypenonrect={resourceType:ResourceType.toption[@ocaml.doc"The type of resource associated with the tenant. Valid values are EMAIL_IDENTITY, CONFIGURATION_SET, or EMAIL_TEMPLATE."];resourceArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource associated with the tenant."]}letmake?resourceType=fun?resourceArn->fun()->{resourceType;resourceArn}letto_valuex=structure_to_value[("ResourceType",(Option.mapx.resourceType~f:ResourceType.to_value));("ResourceArn",(Option.mapx.resourceArn~f:AmazonResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ResourceArn")inletresourceType=(Option.map~f:ResourceType.of_xml)(Xml.childxml_arg0"ResourceType")inmake?resourceArn?resourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_mapjson__"ResourceArn"AmazonResourceName.of_jsoninletresourceType=field_mapjson__"ResourceType"ResourceType.of_jsoninmake?resourceArn?resourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains information about a resource associated with a tenant."]moduleListTenantResourcesFilterKey=structtypenonrect=|RESOURCE_TYPE|Non_static_idofstringletmakei=iletto_string=function|RESOURCE_TYPE->"RESOURCE_TYPE"|Non_static_ids->sletof_string=function|"RESOURCE_TYPE"->RESOURCE_TYPE|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 ListTenantResourcesFilterKey"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ListTenantResourcesFilterKey"j)letto_json=simple_to_jsonto_valueendmoduleListTenantResourcesFilterValue=structtypenonrect=string[@@ocaml.doc"The value used to filter tenant resources. When filtering by RESOURCE_TYPE, valid values are EMAIL_IDENTITY, CONFIGURATION_SET, or EMAIL_TEMPLATE."]letcontext_="ListTenantResourcesFilterValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(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:"ListTenantResourcesFilterValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The value used to filter tenant resources. When filtering by RESOURCE_TYPE, valid values are EMAIL_IDENTITY, CONFIGURATION_SET, or EMAIL_TEMPLATE."]moduleSuppressedDestinationSummary=structtypenonrect={emailAddress:EmailAddress.toption[@ocaml.doc"The email address that's on the suppression list for your account."];reason:SuppressionListReason.toption[@ocaml.doc"The reason that the address was added to the suppression list for your account."];lastUpdateTime:Timestamp.toption[@ocaml.doc"The date and time when the suppressed destination was last updated, shown in Unix time format."]}letmake?emailAddress=fun?reason->fun?lastUpdateTime->fun()->{emailAddress;reason;lastUpdateTime}letto_valuex=structure_to_value[("EmailAddress",(Option.mapx.emailAddress~f:EmailAddress.to_value));("Reason",(Option.mapx.reason~f:SuppressionListReason.to_value));("LastUpdateTime",(Option.mapx.lastUpdateTime~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdateTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdateTime")inletreason=(Option.map~f:SuppressionListReason.of_xml)(Xml.childxml_arg0"Reason")inletemailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"EmailAddress")inmake?lastUpdateTime?reason?emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdateTime=field_mapjson__"LastUpdateTime"Timestamp.of_jsoninletreason=field_mapjson__"Reason"SuppressionListReason.of_jsoninletemailAddress=field_mapjson__"EmailAddress"EmailAddress.of_jsoninmake?lastUpdateTime?reason?emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary that describes the suppressed email address."]moduleResourceTenantMetadata=structtypenonrect={tenantName:TenantName.toption[@ocaml.doc"The name of the tenant associated with the resource."];tenantId:TenantId.toption[@ocaml.doc"A unique identifier for the tenant associated with the resource."];resourceArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."];associatedTimestamp:Timestamp.toption[@ocaml.doc"The date and time when the resource was associated with the tenant."]}letmake?tenantName=fun?tenantId->fun?resourceArn->fun?associatedTimestamp->fun()->{tenantName;tenantId;resourceArn;associatedTimestamp}letto_valuex=structure_to_value[("TenantName",(Option.mapx.tenantName~f:TenantName.to_value));("TenantId",(Option.mapx.tenantId~f:TenantId.to_value));("ResourceArn",(Option.mapx.resourceArn~f:AmazonResourceName.to_value));("AssociatedTimestamp",(Option.mapx.associatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassociatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"AssociatedTimestamp")inletresourceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ResourceArn")inlettenantId=(Option.map~f:TenantId.of_xml)(Xml.childxml_arg0"TenantId")inlettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inmake?associatedTimestamp?resourceArn?tenantId?tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassociatedTimestamp=field_mapjson__"AssociatedTimestamp"Timestamp.of_jsoninletresourceArn=field_mapjson__"ResourceArn"AmazonResourceName.of_jsoninlettenantId=field_mapjson__"TenantId"TenantId.of_jsoninlettenantName=field_mapjson__"TenantName"TenantName.of_jsoninmake?associatedTimestamp?resourceArn?tenantId?tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains information about a tenant associated with a resource."]moduleReputationEntity=structtypenonrect={reputationEntityReference:ReputationEntityReference.toption[@ocaml.doc"The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."];reputationEntityType:ReputationEntityType.toption[@ocaml.doc"The type of reputation entity. Currently, only RESOURCE type entities are supported."];reputationManagementPolicy:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the reputation management policy applied to this entity. This is an Amazon Web Services Amazon SES-managed policy."];customerManagedStatus:StatusRecord.toption[@ocaml.doc"The customer-managed status record for this reputation entity, including the current status, cause description, and last updated timestamp."];awsSesManagedStatus:StatusRecord.toption[@ocaml.doc"The Amazon Web Services Amazon SES-managed status record for this reputation entity, including the current status, cause description, and last updated timestamp."];sendingStatusAggregate:SendingStatus.toption[@ocaml.doc"The aggregate sending status that determines whether the entity is allowed to send emails. This status is derived from both the customer-managed and Amazon Web Services Amazon SES-managed statuses. If either the customer-managed status or the Amazon Web Services Amazon SES-managed status is DISABLED, the aggregate status will be DISABLED and the entity will not be allowed to send emails. When the customer-managed status is set to REINSTATED, the entity can continue sending even if there are active reputation findings, provided the Amazon Web Services Amazon SES-managed status also permits sending. The entity can only send emails when both statuses permit sending."];reputationImpact:RecommendationImpact.toption[@ocaml.doc"The reputation impact level for this entity, representing the highest impact reputation finding currently active. Reputation findings can be retrieved using the ListRecommendations operation."]}letmake?reputationEntityReference=fun?reputationEntityType->fun?reputationManagementPolicy->fun?customerManagedStatus->fun?awsSesManagedStatus->fun?sendingStatusAggregate->fun?reputationImpact->fun()->{reputationEntityReference;reputationEntityType;reputationManagementPolicy;customerManagedStatus;awsSesManagedStatus;sendingStatusAggregate;reputationImpact}letto_valuex=structure_to_value[("ReputationEntityReference",(Option.mapx.reputationEntityReference~f:ReputationEntityReference.to_value));("ReputationEntityType",(Option.mapx.reputationEntityType~f:ReputationEntityType.to_value));("ReputationManagementPolicy",(Option.mapx.reputationManagementPolicy~f:AmazonResourceName.to_value));("CustomerManagedStatus",(Option.mapx.customerManagedStatus~f:StatusRecord.to_value));("AwsSesManagedStatus",(Option.mapx.awsSesManagedStatus~f:StatusRecord.to_value));("SendingStatusAggregate",(Option.mapx.sendingStatusAggregate~f:SendingStatus.to_value));("ReputationImpact",(Option.mapx.reputationImpact~f:RecommendationImpact.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreputationImpact=(Option.map~f:RecommendationImpact.of_xml)(Xml.childxml_arg0"ReputationImpact")inletsendingStatusAggregate=(Option.map~f:SendingStatus.of_xml)(Xml.childxml_arg0"SendingStatusAggregate")inletawsSesManagedStatus=(Option.map~f:StatusRecord.of_xml)(Xml.childxml_arg0"AwsSesManagedStatus")inletcustomerManagedStatus=(Option.map~f:StatusRecord.of_xml)(Xml.childxml_arg0"CustomerManagedStatus")inletreputationManagementPolicy=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ReputationManagementPolicy")inletreputationEntityType=(Option.map~f:ReputationEntityType.of_xml)(Xml.childxml_arg0"ReputationEntityType")inletreputationEntityReference=(Option.map~f:ReputationEntityReference.of_xml)(Xml.childxml_arg0"ReputationEntityReference")inmake?reputationImpact?sendingStatusAggregate?awsSesManagedStatus?customerManagedStatus?reputationManagementPolicy?reputationEntityType?reputationEntityReference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreputationImpact=field_mapjson__"ReputationImpact"RecommendationImpact.of_jsoninletsendingStatusAggregate=field_mapjson__"SendingStatusAggregate"SendingStatus.of_jsoninletawsSesManagedStatus=field_mapjson__"AwsSesManagedStatus"StatusRecord.of_jsoninletcustomerManagedStatus=field_mapjson__"CustomerManagedStatus"StatusRecord.of_jsoninletreputationManagementPolicy=field_mapjson__"ReputationManagementPolicy"AmazonResourceName.of_jsoninletreputationEntityType=field_mapjson__"ReputationEntityType"ReputationEntityType.of_jsoninletreputationEntityReference=field_mapjson__"ReputationEntityReference"ReputationEntityReference.of_jsoninmake?reputationImpact?sendingStatusAggregate?awsSesManagedStatus?customerManagedStatus?reputationManagementPolicy?reputationEntityType?reputationEntityReference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about a reputation entity, including its reference, type, policy, status records, and reputation impact."]moduleReputationEntityFilterKey=structtypenonrect=|ENTITY_TYPE|REPUTATION_IMPACT|SENDING_STATUS|ENTITY_REFERENCE_PREFIX|Non_static_idofstringletmakei=iletto_string=function|ENTITY_TYPE->"ENTITY_TYPE"|REPUTATION_IMPACT->"REPUTATION_IMPACT"|SENDING_STATUS->"SENDING_STATUS"|ENTITY_REFERENCE_PREFIX->"ENTITY_REFERENCE_PREFIX"|Non_static_ids->sletof_string=function|"ENTITY_TYPE"->ENTITY_TYPE|"REPUTATION_IMPACT"->REPUTATION_IMPACT|"SENDING_STATUS"->SENDING_STATUS|"ENTITY_REFERENCE_PREFIX"->ENTITY_REFERENCE_PREFIX|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 ReputationEntityFilterKey"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReputationEntityFilterKey"j)letto_json=simple_to_jsonto_valueendmoduleReputationEntityFilterValue=structtypenonrect=string[@@ocaml.doc"The filter value to match against the specified filter key."]letcontext_="ReputationEntityFilterValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(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:"ReputationEntityFilterValue"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The filter value to match against the specified filter key."]moduleRecommendation=structtypenonrect={resourceArn:AmazonResourceName.toption[@ocaml.doc"The resource affected by the recommendation, with values like arn:aws:ses:us-east-1:123456789012:identity/example.com."];type_:RecommendationType.toption[@ocaml.doc"The recommendation type, with values like DKIM, SPF, DMARC, BIMI, or COMPLAINT."];description:RecommendationDescription.toption[@ocaml.doc"The recommendation description / disambiguator - e.g. DKIM1 and DKIM2 are different recommendations about your DKIM setup."];status:RecommendationStatus.toption[@ocaml.doc"The recommendation status, with values like OPEN or FIXED."];createdTimestamp:Timestamp.toption[@ocaml.doc"The first time this issue was encountered and the recommendation was generated."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"The last time the recommendation was updated."];impact:RecommendationImpact.toption[@ocaml.doc"The recommendation impact, with values like HIGH or LOW."]}letmake?resourceArn=fun?type_->fun?description->fun?status->fun?createdTimestamp->fun?lastUpdatedTimestamp->fun?impact->fun()->{resourceArn;type_;description;status;createdTimestamp;lastUpdatedTimestamp;impact}letto_valuex=structure_to_value[("ResourceArn",(Option.mapx.resourceArn~f:AmazonResourceName.to_value));("Type",(Option.mapx.type_~f:RecommendationType.to_value));("Description",(Option.mapx.description~f:RecommendationDescription.to_value));("Status",(Option.mapx.status~f:RecommendationStatus.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value));("Impact",(Option.mapx.impact~f:RecommendationImpact.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimpact=(Option.map~f:RecommendationImpact.of_xml)(Xml.childxml_arg0"Impact")inletlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletstatus=(Option.map~f:RecommendationStatus.of_xml)(Xml.childxml_arg0"Status")inletdescription=(Option.map~f:RecommendationDescription.of_xml)(Xml.childxml_arg0"Description")inlettype_=(Option.map~f:RecommendationType.of_xml)(Xml.childxml_arg0"Type")inletresourceArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"ResourceArn")inmake?impact?lastUpdatedTimestamp?createdTimestamp?status?description?type_?resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimpact=field_mapjson__"Impact"RecommendationImpact.of_jsoninletlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletstatus=field_mapjson__"Status"RecommendationStatus.of_jsoninletdescription=field_mapjson__"Description"RecommendationDescription.of_jsoninlettype_=field_mapjson__"Type"RecommendationType.of_jsoninletresourceArn=field_mapjson__"ResourceArn"AmazonResourceName.of_jsoninmake?impact?lastUpdatedTimestamp?createdTimestamp?status?description?type_?resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A recommendation generated for your account."]moduleListRecommendationFilterValue=structtypenonrect=stringletcontext_="ListRecommendationFilterValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(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:"ListRecommendationFilterValue"jletto_json=simple_to_jsonto_valueendmoduleListRecommendationsFilterKey=structtypenonrect=|TYPE|IMPACT|STATUS|RESOURCE_ARN|Non_static_idofstringletmakei=iletto_string=function|TYPE->"TYPE"|IMPACT->"IMPACT"|STATUS->"STATUS"|RESOURCE_ARN->"RESOURCE_ARN"|Non_static_ids->sletof_string=function|"TYPE"->TYPE|"IMPACT"->IMPACT|"STATUS"->STATUS|"RESOURCE_ARN"->RESOURCE_ARN|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 ListRecommendationsFilterKey"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ListRecommendationsFilterKey"j)letto_json=simple_to_jsonto_valueendmoduleMultiRegionEndpoint=structtypenonrect={endpointName:EndpointName.toption[@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."];status:Status.toption[@ocaml.doc"The status of the multi-region endpoint (global-endpoint). CREATING \226\128\147 The resource is being provisioned. READY \226\128\147 The resource is ready to use. FAILED \226\128\147 The resource failed to be provisioned. DELETING \226\128\147 The resource is being deleted as requested."];endpointId:EndpointId.toption[@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."];regions:Regions.toption[@ocaml.doc"Primary and secondary regions between which multi-region endpoint splits sending traffic."];createdTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the multi-region endpoint (global-endpoint) was created."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the multi-region endpoint (global-endpoint) was last updated."]}letmake?endpointName=fun?status->fun?endpointId->fun?regions->fun?createdTimestamp->fun?lastUpdatedTimestamp->fun()->{endpointName;status;endpointId;regions;createdTimestamp;lastUpdatedTimestamp}letto_valuex=structure_to_value[("EndpointName",(Option.mapx.endpointName~f:EndpointName.to_value));("Status",(Option.mapx.status~f:Status.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value));("Regions",(Option.mapx.regions~f:Regions.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletregions=(Option.map~f:Regions.of_xml)(Xml.childxml_arg0"Regions")inletendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletendpointName=(Option.map~f:EndpointName.of_xml)(Xml.childxml_arg0"EndpointName")inmake?lastUpdatedTimestamp?createdTimestamp?regions?endpointId?status?endpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletregions=field_mapjson__"Regions"Regions.of_jsoninletendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletendpointName=field_mapjson__"EndpointName"EndpointName.of_jsoninmake?lastUpdatedTimestamp?createdTimestamp?regions?endpointId?status?endpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains multi-region endpoint (global-endpoint) properties."]moduleImportJobSummary=structtypenonrect={jobId:JobId.toption;importDestination:ImportDestination.toption;jobStatus:JobStatus.toption;createdTimestamp:Timestamp.toption[@ocaml.doc"The date and time when the import job was created."];processedRecordsCount:ProcessedRecordsCount.toption[@ocaml.doc"The current number of records processed."];failedRecordsCount:FailedRecordsCount.toption[@ocaml.doc"The number of records that failed processing because of invalid input or other reasons."]}letmake?jobId=fun?importDestination->fun?jobStatus->fun?createdTimestamp->fun?processedRecordsCount->fun?failedRecordsCount->fun()->{jobId;importDestination;jobStatus;createdTimestamp;processedRecordsCount;failedRecordsCount}letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("ImportDestination",(Option.mapx.importDestination~f:ImportDestination.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("ProcessedRecordsCount",(Option.mapx.processedRecordsCount~f:ProcessedRecordsCount.to_value));("FailedRecordsCount",(Option.mapx.failedRecordsCount~f:FailedRecordsCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedRecordsCount=(Option.map~f:FailedRecordsCount.of_xml)(Xml.childxml_arg0"FailedRecordsCount")inletprocessedRecordsCount=(Option.map~f:ProcessedRecordsCount.of_xml)(Xml.childxml_arg0"ProcessedRecordsCount")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletimportDestination=(Option.map~f:ImportDestination.of_xml)(Xml.childxml_arg0"ImportDestination")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?failedRecordsCount?processedRecordsCount?createdTimestamp?jobStatus?importDestination?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedRecordsCount=field_mapjson__"FailedRecordsCount"FailedRecordsCount.of_jsoninletprocessedRecordsCount=field_mapjson__"ProcessedRecordsCount"ProcessedRecordsCount.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletimportDestination=field_mapjson__"ImportDestination"ImportDestination.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?failedRecordsCount?processedRecordsCount?createdTimestamp?jobStatus?importDestination?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary of the import job."]moduleExportJobSummary=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The export job ID."];exportSourceType:ExportSourceType.toption[@ocaml.doc"The source type of the export job."];jobStatus:JobStatus.toption[@ocaml.doc"The status of the export job."];createdTimestamp:Timestamp.toption[@ocaml.doc"The timestamp of when the export job was created."];completedTimestamp:Timestamp.toption[@ocaml.doc"The timestamp of when the export job was completed."]}letmake?jobId=fun?exportSourceType->fun?jobStatus->fun?createdTimestamp->fun?completedTimestamp->fun()->{jobId;exportSourceType;jobStatus;createdTimestamp;completedTimestamp}letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("ExportSourceType",(Option.mapx.exportSourceType~f:ExportSourceType.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("CompletedTimestamp",(Option.mapx.completedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcompletedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CompletedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletexportSourceType=(Option.map~f:ExportSourceType.of_xml)(Xml.childxml_arg0"ExportSourceType")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?completedTimestamp?createdTimestamp?jobStatus?exportSourceType?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcompletedTimestamp=field_mapjson__"CompletedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletexportSourceType=field_mapjson__"ExportSourceType"ExportSourceType.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?completedTimestamp?createdTimestamp?jobStatus?exportSourceType?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary of the export job."]moduleEmailTemplateMetadata=structtypenonrect={templateName:EmailTemplateName.toption[@ocaml.doc"The name of the template."];createdTimestamp:Timestamp.toption[@ocaml.doc"The time and date the template was created."]}letmake?templateName=fun?createdTimestamp->fun()->{templateName;createdTimestamp}letto_valuex=structure_to_value[("TemplateName",(Option.mapx.templateName~f:EmailTemplateName.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inlettemplateName=(Option.map~f:EmailTemplateName.of_xml)(Xml.childxml_arg0"TemplateName")inmake?createdTimestamp?templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninlettemplateName=field_mapjson__"TemplateName"EmailTemplateName.of_jsoninmake?createdTimestamp?templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about an email template."]moduleIdentityInfo=structtypenonrect={identityType:IdentityType.toption[@ocaml.doc"The email identity type. Note: the MANAGED_DOMAIN type is not supported for email identity types."];identityName:Identity.toption[@ocaml.doc"The address or domain of the identity."];sendingEnabled:Enabled.toption[@ocaml.doc"Indicates whether or not you can send email from the identity. An identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon SES to send email from that identity."];verificationStatus:VerificationStatus.toption[@ocaml.doc"The verification status of the identity. The status can be one of the following: PENDING \226\128\147 The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. SUCCESS \226\128\147 The verification process completed successfully. FAILED \226\128\147 The verification process failed. TEMPORARY_FAILURE \226\128\147 A temporary issue is preventing Amazon SES from determining the verification status of the identity. NOT_STARTED \226\128\147 The verification process hasn't been initiated for the identity."]}letmake?identityType=fun?identityName->fun?sendingEnabled->fun?verificationStatus->fun()->{identityType;identityName;sendingEnabled;verificationStatus}letto_valuex=structure_to_value[("IdentityType",(Option.mapx.identityType~f:IdentityType.to_value));("IdentityName",(Option.mapx.identityName~f:Identity.to_value));("SendingEnabled",(Option.mapx.sendingEnabled~f:Enabled.to_value));("VerificationStatus",(Option.mapx.verificationStatus~f:VerificationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letverificationStatus=(Option.map~f:VerificationStatus.of_xml)(Xml.childxml_arg0"VerificationStatus")inletsendingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SendingEnabled")inletidentityName=(Option.map~f:Identity.of_xml)(Xml.childxml_arg0"IdentityName")inletidentityType=(Option.map~f:IdentityType.of_xml)(Xml.childxml_arg0"IdentityType")inmake?verificationStatus?sendingEnabled?identityName?identityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letverificationStatus=field_mapjson__"VerificationStatus"VerificationStatus.of_jsoninletsendingEnabled=field_mapjson__"SendingEnabled"Enabled.of_jsoninletidentityName=field_mapjson__"IdentityName"Identity.of_jsoninletidentityType=field_mapjson__"IdentityType"IdentityType.of_jsoninmake?verificationStatus?sendingEnabled?identityName?identityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an email identity."]moduleDomainDeliverabilityCampaign=structtypenonrect={campaignId:CampaignId.toption[@ocaml.doc"The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign."];imageUrl:ImageUrl.toption[@ocaml.doc"The URL of an image that contains a snapshot of the email message that was sent."];subject:Subject.toption[@ocaml.doc"The subject line, or title, of the email message."];fromAddress:Identity.toption[@ocaml.doc"The verified email address that the email message was sent from."];sendingIps:IpList.toption[@ocaml.doc"The IP addresses that were used to send the email message."];firstSeenDateTime:Timestamp.toption[@ocaml.doc"The first time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message."];lastSeenDateTime:Timestamp.toption[@ocaml.doc"The last time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message."];inboxCount:Volume.toption[@ocaml.doc"The number of email messages that were delivered to recipients\226\128\153 inboxes."];spamCount:Volume.toption[@ocaml.doc"The number of email messages that were delivered to recipients' spam or junk mail folders."];readRate:Percentage.toption[@ocaml.doc"The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images."];deleteRate:Percentage.toption[@ocaml.doc"The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images."];readDeleteRate:Percentage.toption[@ocaml.doc"The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images."];projectedVolume:Volume.toption[@ocaml.doc"The projected number of recipients that the email message was sent to."];esps:Esps.toption[@ocaml.doc"The major email providers who handled the email message."]}letmake?campaignId=fun?imageUrl->fun?subject->fun?fromAddress->fun?sendingIps->fun?firstSeenDateTime->fun?lastSeenDateTime->fun?inboxCount->fun?spamCount->fun?readRate->fun?deleteRate->fun?readDeleteRate->fun?projectedVolume->fun?esps->fun()->{campaignId;imageUrl;subject;fromAddress;sendingIps;firstSeenDateTime;lastSeenDateTime;inboxCount;spamCount;readRate;deleteRate;readDeleteRate;projectedVolume;esps}letto_valuex=structure_to_value[("CampaignId",(Option.mapx.campaignId~f:CampaignId.to_value));("ImageUrl",(Option.mapx.imageUrl~f:ImageUrl.to_value));("Subject",(Option.mapx.subject~f:Subject.to_value));("FromAddress",(Option.mapx.fromAddress~f:Identity.to_value));("SendingIps",(Option.mapx.sendingIps~f:IpList.to_value));("FirstSeenDateTime",(Option.mapx.firstSeenDateTime~f:Timestamp.to_value));("LastSeenDateTime",(Option.mapx.lastSeenDateTime~f:Timestamp.to_value));("InboxCount",(Option.mapx.inboxCount~f:Volume.to_value));("SpamCount",(Option.mapx.spamCount~f:Volume.to_value));("ReadRate",(Option.mapx.readRate~f:Percentage.to_value));("DeleteRate",(Option.mapx.deleteRate~f:Percentage.to_value));("ReadDeleteRate",(Option.mapx.readDeleteRate~f:Percentage.to_value));("ProjectedVolume",(Option.mapx.projectedVolume~f:Volume.to_value));("Esps",(Option.mapx.esps~f:Esps.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letesps=(Option.map~f:Esps.of_xml)(Xml.childxml_arg0"Esps")inletprojectedVolume=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"ProjectedVolume")inletreadDeleteRate=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"ReadDeleteRate")inletdeleteRate=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"DeleteRate")inletreadRate=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"ReadRate")inletspamCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"SpamCount")inletinboxCount=(Option.map~f:Volume.of_xml)(Xml.childxml_arg0"InboxCount")inletlastSeenDateTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastSeenDateTime")inletfirstSeenDateTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"FirstSeenDateTime")inletsendingIps=(Option.map~f:IpList.of_xml)(Xml.childxml_arg0"SendingIps")inletfromAddress=(Option.map~f:Identity.of_xml)(Xml.childxml_arg0"FromAddress")inletsubject=(Option.map~f:Subject.of_xml)(Xml.childxml_arg0"Subject")inletimageUrl=(Option.map~f:ImageUrl.of_xml)(Xml.childxml_arg0"ImageUrl")inletcampaignId=(Option.map~f:CampaignId.of_xml)(Xml.childxml_arg0"CampaignId")inmake?esps?projectedVolume?readDeleteRate?deleteRate?readRate?spamCount?inboxCount?lastSeenDateTime?firstSeenDateTime?sendingIps?fromAddress?subject?imageUrl?campaignId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letesps=field_mapjson__"Esps"Esps.of_jsoninletprojectedVolume=field_mapjson__"ProjectedVolume"Volume.of_jsoninletreadDeleteRate=field_mapjson__"ReadDeleteRate"Percentage.of_jsoninletdeleteRate=field_mapjson__"DeleteRate"Percentage.of_jsoninletreadRate=field_mapjson__"ReadRate"Percentage.of_jsoninletspamCount=field_mapjson__"SpamCount"Volume.of_jsoninletinboxCount=field_mapjson__"InboxCount"Volume.of_jsoninletlastSeenDateTime=field_mapjson__"LastSeenDateTime"Timestamp.of_jsoninletfirstSeenDateTime=field_mapjson__"FirstSeenDateTime"Timestamp.of_jsoninletsendingIps=field_mapjson__"SendingIps"IpList.of_jsoninletfromAddress=field_mapjson__"FromAddress"Identity.of_jsoninletsubject=field_mapjson__"Subject"Subject.of_jsoninletimageUrl=field_mapjson__"ImageUrl"ImageUrl.of_jsoninletcampaignId=field_mapjson__"CampaignId"CampaignId.of_jsoninmake?esps?projectedVolume?readDeleteRate?deleteRate?readRate?spamCount?inboxCount?lastSeenDateTime?firstSeenDateTime?sendingIps?fromAddress?subject?imageUrl?campaignId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation)."]moduleDeliverabilityTestReport=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"A unique string that identifies the predictive inbox placement test."];reportName:ReportName.toption[@ocaml.doc"A name that helps you identify a predictive inbox placement test report."];subject:DeliverabilityTestSubject.toption[@ocaml.doc"The subject line for an email that you submitted in a predictive inbox placement test."];fromEmailAddress:EmailAddress.toption[@ocaml.doc"The sender address that you specified for the predictive inbox placement test."];createDate:Timestamp.toption[@ocaml.doc"The date and time when the predictive inbox placement test was created."];deliverabilityTestStatus:DeliverabilityTestStatus.toption[@ocaml.doc"The status of the predictive inbox placement test. If the status is IN_PROGRESS, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is COMPLETE, then the test is finished, and you can use the GetDeliverabilityTestReport to view the results of the test."]}letmake?reportId=fun?reportName->fun?subject->fun?fromEmailAddress->fun?createDate->fun?deliverabilityTestStatus->fun()->{reportId;reportName;subject;fromEmailAddress;createDate;deliverabilityTestStatus}letto_valuex=structure_to_value[("ReportId",(Option.mapx.reportId~f:ReportId.to_value));("ReportName",(Option.mapx.reportName~f:ReportName.to_value));("Subject",(Option.mapx.subject~f:DeliverabilityTestSubject.to_value));("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddress.to_value));("CreateDate",(Option.mapx.createDate~f:Timestamp.to_value));("DeliverabilityTestStatus",(Option.mapx.deliverabilityTestStatus~f:DeliverabilityTestStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeliverabilityTestStatus=(Option.map~f:DeliverabilityTestStatus.of_xml)(Xml.childxml_arg0"DeliverabilityTestStatus")inletcreateDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreateDate")inletfromEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inletsubject=(Option.map~f:DeliverabilityTestSubject.of_xml)(Xml.childxml_arg0"Subject")inletreportName=(Option.map~f:ReportName.of_xml)(Xml.childxml_arg0"ReportName")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"ReportId")inmake?deliverabilityTestStatus?createDate?fromEmailAddress?subject?reportName?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeliverabilityTestStatus=field_mapjson__"DeliverabilityTestStatus"DeliverabilityTestStatus.of_jsoninletcreateDate=field_mapjson__"CreateDate"Timestamp.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddress.of_jsoninletsubject=field_mapjson__"Subject"DeliverabilityTestSubject.of_jsoninletreportName=field_mapjson__"ReportName"ReportName.of_jsoninletreportId=field_mapjson__"ReportId"ReportId.of_jsoninmake?deliverabilityTestStatus?createDate?fromEmailAddress?subject?reportName?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains metadata related to a predictive inbox placement test."]moduleCustomVerificationEmailTemplateMetadata=structtypenonrect={templateName:EmailTemplateName.toption[@ocaml.doc"The name of the custom verification email template."];fromEmailAddress:EmailAddress.toption[@ocaml.doc"The email address that the custom verification email is sent from."];templateSubject:EmailTemplateSubject.toption[@ocaml.doc"The subject line of the custom verification email."];successRedirectionURL:SuccessRedirectionURL.toption[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."];failureRedirectionURL:FailureRedirectionURL.toption[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]}letmake?templateName=fun?fromEmailAddress->fun?templateSubject->fun?successRedirectionURL->fun?failureRedirectionURL->fun()->{templateName;fromEmailAddress;templateSubject;successRedirectionURL;failureRedirectionURL}letto_valuex=structure_to_value[("TemplateName",(Option.mapx.templateName~f:EmailTemplateName.to_value));("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddress.to_value));("TemplateSubject",(Option.mapx.templateSubject~f:EmailTemplateSubject.to_value));("SuccessRedirectionURL",(Option.mapx.successRedirectionURL~f:SuccessRedirectionURL.to_value));("FailureRedirectionURL",(Option.mapx.failureRedirectionURL~f:FailureRedirectionURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureRedirectionURL=(Option.map~f:FailureRedirectionURL.of_xml)(Xml.childxml_arg0"FailureRedirectionURL")inletsuccessRedirectionURL=(Option.map~f:SuccessRedirectionURL.of_xml)(Xml.childxml_arg0"SuccessRedirectionURL")inlettemplateSubject=(Option.map~f:EmailTemplateSubject.of_xml)(Xml.childxml_arg0"TemplateSubject")inletfromEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inlettemplateName=(Option.map~f:EmailTemplateName.of_xml)(Xml.childxml_arg0"TemplateName")inmake?failureRedirectionURL?successRedirectionURL?templateSubject?fromEmailAddress?templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureRedirectionURL=field_mapjson__"FailureRedirectionURL"FailureRedirectionURL.of_jsoninletsuccessRedirectionURL=field_mapjson__"SuccessRedirectionURL"SuccessRedirectionURL.of_jsoninlettemplateSubject=field_mapjson__"TemplateSubject"EmailTemplateSubject.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddress.of_jsoninlettemplateName=field_mapjson__"TemplateName"EmailTemplateName.of_jsoninmake?failureRedirectionURL?successRedirectionURL?templateSubject?fromEmailAddress?templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a custom verification email template."]moduleContact=structtypenonrect={emailAddress:EmailAddress.toption[@ocaml.doc"The contact's email address."];topicPreferences:TopicPreferenceList.toption[@ocaml.doc"The contact's preference for being opted-in to or opted-out of a topic."];topicDefaultPreferences:TopicPreferenceList.toption[@ocaml.doc"The default topic preferences applied to the contact."];unsubscribeAll:UnsubscribeAll.toption[@ocaml.doc"A boolean value status noting if the contact is unsubscribed from all contact list topics."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting the last time the contact's information was updated."]}letmake?emailAddress=fun?topicPreferences->fun?topicDefaultPreferences->fun?unsubscribeAll->fun?lastUpdatedTimestamp->fun()->{emailAddress;topicPreferences;topicDefaultPreferences;unsubscribeAll;lastUpdatedTimestamp}letto_valuex=structure_to_value[("EmailAddress",(Option.mapx.emailAddress~f:EmailAddress.to_value));("TopicPreferences",(Option.mapx.topicPreferences~f:TopicPreferenceList.to_value));("TopicDefaultPreferences",(Option.mapx.topicDefaultPreferences~f:TopicPreferenceList.to_value));("UnsubscribeAll",(Option.mapx.unsubscribeAll~f:UnsubscribeAll.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletunsubscribeAll=(Option.map~f:UnsubscribeAll.of_xml)(Xml.childxml_arg0"UnsubscribeAll")inlettopicDefaultPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicDefaultPreferences")inlettopicPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicPreferences")inletemailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"EmailAddress")inmake?lastUpdatedTimestamp?unsubscribeAll?topicDefaultPreferences?topicPreferences?emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletunsubscribeAll=field_mapjson__"UnsubscribeAll"UnsubscribeAll.of_jsoninlettopicDefaultPreferences=field_mapjson__"TopicDefaultPreferences"TopicPreferenceList.of_jsoninlettopicPreferences=field_mapjson__"TopicPreferences"TopicPreferenceList.of_jsoninletemailAddress=field_mapjson__"EmailAddress"EmailAddress.of_jsoninmake?lastUpdatedTimestamp?unsubscribeAll?topicDefaultPreferences?topicPreferences?emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A contact is the end-user who is receiving the email."]moduleTopicFilter=structtypenonrect={topicName:TopicName.toption[@ocaml.doc"The name of a topic on which you wish to apply the filter."];useDefaultIfPreferenceUnavailable:UseDefaultIfPreferenceUnavailable.toption[@ocaml.doc"Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic."]}letmake?topicName=fun?useDefaultIfPreferenceUnavailable->fun()->{topicName;useDefaultIfPreferenceUnavailable}letto_valuex=structure_to_value[("TopicName",(Option.mapx.topicName~f:TopicName.to_value));("UseDefaultIfPreferenceUnavailable",(Option.mapx.useDefaultIfPreferenceUnavailable~f:UseDefaultIfPreferenceUnavailable.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letuseDefaultIfPreferenceUnavailable=(Option.map~f:UseDefaultIfPreferenceUnavailable.of_xml)(Xml.childxml_arg0"UseDefaultIfPreferenceUnavailable")inlettopicName=(Option.map~f:TopicName.of_xml)(Xml.childxml_arg0"TopicName")inmake?useDefaultIfPreferenceUnavailable?topicName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letuseDefaultIfPreferenceUnavailable=field_mapjson__"UseDefaultIfPreferenceUnavailable"UseDefaultIfPreferenceUnavailable.of_jsoninlettopicName=field_mapjson__"TopicName"TopicName.of_jsoninmake?useDefaultIfPreferenceUnavailable?topicName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Used for filtering by a specific topic preference."]moduleContactList=structtypenonrect={contactListName:ContactListName.toption[@ocaml.doc"The name of the contact list."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting the last time the contact list was updated."]}letmake?contactListName=fun?lastUpdatedTimestamp->fun()->{contactListName;lastUpdatedTimestamp}letto_valuex=structure_to_value[("ContactListName",(Option.mapx.contactListName~f:ContactListName.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcontactListName=(Option.map~f:ContactListName.of_xml)(Xml.childxml_arg0"ContactListName")inmake?lastUpdatedTimestamp?contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcontactListName=field_mapjson__"ContactListName"ContactListName.of_jsoninmake?lastUpdatedTimestamp?contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list that contains contacts that have subscribed to a particular topic or topics."]moduleConfigurationSetName=structtypenonrect=string[@@ocaml.doc"The name of a configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email."]letcontext_="ConfigurationSetName"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:"ConfigurationSetName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of a configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email."]moduleTagList=structtypenonrect=Tag.tlistletmakei=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_valuevendmoduleSuppressedDestinationAttributes=structtypenonrect={messageId:OutboundMessageId.toption[@ocaml.doc"The unique identifier of the email message that caused the email address to be added to the suppression list for your account."];feedbackId:FeedbackId.toption[@ocaml.doc"A unique identifier that's generated when an email address is added to the suppression list for your account."]}letmake?messageId=fun?feedbackId->fun()->{messageId;feedbackId}letto_valuex=structure_to_value[("MessageId",(Option.mapx.messageId~f:OutboundMessageId.to_value));("FeedbackId",(Option.mapx.feedbackId~f:FeedbackId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfeedbackId=(Option.map~f:FeedbackId.of_xml)(Xml.childxml_arg0"FeedbackId")inletmessageId=(Option.map~f:OutboundMessageId.of_xml)(Xml.childxml_arg0"MessageId")inmake?feedbackId?messageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfeedbackId=field_mapjson__"FeedbackId"FeedbackId.of_jsoninletmessageId=field_mapjson__"MessageId"OutboundMessageId.of_jsoninmake?feedbackId?messageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains additional attributes that are related an email address that is on the suppression list for your account."]moduleRoute=structtypenonrect={region:Region.toption[@ocaml.doc"The name of an AWS-Region."]}letmake?region=fun()->{region}letto_valuex=structure_to_value[("Region",(Option.mapx.region~f:Region.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregion=(Option.map~f:Region.of_xml)(Xml.childxml_arg0"Region")inmake?region()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregion=field_mapjson__"Region"Region.of_jsoninmake?region()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object which contains an AWS-Region and routing status."]moduleEmailInsights=structtypenonrect={destination:InsightsEmailAddress.toption[@ocaml.doc"The recipient of the email."];isp:Isp.toption[@ocaml.doc"The recipient's ISP (e.g., Gmail, Yahoo, etc.)."];events:InsightsEvents.toption[@ocaml.doc"A list of events associated with the sent email."]}letmake?destination=fun?isp->fun?events->fun()->{destination;isp;events}letto_valuex=structure_to_value[("Destination",(Option.mapx.destination~f:InsightsEmailAddress.to_value));("Isp",(Option.mapx.isp~f:Isp.to_value));("Events",(Option.mapx.events~f:InsightsEvents.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letevents=(Option.map~f:InsightsEvents.of_xml)(Xml.childxml_arg0"Events")inletisp=(Option.map~f:Isp.of_xml)(Xml.childxml_arg0"Isp")inletdestination=(Option.map~f:InsightsEmailAddress.of_xml)(Xml.childxml_arg0"Destination")inmake?events?isp?destination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letevents=field_mapjson__"Events"InsightsEvents.of_jsoninletisp=field_mapjson__"Isp"Isp.of_jsoninletdestination=field_mapjson__"Destination"InsightsEmailAddress.of_jsoninmake?events?isp?destination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An email's insights contain metadata and delivery information about a specific email."]moduleFailedRecordsS3Url=structtypenonrect=stringletcontext_="FailedRecordsS3Url"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:"FailedRecordsS3Url"jletto_json=simple_to_jsonto_valueendmoduleDataFormat=structtypenonrect=|CSV|JSON|Non_static_idofstringletmakei=iletto_string=function|CSV->"CSV"|JSON->"JSON"|Non_static_ids->sletof_string=function|"CSV"->CSV|"JSON"->JSON|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 DataFormat"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataFormat"j)letto_json=simple_to_jsonto_valueendmoduleS3Url=structtypenonrect=string[@@ocaml.doc"An Amazon S3 URL in the format s3://<bucket_name>/<object> or a pre-signed URL."]letcontext_="S3Url"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^s3:\\/\\/([^\\/]+)\\/(.*?([^\\/]+)\\/?)$");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Url"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An Amazon S3 URL in the format s3://<bucket_name>/<object> or a pre-signed URL."]moduleMessageInsightsDataSource=structtypenonrect={startDate:Timestamp.t[@ocaml.doc"Represents the start date for the export interval as a timestamp. The start date is inclusive."];endDate:Timestamp.t[@ocaml.doc"Represents the end date for the export interval as a timestamp. The end date is inclusive."];include_:MessageInsightsFilters.toption[@ocaml.doc"Filters for results to be included in the export file."];exclude:MessageInsightsFilters.toption[@ocaml.doc"Filters for results to be excluded from the export file."];maxResults:MessageInsightsExportMaxResults.toption[@ocaml.doc"The maximum number of results."]}letcontext_="MessageInsightsDataSource"letmake?include_=fun?exclude->fun?maxResults->fun~startDate->fun~endDate->fun()->{include_;exclude;maxResults;startDate;endDate}letto_valuex=structure_to_value[("StartDate",(Some(Timestamp.to_valuex.startDate)));("EndDate",(Some(Timestamp.to_valuex.endDate)));("Include",(Option.mapx.include_~f:MessageInsightsFilters.to_value));("Exclude",(Option.mapx.exclude~f:MessageInsightsFilters.to_value));("MaxResults",(Option.mapx.maxResults~f:MessageInsightsExportMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MessageInsightsExportMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletexclude=(Option.map~f:MessageInsightsFilters.of_xml)(Xml.childxml_arg0"Exclude")inletinclude_=(Option.map~f:MessageInsightsFilters.of_xml)(Xml.childxml_arg0"Include")inletendDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"EndDate")inletstartDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"StartDate")inmake?maxResults?exclude?include_~endDate~startDate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MessageInsightsExportMaxResults.of_jsoninletexclude=field_mapjson__"Exclude"MessageInsightsFilters.of_jsoninletinclude_=field_mapjson__"Include"MessageInsightsFilters.of_jsoninletendDate=field_map_exnjson__"EndDate"Timestamp.of_jsoninletstartDate=field_map_exnjson__"StartDate"Timestamp.of_jsoninmake?maxResults?exclude?include_~endDate~startDate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains filters applied when performing the Message Insights export."]moduleMetricsDataSource=structtypenonrect={dimensions:ExportDimensions.t[@ocaml.doc"An object that contains a mapping between a MetricDimensionName and MetricDimensionValue to filter metrics by. Must contain a least 1 dimension but no more than 3 unique ones."];namespace:MetricNamespace.t[@ocaml.doc"The metrics namespace - e.g., VDM."];metrics:ExportMetrics.t[@ocaml.doc"A list of ExportMetric objects to export."];startDate:Timestamp.t[@ocaml.doc"Represents the start date for the export interval as a timestamp."];endDate:Timestamp.t[@ocaml.doc"Represents the end date for the export interval as a timestamp."]}letcontext_="MetricsDataSource"letmake~dimensions=fun~namespace->fun~metrics->fun~startDate->fun~endDate->fun()->{dimensions;namespace;metrics;startDate;endDate}letto_valuex=structure_to_value[("Dimensions",(Some(ExportDimensions.to_valuex.dimensions)));("Namespace",(Some(MetricNamespace.to_valuex.namespace)));("Metrics",(Some(ExportMetrics.to_valuex.metrics)));("StartDate",(Some(Timestamp.to_valuex.startDate)));("EndDate",(Some(Timestamp.to_valuex.endDate)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"EndDate")inletstartDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"StartDate")inletmetrics=ExportMetrics.of_xml(Xml.child_exn~context:context_xml_arg0"Metrics")inletnamespace=MetricNamespace.of_xml(Xml.child_exn~context:context_xml_arg0"Namespace")inletdimensions=ExportDimensions.of_xml(Xml.child_exn~context:context_xml_arg0"Dimensions")inmake~endDate~startDate~metrics~namespace~dimensions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendDate=field_map_exnjson__"EndDate"Timestamp.of_jsoninletstartDate=field_map_exnjson__"StartDate"Timestamp.of_jsoninletmetrics=field_map_exnjson__"Metrics"ExportMetrics.of_jsoninletnamespace=field_map_exnjson__"Namespace"MetricNamespace.of_jsoninletdimensions=field_map_exnjson__"Dimensions"ExportDimensions.of_jsoninmake~endDate~startDate~metrics~namespace~dimensions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the data source for the metrics export."]moduleExportedRecordsCount=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 ExportedRecordsCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDkimStatus=structtypenonrect=|PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|SUCCESS->"SUCCESS"|FAILED->"FAILED"|TEMPORARY_FAILURE->"TEMPORARY_FAILURE"|NOT_STARTED->"NOT_STARTED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"SUCCESS"->SUCCESS|"FAILED"->FAILED|"TEMPORARY_FAILURE"->TEMPORARY_FAILURE|"NOT_STARTED"->NOT_STARTED|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 DkimStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DkimStatus"j)letto_json=simple_to_jsonto_valueendmoduleDnsTokenList=structtypenonrect=DnsToken.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DnsToken.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:DnsToken.of_xml)letof_jsonj=list_of_json~kind:"DnsTokenList"~of_json:DnsToken.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHostedZone=structtypenonrect=stringletcontext_="HostedZone"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:"HostedZone"jletto_json=simple_to_jsonto_valueendmoduleBehaviorOnMxFailure=structtypenonrect=|USE_DEFAULT_VALUE|REJECT_MESSAGE|Non_static_idofstringletmakei=iletto_string=function|USE_DEFAULT_VALUE->"USE_DEFAULT_VALUE"|REJECT_MESSAGE->"REJECT_MESSAGE"|Non_static_ids->sletof_string=function|"USE_DEFAULT_VALUE"->USE_DEFAULT_VALUE|"REJECT_MESSAGE"->REJECT_MESSAGE|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 BehaviorOnMxFailure"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BehaviorOnMxFailure"j)letto_json=simple_to_jsonto_valueendmoduleMailFromDomainName=structtypenonrect=string[@@ocaml.doc"The domain to use as a MAIL FROM domain."]letcontext_="MailFromDomainName"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:"MailFromDomainName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The domain to use as a MAIL FROM domain."]moduleMailFromDomainStatus=structtypenonrect=|PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|SUCCESS->"SUCCESS"|FAILED->"FAILED"|TEMPORARY_FAILURE->"TEMPORARY_FAILURE"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"SUCCESS"->SUCCESS|"FAILED"->FAILED|"TEMPORARY_FAILURE"->TEMPORARY_FAILURE|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 MailFromDomainStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MailFromDomainStatus"j)letto_json=simple_to_jsonto_valueendmodulePolicy=structtypenonrect=string[@@ocaml.doc"The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide."]letcontext_="Policy"letmakei=letopenResultinok_or_failwith(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:"Policy"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide."]modulePolicyName=structtypenonrect=string[@@ocaml.doc"The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores."]letcontext_="PolicyName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PolicyName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores."]moduleSOARecord=structtypenonrect={primaryNameServer:PrimaryNameServer.toption[@ocaml.doc"Primary name server specified in the SOA record."];adminEmail:AdminEmail.toption[@ocaml.doc"Administrative contact email from the SOA record."];serialNumber:SerialNumber.toption[@ocaml.doc"Serial number from the SOA record."]}letmake?primaryNameServer=fun?adminEmail->fun?serialNumber->fun()->{primaryNameServer;adminEmail;serialNumber}letto_valuex=structure_to_value[("PrimaryNameServer",(Option.mapx.primaryNameServer~f:PrimaryNameServer.to_value));("AdminEmail",(Option.mapx.adminEmail~f:AdminEmail.to_value));("SerialNumber",(Option.mapx.serialNumber~f:SerialNumber.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserialNumber=(Option.map~f:SerialNumber.of_xml)(Xml.childxml_arg0"SerialNumber")inletadminEmail=(Option.map~f:AdminEmail.of_xml)(Xml.childxml_arg0"AdminEmail")inletprimaryNameServer=(Option.map~f:PrimaryNameServer.of_xml)(Xml.childxml_arg0"PrimaryNameServer")inmake?serialNumber?adminEmail?primaryNameServer()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserialNumber=field_mapjson__"SerialNumber"SerialNumber.of_jsoninletadminEmail=field_mapjson__"AdminEmail"AdminEmail.of_jsoninletprimaryNameServer=field_mapjson__"PrimaryNameServer"PrimaryNameServer.of_jsoninmake?serialNumber?adminEmail?primaryNameServer()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the start of authority (SOA) record associated with the identity."]moduleVerificationError=structtypenonrect=|SERVICE_ERROR|DNS_SERVER_ERROR|HOST_NOT_FOUND|TYPE_NOT_FOUND|INVALID_VALUE|REPLICATION_ACCESS_DENIED|REPLICATION_PRIMARY_NOT_FOUND|REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED|REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED|REPLICATION_PRIMARY_INVALID_REGION|Non_static_idofstringletmakei=iletto_string=function|SERVICE_ERROR->"SERVICE_ERROR"|DNS_SERVER_ERROR->"DNS_SERVER_ERROR"|HOST_NOT_FOUND->"HOST_NOT_FOUND"|TYPE_NOT_FOUND->"TYPE_NOT_FOUND"|INVALID_VALUE->"INVALID_VALUE"|REPLICATION_ACCESS_DENIED->"REPLICATION_ACCESS_DENIED"|REPLICATION_PRIMARY_NOT_FOUND->"REPLICATION_PRIMARY_NOT_FOUND"|REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED->"REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED"|REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED->"REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED"|REPLICATION_PRIMARY_INVALID_REGION->"REPLICATION_PRIMARY_INVALID_REGION"|Non_static_ids->sletof_string=function|"SERVICE_ERROR"->SERVICE_ERROR|"DNS_SERVER_ERROR"->DNS_SERVER_ERROR|"HOST_NOT_FOUND"->HOST_NOT_FOUND|"TYPE_NOT_FOUND"->TYPE_NOT_FOUND|"INVALID_VALUE"->INVALID_VALUE|"REPLICATION_ACCESS_DENIED"->REPLICATION_ACCESS_DENIED|"REPLICATION_PRIMARY_NOT_FOUND"->REPLICATION_PRIMARY_NOT_FOUND|"REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED"->REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED|"REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED"->REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED|"REPLICATION_PRIMARY_INVALID_REGION"->REPLICATION_PRIMARY_INVALID_REGION|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 VerificationError"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VerificationError"j)letto_json=simple_to_jsonto_valueendmoduleEmailAddressInsightsMailboxEvaluations=structtypenonrect={hasValidSyntax:EmailAddressInsightsVerdict.toption[@ocaml.doc"Checks that the email address follows proper RFC standards and contains valid characters in the correct format."];hasValidDnsRecords:EmailAddressInsightsVerdict.toption[@ocaml.doc"Checks that the domain exists, has valid DNS records, and is con\239\172\129gured to receive email."];mailboxExists:EmailAddressInsightsVerdict.toption[@ocaml.doc"Checks that the mailbox exists and can receive messages without actually sending an email."];isRoleAddress:EmailAddressInsightsVerdict.toption[@ocaml.doc"Identi\239\172\129es role-based addresses (such as admin\\@, support\\@, or info\\@) that may have lower engagement rates."];isDisposable:EmailAddressInsightsVerdict.toption[@ocaml.doc"Checks disposable or temporary email addresses that could negatively impact your sender reputation."];isRandomInput:EmailAddressInsightsVerdict.toption[@ocaml.doc"Checks if the input appears to be random text."]}letmake?hasValidSyntax=fun?hasValidDnsRecords->fun?mailboxExists->fun?isRoleAddress->fun?isDisposable->fun?isRandomInput->fun()->{hasValidSyntax;hasValidDnsRecords;mailboxExists;isRoleAddress;isDisposable;isRandomInput}letto_valuex=structure_to_value[("HasValidSyntax",(Option.mapx.hasValidSyntax~f:EmailAddressInsightsVerdict.to_value));("HasValidDnsRecords",(Option.mapx.hasValidDnsRecords~f:EmailAddressInsightsVerdict.to_value));("MailboxExists",(Option.mapx.mailboxExists~f:EmailAddressInsightsVerdict.to_value));("IsRoleAddress",(Option.mapx.isRoleAddress~f:EmailAddressInsightsVerdict.to_value));("IsDisposable",(Option.mapx.isDisposable~f:EmailAddressInsightsVerdict.to_value));("IsRandomInput",(Option.mapx.isRandomInput~f:EmailAddressInsightsVerdict.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letisRandomInput=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"IsRandomInput")inletisDisposable=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"IsDisposable")inletisRoleAddress=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"IsRoleAddress")inletmailboxExists=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"MailboxExists")inlethasValidDnsRecords=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"HasValidDnsRecords")inlethasValidSyntax=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"HasValidSyntax")inmake?isRandomInput?isDisposable?isRoleAddress?mailboxExists?hasValidDnsRecords?hasValidSyntax()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisRandomInput=field_mapjson__"IsRandomInput"EmailAddressInsightsVerdict.of_jsoninletisDisposable=field_mapjson__"IsDisposable"EmailAddressInsightsVerdict.of_jsoninletisRoleAddress=field_mapjson__"IsRoleAddress"EmailAddressInsightsVerdict.of_jsoninletmailboxExists=field_mapjson__"MailboxExists"EmailAddressInsightsVerdict.of_jsoninlethasValidDnsRecords=field_mapjson__"HasValidDnsRecords"EmailAddressInsightsVerdict.of_jsoninlethasValidSyntax=field_mapjson__"HasValidSyntax"EmailAddressInsightsVerdict.of_jsoninmake?isRandomInput?isDisposable?isRoleAddress?mailboxExists?hasValidDnsRecords?hasValidSyntax()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains individual validation checks performed on an email address."]moduleDailyVolume=structtypenonrect={startDate:Timestamp.toption[@ocaml.doc"The date that the DailyVolume metrics apply to, in Unix time."];volumeStatistics:VolumeStatistics.toption[@ocaml.doc"An object that contains inbox placement metrics for a specific day in the analysis period."];domainIspPlacements:DomainIspPlacements.toption[@ocaml.doc"An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider."]}letmake?startDate=fun?volumeStatistics->fun?domainIspPlacements->fun()->{startDate;volumeStatistics;domainIspPlacements}letto_valuex=structure_to_value[("StartDate",(Option.mapx.startDate~f:Timestamp.to_value));("VolumeStatistics",(Option.mapx.volumeStatistics~f:VolumeStatistics.to_value));("DomainIspPlacements",(Option.mapx.domainIspPlacements~f:DomainIspPlacements.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainIspPlacements=(Option.map~f:DomainIspPlacements.of_xml)(Xml.childxml_arg0"DomainIspPlacements")inletvolumeStatistics=(Option.map~f:VolumeStatistics.of_xml)(Xml.childxml_arg0"VolumeStatistics")inletstartDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartDate")inmake?domainIspPlacements?volumeStatistics?startDate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainIspPlacements=field_mapjson__"DomainIspPlacements"DomainIspPlacements.of_jsoninletvolumeStatistics=field_mapjson__"VolumeStatistics"VolumeStatistics.of_jsoninletstartDate=field_mapjson__"StartDate"Timestamp.of_jsoninmake?domainIspPlacements?volumeStatistics?startDate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the volume of email sent on each day of the analysis period."]moduleIspPlacement=structtypenonrect={ispName:IspName.toption[@ocaml.doc"The name of the email provider that the inbox placement data applies to."];placementStatistics:PlacementStatistics.toption[@ocaml.doc"An object that contains inbox placement metrics for a specific email provider."]}letmake?ispName=fun?placementStatistics->fun()->{ispName;placementStatistics}letto_valuex=structure_to_value[("IspName",(Option.mapx.ispName~f:IspName.to_value));("PlacementStatistics",(Option.mapx.placementStatistics~f:PlacementStatistics.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letplacementStatistics=(Option.map~f:PlacementStatistics.of_xml)(Xml.childxml_arg0"PlacementStatistics")inletispName=(Option.map~f:IspName.of_xml)(Xml.childxml_arg0"IspName")inmake?placementStatistics?ispName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letplacementStatistics=field_mapjson__"PlacementStatistics"PlacementStatistics.of_jsoninletispName=field_mapjson__"IspName"IspName.of_jsoninmake?placementStatistics?ispName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that describes how email sent during the predictive inbox placement test was handled by a certain email provider."]moduleDedicatedIp=structtypenonrect={ip:Ip.toption[@ocaml.doc"An IPv4 address."];warmupStatus:WarmupStatus.toption[@ocaml.doc"The warm-up status of a dedicated IP address. The status can have one of the following values: IN_PROGRESS \226\128\147 The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. DONE \226\128\147 The dedicated IP warm-up process is complete, and the IP address is ready to use. NOT_APPLICABLE \226\128\147 The warm-up status doesn't apply to this IP address. This status is used for IP addresses in managed dedicated IP pools, where Amazon SES automatically handles the warm-up process."];warmupPercentage:Percentage100Wrapper.toption[@ocaml.doc"Indicates the progress of your dedicated IP warm-up: 0-100 \226\128\147 For standard dedicated IP addresses, this shows the warm-up completion percentage. A value of 100 means the IP address is fully warmed up and ready for use. -1 \226\128\147 Appears for IP addresses in managed dedicated pools where Amazon SES automatically handles the warm-up process, making the percentage not applicable."];poolName:PoolName.toption[@ocaml.doc"The name of the dedicated IP pool that the IP address is associated with."]}letmake?ip=fun?warmupStatus->fun?warmupPercentage->fun?poolName->fun()->{ip;warmupStatus;warmupPercentage;poolName}letto_valuex=structure_to_value[("Ip",(Option.mapx.ip~f:Ip.to_value));("WarmupStatus",(Option.mapx.warmupStatus~f:WarmupStatus.to_value));("WarmupPercentage",(Option.mapx.warmupPercentage~f:Percentage100Wrapper.to_value));("PoolName",(Option.mapx.poolName~f:PoolName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpoolName=(Option.map~f:PoolName.of_xml)(Xml.childxml_arg0"PoolName")inletwarmupPercentage=(Option.map~f:Percentage100Wrapper.of_xml)(Xml.childxml_arg0"WarmupPercentage")inletwarmupStatus=(Option.map~f:WarmupStatus.of_xml)(Xml.childxml_arg0"WarmupStatus")inletip=(Option.map~f:Ip.of_xml)(Xml.childxml_arg0"Ip")inmake?poolName?warmupPercentage?warmupStatus?ip()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpoolName=field_mapjson__"PoolName"PoolName.of_jsoninletwarmupPercentage=field_mapjson__"WarmupPercentage"Percentage100Wrapper.of_jsoninletwarmupStatus=field_mapjson__"WarmupStatus"WarmupStatus.of_jsoninletip=field_mapjson__"Ip"Ip.of_jsoninmake?poolName?warmupPercentage?warmupStatus?ip()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a dedicated IP address that is associated with your Amazon SES account. To learn more about requesting dedicated IP addresses, see Requesting and Relinquishing Dedicated IP Addresses in the Amazon SES Developer Guide."]moduleScalingMode=structtypenonrect=|STANDARD|MANAGED|Non_static_idofstringletmakei=iletto_string=function|STANDARD->"STANDARD"|MANAGED->"MANAGED"|Non_static_ids->sletof_string=function|"STANDARD"->STANDARD|"MANAGED"->MANAGED|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 ScalingMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ScalingMode"j)letto_json=simple_to_jsonto_valueendmoduleArchiveArn=structtypenonrect=stringletcontext_="ArchiveArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"arn:(aws|aws-[a-z-]+):ses:[a-z]{2,4}-[a-z-]+-[0-9]:[0-9]{1,20}:mailmanager-archive/a-[a-z0-9]{24,62}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ArchiveArn"jletto_json=simple_to_jsonto_valueendmoduleMaxDeliverySeconds=structtypenonrect=Int64.tletmakei=letopenResultinok_or_failwith((check_int64_maxi~max:50400L)>>=(fun()->check_int64_mini~min:300L));iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleTlsPolicy=structtypenonrect=|REQUIRE|OPTIONAL|Non_static_idofstringletmakei=iletto_string=function|REQUIRE->"REQUIRE"|OPTIONAL->"OPTIONAL"|Non_static_ids->sletof_string=function|"REQUIRE"->REQUIRE|"OPTIONAL"->OPTIONAL|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 TlsPolicy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TlsPolicy"j)letto_json=simple_to_jsonto_valueendmoduleLastFreshStart=structtypenonrect=string[@@ocaml.doc"The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start."]letmakei=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_valueend[@@ocaml.doc"The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start."]moduleSuppressionListReasons=structtypenonrect=SuppressionListReason.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SuppressionListReason.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:SuppressionListReason.of_xml)letof_jsonj=list_of_json~kind:"SuppressionListReasons"~of_json:SuppressionListReason.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSuppressionValidationOptions=structtypenonrect={conditionThreshold:SuppressionConditionThreshold.t[@ocaml.doc"Specifies the condition threshold settings for suppression validation."]}letcontext_="SuppressionValidationOptions"letmake~conditionThreshold=fun()->{conditionThreshold}letto_valuex=structure_to_value[("ConditionThreshold",(Some(SuppressionConditionThreshold.to_valuex.conditionThreshold)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconditionThreshold=SuppressionConditionThreshold.of_xml(Xml.child_exn~context:context_xml_arg0"ConditionThreshold")inmake~conditionThreshold()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconditionThreshold=field_map_exnjson__"ConditionThreshold"SuppressionConditionThreshold.of_jsoninmake~conditionThreshold()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains validation options for email address suppression."]moduleCustomRedirectDomain=structtypenonrect=string[@@ocaml.doc"The domain to use for tracking open and click events."]letcontext_="CustomRedirectDomain"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:"CustomRedirectDomain"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The domain to use for tracking open and click events."]moduleHttpsPolicy=structtypenonrect=|REQUIRE|REQUIRE_OPEN_ONLY|OPTIONAL|Non_static_idofstringletmakei=iletto_string=function|REQUIRE->"REQUIRE"|REQUIRE_OPEN_ONLY->"REQUIRE_OPEN_ONLY"|OPTIONAL->"OPTIONAL"|Non_static_ids->sletof_string=function|"REQUIRE"->REQUIRE|"REQUIRE_OPEN_ONLY"->REQUIRE_OPEN_ONLY|"OPTIONAL"->OPTIONAL|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 HttpsPolicy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HttpsPolicy"j)letto_json=simple_to_jsonto_valueendmoduleEventDestination=structtypenonrect={name:EventDestinationName.toption[@ocaml.doc"A name that identifies the event destination."];enabled:Enabled.toption[@ocaml.doc"If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition. If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations."];matchingEventTypes:EventTypes.toption[@ocaml.doc"The types of events that Amazon SES sends to the specified event destinations. SEND - The send request was successful and SES will attempt to deliver the message to the recipient\226\128\153s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) REJECT - SES accepted the email, but determined that it contained a virus and didn\226\128\153t attempt to deliver it to the recipient\226\128\153s mail server. BOUNCE - (Hard bounce) The recipient's mail server permanently rejected the email. (Soft bounces are only included when SES fails to deliver the email after retrying for a period of time.) COMPLAINT - The email was successfully delivered to the recipient\226\128\153s mail server, but the recipient marked it as spam. DELIVERY - SES successfully delivered the email to the recipient's mail server. OPEN - The recipient received the message and opened it in their email client. CLICK - The recipient clicked one or more links in the email. RENDERING_FAILURE - The email wasn't sent because of a template rendering issue. This event type can occur when template data is missing, or when there is a mismatch between template parameters and data. (This event type only occurs when you send email using the SendEmail or SendBulkEmail API operations.) DELIVERY_DELAY - The email couldn't be delivered to the recipient\226\128\153s mail server because a temporary issue occurred. Delivery delays can occur, for example, when the recipient's inbox is full, or when the receiving email server experiences a transient issue. SUBSCRIPTION - The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management."];kinesisFirehoseDestination:KinesisFirehoseDestination.toption[@ocaml.doc"An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift."];cloudWatchDestination:CloudWatchDestination.toption[@ocaml.doc"An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics."];snsDestination:SnsDestination.toption[@ocaml.doc"An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur."];eventBridgeDestination:EventBridgeDestination.toption[@ocaml.doc"An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur."];pinpointDestination:PinpointDestination.toption[@ocaml.doc"An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide."]}letmake?name=fun?enabled->fun?matchingEventTypes->fun?kinesisFirehoseDestination->fun?cloudWatchDestination->fun?snsDestination->fun?eventBridgeDestination->fun?pinpointDestination->fun()->{name;enabled;matchingEventTypes;kinesisFirehoseDestination;cloudWatchDestination;snsDestination;eventBridgeDestination;pinpointDestination}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:EventDestinationName.to_value));("Enabled",(Option.mapx.enabled~f:Enabled.to_value));("MatchingEventTypes",(Option.mapx.matchingEventTypes~f:EventTypes.to_value));("KinesisFirehoseDestination",(Option.mapx.kinesisFirehoseDestination~f:KinesisFirehoseDestination.to_value));("CloudWatchDestination",(Option.mapx.cloudWatchDestination~f:CloudWatchDestination.to_value));("SnsDestination",(Option.mapx.snsDestination~f:SnsDestination.to_value));("EventBridgeDestination",(Option.mapx.eventBridgeDestination~f:EventBridgeDestination.to_value));("PinpointDestination",(Option.mapx.pinpointDestination~f:PinpointDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpinpointDestination=(Option.map~f:PinpointDestination.of_xml)(Xml.childxml_arg0"PinpointDestination")inleteventBridgeDestination=(Option.map~f:EventBridgeDestination.of_xml)(Xml.childxml_arg0"EventBridgeDestination")inletsnsDestination=(Option.map~f:SnsDestination.of_xml)(Xml.childxml_arg0"SnsDestination")inletcloudWatchDestination=(Option.map~f:CloudWatchDestination.of_xml)(Xml.childxml_arg0"CloudWatchDestination")inletkinesisFirehoseDestination=(Option.map~f:KinesisFirehoseDestination.of_xml)(Xml.childxml_arg0"KinesisFirehoseDestination")inletmatchingEventTypes=(Option.map~f:EventTypes.of_xml)(Xml.childxml_arg0"MatchingEventTypes")inletenabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"Enabled")inletname=(Option.map~f:EventDestinationName.of_xml)(Xml.childxml_arg0"Name")inmake?pinpointDestination?eventBridgeDestination?snsDestination?cloudWatchDestination?kinesisFirehoseDestination?matchingEventTypes?enabled?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpinpointDestination=field_mapjson__"PinpointDestination"PinpointDestination.of_jsoninleteventBridgeDestination=field_mapjson__"EventBridgeDestination"EventBridgeDestination.of_jsoninletsnsDestination=field_mapjson__"SnsDestination"SnsDestination.of_jsoninletcloudWatchDestination=field_mapjson__"CloudWatchDestination"CloudWatchDestination.of_jsoninletkinesisFirehoseDestination=field_mapjson__"KinesisFirehoseDestination"KinesisFirehoseDestination.of_jsoninletmatchingEventTypes=field_mapjson__"MatchingEventTypes"EventTypes.of_jsoninletenabled=field_mapjson__"Enabled"Enabled.of_jsoninletname=field_mapjson__"Name"EventDestinationName.of_jsoninmake?pinpointDestination?eventBridgeDestination?snsDestination?cloudWatchDestination?kinesisFirehoseDestination?matchingEventTypes?enabled?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage."]moduleBlacklistEntries=structtypenonrect=BlacklistEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlacklistEntry.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:BlacklistEntry.of_xml)letof_jsonj=list_of_json~kind:"BlacklistEntries"~of_json:BlacklistEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlacklistItemName=structtypenonrect=string[@@ocaml.doc"An IP address that you want to obtain blacklist information for."]letcontext_="BlacklistItemName"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:"BlacklistItemName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An IP address that you want to obtain blacklist information for."]moduleAdditionalContactEmailAddresses=structtypenonrect=AdditionalContactEmailAddress.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:4)>>=(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:AdditionalContactEmailAddress.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:AdditionalContactEmailAddress.of_xml)letof_jsonj=list_of_json~kind:"AdditionalContactEmailAddresses"~of_json:AdditionalContactEmailAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleContactLanguage=structtypenonrect=|EN|JA|Non_static_idofstringletmakei=iletto_string=function|EN->"EN"|JA->"JA"|Non_static_ids->sletof_string=function|"EN"->EN|"JA"->JA|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 ContactLanguage"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ContactLanguage"j)letto_json=simple_to_jsonto_valueendmoduleMailType=structtypenonrect=|MARKETING|TRANSACTIONAL|Non_static_idofstringletmakei=iletto_string=function|MARKETING->"MARKETING"|TRANSACTIONAL->"TRANSACTIONAL"|Non_static_ids->sletof_string=function|"MARKETING"->MARKETING|"TRANSACTIONAL"->TRANSACTIONAL|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 MailType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MailType"j)letto_json=simple_to_jsonto_valueendmoduleReviewDetails=structtypenonrect={status:ReviewStatus.toption[@ocaml.doc"The status of the latest review of your account. The status can be one of the following: PENDING \226\128\147 We have received your appeal and are in the process of reviewing it. GRANTED \226\128\147 Your appeal has been reviewed and your production access has been granted. DENIED \226\128\147 Your appeal has been reviewed and your production access has been denied. FAILED \226\128\147 An internal error occurred and we didn't receive your appeal. You can submit your appeal again."];caseId:CaseId.toption[@ocaml.doc"The associated support center case ID (if any)."]}letmake?status=fun?caseId->fun()->{status;caseId}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:ReviewStatus.to_value));("CaseId",(Option.mapx.caseId~f:CaseId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcaseId=(Option.map~f:CaseId.of_xml)(Xml.childxml_arg0"CaseId")inletstatus=(Option.map~f:ReviewStatus.of_xml)(Xml.childxml_arg0"Status")inmake?caseId?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcaseId=field_mapjson__"CaseId"CaseId.of_jsoninletstatus=field_mapjson__"Status"ReviewStatus.of_jsoninmake?caseId?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about your account details review."]moduleUseCaseDescription=structtypenonrect=stringletcontext_="UseCaseDescription"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:5000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"UseCaseDescription"jletto_json=simple_to_jsonto_valueendmoduleWebsiteURL=structtypenonrect=stringletcontext_="WebsiteURL"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1000)>>=(fun()->check_patterni~pattern:"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"WebsiteURL"jletto_json=simple_to_jsonto_valueendmoduleMax24HourSend=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleMaxSendRate=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleSentLast24Hours=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleSuppressionValidationAttributes=structtypenonrect={conditionThreshold:SuppressionConditionThreshold.t[@ocaml.doc"Specifies the condition threshold settings for account-level suppression."]}letcontext_="SuppressionValidationAttributes"letmake~conditionThreshold=fun()->{conditionThreshold}letto_valuex=structure_to_value[("ConditionThreshold",(Some(SuppressionConditionThreshold.to_valuex.conditionThreshold)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconditionThreshold=SuppressionConditionThreshold.of_xml(Xml.child_exn~context:context_xml_arg0"ConditionThreshold")inmake~conditionThreshold()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconditionThreshold=field_map_exnjson__"ConditionThreshold"SuppressionConditionThreshold.of_jsoninmake~conditionThreshold()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Structure containing validation attributes used for suppressing sending to specific destination on account level."]moduleRoutesDetails=structtypenonrect=RouteDetails.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RouteDetails.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:RouteDetails.of_xml)letof_jsonj=list_of_json~kind:"RoutesDetails"~of_json:RouteDetails.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMetricDataError=structtypenonrect={id:QueryIdentifier.toption[@ocaml.doc"The query identifier."];code:QueryErrorCode.toption[@ocaml.doc"The query error code. Can be one of: INTERNAL_FAILURE \226\128\147 Amazon SES has failed to process one of the queries. ACCESS_DENIED \226\128\147 You have insufficient access to retrieve metrics based on the given query."];message:QueryErrorMessage.toption[@ocaml.doc"The error message associated with the current query error."]}letmake?id=fun?code->fun?message->fun()->{id;code;message}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:QueryIdentifier.to_value));("Code",(Option.mapx.code~f:QueryErrorCode.to_value));("Message",(Option.mapx.message~f:QueryErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:QueryErrorMessage.of_xml)(Xml.childxml_arg0"Message")inletcode=(Option.map~f:QueryErrorCode.of_xml)(Xml.childxml_arg0"Code")inletid=(Option.map~f:QueryIdentifier.of_xml)(Xml.childxml_arg0"Id")inmake?message?code?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"QueryErrorMessage.of_jsoninletcode=field_mapjson__"Code"QueryErrorCode.of_jsoninletid=field_mapjson__"Id"QueryIdentifier.of_jsoninmake?message?code?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An error corresponding to the unsuccessful processing of a single metric data query."]moduleMetricDataResult=structtypenonrect={id:QueryIdentifier.toption[@ocaml.doc"The query identifier."];timestamps:TimestampList.toption[@ocaml.doc"A list of timestamps for the metric data results."];values:MetricValueList.toption[@ocaml.doc"A list of values (cumulative / sum) for the metric data results."]}letmake?id=fun?timestamps->fun?values->fun()->{id;timestamps;values}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:QueryIdentifier.to_value));("Timestamps",(Option.mapx.timestamps~f:TimestampList.to_value));("Values",(Option.mapx.values~f:MetricValueList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=(Option.map~f:MetricValueList.of_xml)(Xml.childxml_arg0"Values")inlettimestamps=(Option.map~f:TimestampList.of_xml)(Xml.childxml_arg0"Timestamps")inletid=(Option.map~f:QueryIdentifier.of_xml)(Xml.childxml_arg0"Id")inmake?values?timestamps?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_mapjson__"Values"MetricValueList.of_jsoninlettimestamps=field_mapjson__"Timestamps"TimestampList.of_jsoninletid=field_mapjson__"Id"QueryIdentifier.of_jsoninmake?values?timestamps?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The result of a single metric data query."]moduleBatchGetMetricDataQuery=structtypenonrect={id:QueryIdentifier.t[@ocaml.doc"The query identifier."];namespace:MetricNamespace.t[@ocaml.doc"The query namespace - e.g. VDM"];metric:Metric.t[@ocaml.doc"The queried metric. This can be one of the following: SEND \226\128\147 Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient. COMPLAINT \226\128\147 Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient PERMANENT_BOUNCE \226\128\147 Permanent bounces - i.e. feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient. TRANSIENT_BOUNCE \226\128\147 Transient bounces - i.e. feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient. OPEN \226\128\147 Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient. CLICK \226\128\147 Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient. DELIVERY \226\128\147 Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient. DELIVERY_OPEN \226\128\147 Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers. DELIVERY_CLICK \226\128\147 Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers. DELIVERY_COMPLAINT \226\128\147 Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement."];dimensions:Dimensions.toption[@ocaml.doc"An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by."];startDate:Timestamp.t[@ocaml.doc"Represents the start date for the query interval."];endDate:Timestamp.t[@ocaml.doc"Represents the end date for the query interval."]}letcontext_="BatchGetMetricDataQuery"letmake?dimensions=fun~id->fun~namespace->fun~metric->fun~startDate->fun~endDate->fun()->{dimensions;id;namespace;metric;startDate;endDate}letto_valuex=structure_to_value[("Id",(Some(QueryIdentifier.to_valuex.id)));("Namespace",(Some(MetricNamespace.to_valuex.namespace)));("Metric",(Some(Metric.to_valuex.metric)));("Dimensions",(Option.mapx.dimensions~f:Dimensions.to_value));("StartDate",(Some(Timestamp.to_valuex.startDate)));("EndDate",(Some(Timestamp.to_valuex.endDate)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"EndDate")inletstartDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"StartDate")inletdimensions=(Option.map~f:Dimensions.of_xml)(Xml.childxml_arg0"Dimensions")inletmetric=Metric.of_xml(Xml.child_exn~context:context_xml_arg0"Metric")inletnamespace=MetricNamespace.of_xml(Xml.child_exn~context:context_xml_arg0"Namespace")inletid=QueryIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"Id")inmake~endDate~startDate?dimensions~metric~namespace~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendDate=field_map_exnjson__"EndDate"Timestamp.of_jsoninletstartDate=field_map_exnjson__"StartDate"Timestamp.of_jsoninletdimensions=field_mapjson__"Dimensions"Dimensions.of_jsoninletmetric=field_map_exnjson__"Metric"Metric.of_jsoninletnamespace=field_map_exnjson__"Namespace"MetricNamespace.of_jsoninletid=field_map_exnjson__"Id"QueryIdentifier.of_jsoninmake~endDate~startDate?dimensions~metric~namespace~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a single metric data query to include in a batch."]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 you provided is invalid."]moduleConflictException=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"If there is already an ongoing account details update under review."]moduleTooManyRequestsException=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"Too many requests have been made to the operation."]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 resource you attempted to access doesn't exist."]moduleTemplateContent=structtypenonrect=string[@@ocaml.doc"The content of the custom verification email template."]letcontext_="TemplateContent"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:"TemplateContent"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The content of the custom verification email template."]moduleConcurrentModificationException=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 resource is being modified by another operation or thread."]moduleAttributesData=structtypenonrect=stringletcontext_="AttributesData"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:"AttributesData"jletto_json=simple_to_jsonto_valueendmoduleTopics=structtypenonrect=Topic.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Topic.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:Topic.of_xml)letof_jsonj=list_of_json~kind:"Topics"~of_json:Topic.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEventDestinationDefinition=structtypenonrect={enabled:Enabled.toption[@ocaml.doc"If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition. If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations."];matchingEventTypes:EventTypes.toption[@ocaml.doc"An array that specifies which events the Amazon SES API v2 should send to the destinations in this EventDestinationDefinition."];kinesisFirehoseDestination:KinesisFirehoseDestination.toption[@ocaml.doc"An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift."];cloudWatchDestination:CloudWatchDestination.toption[@ocaml.doc"An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics."];snsDestination:SnsDestination.toption[@ocaml.doc"An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur."];eventBridgeDestination:EventBridgeDestination.toption[@ocaml.doc"An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur."];pinpointDestination:PinpointDestination.toption[@ocaml.doc"An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide."]}letmake?enabled=fun?matchingEventTypes->fun?kinesisFirehoseDestination->fun?cloudWatchDestination->fun?snsDestination->fun?eventBridgeDestination->fun?pinpointDestination->fun()->{enabled;matchingEventTypes;kinesisFirehoseDestination;cloudWatchDestination;snsDestination;eventBridgeDestination;pinpointDestination}letto_valuex=structure_to_value[("Enabled",(Option.mapx.enabled~f:Enabled.to_value));("MatchingEventTypes",(Option.mapx.matchingEventTypes~f:EventTypes.to_value));("KinesisFirehoseDestination",(Option.mapx.kinesisFirehoseDestination~f:KinesisFirehoseDestination.to_value));("CloudWatchDestination",(Option.mapx.cloudWatchDestination~f:CloudWatchDestination.to_value));("SnsDestination",(Option.mapx.snsDestination~f:SnsDestination.to_value));("EventBridgeDestination",(Option.mapx.eventBridgeDestination~f:EventBridgeDestination.to_value));("PinpointDestination",(Option.mapx.pinpointDestination~f:PinpointDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpinpointDestination=(Option.map~f:PinpointDestination.of_xml)(Xml.childxml_arg0"PinpointDestination")inleteventBridgeDestination=(Option.map~f:EventBridgeDestination.of_xml)(Xml.childxml_arg0"EventBridgeDestination")inletsnsDestination=(Option.map~f:SnsDestination.of_xml)(Xml.childxml_arg0"SnsDestination")inletcloudWatchDestination=(Option.map~f:CloudWatchDestination.of_xml)(Xml.childxml_arg0"CloudWatchDestination")inletkinesisFirehoseDestination=(Option.map~f:KinesisFirehoseDestination.of_xml)(Xml.childxml_arg0"KinesisFirehoseDestination")inletmatchingEventTypes=(Option.map~f:EventTypes.of_xml)(Xml.childxml_arg0"MatchingEventTypes")inletenabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"Enabled")inmake?pinpointDestination?eventBridgeDestination?snsDestination?cloudWatchDestination?kinesisFirehoseDestination?matchingEventTypes?enabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpinpointDestination=field_mapjson__"PinpointDestination"PinpointDestination.of_jsoninleteventBridgeDestination=field_mapjson__"EventBridgeDestination"EventBridgeDestination.of_jsoninletsnsDestination=field_mapjson__"SnsDestination"SnsDestination.of_jsoninletcloudWatchDestination=field_mapjson__"CloudWatchDestination"CloudWatchDestination.of_jsoninletkinesisFirehoseDestination=field_mapjson__"KinesisFirehoseDestination"KinesisFirehoseDestination.of_jsoninletmatchingEventTypes=field_mapjson__"MatchingEventTypes"EventTypes.of_jsoninletenabled=field_mapjson__"Enabled"Enabled.of_jsoninmake?pinpointDestination?eventBridgeDestination?snsDestination?cloudWatchDestination?kinesisFirehoseDestination?matchingEventTypes?enabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRenderedEmailTemplate=structtypenonrect=string[@@ocaml.doc"The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter."]letcontext_="RenderedEmailTemplate"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:"RenderedEmailTemplate"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter."]moduleAccountSuspendedException=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 message can't be sent because the account's ability to send email has been permanently restricted."]moduleLimitExceededException=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"There are too many instances of the specified resource type."]moduleMailFromDomainNotVerifiedException=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 message can't be sent because the sending domain isn't verified."]moduleMessageRejected=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 message can't be sent because it contains invalid content."]moduleSendingPausedException=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 message can't be sent because the account's ability to send email is currently paused."]moduleEmailContent=structtypenonrect={simple:Message.toption[@ocaml.doc"The simple email message. The message consists of a subject, message body and attachments list."];raw:RawMessage.toption[@ocaml.doc"The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. If you include attachments, they must be in a file format that the Amazon SES API v2 supports. The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321."];template:Template.toption[@ocaml.doc"The template to use for the email message."]}letmake?simple=fun?raw->fun?template->fun()->{simple;raw;template}letto_valuex=structure_to_value[("Simple",(Option.mapx.simple~f:Message.to_value));("Raw",(Option.mapx.raw~f:RawMessage.to_value));("Template",(Option.mapx.template~f:Template.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplate=(Option.map~f:Template.of_xml)(Xml.childxml_arg0"Template")inletraw=(Option.map~f:RawMessage.of_xml)(Xml.childxml_arg0"Raw")inletsimple=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"Simple")inmake?template?raw?simple()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplate=field_mapjson__"Template"Template.of_jsoninletraw=field_mapjson__"Raw"RawMessage.of_jsoninletsimple=field_mapjson__"Simple"Message.of_jsoninmake?template?raw?simple()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the entire content of the email, including the message headers, body content, and attachments. For a simple email message, you specify the subject and provide both text and HTML versions of the message body. You can also add attachments to simple and templated messages. For a raw message, you provide a complete MIME-formatted message, which can include custom headers and attachments."]moduleListManagementOptions=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];topicName:TopicName.toption[@ocaml.doc"The name of the topic."]}letcontext_="ListManagementOptions"letmake?topicName=fun~contactListName->fun()->{topicName;contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("TopicName",(Option.mapx.topicName~f:TopicName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicName=(Option.map~f:TopicName.of_xml)(Xml.childxml_arg0"TopicName")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?topicName~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicName=field_mapjson__"TopicName"TopicName.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?topicName~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe."]moduleBulkEmailEntryResultList=structtypenonrect=BulkEmailEntryResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BulkEmailEntryResult.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:BulkEmailEntryResult.of_xml)letof_jsonj=list_of_json~kind:"BulkEmailEntryResultList"~of_json:BulkEmailEntryResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBulkEmailContent=structtypenonrect={template:Template.toption[@ocaml.doc"The template to use for the bulk email message."]}letmake?template=fun()->{template}letto_valuex=structure_to_value[("Template",(Option.mapx.template~f:Template.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplate=(Option.map~f:Template.of_xml)(Xml.childxml_arg0"Template")inmake?template()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplate=field_mapjson__"Template"Template.of_jsoninmake?template()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains the body of the message. You can specify a template message."]moduleBulkEmailEntryList=structtypenonrect=BulkEmailEntry.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BulkEmailEntry.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:BulkEmailEntry.of_xml)letof_jsonj=list_of_json~kind:"BulkEmailEntryList"~of_json:BulkEmailEntry.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDkimSigningAttributes=structtypenonrect={domainSigningSelector:Selector.toption[@ocaml.doc"\\[Bring Your Own DKIM\\] A string that's used to identify a public key in the DNS configuration for a domain."];domainSigningPrivateKey:PrivateKey.toption[@ocaml.doc"\\[Bring Your Own DKIM\\] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding."];nextSigningKeyLength:DkimSigningKeyLength.toption[@ocaml.doc"\\[Easy DKIM\\] The key length of the future DKIM key pair to be generated. This can be changed at most once per day."];domainSigningAttributesOrigin:DkimSigningAttributesOrigin.toption[@ocaml.doc"The attribute to use for configuring DKIM for the identity depends on the operation: For PutEmailIdentityDkimSigningAttributes: None of the values are allowed - use the SigningAttributesOrigin parameter instead For CreateEmailIdentity when replicating a parent identity's DKIM configuration: Allowed values: All values except AWS_SES and EXTERNAL AWS_SES \226\128\147 Configure DKIM for the identity by using Easy DKIM. EXTERNAL \226\128\147 Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM). AWS_SES_AF_SOUTH_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Africa (Cape Town) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_NORTH_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Stockholm) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTH_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Mumbai) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTH_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Hyderabad) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_3 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Paris) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (London) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_SOUTH_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Milan) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Ireland) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_3 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Osaka) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Seoul) region using Deterministic Easy-DKIM (DEED). AWS_SES_ME_CENTRAL_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Middle East (UAE) region using Deterministic Easy-DKIM (DEED). AWS_SES_ME_SOUTH_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Middle East (Bahrain) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Tokyo) region using Deterministic Easy-DKIM (DEED). AWS_SES_IL_CENTRAL_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Israel (Tel Aviv) region using Deterministic Easy-DKIM (DEED). AWS_SES_SA_EAST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in South America (S\195\163o Paulo) region using Deterministic Easy-DKIM (DEED). AWS_SES_CA_CENTRAL_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Canada (Central) region using Deterministic Easy-DKIM (DEED). AWS_SES_CA_WEST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Canada (Calgary) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Singapore) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Sydney) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_3 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Jakarta) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_5 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Malaysia) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_CENTRAL_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Frankfurt) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_CENTRAL_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in Europe (Zurich) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_EAST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in US East (N. Virginia) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_EAST_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in US East (Ohio) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_WEST_1 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in US West (N. California) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_WEST_2 \226\128\147 Configure DKIM for the identity by replicating from a parent identity in US West (Oregon) region using Deterministic Easy-DKIM (DEED)."]}letmake?domainSigningSelector=fun?domainSigningPrivateKey->fun?nextSigningKeyLength->fun?domainSigningAttributesOrigin->fun()->{domainSigningSelector;domainSigningPrivateKey;nextSigningKeyLength;domainSigningAttributesOrigin}letto_valuex=structure_to_value[("DomainSigningSelector",(Option.mapx.domainSigningSelector~f:Selector.to_value));("DomainSigningPrivateKey",(Option.mapx.domainSigningPrivateKey~f:PrivateKey.to_value));("NextSigningKeyLength",(Option.mapx.nextSigningKeyLength~f:DkimSigningKeyLength.to_value));("DomainSigningAttributesOrigin",(Option.mapx.domainSigningAttributesOrigin~f:DkimSigningAttributesOrigin.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainSigningAttributesOrigin=(Option.map~f:DkimSigningAttributesOrigin.of_xml)(Xml.childxml_arg0"DomainSigningAttributesOrigin")inletnextSigningKeyLength=(Option.map~f:DkimSigningKeyLength.of_xml)(Xml.childxml_arg0"NextSigningKeyLength")inletdomainSigningPrivateKey=(Option.map~f:PrivateKey.of_xml)(Xml.childxml_arg0"DomainSigningPrivateKey")inletdomainSigningSelector=(Option.map~f:Selector.of_xml)(Xml.childxml_arg0"DomainSigningSelector")inmake?domainSigningAttributesOrigin?nextSigningKeyLength?domainSigningPrivateKey?domainSigningSelector()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainSigningAttributesOrigin=field_mapjson__"DomainSigningAttributesOrigin"DkimSigningAttributesOrigin.of_jsoninletnextSigningKeyLength=field_mapjson__"NextSigningKeyLength"DkimSigningKeyLength.of_jsoninletdomainSigningPrivateKey=field_mapjson__"DomainSigningPrivateKey"PrivateKey.of_jsoninletdomainSigningSelector=field_mapjson__"DomainSigningSelector"Selector.of_jsoninmake?domainSigningAttributesOrigin?nextSigningKeyLength?domainSigningPrivateKey?domainSigningSelector()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy DKIM"]moduleAlreadyExistsException=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 resource specified in your request already exists."]moduleDomainDeliverabilityTrackingOptions=structtypenonrect=DomainDeliverabilityTrackingOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DomainDeliverabilityTrackingOption.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:DomainDeliverabilityTrackingOption.of_xml)letof_jsonj=list_of_json~kind:"DomainDeliverabilityTrackingOptions"~of_json:DomainDeliverabilityTrackingOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVdmOptions=structtypenonrect={dashboardOptions:DashboardOptions.toption[@ocaml.doc"Specifies additional settings for your VDM configuration as applicable to the Dashboard."];guardianOptions:GuardianOptions.toption[@ocaml.doc"Specifies additional settings for your VDM configuration as applicable to the Guardian."]}letmake?dashboardOptions=fun?guardianOptions->fun()->{dashboardOptions;guardianOptions}letto_valuex=structure_to_value[("DashboardOptions",(Option.mapx.dashboardOptions~f:DashboardOptions.to_value));("GuardianOptions",(Option.mapx.guardianOptions~f:GuardianOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letguardianOptions=(Option.map~f:GuardianOptions.of_xml)(Xml.childxml_arg0"GuardianOptions")inletdashboardOptions=(Option.map~f:DashboardOptions.of_xml)(Xml.childxml_arg0"DashboardOptions")inmake?guardianOptions?dashboardOptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letguardianOptions=field_mapjson__"GuardianOptions"GuardianOptions.of_jsoninletdashboardOptions=field_mapjson__"DashboardOptions"DashboardOptions.of_jsoninmake?guardianOptions?dashboardOptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the VDM settings that apply to emails that you send using the configuration set."]moduleSendingPoolName=structtypenonrect=string[@@ocaml.doc"The name of the dedicated IP pool to associate with the configuration set."]letcontext_="SendingPoolName"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:"SendingPoolName"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The name of the dedicated IP pool to associate with the configuration set."]moduleVdmAttributes=structtypenonrect={vdmEnabled:FeatureStatus.t[@ocaml.doc"Specifies the status of your VDM configuration. Can be one of the following: ENABLED \226\128\147 Amazon SES enables VDM for your account. DISABLED \226\128\147 Amazon SES disables VDM for your account."];dashboardAttributes:DashboardAttributes.toption[@ocaml.doc"Specifies additional settings for your VDM configuration as applicable to the Dashboard."];guardianAttributes:GuardianAttributes.toption[@ocaml.doc"Specifies additional settings for your VDM configuration as applicable to the Guardian."]}letcontext_="VdmAttributes"letmake?dashboardAttributes=fun?guardianAttributes->fun~vdmEnabled->fun()->{dashboardAttributes;guardianAttributes;vdmEnabled}letto_valuex=structure_to_value[("VdmEnabled",(Some(FeatureStatus.to_valuex.vdmEnabled)));("DashboardAttributes",(Option.mapx.dashboardAttributes~f:DashboardAttributes.to_value));("GuardianAttributes",(Option.mapx.guardianAttributes~f:GuardianAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letguardianAttributes=(Option.map~f:GuardianAttributes.of_xml)(Xml.childxml_arg0"GuardianAttributes")inletdashboardAttributes=(Option.map~f:DashboardAttributes.of_xml)(Xml.childxml_arg0"DashboardAttributes")inletvdmEnabled=FeatureStatus.of_xml(Xml.child_exn~context:context_xml_arg0"VdmEnabled")inmake?guardianAttributes?dashboardAttributes~vdmEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letguardianAttributes=field_mapjson__"GuardianAttributes"GuardianAttributes.of_jsoninletdashboardAttributes=field_mapjson__"DashboardAttributes"DashboardAttributes.of_jsoninletvdmEnabled=field_map_exnjson__"VdmEnabled"FeatureStatus.of_jsoninmake?guardianAttributes?dashboardAttributes~vdmEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The VDM attributes that apply to your Amazon SES account."]moduleEnabledWrapper=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_valueendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleTenantInfoList=structtypenonrect=TenantInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TenantInfo.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:TenantInfo.of_xml)letof_jsonj=list_of_json~kind:"TenantInfoList"~of_json:TenantInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxItems=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 MaxItems"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTenantResourceList=structtypenonrect=TenantResource.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TenantResource.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:TenantResource.of_xml)letof_jsonj=list_of_json~kind:"TenantResourceList"~of_json:TenantResource.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListTenantResourcesFilter=structtypenonrect=(ListTenantResourcesFilterKey.t*ListTenantResourcesFilterValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((ListTenantResourcesFilterKey.of_stringchopped),(ListTenantResourcesFilterValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ListTenantResourcesFilterKey.to_valuex)|>(funx->(ListTenantResourcesFilterValue.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:ListTenantResourcesFilterKey.of_string~of_json:ListTenantResourcesFilterValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInvalidNextTokenException=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified request includes an invalid or expired token."]moduleSuppressedDestinationSummaries=structtypenonrect=SuppressedDestinationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SuppressedDestinationSummary.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:SuppressedDestinationSummary.of_xml)letof_jsonj=list_of_json~kind:"SuppressedDestinationSummaries"~of_json:SuppressedDestinationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceTenantMetadataList=structtypenonrect=ResourceTenantMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceTenantMetadata.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:ResourceTenantMetadata.of_xml)letof_jsonj=list_of_json~kind:"ResourceTenantMetadataList"~of_json:ResourceTenantMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReputationEntitiesList=structtypenonrect=ReputationEntity.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReputationEntity.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:ReputationEntity.of_xml)letof_jsonj=list_of_json~kind:"ReputationEntitiesList"~of_json:ReputationEntity.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleReputationEntityFilter=structtypenonrect=(ReputationEntityFilterKey.t*ReputationEntityFilterValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((ReputationEntityFilterKey.of_stringchopped),(ReputationEntityFilterValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ReputationEntityFilterKey.to_valuex)|>(funx->(ReputationEntityFilterValue.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:ReputationEntityFilterKey.of_string~of_json:ReputationEntityFilterValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRecommendationsList=structtypenonrect=Recommendation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Recommendation.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:Recommendation.of_xml)letof_jsonj=list_of_json~kind:"RecommendationsList"~of_json:Recommendation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListRecommendationsFilter=structtypenonrect=(ListRecommendationsFilterKey.t*ListRecommendationFilterValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:2)>>=(fun()->check_list_mini~min:1));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((ListRecommendationsFilterKey.of_stringchopped),(ListRecommendationFilterValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ListRecommendationsFilterKey.to_valuex)|>(funx->(ListRecommendationFilterValue.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:ListRecommendationsFilterKey.of_string~of_json:ListRecommendationFilterValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMultiRegionEndpoints=structtypenonrect=MultiRegionEndpoint.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MultiRegionEndpoint.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:MultiRegionEndpoint.of_xml)letof_jsonj=list_of_json~kind:"MultiRegionEndpoints"~of_json:MultiRegionEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextTokenV2=structtypenonrect=stringletcontext_="NextTokenV2"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:5000)>>=(fun()->check_patterni~pattern:"^^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{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:"NextTokenV2"jletto_json=simple_to_jsonto_valueendmodulePageSizeV2=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PageSizeV2"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleImportJobSummaryList=structtypenonrect=ImportJobSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImportJobSummary.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:ImportJobSummary.of_xml)letof_jsonj=list_of_json~kind:"ImportJobSummaryList"~of_json:ImportJobSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleImportDestinationType=structtypenonrect=|SUPPRESSION_LIST|CONTACT_LIST|Non_static_idofstringletmakei=iletto_string=function|SUPPRESSION_LIST->"SUPPRESSION_LIST"|CONTACT_LIST->"CONTACT_LIST"|Non_static_ids->sletof_string=function|"SUPPRESSION_LIST"->SUPPRESSION_LIST|"CONTACT_LIST"->CONTACT_LIST|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 ImportDestinationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImportDestinationType"j)letto_json=simple_to_jsonto_valueendmoduleExportJobSummaryList=structtypenonrect=ExportJobSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ExportJobSummary.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:ExportJobSummary.of_xml)letof_jsonj=list_of_json~kind:"ExportJobSummaryList"~of_json:ExportJobSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEmailTemplateMetadataList=structtypenonrect=EmailTemplateMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EmailTemplateMetadata.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:EmailTemplateMetadata.of_xml)letof_jsonj=list_of_json~kind:"EmailTemplateMetadataList"~of_json:EmailTemplateMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIdentityInfoList=structtypenonrect=IdentityInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IdentityInfo.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:IdentityInfo.of_xml)letof_jsonj=list_of_json~kind:"IdentityInfoList"~of_json:IdentityInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDomainDeliverabilityCampaignList=structtypenonrect=DomainDeliverabilityCampaign.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DomainDeliverabilityCampaign.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:DomainDeliverabilityCampaign.of_xml)letof_jsonj=list_of_json~kind:"DomainDeliverabilityCampaignList"~of_json:DomainDeliverabilityCampaign.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDeliverabilityTestReports=structtypenonrect=DeliverabilityTestReport.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DeliverabilityTestReport.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:DeliverabilityTestReport.of_xml)letof_jsonj=list_of_json~kind:"DeliverabilityTestReports"~of_json:DeliverabilityTestReport.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListOfDedicatedIpPools=structtypenonrect=PoolName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PoolName.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:PoolName.of_xml)letof_jsonj=list_of_json~kind:"ListOfDedicatedIpPools"~of_json:PoolName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCustomVerificationEmailTemplatesList=structtypenonrect=CustomVerificationEmailTemplateMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CustomVerificationEmailTemplateMetadata.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:CustomVerificationEmailTemplateMetadata.of_xml)letof_jsonj=list_of_json~kind:"CustomVerificationEmailTemplatesList"~of_json:CustomVerificationEmailTemplateMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListOfContacts=structtypenonrect=Contact.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Contact.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:Contact.of_xml)letof_jsonj=list_of_json~kind:"ListOfContacts"~of_json:Contact.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListContactsFilter=structtypenonrect={filteredStatus:SubscriptionStatus.toption[@ocaml.doc"The status by which you are filtering: OPT_IN or OPT_OUT."];topicFilter:TopicFilter.toption[@ocaml.doc"Used for filtering by a specific topic preference."]}letmake?filteredStatus=fun?topicFilter->fun()->{filteredStatus;topicFilter}letto_valuex=structure_to_value[("FilteredStatus",(Option.mapx.filteredStatus~f:SubscriptionStatus.to_value));("TopicFilter",(Option.mapx.topicFilter~f:TopicFilter.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettopicFilter=(Option.map~f:TopicFilter.of_xml)(Xml.childxml_arg0"TopicFilter")inletfilteredStatus=(Option.map~f:SubscriptionStatus.of_xml)(Xml.childxml_arg0"FilteredStatus")inmake?topicFilter?filteredStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettopicFilter=field_mapjson__"TopicFilter"TopicFilter.of_jsoninletfilteredStatus=field_mapjson__"FilteredStatus"SubscriptionStatus.of_jsoninmake?topicFilter?filteredStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter that can be applied to a list of contacts."]moduleListOfContactLists=structtypenonrect=ContactList.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ContactList.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:ContactList.of_xml)letof_jsonj=list_of_json~kind:"ListOfContactLists"~of_json:ContactList.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConfigurationSetNameList=structtypenonrect=ConfigurationSetName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ConfigurationSetName.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:ConfigurationSetName.of_xml)letof_jsonj=list_of_json~kind:"ConfigurationSetNameList"~of_json:ConfigurationSetName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTenant=structtypenonrect={tenantName:TenantName.toption[@ocaml.doc"The name of the tenant."];tenantId:TenantId.toption[@ocaml.doc"A unique identifier for the tenant."];tenantArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the tenant."];createdTimestamp:Timestamp.toption[@ocaml.doc"The date and time when the tenant was created."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) associated with the tenant."];sendingStatus:SendingStatus.toption[@ocaml.doc"The status of sending capability for the tenant."]}letmake?tenantName=fun?tenantId->fun?tenantArn->fun?createdTimestamp->fun?tags->fun?sendingStatus->fun()->{tenantName;tenantId;tenantArn;createdTimestamp;tags;sendingStatus}letto_valuex=structure_to_value[("TenantName",(Option.mapx.tenantName~f:TenantName.to_value));("TenantId",(Option.mapx.tenantId~f:TenantId.to_value));("TenantArn",(Option.mapx.tenantArn~f:AmazonResourceName.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("SendingStatus",(Option.mapx.sendingStatus~f:SendingStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingStatus=(Option.map~f:SendingStatus.of_xml)(Xml.childxml_arg0"SendingStatus")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inlettenantArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"TenantArn")inlettenantId=(Option.map~f:TenantId.of_xml)(Xml.childxml_arg0"TenantId")inlettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inmake?sendingStatus?tags?createdTimestamp?tenantArn?tenantId?tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingStatus=field_mapjson__"SendingStatus"SendingStatus.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninlettenantArn=field_mapjson__"TenantArn"AmazonResourceName.of_jsoninlettenantId=field_mapjson__"TenantId"TenantId.of_jsoninlettenantName=field_mapjson__"TenantName"TenantName.of_jsoninmake?sendingStatus?tags?createdTimestamp?tenantArn?tenantId?tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that contains details about a tenant."]moduleSuppressedDestination=structtypenonrect={emailAddress:EmailAddress.toption[@ocaml.doc"The email address that is on the suppression list for your account."];reason:SuppressionListReason.toption[@ocaml.doc"The reason that the address was added to the suppression list for your account."];lastUpdateTime:Timestamp.toption[@ocaml.doc"The date and time when the suppressed destination was last updated, shown in Unix time format."];attributes:SuppressedDestinationAttributes.toption[@ocaml.doc"An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account."]}letmake?emailAddress=fun?reason->fun?lastUpdateTime->fun?attributes->fun()->{emailAddress;reason;lastUpdateTime;attributes}letto_valuex=structure_to_value[("EmailAddress",(Option.mapx.emailAddress~f:EmailAddress.to_value));("Reason",(Option.mapx.reason~f:SuppressionListReason.to_value));("LastUpdateTime",(Option.mapx.lastUpdateTime~f:Timestamp.to_value));("Attributes",(Option.mapx.attributes~f:SuppressedDestinationAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributes=(Option.map~f:SuppressedDestinationAttributes.of_xml)(Xml.childxml_arg0"Attributes")inletlastUpdateTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdateTime")inletreason=(Option.map~f:SuppressionListReason.of_xml)(Xml.childxml_arg0"Reason")inletemailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"EmailAddress")inmake?attributes?lastUpdateTime?reason?emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributes=field_mapjson__"Attributes"SuppressedDestinationAttributes.of_jsoninletlastUpdateTime=field_mapjson__"LastUpdateTime"Timestamp.of_jsoninletreason=field_mapjson__"Reason"SuppressionListReason.of_jsoninletemailAddress=field_mapjson__"EmailAddress"EmailAddress.of_jsoninmake?attributes?lastUpdateTime?reason?emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about an email address that is on the suppression list for your account."]moduleRoutes=structtypenonrect=Route.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Route.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:Route.of_xml)letof_jsonj=list_of_json~kind:"Routes"~of_json:Route.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEmailInsightsList=structtypenonrect=EmailInsights.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EmailInsights.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:EmailInsights.of_xml)letof_jsonj=list_of_json~kind:"EmailInsightsList"~of_json:EmailInsights.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFailureInfo=structtypenonrect={failedRecordsS3Url:FailedRecordsS3Url.toption[@ocaml.doc"An Amazon S3 pre-signed URL that contains all the failed records and related information."];errorMessage:ErrorMessage.toption[@ocaml.doc"A message about why the job failed."]}letmake?failedRecordsS3Url=fun?errorMessage->fun()->{failedRecordsS3Url;errorMessage}letto_valuex=structure_to_value[("FailedRecordsS3Url",(Option.mapx.failedRecordsS3Url~f:FailedRecordsS3Url.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inletfailedRecordsS3Url=(Option.map~f:FailedRecordsS3Url.of_xml)(Xml.childxml_arg0"FailedRecordsS3Url")inmake?errorMessage?failedRecordsS3Url()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorMessage=field_mapjson__"ErrorMessage"ErrorMessage.of_jsoninletfailedRecordsS3Url=field_mapjson__"FailedRecordsS3Url"FailedRecordsS3Url.of_jsoninmake?errorMessage?failedRecordsS3Url()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains the failure details about a job."]moduleImportDataSource=structtypenonrect={s3Url:S3Url.t[@ocaml.doc"An Amazon S3 URL in the format s3://<bucket_name>/<object>."];dataFormat:DataFormat.t[@ocaml.doc"The data format of the import job's data source."]}letcontext_="ImportDataSource"letmake~s3Url=fun~dataFormat->fun()->{s3Url;dataFormat}letto_valuex=structure_to_value[("S3Url",(Some(S3Url.to_valuex.s3Url)));("DataFormat",(Some(DataFormat.to_valuex.dataFormat)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdataFormat=DataFormat.of_xml(Xml.child_exn~context:context_xml_arg0"DataFormat")inlets3Url=S3Url.of_xml(Xml.child_exn~context:context_xml_arg0"S3Url")inmake~dataFormat~s3Url()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdataFormat=field_map_exnjson__"DataFormat"DataFormat.of_jsoninlets3Url=field_map_exnjson__"S3Url"S3Url.of_jsoninmake~dataFormat~s3Url()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the data source of the import job."]moduleExportDataSource=structtypenonrect={metricsDataSource:MetricsDataSource.toption;messageInsightsDataSource:MessageInsightsDataSource.toption}letmake?metricsDataSource=fun?messageInsightsDataSource->fun()->{metricsDataSource;messageInsightsDataSource}letto_valuex=structure_to_value[("MetricsDataSource",(Option.mapx.metricsDataSource~f:MetricsDataSource.to_value));("MessageInsightsDataSource",(Option.mapx.messageInsightsDataSource~f:MessageInsightsDataSource.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessageInsightsDataSource=(Option.map~f:MessageInsightsDataSource.of_xml)(Xml.childxml_arg0"MessageInsightsDataSource")inletmetricsDataSource=(Option.map~f:MetricsDataSource.of_xml)(Xml.childxml_arg0"MetricsDataSource")inmake?messageInsightsDataSource?metricsDataSource()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessageInsightsDataSource=field_mapjson__"MessageInsightsDataSource"MessageInsightsDataSource.of_jsoninletmetricsDataSource=field_mapjson__"MetricsDataSource"MetricsDataSource.of_jsoninmake?messageInsightsDataSource?metricsDataSource()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the data source of the export job. It can only contain one of MetricsDataSource or MessageInsightsDataSource object."]moduleExportDestination=structtypenonrect={dataFormat:DataFormat.t[@ocaml.doc"The data format of the final export job file, can be one of the following: CSV - A comma-separated values file. JSON - A Json file."];s3Url:S3Url.toption[@ocaml.doc"An Amazon S3 pre-signed URL that points to the generated export file."]}letcontext_="ExportDestination"letmake?s3Url=fun~dataFormat->fun()->{s3Url;dataFormat}letto_valuex=structure_to_value[("DataFormat",(Some(DataFormat.to_valuex.dataFormat)));("S3Url",(Option.mapx.s3Url~f:S3Url.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Url=(Option.map~f:S3Url.of_xml)(Xml.childxml_arg0"S3Url")inletdataFormat=DataFormat.of_xml(Xml.child_exn~context:context_xml_arg0"DataFormat")inmake?s3Url~dataFormat()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Url=field_mapjson__"S3Url"S3Url.of_jsoninletdataFormat=field_map_exnjson__"DataFormat"DataFormat.of_jsoninmake?s3Url~dataFormat()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains details about the destination of the export job."]moduleExportStatistics=structtypenonrect={processedRecordsCount:ProcessedRecordsCount.toption[@ocaml.doc"The number of records that were processed to generate the final export file."];exportedRecordsCount:ExportedRecordsCount.toption[@ocaml.doc"The number of records that were exported to the final export file. This value might not be available for all export source types"]}letmake?processedRecordsCount=fun?exportedRecordsCount->fun()->{processedRecordsCount;exportedRecordsCount}letto_valuex=structure_to_value[("ProcessedRecordsCount",(Option.mapx.processedRecordsCount~f:ProcessedRecordsCount.to_value));("ExportedRecordsCount",(Option.mapx.exportedRecordsCount~f:ExportedRecordsCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexportedRecordsCount=(Option.map~f:ExportedRecordsCount.of_xml)(Xml.childxml_arg0"ExportedRecordsCount")inletprocessedRecordsCount=(Option.map~f:ProcessedRecordsCount.of_xml)(Xml.childxml_arg0"ProcessedRecordsCount")inmake?exportedRecordsCount?processedRecordsCount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexportedRecordsCount=field_mapjson__"ExportedRecordsCount"ExportedRecordsCount.of_jsoninletprocessedRecordsCount=field_mapjson__"ProcessedRecordsCount"ProcessedRecordsCount.of_jsoninmake?exportedRecordsCount?processedRecordsCount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Statistics about the execution of an export job."]moduleDkimAttributes=structtypenonrect={signingEnabled:Enabled.toption[@ocaml.doc"If the value is true, then the messages that you send from the identity are signed using DKIM. If the value is false, then the messages that you send from the identity aren't DKIM-signed."];status:DkimStatus.toption[@ocaml.doc"Describes whether or not Amazon SES has successfully located the DKIM records in the DNS records for the domain. The status can be one of the following: PENDING \226\128\147 The verification process was initiated, but Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain. SUCCESS \226\128\147 The verification process completed successfully. FAILED \226\128\147 The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain. TEMPORARY_FAILURE \226\128\147 A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain. NOT_STARTED \226\128\147 The DKIM verification process hasn't been initiated for the domain."];tokens:DnsTokenList.toption[@ocaml.doc"If you used Easy DKIM to configure DKIM authentication for the domain, then this object contains a set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete. If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector for the public key. Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours."];signingHostedZone:HostedZone.toption[@ocaml.doc"The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication. When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example: selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone> selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone> selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>"];signingAttributesOrigin:DkimSigningAttributesOrigin.toption[@ocaml.doc"A string that indicates how DKIM was configured for the identity. These are the possible values: AWS_SES \226\128\147 Indicates that DKIM was configured for the identity by using Easy DKIM. EXTERNAL \226\128\147 Indicates that DKIM was configured for the identity by using Bring Your Own DKIM (BYODKIM). AWS_SES_AF_SOUTH_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Africa (Cape Town) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_NORTH_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Stockholm) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTH_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Mumbai) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTH_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Hyderabad) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_3 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Paris) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (London) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_SOUTH_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Milan) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_WEST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Ireland) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_3 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Osaka) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Seoul) region using Deterministic Easy-DKIM (DEED). AWS_SES_ME_CENTRAL_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Middle East (UAE) region using Deterministic Easy-DKIM (DEED). AWS_SES_ME_SOUTH_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Middle East (Bahrain) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_NORTHEAST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Tokyo) region using Deterministic Easy-DKIM (DEED). AWS_SES_IL_CENTRAL_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Israel (Tel Aviv) region using Deterministic Easy-DKIM (DEED). AWS_SES_SA_EAST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in South America (S\195\163o Paulo) region using Deterministic Easy-DKIM (DEED). AWS_SES_CA_CENTRAL_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Canada (Central) region using Deterministic Easy-DKIM (DEED). AWS_SES_CA_WEST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Canada (Calgary) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Singapore) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Sydney) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_3 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Jakarta) region using Deterministic Easy-DKIM (DEED). AWS_SES_AP_SOUTHEAST_5 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Malaysia) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_CENTRAL_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Frankfurt) region using Deterministic Easy-DKIM (DEED). AWS_SES_EU_CENTRAL_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Zurich) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_EAST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (N. Virginia) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_EAST_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (Ohio) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_WEST_1 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (N. California) region using Deterministic Easy-DKIM (DEED). AWS_SES_US_WEST_2 \226\128\147 Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (Oregon) region using Deterministic Easy-DKIM (DEED)."];nextSigningKeyLength:DkimSigningKeyLength.toption[@ocaml.doc"\\[Easy DKIM\\] The key length of the future DKIM key pair to be generated. This can be changed at most once per day."];currentSigningKeyLength:DkimSigningKeyLength.toption[@ocaml.doc"\\[Easy DKIM\\] The key length of the DKIM key pair in use."];lastKeyGenerationTimestamp:Timestamp.toption[@ocaml.doc"\\[Easy DKIM\\] The last time a key pair was generated for this identity."]}letmake?signingEnabled=fun?status->fun?tokens->fun?signingHostedZone->fun?signingAttributesOrigin->fun?nextSigningKeyLength->fun?currentSigningKeyLength->fun?lastKeyGenerationTimestamp->fun()->{signingEnabled;status;tokens;signingHostedZone;signingAttributesOrigin;nextSigningKeyLength;currentSigningKeyLength;lastKeyGenerationTimestamp}letto_valuex=structure_to_value[("SigningEnabled",(Option.mapx.signingEnabled~f:Enabled.to_value));("Status",(Option.mapx.status~f:DkimStatus.to_value));("Tokens",(Option.mapx.tokens~f:DnsTokenList.to_value));("SigningHostedZone",(Option.mapx.signingHostedZone~f:HostedZone.to_value));("SigningAttributesOrigin",(Option.mapx.signingAttributesOrigin~f:DkimSigningAttributesOrigin.to_value));("NextSigningKeyLength",(Option.mapx.nextSigningKeyLength~f:DkimSigningKeyLength.to_value));("CurrentSigningKeyLength",(Option.mapx.currentSigningKeyLength~f:DkimSigningKeyLength.to_value));("LastKeyGenerationTimestamp",(Option.mapx.lastKeyGenerationTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastKeyGenerationTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastKeyGenerationTimestamp")inletcurrentSigningKeyLength=(Option.map~f:DkimSigningKeyLength.of_xml)(Xml.childxml_arg0"CurrentSigningKeyLength")inletnextSigningKeyLength=(Option.map~f:DkimSigningKeyLength.of_xml)(Xml.childxml_arg0"NextSigningKeyLength")inletsigningAttributesOrigin=(Option.map~f:DkimSigningAttributesOrigin.of_xml)(Xml.childxml_arg0"SigningAttributesOrigin")inletsigningHostedZone=(Option.map~f:HostedZone.of_xml)(Xml.childxml_arg0"SigningHostedZone")inlettokens=(Option.map~f:DnsTokenList.of_xml)(Xml.childxml_arg0"Tokens")inletstatus=(Option.map~f:DkimStatus.of_xml)(Xml.childxml_arg0"Status")inletsigningEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SigningEnabled")inmake?lastKeyGenerationTimestamp?currentSigningKeyLength?nextSigningKeyLength?signingAttributesOrigin?signingHostedZone?tokens?status?signingEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastKeyGenerationTimestamp=field_mapjson__"LastKeyGenerationTimestamp"Timestamp.of_jsoninletcurrentSigningKeyLength=field_mapjson__"CurrentSigningKeyLength"DkimSigningKeyLength.of_jsoninletnextSigningKeyLength=field_mapjson__"NextSigningKeyLength"DkimSigningKeyLength.of_jsoninletsigningAttributesOrigin=field_mapjson__"SigningAttributesOrigin"DkimSigningAttributesOrigin.of_jsoninletsigningHostedZone=field_mapjson__"SigningHostedZone"HostedZone.of_jsoninlettokens=field_mapjson__"Tokens"DnsTokenList.of_jsoninletstatus=field_mapjson__"Status"DkimStatus.of_jsoninletsigningEnabled=field_mapjson__"SigningEnabled"Enabled.of_jsoninmake?lastKeyGenerationTimestamp?currentSigningKeyLength?nextSigningKeyLength?signingAttributesOrigin?signingHostedZone?tokens?status?signingEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the DKIM authentication status for an email identity. Amazon SES determines the authentication status by searching for specific records in the DNS configuration for the domain. If you used Easy DKIM to set up DKIM authentication, Amazon SES tries to find three unique CNAME records in the DNS configuration for your domain. If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that's paired with the private key that you specified in the process of creating the identity"]moduleMailFromAttributes=structtypenonrect={mailFromDomain:MailFromDomainName.toption[@ocaml.doc"The name of a domain that an email identity uses as a custom MAIL FROM domain."];mailFromDomainStatus:MailFromDomainStatus.toption[@ocaml.doc"The status of the MAIL FROM domain. This status can have the following values: PENDING \226\128\147 Amazon SES hasn't started searching for the MX record yet. SUCCESS \226\128\147 Amazon SES detected the required MX record for the MAIL FROM domain. FAILED \226\128\147 Amazon SES can't find the required MX record, or the record no longer exists. TEMPORARY_FAILURE \226\128\147 A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain."];behaviorOnMxFailure:BehaviorOnMxFailure.toption[@ocaml.doc"The action to take if the required MX record can't be found when you send an email. When you set this value to USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to REJECT_MESSAGE, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email. These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states."]}letmake?mailFromDomain=fun?mailFromDomainStatus->fun?behaviorOnMxFailure->fun()->{mailFromDomain;mailFromDomainStatus;behaviorOnMxFailure}letto_valuex=structure_to_value[("MailFromDomain",(Option.mapx.mailFromDomain~f:MailFromDomainName.to_value));("MailFromDomainStatus",(Option.mapx.mailFromDomainStatus~f:MailFromDomainStatus.to_value));("BehaviorOnMxFailure",(Option.mapx.behaviorOnMxFailure~f:BehaviorOnMxFailure.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbehaviorOnMxFailure=(Option.map~f:BehaviorOnMxFailure.of_xml)(Xml.childxml_arg0"BehaviorOnMxFailure")inletmailFromDomainStatus=(Option.map~f:MailFromDomainStatus.of_xml)(Xml.childxml_arg0"MailFromDomainStatus")inletmailFromDomain=(Option.map~f:MailFromDomainName.of_xml)(Xml.childxml_arg0"MailFromDomain")inmake?behaviorOnMxFailure?mailFromDomainStatus?mailFromDomain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbehaviorOnMxFailure=field_mapjson__"BehaviorOnMxFailure"BehaviorOnMxFailure.of_jsoninletmailFromDomainStatus=field_mapjson__"MailFromDomainStatus"MailFromDomainStatus.of_jsoninletmailFromDomain=field_mapjson__"MailFromDomain"MailFromDomainName.of_jsoninmake?behaviorOnMxFailure?mailFromDomainStatus?mailFromDomain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of attributes that are associated with a MAIL FROM domain."]modulePolicyMap=structtypenonrect=(PolicyName.t*Policy.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((PolicyName.of_stringchopped),(Policy.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(PolicyName.to_valuex)|>(funx->(Policy.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:PolicyName.of_string~of_json:Policy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVerificationInfo=structtypenonrect={lastCheckedTimestamp:Timestamp.toption[@ocaml.doc"The last time a verification attempt was made for this identity."];lastSuccessTimestamp:Timestamp.toption[@ocaml.doc"The last time a successful verification was made for this identity."];errorType:VerificationError.toption[@ocaml.doc"Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values: INVALID_VALUE \226\128\147 Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. TYPE_NOT_FOUND \226\128\147 The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. HOST_NOT_FOUND \226\128\147 The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). SERVICE_ERROR \226\128\147 A temporary issue is preventing Amazon SES from determining the verification status of the domain. DNS_SERVER_ERROR \226\128\147 The DNS server encountered an issue and was unable to complete the request. REPLICATION_ACCESS_DENIED \226\128\147 The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. REPLICATION_PRIMARY_NOT_FOUND \226\128\147 The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED \226\128\147 The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED \226\128\147 The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. REPLICATION_PRIMARY_INVALID_REGION \226\128\147 The verification failed due to an invalid primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different from the replica region."];sOARecord:SOARecord.toption[@ocaml.doc"An object that contains information about the start of authority (SOA) record associated with the identity."]}letmake?lastCheckedTimestamp=fun?lastSuccessTimestamp->fun?errorType->fun?sOARecord->fun()->{lastCheckedTimestamp;lastSuccessTimestamp;errorType;sOARecord}letto_valuex=structure_to_value[("LastCheckedTimestamp",(Option.mapx.lastCheckedTimestamp~f:Timestamp.to_value));("LastSuccessTimestamp",(Option.mapx.lastSuccessTimestamp~f:Timestamp.to_value));("ErrorType",(Option.mapx.errorType~f:VerificationError.to_value));("SOARecord",(Option.mapx.sOARecord~f:SOARecord.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsOARecord=(Option.map~f:SOARecord.of_xml)(Xml.childxml_arg0"SOARecord")inleterrorType=(Option.map~f:VerificationError.of_xml)(Xml.childxml_arg0"ErrorType")inletlastSuccessTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastSuccessTimestamp")inletlastCheckedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastCheckedTimestamp")inmake?sOARecord?errorType?lastSuccessTimestamp?lastCheckedTimestamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsOARecord=field_mapjson__"SOARecord"SOARecord.of_jsoninleterrorType=field_mapjson__"ErrorType"VerificationError.of_jsoninletlastSuccessTimestamp=field_mapjson__"LastSuccessTimestamp"Timestamp.of_jsoninletlastCheckedTimestamp=field_mapjson__"LastCheckedTimestamp"Timestamp.of_jsoninmake?sOARecord?errorType?lastSuccessTimestamp?lastCheckedTimestamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains additional information about the verification status for the identity."]moduleMailboxValidation=structtypenonrect={isValid:EmailAddressInsightsVerdict.toption[@ocaml.doc"Overall validity assessment with a con\239\172\129dence verdict."];evaluations:EmailAddressInsightsMailboxEvaluations.toption[@ocaml.doc"Specific validation checks performed on the email address."]}letmake?isValid=fun?evaluations->fun()->{isValid;evaluations}letto_valuex=structure_to_value[("IsValid",(Option.mapx.isValid~f:EmailAddressInsightsVerdict.to_value));("Evaluations",(Option.mapx.evaluations~f:EmailAddressInsightsMailboxEvaluations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letevaluations=(Option.map~f:EmailAddressInsightsMailboxEvaluations.of_xml)(Xml.childxml_arg0"Evaluations")inletisValid=(Option.map~f:EmailAddressInsightsVerdict.of_xml)(Xml.childxml_arg0"IsValid")inmake?evaluations?isValid()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letevaluations=field_mapjson__"Evaluations"EmailAddressInsightsMailboxEvaluations.of_jsoninletisValid=field_mapjson__"IsValid"EmailAddressInsightsVerdict.of_jsoninmake?evaluations?isValid()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed validation information about an email address."]moduleDailyVolumes=structtypenonrect=DailyVolume.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DailyVolume.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:DailyVolume.of_xml)letof_jsonj=list_of_json~kind:"DailyVolumes"~of_json:DailyVolume.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOverallVolume=structtypenonrect={volumeStatistics:VolumeStatistics.toption[@ocaml.doc"An object that contains information about the numbers of messages that arrived in recipients' inboxes and junk mail folders."];readRatePercent:Percentage.toption[@ocaml.doc"The percentage of emails that were sent from the domain that were read by their recipients."];domainIspPlacements:DomainIspPlacements.toption[@ocaml.doc"An object that contains inbox and junk mail placement metrics for individual email providers."]}letmake?volumeStatistics=fun?readRatePercent->fun?domainIspPlacements->fun()->{volumeStatistics;readRatePercent;domainIspPlacements}letto_valuex=structure_to_value[("VolumeStatistics",(Option.mapx.volumeStatistics~f:VolumeStatistics.to_value));("ReadRatePercent",(Option.mapx.readRatePercent~f:Percentage.to_value));("DomainIspPlacements",(Option.mapx.domainIspPlacements~f:DomainIspPlacements.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainIspPlacements=(Option.map~f:DomainIspPlacements.of_xml)(Xml.childxml_arg0"DomainIspPlacements")inletreadRatePercent=(Option.map~f:Percentage.of_xml)(Xml.childxml_arg0"ReadRatePercent")inletvolumeStatistics=(Option.map~f:VolumeStatistics.of_xml)(Xml.childxml_arg0"VolumeStatistics")inmake?domainIspPlacements?readRatePercent?volumeStatistics()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainIspPlacements=field_mapjson__"DomainIspPlacements"DomainIspPlacements.of_jsoninletreadRatePercent=field_mapjson__"ReadRatePercent"Percentage.of_jsoninletvolumeStatistics=field_mapjson__"VolumeStatistics"VolumeStatistics.of_jsoninmake?domainIspPlacements?readRatePercent?volumeStatistics()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about email that was sent from the selected domain."]moduleIspPlacements=structtypenonrect=IspPlacement.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IspPlacement.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:IspPlacement.of_xml)letof_jsonj=list_of_json~kind:"IspPlacements"~of_json:IspPlacement.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMessageContent=structtypenonrect=string[@@ocaml.doc"The body of an email message."]letcontext_="MessageContent"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:"MessageContent"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The body of an email message."]moduleDeliverabilityDashboardAccountStatus=structtypenonrect=|ACTIVE|PENDING_EXPIRATION|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|PENDING_EXPIRATION->"PENDING_EXPIRATION"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"PENDING_EXPIRATION"->PENDING_EXPIRATION|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration DeliverabilityDashboardAccountStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DeliverabilityDashboardAccountStatus"j)letto_json=simple_to_jsonto_valueendmoduleDedicatedIpList=structtypenonrect=DedicatedIp.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DedicatedIp.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:DedicatedIp.of_xml)letof_jsonj=list_of_json~kind:"DedicatedIpList"~of_json:DedicatedIp.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDedicatedIpPool=structtypenonrect={poolName:PoolName.toption[@ocaml.doc"The name of the dedicated IP pool."];scalingMode:ScalingMode.toption[@ocaml.doc"The type of the dedicated IP pool. STANDARD \226\128\147 A dedicated IP pool where you can control which IPs are part of the pool. MANAGED \226\128\147 A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES."]}letmake?poolName=fun?scalingMode->fun()->{poolName;scalingMode}letto_valuex=structure_to_value[("PoolName",(Option.mapx.poolName~f:PoolName.to_value));("ScalingMode",(Option.mapx.scalingMode~f:ScalingMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscalingMode=(Option.map~f:ScalingMode.of_xml)(Xml.childxml_arg0"ScalingMode")inletpoolName=(Option.map~f:PoolName.of_xml)(Xml.childxml_arg0"PoolName")inmake?scalingMode?poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscalingMode=field_mapjson__"ScalingMode"ScalingMode.of_jsoninletpoolName=field_mapjson__"PoolName"PoolName.of_jsoninmake?scalingMode?poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a dedicated IP pool."]moduleArchivingOptions=structtypenonrect={archiveArn:ArchiveArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the MailManager archive where the Amazon SES API v2 will archive sent emails."]}letmake?archiveArn=fun()->{archiveArn}letto_valuex=structure_to_value[("ArchiveArn",(Option.mapx.archiveArn~f:ArchiveArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarchiveArn=(Option.map~f:ArchiveArn.of_xml)(Xml.childxml_arg0"ArchiveArn")inmake?archiveArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarchiveArn=field_mapjson__"ArchiveArn"ArchiveArn.of_jsoninmake?archiveArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Used to associate a configuration set with a MailManager archive."]moduleDeliveryOptions=structtypenonrect={tlsPolicy:TlsPolicy.toption[@ocaml.doc"Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established."];sendingPoolName:PoolName.toption[@ocaml.doc"The name of the dedicated IP pool to associate with the configuration set."];maxDeliverySeconds:MaxDeliverySeconds.toption[@ocaml.doc"The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes)."]}letmake?tlsPolicy=fun?sendingPoolName->fun?maxDeliverySeconds->fun()->{tlsPolicy;sendingPoolName;maxDeliverySeconds}letto_valuex=structure_to_value[("TlsPolicy",(Option.mapx.tlsPolicy~f:TlsPolicy.to_value));("SendingPoolName",(Option.mapx.sendingPoolName~f:PoolName.to_value));("MaxDeliverySeconds",(Option.mapx.maxDeliverySeconds~f:MaxDeliverySeconds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDeliverySeconds=(Option.map~f:MaxDeliverySeconds.of_xml)(Xml.childxml_arg0"MaxDeliverySeconds")inletsendingPoolName=(Option.map~f:PoolName.of_xml)(Xml.childxml_arg0"SendingPoolName")inlettlsPolicy=(Option.map~f:TlsPolicy.of_xml)(Xml.childxml_arg0"TlsPolicy")inmake?maxDeliverySeconds?sendingPoolName?tlsPolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDeliverySeconds=field_mapjson__"MaxDeliverySeconds"MaxDeliverySeconds.of_jsoninletsendingPoolName=field_mapjson__"SendingPoolName"PoolName.of_jsoninlettlsPolicy=field_mapjson__"TlsPolicy"TlsPolicy.of_jsoninmake?maxDeliverySeconds?sendingPoolName?tlsPolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Used to associate a configuration set with a dedicated IP pool."]moduleReputationOptions=structtypenonrect={reputationMetricsEnabled:Enabled.toption[@ocaml.doc"If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set."];lastFreshStart:LastFreshStart.toption[@ocaml.doc"The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start."]}letmake?reputationMetricsEnabled=fun?lastFreshStart->fun()->{reputationMetricsEnabled;lastFreshStart}letto_valuex=structure_to_value[("ReputationMetricsEnabled",(Option.mapx.reputationMetricsEnabled~f:Enabled.to_value));("LastFreshStart",(Option.mapx.lastFreshStart~f:LastFreshStart.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastFreshStart=(Option.map~f:LastFreshStart.of_xml)(Xml.childxml_arg0"LastFreshStart")inletreputationMetricsEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"ReputationMetricsEnabled")inmake?lastFreshStart?reputationMetricsEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastFreshStart=field_mapjson__"LastFreshStart"LastFreshStart.of_jsoninletreputationMetricsEnabled=field_mapjson__"ReputationMetricsEnabled"Enabled.of_jsoninmake?lastFreshStart?reputationMetricsEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current Amazon Web Services Region."]moduleSendingOptions=structtypenonrect={sendingEnabled:Enabled.toption[@ocaml.doc"If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set."]}letmake?sendingEnabled=fun()->{sendingEnabled}letto_valuex=structure_to_value[("SendingEnabled",(Option.mapx.sendingEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SendingEnabled")inmake?sendingEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingEnabled=field_mapjson__"SendingEnabled"Enabled.of_jsoninmake?sendingEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Used to enable or disable email sending for messages that use this configuration set in the current Amazon Web Services Region."]moduleSuppressionOptions=structtypenonrect={suppressedReasons:SuppressionListReasons.toption[@ocaml.doc"A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following: COMPLAINT \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. BOUNCE \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce."];validationOptions:SuppressionValidationOptions.toption}letmake?suppressedReasons=fun?validationOptions->fun()->{suppressedReasons;validationOptions}letto_valuex=structure_to_value[("SuppressedReasons",(Option.mapx.suppressedReasons~f:SuppressionListReasons.to_value));("ValidationOptions",(Option.mapx.validationOptions~f:SuppressionValidationOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationOptions=(Option.map~f:SuppressionValidationOptions.of_xml)(Xml.childxml_arg0"ValidationOptions")inletsuppressedReasons=(Option.map~f:SuppressionListReasons.of_xml)(Xml.childxml_arg0"SuppressedReasons")inmake?validationOptions?suppressedReasons()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationOptions=field_mapjson__"ValidationOptions"SuppressionValidationOptions.of_jsoninletsuppressedReasons=field_mapjson__"SuppressedReasons"SuppressionListReasons.of_jsoninmake?validationOptions?suppressedReasons()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the suppression list preferences for your account."]moduleTrackingOptions=structtypenonrect={customRedirectDomain:CustomRedirectDomain.t[@ocaml.doc"The domain to use for tracking open and click events."];httpsPolicy:HttpsPolicy.toption[@ocaml.doc"The https policy to use for tracking open and click events."]}letcontext_="TrackingOptions"letmake?httpsPolicy=fun~customRedirectDomain->fun()->{httpsPolicy;customRedirectDomain}letto_valuex=structure_to_value[("CustomRedirectDomain",(Some(CustomRedirectDomain.to_valuex.customRedirectDomain)));("HttpsPolicy",(Option.mapx.httpsPolicy~f:HttpsPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethttpsPolicy=(Option.map~f:HttpsPolicy.of_xml)(Xml.childxml_arg0"HttpsPolicy")inletcustomRedirectDomain=CustomRedirectDomain.of_xml(Xml.child_exn~context:context_xml_arg0"CustomRedirectDomain")inmake?httpsPolicy~customRedirectDomain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethttpsPolicy=field_mapjson__"HttpsPolicy"HttpsPolicy.of_jsoninletcustomRedirectDomain=field_map_exnjson__"CustomRedirectDomain"CustomRedirectDomain.of_jsoninmake?httpsPolicy~customRedirectDomain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that defines the tracking options for a configuration set. When you use the Amazon SES API v2 to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them. These images and links include references to a domain operated by Amazon Web Services. You can optionally configure the Amazon SES to use a domain that you operate for these images and links."]moduleEventDestinations=structtypenonrect=EventDestination.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EventDestination.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:EventDestination.of_xml)letof_jsonj=list_of_json~kind:"EventDestinations"~of_json:EventDestination.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlacklistReport=structtypenonrect=(BlacklistItemName.t*BlacklistEntries.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types BlacklistItemName BlacklistEntries"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(BlacklistItemName.to_valuex)|>(funx->(BlacklistEntries.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:BlacklistItemName.of_string~of_json:BlacklistEntries.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBlacklistItemNames=structtypenonrect=BlacklistItemName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BlacklistItemName.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:BlacklistItemName.of_xml)letof_jsonj=list_of_json~kind:"BlacklistItemNames"~of_json:BlacklistItemName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccountDetails=structtypenonrect={mailType:MailType.toption[@ocaml.doc"The type of email your account is sending. The mail type can be one of the following: MARKETING \226\128\147 Most of your sending traffic is to keep your customers informed of your latest offering. TRANSACTIONAL \226\128\147 Most of your sending traffic is to communicate during a transaction with a customer."];websiteURL:WebsiteURL.toption[@ocaml.doc"The URL of your website. This information helps us better understand the type of content that you plan to send."];contactLanguage:ContactLanguage.toption[@ocaml.doc"The language you would prefer for the case. The contact language can be one of ENGLISH or JAPANESE."];useCaseDescription:UseCaseDescription.toption[@ocaml.doc"A description of the types of email that you plan to send."];additionalContactEmailAddresses:AdditionalContactEmailAddresses.toption[@ocaml.doc"Additional email addresses where updates are sent about your account review process."];reviewDetails:ReviewDetails.toption[@ocaml.doc"Information about the review of the latest details you submitted."]}letmake?mailType=fun?websiteURL->fun?contactLanguage->fun?useCaseDescription->fun?additionalContactEmailAddresses->fun?reviewDetails->fun()->{mailType;websiteURL;contactLanguage;useCaseDescription;additionalContactEmailAddresses;reviewDetails}letto_valuex=structure_to_value[("MailType",(Option.mapx.mailType~f:MailType.to_value));("WebsiteURL",(Option.mapx.websiteURL~f:WebsiteURL.to_value));("ContactLanguage",(Option.mapx.contactLanguage~f:ContactLanguage.to_value));("UseCaseDescription",(Option.mapx.useCaseDescription~f:UseCaseDescription.to_value));("AdditionalContactEmailAddresses",(Option.mapx.additionalContactEmailAddresses~f:AdditionalContactEmailAddresses.to_value));("ReviewDetails",(Option.mapx.reviewDetails~f:ReviewDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreviewDetails=(Option.map~f:ReviewDetails.of_xml)(Xml.childxml_arg0"ReviewDetails")inletadditionalContactEmailAddresses=(Option.map~f:AdditionalContactEmailAddresses.of_xml)(Xml.childxml_arg0"AdditionalContactEmailAddresses")inletuseCaseDescription=(Option.map~f:UseCaseDescription.of_xml)(Xml.childxml_arg0"UseCaseDescription")inletcontactLanguage=(Option.map~f:ContactLanguage.of_xml)(Xml.childxml_arg0"ContactLanguage")inletwebsiteURL=(Option.map~f:WebsiteURL.of_xml)(Xml.childxml_arg0"WebsiteURL")inletmailType=(Option.map~f:MailType.of_xml)(Xml.childxml_arg0"MailType")inmake?reviewDetails?additionalContactEmailAddresses?useCaseDescription?contactLanguage?websiteURL?mailType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreviewDetails=field_mapjson__"ReviewDetails"ReviewDetails.of_jsoninletadditionalContactEmailAddresses=field_mapjson__"AdditionalContactEmailAddresses"AdditionalContactEmailAddresses.of_jsoninletuseCaseDescription=field_mapjson__"UseCaseDescription"UseCaseDescription.of_jsoninletcontactLanguage=field_mapjson__"ContactLanguage"ContactLanguage.of_jsoninletwebsiteURL=field_mapjson__"WebsiteURL"WebsiteURL.of_jsoninletmailType=field_mapjson__"MailType"MailType.of_jsoninmake?reviewDetails?additionalContactEmailAddresses?useCaseDescription?contactLanguage?websiteURL?mailType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about your account details."]moduleGeneralEnforcementStatus=structtypenonrect=stringletcontext_="GeneralEnforcementStatus"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:"GeneralEnforcementStatus"jletto_json=simple_to_jsonto_valueendmoduleSendQuota=structtypenonrect={max24HourSend:Max24HourSend.toption[@ocaml.doc"The maximum number of emails that you can send in the current Amazon Web Services Region over a 24-hour period. A value of -1 signifies an unlimited quota. (This value is also referred to as your sending quota.)"];maxSendRate:MaxSendRate.toption[@ocaml.doc"The maximum number of emails that you can send per second in the current Amazon Web Services Region. This value is also called your maximum sending rate or your maximum TPS (transactions per second) rate."];sentLast24Hours:SentLast24Hours.toption[@ocaml.doc"The number of emails sent from your Amazon SES account in the current Amazon Web Services Region over the past 24 hours."]}letmake?max24HourSend=fun?maxSendRate->fun?sentLast24Hours->fun()->{max24HourSend;maxSendRate;sentLast24Hours}letto_valuex=structure_to_value[("Max24HourSend",(Option.mapx.max24HourSend~f:Max24HourSend.to_value));("MaxSendRate",(Option.mapx.maxSendRate~f:MaxSendRate.to_value));("SentLast24Hours",(Option.mapx.sentLast24Hours~f:SentLast24Hours.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsentLast24Hours=(Option.map~f:SentLast24Hours.of_xml)(Xml.childxml_arg0"SentLast24Hours")inletmaxSendRate=(Option.map~f:MaxSendRate.of_xml)(Xml.childxml_arg0"MaxSendRate")inletmax24HourSend=(Option.map~f:Max24HourSend.of_xml)(Xml.childxml_arg0"Max24HourSend")inmake?sentLast24Hours?maxSendRate?max24HourSend()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsentLast24Hours=field_mapjson__"SentLast24Hours"SentLast24Hours.of_jsoninletmaxSendRate=field_mapjson__"MaxSendRate"MaxSendRate.of_jsoninletmax24HourSend=field_mapjson__"Max24HourSend"Max24HourSend.of_jsoninmake?sentLast24Hours?maxSendRate?max24HourSend()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current Amazon Web Services Region."]moduleSuppressionAttributes=structtypenonrect={suppressedReasons:SuppressionListReasons.toption[@ocaml.doc"A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following: COMPLAINT \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. BOUNCE \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce."];validationAttributes:SuppressionValidationAttributes.toption}letmake?suppressedReasons=fun?validationAttributes->fun()->{suppressedReasons;validationAttributes}letto_valuex=structure_to_value[("SuppressedReasons",(Option.mapx.suppressedReasons~f:SuppressionListReasons.to_value));("ValidationAttributes",(Option.mapx.validationAttributes~f:SuppressionValidationAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationAttributes=(Option.map~f:SuppressionValidationAttributes.of_xml)(Xml.childxml_arg0"ValidationAttributes")inletsuppressedReasons=(Option.map~f:SuppressionListReasons.of_xml)(Xml.childxml_arg0"SuppressedReasons")inmake?validationAttributes?suppressedReasons()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationAttributes=field_mapjson__"ValidationAttributes"SuppressionValidationAttributes.of_jsoninletsuppressedReasons=field_mapjson__"SuppressedReasons"SuppressionListReasons.of_jsoninmake?validationAttributes?suppressedReasons()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region."]moduleDetails=structtypenonrect={routesDetails:RoutesDetails.t[@ocaml.doc"A list of route configuration details. Must contain exactly one route configuration."]}letcontext_="Details"letmake~routesDetails=fun()->{routesDetails}letto_valuex=structure_to_value[("RoutesDetails",(Some(RoutesDetails.to_valuex.routesDetails)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letroutesDetails=RoutesDetails.of_xml(Xml.child_exn~context:context_xml_arg0"RoutesDetails")inmake~routesDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letroutesDetails=field_map_exnjson__"RoutesDetails"RoutesDetails.of_jsoninmake~routesDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains configuration details of multi-region endpoint (global-endpoint)."]moduleInternalServiceErrorException=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 couldn't be processed because an error occurred with the Amazon SES API v2."]moduleMetricDataErrorList=structtypenonrect=MetricDataError.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MetricDataError.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:MetricDataError.of_xml)letof_jsonj=list_of_json~kind:"MetricDataErrorList"~of_json:MetricDataError.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMetricDataResultList=structtypenonrect=MetricDataResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:MetricDataResult.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:MetricDataResult.of_xml)letof_jsonj=list_of_json~kind:"MetricDataResultList"~of_json:MetricDataResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBatchGetMetricDataQueries=structtypenonrect=BatchGetMetricDataQuery.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:BatchGetMetricDataQuery.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:BatchGetMetricDataQuery.of_xml)letof_jsonj=list_of_json~kind:"BatchGetMetricDataQueries"~of_json:BatchGetMetricDataQuery.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateReputationEntityPolicyResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleUpdateReputationEntityPolicyRequest=structtypenonrect={reputationEntityType:ReputationEntityType.t[@ocaml.doc"The type of reputation entity. Currently, only RESOURCE type entities are supported."];reputationEntityReference:ReputationEntityReference.t[@ocaml.doc"The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."];reputationEntityPolicy:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the reputation management policy to apply to this entity. This is an Amazon Web Services Amazon SES-managed policy."]}letcontext_="UpdateReputationEntityPolicyRequest"letmake~reputationEntityType=fun~reputationEntityReference->fun~reputationEntityPolicy->fun()->{reputationEntityType;reputationEntityReference;reputationEntityPolicy}letto_valuex=structure_to_value[("ReputationEntityType",(Some(ReputationEntityType.to_valuex.reputationEntityType)));("ReputationEntityReference",(Some(ReputationEntityReference.to_valuex.reputationEntityReference)));("ReputationEntityPolicy",(Some(AmazonResourceName.to_valuex.reputationEntityPolicy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreputationEntityPolicy=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityPolicy")inletreputationEntityReference=ReputationEntityReference.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityReference")inletreputationEntityType=ReputationEntityType.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityType")inmake~reputationEntityPolicy~reputationEntityReference~reputationEntityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreputationEntityPolicy=field_map_exnjson__"ReputationEntityPolicy"AmazonResourceName.of_jsoninletreputationEntityReference=field_map_exnjson__"ReputationEntityReference"ReputationEntityReference.of_jsoninletreputationEntityType=field_map_exnjson__"ReputationEntityType"ReputationEntityType.of_jsoninmake~reputationEntityPolicy~reputationEntityReference~reputationEntityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to update the reputation management policy for a reputation entity."]moduleUpdateReputationEntityCustomerManagedStatusResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleUpdateReputationEntityCustomerManagedStatusRequest=structtypenonrect={reputationEntityType:ReputationEntityType.t[@ocaml.doc"The type of reputation entity. Currently, only RESOURCE type entities are supported."];reputationEntityReference:ReputationEntityReference.t[@ocaml.doc"The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."];sendingStatus:SendingStatus.t[@ocaml.doc"The new customer-managed sending status for the reputation entity. This can be one of the following: ENABLED \226\128\147 Allow sending for this entity. DISABLED \226\128\147 Prevent sending for this entity. REINSTATED \226\128\147 Allow sending even if there are active reputation findings."]}letcontext_="UpdateReputationEntityCustomerManagedStatusRequest"letmake~reputationEntityType=fun~reputationEntityReference->fun~sendingStatus->fun()->{reputationEntityType;reputationEntityReference;sendingStatus}letto_valuex=structure_to_value[("ReputationEntityType",(Some(ReputationEntityType.to_valuex.reputationEntityType)));("ReputationEntityReference",(Some(ReputationEntityReference.to_valuex.reputationEntityReference)));("SendingStatus",(Some(SendingStatus.to_valuex.sendingStatus)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingStatus=SendingStatus.of_xml(Xml.child_exn~context:context_xml_arg0"SendingStatus")inletreputationEntityReference=ReputationEntityReference.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityReference")inletreputationEntityType=ReputationEntityType.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityType")inmake~sendingStatus~reputationEntityReference~reputationEntityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingStatus=field_map_exnjson__"SendingStatus"SendingStatus.of_jsoninletreputationEntityReference=field_map_exnjson__"ReputationEntityReference"ReputationEntityReference.of_jsoninletreputationEntityType=field_map_exnjson__"ReputationEntityType"ReputationEntityType.of_jsoninmake~sendingStatus~reputationEntityReference~reputationEntityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to update the customer-managed sending status for a reputation entity."]moduleUpdateEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleUpdateEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the template."];templateContent:EmailTemplateContent.t[@ocaml.doc"The content of the email template, composed of a subject line, an HTML part, and a text-only part."]}letcontext_="UpdateEmailTemplateRequest"letmake~templateName=fun~templateContent->fun()->{templateName;templateContent}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("TemplateContent",(Some(EmailTemplateContent.to_valuex.templateContent)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateContent=EmailTemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateContent")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateContent~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateContent=field_map_exnjson__"TemplateContent"EmailTemplateContent.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateContent~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to update an email template. For more information, see the Amazon SES Developer Guide."]moduleUpdateEmailIdentityPolicyResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleUpdateEmailIdentityPolicyRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];policyName:PolicyName.t[@ocaml.doc"The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores."];policy:Policy.t[@ocaml.doc"The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide."]}letcontext_="UpdateEmailIdentityPolicyRequest"letmake~emailIdentity=fun~policyName->fun~policy->fun()->{emailIdentity;policyName;policy}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("PolicyName",(Some(PolicyName.to_valuex.policyName)));("Policy",(Some(Policy.to_valuex.policy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=Policy.of_xml(Xml.child_exn~context:context_xml_arg0"Policy")inletpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~policy~policyName~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_map_exnjson__"Policy"Policy.of_jsoninletpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~policy~policyName~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide."]moduleUpdateCustomVerificationEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleUpdateCustomVerificationEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the custom verification email template that you want to update."];fromEmailAddress:EmailAddress.t[@ocaml.doc"The email address that the custom verification email is sent from."];templateSubject:EmailTemplateSubject.t[@ocaml.doc"The subject line of the custom verification email."];templateContent:TemplateContent.t[@ocaml.doc"The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom verification email frequently asked questions in the Amazon SES Developer Guide."];successRedirectionURL:SuccessRedirectionURL.t[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."];failureRedirectionURL:FailureRedirectionURL.t[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]}letcontext_="UpdateCustomVerificationEmailTemplateRequest"letmake~templateName=fun~fromEmailAddress->fun~templateSubject->fun~templateContent->fun~successRedirectionURL->fun~failureRedirectionURL->fun()->{templateName;fromEmailAddress;templateSubject;templateContent;successRedirectionURL;failureRedirectionURL}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("FromEmailAddress",(Some(EmailAddress.to_valuex.fromEmailAddress)));("TemplateSubject",(Some(EmailTemplateSubject.to_valuex.templateSubject)));("TemplateContent",(Some(TemplateContent.to_valuex.templateContent)));("SuccessRedirectionURL",(Some(SuccessRedirectionURL.to_valuex.successRedirectionURL)));("FailureRedirectionURL",(Some(FailureRedirectionURL.to_valuex.failureRedirectionURL)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureRedirectionURL=FailureRedirectionURL.of_xml(Xml.child_exn~context:context_xml_arg0"FailureRedirectionURL")inletsuccessRedirectionURL=SuccessRedirectionURL.of_xml(Xml.child_exn~context:context_xml_arg0"SuccessRedirectionURL")inlettemplateContent=TemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateContent")inlettemplateSubject=EmailTemplateSubject.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateSubject")inletfromEmailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"FromEmailAddress")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~failureRedirectionURL~successRedirectionURL~templateContent~templateSubject~fromEmailAddress~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureRedirectionURL=field_map_exnjson__"FailureRedirectionURL"FailureRedirectionURL.of_jsoninletsuccessRedirectionURL=field_map_exnjson__"SuccessRedirectionURL"SuccessRedirectionURL.of_jsoninlettemplateContent=field_map_exnjson__"TemplateContent"TemplateContent.of_jsoninlettemplateSubject=field_map_exnjson__"TemplateSubject"EmailTemplateSubject.of_jsoninletfromEmailAddress=field_map_exnjson__"FromEmailAddress"EmailAddress.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~failureRedirectionURL~successRedirectionURL~templateContent~templateSubject~fromEmailAddress~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to update an existing custom verification email template."]moduleUpdateContactResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a contact's preferences for a list. You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed."]moduleUpdateContactRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];emailAddress:EmailAddress.t[@ocaml.doc"The contact's email address."];topicPreferences:TopicPreferenceList.toption[@ocaml.doc"The contact's preference for being opted-in to or opted-out of a topic."];unsubscribeAll:UnsubscribeAll.toption[@ocaml.doc"A boolean value status noting if the contact is unsubscribed from all contact list topics."];attributesData:AttributesData.toption[@ocaml.doc"The attribute data attached to a contact."]}letcontext_="UpdateContactRequest"letmake?topicPreferences=fun?unsubscribeAll->fun?attributesData->fun~contactListName->fun~emailAddress->fun()->{topicPreferences;unsubscribeAll;attributesData;contactListName;emailAddress}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)));("TopicPreferences",(Option.mapx.topicPreferences~f:TopicPreferenceList.to_value));("UnsubscribeAll",(Option.mapx.unsubscribeAll~f:UnsubscribeAll.to_value));("AttributesData",(Option.mapx.attributesData~f:AttributesData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributesData=(Option.map~f:AttributesData.of_xml)(Xml.childxml_arg0"AttributesData")inletunsubscribeAll=(Option.map~f:UnsubscribeAll.of_xml)(Xml.childxml_arg0"UnsubscribeAll")inlettopicPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicPreferences")inletemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?attributesData?unsubscribeAll?topicPreferences~emailAddress~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributesData=field_mapjson__"AttributesData"AttributesData.of_jsoninletunsubscribeAll=field_mapjson__"UnsubscribeAll"UnsubscribeAll.of_jsoninlettopicPreferences=field_mapjson__"TopicPreferences"TopicPreferenceList.of_jsoninletemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?attributesData?unsubscribeAll?topicPreferences~emailAddress~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates a contact's preferences for a list. You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed."]moduleUpdateContactListResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates contact list metadata. This operation does a complete replacement."]moduleUpdateContactListRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];topics:Topics.toption[@ocaml.doc"An interest group, theme, or label within a list. A contact list can have multiple topics."];description:Description.toption[@ocaml.doc"A description of what the contact list is about."]}letcontext_="UpdateContactListRequest"letmake?topics=fun?description->fun~contactListName->fun()->{topics;description;contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("Topics",(Option.mapx.topics~f:Topics.to_value));("Description",(Option.mapx.description~f:Description.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettopics=(Option.map~f:Topics.of_xml)(Xml.childxml_arg0"Topics")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?description?topics~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"Description.of_jsoninlettopics=field_mapjson__"Topics"Topics.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?description?topics~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates contact list metadata. This operation does a complete replacement."]moduleUpdateConfigurationSetEventDestinationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleUpdateConfigurationSetEventDestinationRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set that contains the event destination to modify."];eventDestinationName:EventDestinationName.t[@ocaml.doc"The name of the event destination."];eventDestination:EventDestinationDefinition.t[@ocaml.doc"An object that defines the event destination."]}letcontext_="UpdateConfigurationSetEventDestinationRequest"letmake~configurationSetName=fun~eventDestinationName->fun~eventDestination->fun()->{configurationSetName;eventDestinationName;eventDestination}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("EventDestinationName",(Some(EventDestinationName.to_valuex.eventDestinationName)));("EventDestination",(Some(EventDestinationDefinition.to_valuex.eventDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventDestination=EventDestinationDefinition.of_xml(Xml.child_exn~context:context_xml_arg0"EventDestination")inleteventDestinationName=EventDestinationName.of_xml(Xml.child_exn~context:context_xml_arg0"EventDestinationName")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~eventDestination~eventDestinationName~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventDestination=field_map_exnjson__"EventDestination"EventDestinationDefinition.of_jsoninleteventDestinationName=field_map_exnjson__"EventDestinationName"EventDestinationName.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~eventDestination~eventDestinationName~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change the settings for an event destination for a configuration set."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove one or more tags (keys and values) from a specified resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you want to remove one or more tags from."];tagKeys:TagKeyList.t[@ocaml.doc"The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value. To remove more than one tag from the resource, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand. For example: /v2/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2"]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.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=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove one or more tags (keys and values) from a specified resource."]moduleTestRenderEmailTemplateResponse=structtypenonrect={renderedTemplate:RenderedEmailTemplate.toption[@ocaml.doc"The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?renderedTemplate=fun()->{renderedTemplate}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RenderedTemplate",(Option.mapx.renderedTemplate~f:RenderedEmailTemplate.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrenderedTemplate=(Option.map~f:RenderedEmailTemplate.of_xml)(Xml.childxml_arg0"RenderedTemplate")inmake?renderedTemplate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrenderedTemplate=field_mapjson__"RenderedTemplate"RenderedEmailTemplate.of_jsoninmake?renderedTemplate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following element is returned by the service."]moduleTestRenderEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the template."];templateData:EmailTemplateData.t[@ocaml.doc"A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template."]}letcontext_="TestRenderEmailTemplateRequest"letmake~templateName=fun~templateData->fun()->{templateName;templateData}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("TemplateData",(Some(EmailTemplateData.to_valuex.templateData)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateData=EmailTemplateData.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateData")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateData~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateData=field_map_exnjson__"TemplateData"EmailTemplateData.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateData~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc">Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Add one or more tags (keys and values) to a specified resource. A tag\194\160is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags. Each tag consists of a required\194\160tag key\194\160and an associated\194\160tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleTagResourceRequest=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you want to add one or more tags to."];tags:TagList.t[@ocaml.doc"A list of the tags that you want to add to the resource. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.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=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Add one or more tags (keys and values) to a specified resource. A tag\194\160is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags. Each tag consists of a required\194\160tag key\194\160and an associated\194\160tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleSendEmailResponse=structtypenonrect={messageId:OutboundMessageId.toption[@ocaml.doc"A unique identifier for the message that is generated when the message is accepted. It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content."]}typenonrecerror=[`AccountSuspendedExceptionofAccountSuspendedException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`MailFromDomainNotVerifiedExceptionofMailFromDomainNotVerifiedException.t|`MessageRejectedofMessageRejected.t|`NotFoundExceptionofNotFoundException.t|`SendingPausedExceptionofSendingPausedException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?messageId=fun()->{messageId}leterror_of_jsonnamejson=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_jsonjson)|"MessageRejected"->`MessageRejected(MessageRejected.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_xmlxml)|"MessageRejected"->`MessageRejected(MessageRejected.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountSuspendedExceptione->`Assoc[("error",(`String"AccountSuspendedException"));("details",(AccountSuspendedException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`MailFromDomainNotVerifiedExceptione->`Assoc[("error",(`String"MailFromDomainNotVerifiedException"));("details",(MailFromDomainNotVerifiedException.to_jsone))]|`MessageRejectede->`Assoc[("error",(`String"MessageRejected"));("details",(MessageRejected.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`SendingPausedExceptione->`Assoc[("error",(`String"SendingPausedException"));("details",(SendingPausedException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("MessageId",(Option.mapx.messageId~f:OutboundMessageId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessageId=(Option.map~f:OutboundMessageId.of_xml)(Xml.childxml_arg0"MessageId")inmake?messageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessageId=field_mapjson__"MessageId"OutboundMessageId.of_jsoninmake?messageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A unique message ID that you receive when an email is accepted for sending."]moduleSendEmailRequest=structtypenonrect={fromEmailAddress:EmailAddress.toption[@ocaml.doc"The email address to use as the \"From\" address for the email. The address that you specify has to be verified."];fromEmailAddressIdentityArn:AmazonResourceName.toption[@ocaml.doc"This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender\\@example.com, then you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be sender\\@example.com. For more information about sending authorization, see the Amazon SES Developer Guide. For Raw emails, the FromEmailAddressIdentityArn value overrides the X-SES-SOURCE-ARN and X-SES-FROM-ARN headers specified in raw email message content."];destination:Destination.toption[@ocaml.doc"An object that contains the recipients of the email message."];replyToAddresses:EmailAddressList.toption[@ocaml.doc"The \"Reply-to\" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply."];feedbackForwardingEmailAddress:EmailAddress.toption[@ocaml.doc"The address that you want bounce and complaint notifications to be sent to."];feedbackForwardingEmailAddressIdentityArn:AmazonResourceName.toption[@ocaml.doc"This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback\\@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to be feedback\\@example.com. For more information about sending authorization, see the Amazon SES Developer Guide."];content:EmailContent.t[@ocaml.doc"An object that contains the body of the message. You can send either a Simple message, Raw message, or a Templated message."];emailTags:MessageTagList.toption[@ocaml.doc"A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The name of the configuration set to use when sending the email."];endpointId:EndpointId.toption[@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."];tenantName:TenantName.toption[@ocaml.doc"The name of the tenant through which this email will be sent. The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant."];listManagementOptions:ListManagementOptions.toption[@ocaml.doc"An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe."]}letcontext_="SendEmailRequest"letmake?fromEmailAddress=fun?fromEmailAddressIdentityArn->fun?destination->fun?replyToAddresses->fun?feedbackForwardingEmailAddress->fun?feedbackForwardingEmailAddressIdentityArn->fun?emailTags->fun?configurationSetName->fun?endpointId->fun?tenantName->fun?listManagementOptions->fun~content->fun()->{fromEmailAddress;fromEmailAddressIdentityArn;destination;replyToAddresses;feedbackForwardingEmailAddress;feedbackForwardingEmailAddressIdentityArn;emailTags;configurationSetName;endpointId;tenantName;listManagementOptions;content}letto_valuex=structure_to_value[("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddress.to_value));("FromEmailAddressIdentityArn",(Option.mapx.fromEmailAddressIdentityArn~f:AmazonResourceName.to_value));("Destination",(Option.mapx.destination~f:Destination.to_value));("ReplyToAddresses",(Option.mapx.replyToAddresses~f:EmailAddressList.to_value));("FeedbackForwardingEmailAddress",(Option.mapx.feedbackForwardingEmailAddress~f:EmailAddress.to_value));("FeedbackForwardingEmailAddressIdentityArn",(Option.mapx.feedbackForwardingEmailAddressIdentityArn~f:AmazonResourceName.to_value));("Content",(Some(EmailContent.to_valuex.content)));("EmailTags",(Option.mapx.emailTags~f:MessageTagList.to_value));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value));("TenantName",(Option.mapx.tenantName~f:TenantName.to_value));("ListManagementOptions",(Option.mapx.listManagementOptions~f:ListManagementOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlistManagementOptions=(Option.map~f:ListManagementOptions.of_xml)(Xml.childxml_arg0"ListManagementOptions")inlettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inletendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inletemailTags=(Option.map~f:MessageTagList.of_xml)(Xml.childxml_arg0"EmailTags")inletcontent=EmailContent.of_xml(Xml.child_exn~context:context_xml_arg0"Content")inletfeedbackForwardingEmailAddressIdentityArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"FeedbackForwardingEmailAddressIdentityArn")inletfeedbackForwardingEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FeedbackForwardingEmailAddress")inletreplyToAddresses=(Option.map~f:EmailAddressList.of_xml)(Xml.childxml_arg0"ReplyToAddresses")inletdestination=(Option.map~f:Destination.of_xml)(Xml.childxml_arg0"Destination")inletfromEmailAddressIdentityArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"FromEmailAddressIdentityArn")inletfromEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inmake?listManagementOptions?tenantName?endpointId?configurationSetName?emailTags~content?feedbackForwardingEmailAddressIdentityArn?feedbackForwardingEmailAddress?replyToAddresses?destination?fromEmailAddressIdentityArn?fromEmailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlistManagementOptions=field_mapjson__"ListManagementOptions"ListManagementOptions.of_jsoninlettenantName=field_mapjson__"TenantName"TenantName.of_jsoninletendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninletemailTags=field_mapjson__"EmailTags"MessageTagList.of_jsoninletcontent=field_map_exnjson__"Content"EmailContent.of_jsoninletfeedbackForwardingEmailAddressIdentityArn=field_mapjson__"FeedbackForwardingEmailAddressIdentityArn"AmazonResourceName.of_jsoninletfeedbackForwardingEmailAddress=field_mapjson__"FeedbackForwardingEmailAddress"EmailAddress.of_jsoninletreplyToAddresses=field_mapjson__"ReplyToAddresses"EmailAddressList.of_jsoninletdestination=field_mapjson__"Destination"Destination.of_jsoninletfromEmailAddressIdentityArn=field_mapjson__"FromEmailAddressIdentityArn"AmazonResourceName.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddress.of_jsoninmake?listManagementOptions?tenantName?endpointId?configurationSetName?emailTags~content?feedbackForwardingEmailAddressIdentityArn?feedbackForwardingEmailAddress?replyToAddresses?destination?fromEmailAddressIdentityArn?fromEmailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide."]moduleSendCustomVerificationEmailResponse=structtypenonrect={messageId:OutboundMessageId.toption[@ocaml.doc"The unique message identifier returned from the SendCustomVerificationEmail operation."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`MailFromDomainNotVerifiedExceptionofMailFromDomainNotVerifiedException.t|`MessageRejectedofMessageRejected.t|`NotFoundExceptionofNotFoundException.t|`SendingPausedExceptionofSendingPausedException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?messageId=fun()->{messageId}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_jsonjson)|"MessageRejected"->`MessageRejected(MessageRejected.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_xmlxml)|"MessageRejected"->`MessageRejected(MessageRejected.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`MailFromDomainNotVerifiedExceptione->`Assoc[("error",(`String"MailFromDomainNotVerifiedException"));("details",(MailFromDomainNotVerifiedException.to_jsone))]|`MessageRejectede->`Assoc[("error",(`String"MessageRejected"));("details",(MessageRejected.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`SendingPausedExceptione->`Assoc[("error",(`String"SendingPausedException"));("details",(SendingPausedException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("MessageId",(Option.mapx.messageId~f:OutboundMessageId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessageId=(Option.map~f:OutboundMessageId.of_xml)(Xml.childxml_arg0"MessageId")inmake?messageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessageId=field_mapjson__"MessageId"OutboundMessageId.of_jsoninmake?messageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following element is returned by the service."]moduleSendCustomVerificationEmailRequest=structtypenonrect={emailAddress:EmailAddress.t[@ocaml.doc"The email address to verify."];templateName:EmailTemplateName.t[@ocaml.doc"The name of the custom verification email template to use when sending the verification email."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"Name of a configuration set to use when sending the verification email."]}letcontext_="SendCustomVerificationEmailRequest"letmake?configurationSetName=fun~emailAddress->fun~templateName->fun()->{configurationSetName;emailAddress;templateName}letto_valuex=structure_to_value[("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)));("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inletemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inmake?configurationSetName~templateName~emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninletemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninmake?configurationSetName~templateName~emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to send a custom verification email to a specified recipient."]moduleSendBulkEmailResponse=structtypenonrect={bulkEmailEntryResults:BulkEmailEntryResultList.toption[@ocaml.doc"One object per intended recipient. Check each response object and retry any messages with a failure status."]}typenonrecerror=[`AccountSuspendedExceptionofAccountSuspendedException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`MailFromDomainNotVerifiedExceptionofMailFromDomainNotVerifiedException.t|`MessageRejectedofMessageRejected.t|`NotFoundExceptionofNotFoundException.t|`SendingPausedExceptionofSendingPausedException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?bulkEmailEntryResults=fun()->{bulkEmailEntryResults}leterror_of_jsonnamejson=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_jsonjson)|"MessageRejected"->`MessageRejected(MessageRejected.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_xmlxml)|"MessageRejected"->`MessageRejected(MessageRejected.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountSuspendedExceptione->`Assoc[("error",(`String"AccountSuspendedException"));("details",(AccountSuspendedException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`MailFromDomainNotVerifiedExceptione->`Assoc[("error",(`String"MailFromDomainNotVerifiedException"));("details",(MailFromDomainNotVerifiedException.to_jsone))]|`MessageRejectede->`Assoc[("error",(`String"MessageRejected"));("details",(MessageRejected.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`SendingPausedExceptione->`Assoc[("error",(`String"SendingPausedException"));("details",(SendingPausedException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("BulkEmailEntryResults",(Option.mapx.bulkEmailEntryResults~f:BulkEmailEntryResultList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbulkEmailEntryResults=(Option.map~f:BulkEmailEntryResultList.of_xml)(Xml.childxml_arg0"BulkEmailEntryResults")inmake?bulkEmailEntryResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbulkEmailEntryResults=field_mapjson__"BulkEmailEntryResults"BulkEmailEntryResultList.of_jsoninmake?bulkEmailEntryResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following data is returned in JSON format by the service."]moduleSendBulkEmailRequest=structtypenonrect={fromEmailAddress:EmailAddress.toption[@ocaml.doc"The email address to use as the \"From\" address for the email. The address that you specify has to be verified."];fromEmailAddressIdentityArn:AmazonResourceName.toption[@ocaml.doc"This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender\\@example.com, then you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be sender\\@example.com. For more information about sending authorization, see the Amazon SES Developer Guide."];replyToAddresses:EmailAddressList.toption[@ocaml.doc"The \"Reply-to\" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply."];feedbackForwardingEmailAddress:EmailAddress.toption[@ocaml.doc"The address that you want bounce and complaint notifications to be sent to."];feedbackForwardingEmailAddressIdentityArn:AmazonResourceName.toption[@ocaml.doc"This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback\\@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to be feedback\\@example.com. For more information about sending authorization, see the Amazon SES Developer Guide."];defaultEmailTags:MessageTagList.toption[@ocaml.doc"A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events."];defaultContent:BulkEmailContent.t[@ocaml.doc"An object that contains the body of the message. You can specify a template message."];bulkEmailEntries:BulkEmailEntryList.t[@ocaml.doc"The list of bulk email entry objects."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The name of the configuration set to use when sending the email."];endpointId:EndpointId.toption[@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."];tenantName:TenantName.toption[@ocaml.doc"The name of the tenant through which this bulk email will be sent. The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant."]}letcontext_="SendBulkEmailRequest"letmake?fromEmailAddress=fun?fromEmailAddressIdentityArn->fun?replyToAddresses->fun?feedbackForwardingEmailAddress->fun?feedbackForwardingEmailAddressIdentityArn->fun?defaultEmailTags->fun?configurationSetName->fun?endpointId->fun?tenantName->fun~defaultContent->fun~bulkEmailEntries->fun()->{fromEmailAddress;fromEmailAddressIdentityArn;replyToAddresses;feedbackForwardingEmailAddress;feedbackForwardingEmailAddressIdentityArn;defaultEmailTags;configurationSetName;endpointId;tenantName;defaultContent;bulkEmailEntries}letto_valuex=structure_to_value[("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddress.to_value));("FromEmailAddressIdentityArn",(Option.mapx.fromEmailAddressIdentityArn~f:AmazonResourceName.to_value));("ReplyToAddresses",(Option.mapx.replyToAddresses~f:EmailAddressList.to_value));("FeedbackForwardingEmailAddress",(Option.mapx.feedbackForwardingEmailAddress~f:EmailAddress.to_value));("FeedbackForwardingEmailAddressIdentityArn",(Option.mapx.feedbackForwardingEmailAddressIdentityArn~f:AmazonResourceName.to_value));("DefaultEmailTags",(Option.mapx.defaultEmailTags~f:MessageTagList.to_value));("DefaultContent",(Some(BulkEmailContent.to_valuex.defaultContent)));("BulkEmailEntries",(Some(BulkEmailEntryList.to_valuex.bulkEmailEntries)));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value));("TenantName",(Option.mapx.tenantName~f:TenantName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inletendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inletbulkEmailEntries=BulkEmailEntryList.of_xml(Xml.child_exn~context:context_xml_arg0"BulkEmailEntries")inletdefaultContent=BulkEmailContent.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultContent")inletdefaultEmailTags=(Option.map~f:MessageTagList.of_xml)(Xml.childxml_arg0"DefaultEmailTags")inletfeedbackForwardingEmailAddressIdentityArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"FeedbackForwardingEmailAddressIdentityArn")inletfeedbackForwardingEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FeedbackForwardingEmailAddress")inletreplyToAddresses=(Option.map~f:EmailAddressList.of_xml)(Xml.childxml_arg0"ReplyToAddresses")inletfromEmailAddressIdentityArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"FromEmailAddressIdentityArn")inletfromEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inmake?tenantName?endpointId?configurationSetName~bulkEmailEntries~defaultContent?defaultEmailTags?feedbackForwardingEmailAddressIdentityArn?feedbackForwardingEmailAddress?replyToAddresses?fromEmailAddressIdentityArn?fromEmailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantName=field_mapjson__"TenantName"TenantName.of_jsoninletendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninletbulkEmailEntries=field_map_exnjson__"BulkEmailEntries"BulkEmailEntryList.of_jsoninletdefaultContent=field_map_exnjson__"DefaultContent"BulkEmailContent.of_jsoninletdefaultEmailTags=field_mapjson__"DefaultEmailTags"MessageTagList.of_jsoninletfeedbackForwardingEmailAddressIdentityArn=field_mapjson__"FeedbackForwardingEmailAddressIdentityArn"AmazonResourceName.of_jsoninletfeedbackForwardingEmailAddress=field_mapjson__"FeedbackForwardingEmailAddress"EmailAddress.of_jsoninletreplyToAddresses=field_mapjson__"ReplyToAddresses"EmailAddressList.of_jsoninletfromEmailAddressIdentityArn=field_mapjson__"FromEmailAddressIdentityArn"AmazonResourceName.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddress.of_jsoninmake?tenantName?endpointId?configurationSetName~bulkEmailEntries~defaultContent?defaultEmailTags?feedbackForwardingEmailAddressIdentityArn?feedbackForwardingEmailAddress?replyToAddresses?fromEmailAddressIdentityArn?fromEmailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to send email messages to multiple destinations using Amazon SES. For more information, see the Amazon SES Developer Guide."]modulePutSuppressedDestinationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutSuppressedDestinationRequest=structtypenonrect={emailAddress:EmailAddress.t[@ocaml.doc"The email address that should be added to the suppression list for your account."];reason:SuppressionListReason.t[@ocaml.doc"The factors that should cause the email address to be added to the suppression list for your account."]}letcontext_="PutSuppressedDestinationRequest"letmake~emailAddress=fun~reason->fun()->{emailAddress;reason}letto_valuex=structure_to_value[("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)));("Reason",(Some(SuppressionListReason.to_valuex.reason)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreason=SuppressionListReason.of_xml(Xml.child_exn~context:context_xml_arg0"Reason")inletemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inmake~reason~emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreason=field_map_exnjson__"Reason"SuppressionListReason.of_jsoninletemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninmake~reason~emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to add an email destination to the suppression list for your account."]modulePutEmailIdentityMailFromAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutEmailIdentityMailFromAttributesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The verified email identity."];mailFromDomain:MailFromDomainName.toption[@ocaml.doc"The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria: It has to be a subdomain of the verified identity. It can't be used to receive email. It can't be used in a \"From\" address if the MAIL FROM domain is a destination for feedback forwarding emails."];behaviorOnMxFailure:BehaviorOnMxFailure.toption[@ocaml.doc"The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email. These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states."]}letcontext_="PutEmailIdentityMailFromAttributesRequest"letmake?mailFromDomain=fun?behaviorOnMxFailure->fun~emailIdentity->fun()->{mailFromDomain;behaviorOnMxFailure;emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("MailFromDomain",(Option.mapx.mailFromDomain~f:MailFromDomainName.to_value));("BehaviorOnMxFailure",(Option.mapx.behaviorOnMxFailure~f:BehaviorOnMxFailure.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbehaviorOnMxFailure=(Option.map~f:BehaviorOnMxFailure.of_xml)(Xml.childxml_arg0"BehaviorOnMxFailure")inletmailFromDomain=(Option.map~f:MailFromDomainName.of_xml)(Xml.childxml_arg0"MailFromDomain")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?behaviorOnMxFailure?mailFromDomain~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbehaviorOnMxFailure=field_mapjson__"BehaviorOnMxFailure"BehaviorOnMxFailure.of_jsoninletmailFromDomain=field_mapjson__"MailFromDomain"MailFromDomainName.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?behaviorOnMxFailure?mailFromDomain~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to configure the custom MAIL FROM domain for a verified identity."]modulePutEmailIdentityFeedbackAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutEmailIdentityFeedbackAttributesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];emailForwardingEnabled:Enabled.toption[@ocaml.doc"Sets the feedback forwarding configuration for the identity. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled)."]}letcontext_="PutEmailIdentityFeedbackAttributesRequest"letmake?emailForwardingEnabled=fun~emailIdentity->fun()->{emailForwardingEnabled;emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("EmailForwardingEnabled",(Option.mapx.emailForwardingEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailForwardingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"EmailForwardingEnabled")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?emailForwardingEnabled~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailForwardingEnabled=field_mapjson__"EmailForwardingEnabled"Enabled.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?emailForwardingEnabled~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to set the attributes that control how bounce and complaint events are processed."]modulePutEmailIdentityDkimSigningAttributesResponse=structtypenonrect={dkimStatus:DkimStatus.toption[@ocaml.doc"The DKIM authentication status of the identity. Amazon SES determines the authentication status by searching for specific records in the DNS configuration for your domain. If you used Easy DKIM to set up DKIM authentication, Amazon SES tries to find three unique CNAME records in the DNS configuration for your domain. If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that's paired with the private key that you specified in the process of creating the identity. The status can be one of the following: PENDING \226\128\147 The verification process was initiated, but Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain. SUCCESS \226\128\147 The verification process completed successfully. FAILED \226\128\147 The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain. TEMPORARY_FAILURE \226\128\147 A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain. NOT_STARTED \226\128\147 The DKIM verification process hasn't been initiated for the domain."];dkimTokens:DnsTokenList.toption[@ocaml.doc"If you used Easy DKIM to configure DKIM authentication for the domain, then this object contains a set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete. If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector that's associated with your public key. Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours."];signingHostedZone:HostedZone.toption[@ocaml.doc"The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication. When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example: selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone> selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone> selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>"]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dkimStatus=fun?dkimTokens->fun?signingHostedZone->fun()->{dkimStatus;dkimTokens;signingHostedZone}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DkimStatus",(Option.mapx.dkimStatus~f:DkimStatus.to_value));("DkimTokens",(Option.mapx.dkimTokens~f:DnsTokenList.to_value));("SigningHostedZone",(Option.mapx.signingHostedZone~f:HostedZone.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsigningHostedZone=(Option.map~f:HostedZone.of_xml)(Xml.childxml_arg0"SigningHostedZone")inletdkimTokens=(Option.map~f:DnsTokenList.of_xml)(Xml.childxml_arg0"DkimTokens")inletdkimStatus=(Option.map~f:DkimStatus.of_xml)(Xml.childxml_arg0"DkimStatus")inmake?signingHostedZone?dkimTokens?dkimStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsigningHostedZone=field_mapjson__"SigningHostedZone"HostedZone.of_jsoninletdkimTokens=field_mapjson__"DkimTokens"DnsTokenList.of_jsoninletdkimStatus=field_mapjson__"DkimStatus"DkimStatus.of_jsoninmake?signingHostedZone?dkimTokens?dkimStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response. The following data is returned in JSON format by the service."]modulePutEmailIdentityDkimSigningAttributesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];signingAttributesOrigin:DkimSigningAttributesOrigin.t[@ocaml.doc"The method to use to configure DKIM for the identity. There are the following possible values: AWS_SES \226\128\147 Configure DKIM for the identity by using Easy DKIM. EXTERNAL \226\128\147 Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM)."];signingAttributes:DkimSigningAttributes.toption[@ocaml.doc"An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM."]}letcontext_="PutEmailIdentityDkimSigningAttributesRequest"letmake?signingAttributes=fun~emailIdentity->fun~signingAttributesOrigin->fun()->{signingAttributes;emailIdentity;signingAttributesOrigin}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("SigningAttributesOrigin",(Some(DkimSigningAttributesOrigin.to_valuex.signingAttributesOrigin)));("SigningAttributes",(Option.mapx.signingAttributes~f:DkimSigningAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsigningAttributes=(Option.map~f:DkimSigningAttributes.of_xml)(Xml.childxml_arg0"SigningAttributes")inletsigningAttributesOrigin=DkimSigningAttributesOrigin.of_xml(Xml.child_exn~context:context_xml_arg0"SigningAttributesOrigin")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?signingAttributes~signingAttributesOrigin~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsigningAttributes=field_mapjson__"SigningAttributes"DkimSigningAttributes.of_jsoninletsigningAttributesOrigin=field_map_exnjson__"SigningAttributesOrigin"DkimSigningAttributesOrigin.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?signingAttributes~signingAttributesOrigin~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change the DKIM attributes for an email identity."]modulePutEmailIdentityDkimAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutEmailIdentityDkimAttributesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];signingEnabled:Enabled.toption[@ocaml.doc"Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing."]}letcontext_="PutEmailIdentityDkimAttributesRequest"letmake?signingEnabled=fun~emailIdentity->fun()->{signingEnabled;emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("SigningEnabled",(Option.mapx.signingEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsigningEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SigningEnabled")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?signingEnabled~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsigningEnabled=field_mapjson__"SigningEnabled"Enabled.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?signingEnabled~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to enable or disable DKIM signing of email that you send from an email identity."]modulePutEmailIdentityConfigurationSetAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]modulePutEmailIdentityConfigurationSetAttributesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email address or domain to associate with a configuration set."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The configuration set to associate with an email identity."]}letcontext_="PutEmailIdentityConfigurationSetAttributesRequest"letmake?configurationSetName=fun~emailIdentity->fun()->{configurationSetName;emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?configurationSetName~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?configurationSetName~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to associate a configuration set with an email identity."]modulePutDeliverabilityDashboardOptionResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A response that indicates whether the Deliverability dashboard is enabled."]modulePutDeliverabilityDashboardOptionRequest=structtypenonrect={dashboardEnabled:Enabled.t[@ocaml.doc"Specifies whether to enable the Deliverability dashboard. To enable the dashboard, set this value to true."];subscribedDomains:DomainDeliverabilityTrackingOptions.toption[@ocaml.doc"An array of objects, one for each verified domain that you use to send email and enabled the Deliverability dashboard for."]}letcontext_="PutDeliverabilityDashboardOptionRequest"letmake?subscribedDomains=fun~dashboardEnabled->fun()->{subscribedDomains;dashboardEnabled}letto_valuex=structure_to_value[("DashboardEnabled",(Some(Enabled.to_valuex.dashboardEnabled)));("SubscribedDomains",(Option.mapx.subscribedDomains~f:DomainDeliverabilityTrackingOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubscribedDomains=(Option.map~f:DomainDeliverabilityTrackingOptions.of_xml)(Xml.childxml_arg0"SubscribedDomains")inletdashboardEnabled=Enabled.of_xml(Xml.child_exn~context:context_xml_arg0"DashboardEnabled")inmake?subscribedDomains~dashboardEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubscribedDomains=field_mapjson__"SubscribedDomains"DomainDeliverabilityTrackingOptions.of_jsoninletdashboardEnabled=field_map_exnjson__"DashboardEnabled"Enabled.of_jsoninmake?subscribedDomains~dashboardEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing."]modulePutDedicatedIpWarmupAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutDedicatedIpWarmupAttributesRequest=structtypenonrect={ip:Ip.t[@ocaml.doc"The dedicated IP address that you want to update the warm-up attributes for."];warmupPercentage:Percentage100Wrapper.t[@ocaml.doc"The warm-up percentage that you want to associate with the dedicated IP address."]}letcontext_="PutDedicatedIpWarmupAttributesRequest"letmake~ip=fun~warmupPercentage->fun()->{ip;warmupPercentage}letto_valuex=structure_to_value[("IP",(Some(Ip.to_valuex.ip)));("WarmupPercentage",(Some(Percentage100Wrapper.to_valuex.warmupPercentage)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letwarmupPercentage=Percentage100Wrapper.of_xml(Xml.child_exn~context:context_xml_arg0"WarmupPercentage")inletip=Ip.of_xml(Xml.child_exn~context:context_xml_arg0"IP")inmake~warmupPercentage~ip()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwarmupPercentage=field_map_exnjson__"WarmupPercentage"Percentage100Wrapper.of_jsoninletip=field_map_exnjson__"Ip"Ip.of_jsoninmake~warmupPercentage~ip()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change the warm-up attributes for a dedicated IP address. This operation is useful when you want to resume the warm-up process for an existing IP address."]modulePutDedicatedIpPoolScalingAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutDedicatedIpPoolScalingAttributesRequest=structtypenonrect={poolName:PoolName.t[@ocaml.doc"The name of the dedicated IP pool."];scalingMode:ScalingMode.t[@ocaml.doc"The scaling mode to apply to the dedicated IP pool. Changing the scaling mode from MANAGED to STANDARD is not supported."]}letcontext_="PutDedicatedIpPoolScalingAttributesRequest"letmake~poolName=fun~scalingMode->fun()->{poolName;scalingMode}letto_valuex=structure_to_value[("PoolName",(Some(PoolName.to_valuex.poolName)));("ScalingMode",(Some(ScalingMode.to_valuex.scalingMode)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscalingMode=ScalingMode.of_xml(Xml.child_exn~context:context_xml_arg0"ScalingMode")inletpoolName=PoolName.of_xml(Xml.child_exn~context:context_xml_arg0"PoolName")inmake~scalingMode~poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscalingMode=field_map_exnjson__"ScalingMode"ScalingMode.of_jsoninletpoolName=field_map_exnjson__"PoolName"PoolName.of_jsoninmake~scalingMode~poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to convert a dedicated IP pool to a different scaling mode."]modulePutDedicatedIpInPoolResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutDedicatedIpInPoolRequest=structtypenonrect={ip:Ip.t[@ocaml.doc"The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Web Services account."];destinationPoolName:PoolName.t[@ocaml.doc"The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists."]}letcontext_="PutDedicatedIpInPoolRequest"letmake~ip=fun~destinationPoolName->fun()->{ip;destinationPoolName}letto_valuex=structure_to_value[("IP",(Some(Ip.to_valuex.ip)));("DestinationPoolName",(Some(PoolName.to_valuex.destinationPoolName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationPoolName=PoolName.of_xml(Xml.child_exn~context:context_xml_arg0"DestinationPoolName")inletip=Ip.of_xml(Xml.child_exn~context:context_xml_arg0"IP")inmake~destinationPoolName~ip()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationPoolName=field_map_exnjson__"DestinationPoolName"PoolName.of_jsoninletip=field_map_exnjson__"Ip"Ip.of_jsoninmake~destinationPoolName~ip()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to move a dedicated IP address to a dedicated IP pool."]modulePutConfigurationSetVdmOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetVdmOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set."];vdmOptions:VdmOptions.toption[@ocaml.doc"The VDM options to apply to the configuration set."]}letcontext_="PutConfigurationSetVdmOptionsRequest"letmake?vdmOptions=fun~configurationSetName->fun()->{vdmOptions;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("VdmOptions",(Option.mapx.vdmOptions~f:VdmOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvdmOptions=(Option.map~f:VdmOptions.of_xml)(Xml.childxml_arg0"VdmOptions")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?vdmOptions~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvdmOptions=field_mapjson__"VdmOptions"VdmOptions.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?vdmOptions~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to add specific VDM settings to a configuration set."]modulePutConfigurationSetTrackingOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetTrackingOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set."];customRedirectDomain:CustomRedirectDomain.toption[@ocaml.doc"The domain to use to track open and click events."];httpsPolicy:HttpsPolicy.toption}letcontext_="PutConfigurationSetTrackingOptionsRequest"letmake?customRedirectDomain=fun?httpsPolicy->fun~configurationSetName->fun()->{customRedirectDomain;httpsPolicy;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("CustomRedirectDomain",(Option.mapx.customRedirectDomain~f:CustomRedirectDomain.to_value));("HttpsPolicy",(Option.mapx.httpsPolicy~f:HttpsPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethttpsPolicy=(Option.map~f:HttpsPolicy.of_xml)(Xml.childxml_arg0"HttpsPolicy")inletcustomRedirectDomain=(Option.map~f:CustomRedirectDomain.of_xml)(Xml.childxml_arg0"CustomRedirectDomain")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?httpsPolicy?customRedirectDomain~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethttpsPolicy=field_mapjson__"HttpsPolicy"HttpsPolicy.of_jsoninletcustomRedirectDomain=field_mapjson__"CustomRedirectDomain"CustomRedirectDomain.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?httpsPolicy?customRedirectDomain~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to add a custom domain for tracking open and click events to a configuration set."]modulePutConfigurationSetSuppressionOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetSuppressionOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set to change the suppression list preferences for."];suppressedReasons:SuppressionListReasons.toption[@ocaml.doc"A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following: COMPLAINT \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. BOUNCE \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce."];validationOptions:SuppressionValidationOptions.toption[@ocaml.doc"An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region."]}letcontext_="PutConfigurationSetSuppressionOptionsRequest"letmake?suppressedReasons=fun?validationOptions->fun~configurationSetName->fun()->{suppressedReasons;validationOptions;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("SuppressedReasons",(Option.mapx.suppressedReasons~f:SuppressionListReasons.to_value));("ValidationOptions",(Option.mapx.validationOptions~f:SuppressionValidationOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationOptions=(Option.map~f:SuppressionValidationOptions.of_xml)(Xml.childxml_arg0"ValidationOptions")inletsuppressedReasons=(Option.map~f:SuppressionListReasons.of_xml)(Xml.childxml_arg0"SuppressedReasons")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?validationOptions?suppressedReasons~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationOptions=field_mapjson__"ValidationOptions"SuppressionValidationOptions.of_jsoninletsuppressedReasons=field_mapjson__"SuppressedReasons"SuppressionListReasons.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?validationOptions?suppressedReasons~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change the account suppression list preferences for a specific configuration set."]modulePutConfigurationSetSendingOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetSendingOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set to enable or disable email sending for."];sendingEnabled:Enabled.toption[@ocaml.doc"If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set."]}letcontext_="PutConfigurationSetSendingOptionsRequest"letmake?sendingEnabled=fun~configurationSetName->fun()->{sendingEnabled;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("SendingEnabled",(Option.mapx.sendingEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SendingEnabled")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?sendingEnabled~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingEnabled=field_mapjson__"SendingEnabled"Enabled.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?sendingEnabled~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set."]modulePutConfigurationSetReputationOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetReputationOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set."];reputationMetricsEnabled:Enabled.toption[@ocaml.doc"If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set."]}letcontext_="PutConfigurationSetReputationOptionsRequest"letmake?reputationMetricsEnabled=fun~configurationSetName->fun()->{reputationMetricsEnabled;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("ReputationMetricsEnabled",(Option.mapx.reputationMetricsEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreputationMetricsEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"ReputationMetricsEnabled")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?reputationMetricsEnabled~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreputationMetricsEnabled=field_mapjson__"ReputationMetricsEnabled"Enabled.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?reputationMetricsEnabled~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to enable or disable tracking of reputation metrics for a configuration set."]modulePutConfigurationSetDeliveryOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetDeliveryOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set to associate with a dedicated IP pool."];tlsPolicy:TlsPolicy.toption[@ocaml.doc"Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established."];sendingPoolName:SendingPoolName.toption[@ocaml.doc"The name of the dedicated IP pool to associate with the configuration set."];maxDeliverySeconds:MaxDeliverySeconds.toption[@ocaml.doc"The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes)."]}letcontext_="PutConfigurationSetDeliveryOptionsRequest"letmake?tlsPolicy=fun?sendingPoolName->fun?maxDeliverySeconds->fun~configurationSetName->fun()->{tlsPolicy;sendingPoolName;maxDeliverySeconds;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("TlsPolicy",(Option.mapx.tlsPolicy~f:TlsPolicy.to_value));("SendingPoolName",(Option.mapx.sendingPoolName~f:SendingPoolName.to_value));("MaxDeliverySeconds",(Option.mapx.maxDeliverySeconds~f:MaxDeliverySeconds.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxDeliverySeconds=(Option.map~f:MaxDeliverySeconds.of_xml)(Xml.childxml_arg0"MaxDeliverySeconds")inletsendingPoolName=(Option.map~f:SendingPoolName.of_xml)(Xml.childxml_arg0"SendingPoolName")inlettlsPolicy=(Option.map~f:TlsPolicy.of_xml)(Xml.childxml_arg0"TlsPolicy")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?maxDeliverySeconds?sendingPoolName?tlsPolicy~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxDeliverySeconds=field_mapjson__"MaxDeliverySeconds"MaxDeliverySeconds.of_jsoninletsendingPoolName=field_mapjson__"SendingPoolName"SendingPoolName.of_jsoninlettlsPolicy=field_mapjson__"TlsPolicy"TlsPolicy.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?maxDeliverySeconds?sendingPoolName?tlsPolicy~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to associate a configuration set with a dedicated IP pool."]modulePutConfigurationSetArchivingOptionsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutConfigurationSetArchivingOptionsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set to associate with a MailManager archive."];archiveArn:ArchiveArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the MailManager archive that the Amazon SES API v2 sends email to."]}letcontext_="PutConfigurationSetArchivingOptionsRequest"letmake?archiveArn=fun~configurationSetName->fun()->{archiveArn;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("ArchiveArn",(Option.mapx.archiveArn~f:ArchiveArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarchiveArn=(Option.map~f:ArchiveArn.of_xml)(Xml.childxml_arg0"ArchiveArn")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?archiveArn~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarchiveArn=field_mapjson__"ArchiveArn"ArchiveArn.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?archiveArn~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to associate a configuration set with a MailManager archive."]modulePutAccountVdmAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Update your Amazon SES account VDM attributes. You can execute this operation no more than once per second."]modulePutAccountVdmAttributesRequest=structtypenonrect={vdmAttributes:VdmAttributes.t[@ocaml.doc"The VDM attributes that you wish to apply to your Amazon SES account."]}letcontext_="PutAccountVdmAttributesRequest"letmake~vdmAttributes=fun()->{vdmAttributes}letto_valuex=structure_to_value[("VdmAttributes",(Some(VdmAttributes.to_valuex.vdmAttributes)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvdmAttributes=VdmAttributes.of_xml(Xml.child_exn~context:context_xml_arg0"VdmAttributes")inmake~vdmAttributes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvdmAttributes=field_map_exnjson__"VdmAttributes"VdmAttributes.of_jsoninmake~vdmAttributes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to submit new account VDM attributes."]modulePutAccountSuppressionAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutAccountSuppressionAttributesRequest=structtypenonrect={suppressedReasons:SuppressionListReasons.toption[@ocaml.doc"A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following: COMPLAINT \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. BOUNCE \226\128\147 Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce."];validationAttributes:SuppressionValidationAttributes.toption[@ocaml.doc"An object that contains additional suppression attributes for your account."]}letmake?suppressedReasons=fun?validationAttributes->fun()->{suppressedReasons;validationAttributes}letto_valuex=structure_to_value[("SuppressedReasons",(Option.mapx.suppressedReasons~f:SuppressionListReasons.to_value));("ValidationAttributes",(Option.mapx.validationAttributes~f:SuppressionValidationAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationAttributes=(Option.map~f:SuppressionValidationAttributes.of_xml)(Xml.childxml_arg0"ValidationAttributes")inletsuppressedReasons=(Option.map~f:SuppressionListReasons.of_xml)(Xml.childxml_arg0"SuppressedReasons")inmake?validationAttributes?suppressedReasons()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationAttributes=field_mapjson__"ValidationAttributes"SuppressionValidationAttributes.of_jsoninletsuppressedReasons=field_mapjson__"SuppressedReasons"SuppressionListReasons.of_jsoninmake?validationAttributes?suppressedReasons()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change your account's suppression preferences."]modulePutAccountSendingAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutAccountSendingAttributesRequest=structtypenonrect={sendingEnabled:Enabled.toption[@ocaml.doc"Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending. If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email."]}letmake?sendingEnabled=fun()->{sendingEnabled}letto_valuex=structure_to_value[("SendingEnabled",(Option.mapx.sendingEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SendingEnabled")inmake?sendingEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingEnabled=field_mapjson__"SendingEnabled"Enabled.of_jsoninmake?sendingEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to change the ability of your account to send email."]modulePutAccountDetailsResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConflictExceptionofConflictException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.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))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutAccountDetailsRequest=structtypenonrect={mailType:MailType.t[@ocaml.doc"The type of email your account will send."];websiteURL:WebsiteURL.t[@ocaml.doc"The URL of your website. This information helps us better understand the type of content that you plan to send."];contactLanguage:ContactLanguage.toption[@ocaml.doc"The language you would prefer to be contacted with."];useCaseDescription:UseCaseDescription.toption[@ocaml.doc"A description of the types of email that you plan to send."];additionalContactEmailAddresses:AdditionalContactEmailAddresses.toption[@ocaml.doc"Additional email addresses that you would like to be notified regarding Amazon SES matters."];productionAccessEnabled:EnabledWrapper.toption[@ocaml.doc"Indicates whether or not your account should have production access in the current Amazon Web Services Region. If the value is false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. If the value is true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case."]}letcontext_="PutAccountDetailsRequest"letmake?contactLanguage=fun?useCaseDescription->fun?additionalContactEmailAddresses->fun?productionAccessEnabled->fun~mailType->fun~websiteURL->fun()->{contactLanguage;useCaseDescription;additionalContactEmailAddresses;productionAccessEnabled;mailType;websiteURL}letto_valuex=structure_to_value[("MailType",(Some(MailType.to_valuex.mailType)));("WebsiteURL",(Some(WebsiteURL.to_valuex.websiteURL)));("ContactLanguage",(Option.mapx.contactLanguage~f:ContactLanguage.to_value));("UseCaseDescription",(Option.mapx.useCaseDescription~f:UseCaseDescription.to_value));("AdditionalContactEmailAddresses",(Option.mapx.additionalContactEmailAddresses~f:AdditionalContactEmailAddresses.to_value));("ProductionAccessEnabled",(Option.mapx.productionAccessEnabled~f:EnabledWrapper.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproductionAccessEnabled=(Option.map~f:EnabledWrapper.of_xml)(Xml.childxml_arg0"ProductionAccessEnabled")inletadditionalContactEmailAddresses=(Option.map~f:AdditionalContactEmailAddresses.of_xml)(Xml.childxml_arg0"AdditionalContactEmailAddresses")inletuseCaseDescription=(Option.map~f:UseCaseDescription.of_xml)(Xml.childxml_arg0"UseCaseDescription")inletcontactLanguage=(Option.map~f:ContactLanguage.of_xml)(Xml.childxml_arg0"ContactLanguage")inletwebsiteURL=WebsiteURL.of_xml(Xml.child_exn~context:context_xml_arg0"WebsiteURL")inletmailType=MailType.of_xml(Xml.child_exn~context:context_xml_arg0"MailType")inmake?productionAccessEnabled?additionalContactEmailAddresses?useCaseDescription?contactLanguage~websiteURL~mailType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproductionAccessEnabled=field_mapjson__"ProductionAccessEnabled"EnabledWrapper.of_jsoninletadditionalContactEmailAddresses=field_mapjson__"AdditionalContactEmailAddresses"AdditionalContactEmailAddresses.of_jsoninletuseCaseDescription=field_mapjson__"UseCaseDescription"UseCaseDescription.of_jsoninletcontactLanguage=field_mapjson__"ContactLanguage"ContactLanguage.of_jsoninletwebsiteURL=field_map_exnjson__"WebsiteURL"WebsiteURL.of_jsoninletmailType=field_map_exnjson__"MailType"MailType.of_jsoninmake?productionAccessEnabled?additionalContactEmailAddresses?useCaseDescription?contactLanguage~websiteURL~mailType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to submit new account details."]modulePutAccountDedicatedIpWarmupAttributesResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]modulePutAccountDedicatedIpWarmupAttributesRequest=structtypenonrect={autoWarmupEnabled:Enabled.toption[@ocaml.doc"Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon SES account in the current Amazon Web Services Region. Set to true to enable the automatic warm-up feature, or set to false to disable it."]}letmake?autoWarmupEnabled=fun()->{autoWarmupEnabled}letto_valuex=structure_to_value[("AutoWarmupEnabled",(Option.mapx.autoWarmupEnabled~f:Enabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautoWarmupEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"AutoWarmupEnabled")inmake?autoWarmupEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautoWarmupEnabled=field_mapjson__"AutoWarmupEnabled"Enabled.of_jsoninmake?autoWarmupEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to enable or disable the automatic IP address warm-up feature."]moduleListTenantsResponse=structtypenonrect={tenants:TenantInfoList.toption[@ocaml.doc"An array that contains basic information about each tenant."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional tenants to list. To view additional tenants, issue another request to ListTenants, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tenants=fun?nextToken->fun()->{tenants;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tenants",(Option.mapx.tenants~f:TenantInfoList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettenants=(Option.map~f:TenantInfoList.of_xml)(Xml.childxml_arg0"Tenants")inmake?nextToken?tenants()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettenants=field_mapjson__"Tenants"TenantInfoList.of_jsoninmake?nextToken?tenants()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about tenants associated with your account."]moduleListTenantsRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListTenants to indicate the position in the list of tenants."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListTenants. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list all tenants associated with your account in the current Amazon Web Services Region."]moduleListTenantResourcesResponse=structtypenonrect={tenantResources:TenantResourceList.toption[@ocaml.doc"An array that contains information about each resource associated with the tenant."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional resources to list. To view additional resources, issue another request to ListTenantResources, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tenantResources=fun?nextToken->fun()->{tenantResources;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TenantResources",(Option.mapx.tenantResources~f:TenantResourceList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettenantResources=(Option.map~f:TenantResourceList.of_xml)(Xml.childxml_arg0"TenantResources")inmake?nextToken?tenantResources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettenantResources=field_mapjson__"TenantResources"TenantResourceList.of_jsoninmake?nextToken?tenantResources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about resources associated with a specific tenant."]moduleListTenantResourcesRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to list resources for."];filter:ListTenantResourcesFilter.toption[@ocaml.doc"A map of filter keys and values for filtering the list of tenant resources. Currently, the only supported filter key is RESOURCE_TYPE."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListTenantResources. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListTenantResources to indicate the position in the list of tenant resources."]}letcontext_="ListTenantResourcesRequest"letmake?filter=fun?pageSize->fun?nextToken->fun~tenantName->fun()->{filter;pageSize;nextToken;tenantName}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)));("Filter",(Option.mapx.filter~f:ListTenantResourcesFilter.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletfilter=(Option.map~f:ListTenantResourcesFilter.of_xml)(Xml.childxml_arg0"Filter")inlettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake?nextToken?pageSize?filter~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletfilter=field_mapjson__"Filter"ListTenantResourcesFilter.of_jsoninlettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake?nextToken?pageSize?filter~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list resources associated with a specific tenant."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)"]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tags",(Option.mapx.tags~f: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"Retrieve a list of the tags (keys and values) that are associated with a specified resource. A\194\160tag\194\160is a label that you optionally define and associate with a resource. Each tag consists of a required\194\160tag key\194\160and an optional associated\194\160tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for."]}letcontext_="ListTagsForResourceRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve a list of the tags (keys and values) that are associated with a specified resource. A\194\160tag\194\160is a label that you optionally define and associate with a resource. Each tag consists of a required\194\160tag key\194\160and an optional associated\194\160tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key."]moduleListSuppressedDestinationsResponse=structtypenonrect={suppressedDestinationSummaries:SuppressedDestinationSummaries.toption[@ocaml.doc"A list of summaries, each containing a summary for a suppressed email destination."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional email addresses on the suppression list for your account. To view additional suppressed addresses, issue another request to ListSuppressedDestinations, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?suppressedDestinationSummaries=fun?nextToken->fun()->{suppressedDestinationSummaries;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SuppressedDestinationSummaries",(Option.mapx.suppressedDestinationSummaries~f:SuppressedDestinationSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsuppressedDestinationSummaries=(Option.map~f:SuppressedDestinationSummaries.of_xml)(Xml.childxml_arg0"SuppressedDestinationSummaries")inmake?nextToken?suppressedDestinationSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsuppressedDestinationSummaries=field_mapjson__"SuppressedDestinationSummaries"SuppressedDestinationSummaries.of_jsoninmake?nextToken?suppressedDestinationSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of suppressed email addresses."]moduleListSuppressedDestinationsRequest=structtypenonrect={reasons:SuppressionListReasons.toption[@ocaml.doc"The factors that caused the email address to be added to ."];startDate:Timestamp.toption[@ocaml.doc"Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date."];endDate:Timestamp.toption[@ocaml.doc"Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date."];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListSuppressedDestinations to indicate the position in the list of suppressed email addresses."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListSuppressedDestinations. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?reasons=fun?startDate->fun?endDate->fun?nextToken->fun?pageSize->fun()->{reasons;startDate;endDate;nextToken;pageSize}letto_valuex=structure_to_value[("Reason",(Option.mapx.reasons~f:SuppressionListReasons.to_value));("StartDate",(Option.mapx.startDate~f:Timestamp.to_value));("EndDate",(Option.mapx.endDate~f:Timestamp.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletendDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndDate")inletstartDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"StartDate")inletreasons=(Option.map~f:SuppressionListReasons.of_xml)(Xml.childxml_arg0"Reason")inmake?pageSize?nextToken?endDate?startDate?reasons()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletendDate=field_mapjson__"EndDate"Timestamp.of_jsoninletstartDate=field_mapjson__"StartDate"Timestamp.of_jsoninletreasons=field_mapjson__"Reasons"SuppressionListReasons.of_jsoninmake?pageSize?nextToken?endDate?startDate?reasons()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain a list of email destinations that are on the suppression list for your account."]moduleListResourceTenantsResponse=structtypenonrect={resourceTenants:ResourceTenantMetadataList.toption[@ocaml.doc"An array that contains information about each tenant associated with the resource."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional tenants to list. To view additional tenants, issue another request to ListResourceTenants, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resourceTenants=fun?nextToken->fun()->{resourceTenants;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResourceTenants",(Option.mapx.resourceTenants~f:ResourceTenantMetadataList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletresourceTenants=(Option.map~f:ResourceTenantMetadataList.of_xml)(Xml.childxml_arg0"ResourceTenants")inmake?nextToken?resourceTenants()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletresourceTenants=field_mapjson__"ResourceTenants"ResourceTenantMetadataList.of_jsoninmake?nextToken?resourceTenants()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about tenants associated with a specific resource."]moduleListResourceTenantsRequest=structtypenonrect={resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to list associated tenants for."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListResourceTenants. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListResourceTenants to indicate the position in the list of resource tenants."]}letcontext_="ListResourceTenantsRequest"letmake?pageSize=fun?nextToken->fun~resourceArn->fun()->{pageSize;nextToken;resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake?nextToken?pageSize~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninmake?nextToken?pageSize~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list tenants associated with a specific resource."]moduleListReputationEntitiesResponse=structtypenonrect={reputationEntities:ReputationEntitiesList.toption[@ocaml.doc"An array that contains information about the reputation entities in your account."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional reputation entities to list. To view additional reputation entities, issue another request to ListReputationEntities, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reputationEntities=fun?nextToken->fun()->{reputationEntities;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReputationEntities",(Option.mapx.reputationEntities~f:ReputationEntitiesList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletreputationEntities=(Option.map~f:ReputationEntitiesList.of_xml)(Xml.childxml_arg0"ReputationEntities")inmake?nextToken?reputationEntities()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletreputationEntities=field_mapjson__"ReputationEntities"ReputationEntitiesList.of_jsoninmake?nextToken?reputationEntities()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of reputation entities in your account."]moduleListReputationEntitiesRequest=structtypenonrect={filter:ReputationEntityFilter.toption[@ocaml.doc"An object that contains filters to apply when listing reputation entities. You can filter by entity type, reputation impact, sending status, or entity reference prefix."];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListReputationEntities to indicate the position in the list of reputation entities."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListReputationEntities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?filter=fun?nextToken->fun?pageSize->fun()->{filter;nextToken;pageSize}letto_valuex=structure_to_value[("Filter",(Option.mapx.filter~f:ReputationEntityFilter.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletfilter=(Option.map~f:ReputationEntityFilter.of_xml)(Xml.childxml_arg0"Filter")inmake?pageSize?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletfilter=field_mapjson__"Filter"ReputationEntityFilter.of_jsoninmake?pageSize?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list reputation entities with optional filtering."]moduleListRecommendationsResponse=structtypenonrect={recommendations:RecommendationsList.toption[@ocaml.doc"The recommendations applicable to your account."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse to use in the subsequent call to ListRecommendations with the same parameters to retrieve the next page of recommendations."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?recommendations=fun?nextToken->fun()->{recommendations;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Recommendations",(Option.mapx.recommendations~f:RecommendationsList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletrecommendations=(Option.map~f:RecommendationsList.of_xml)(Xml.childxml_arg0"Recommendations")inmake?nextToken?recommendations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletrecommendations=field_mapjson__"Recommendations"RecommendationsList.of_jsoninmake?nextToken?recommendations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the response to your request to retrieve the list of recommendations for your account."]moduleListRecommendationsRequest=structtypenonrect={filter:ListRecommendationsFilter.toption[@ocaml.doc"Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of STATUS and IMPACT or STATUS and TYPE"];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListRecommendations to indicate the position in the list of recommendations."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListRecommendations. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 1, and can be no more than 100."]}letmake?filter=fun?nextToken->fun?pageSize->fun()->{filter;nextToken;pageSize}letto_valuex=structure_to_value[("Filter",(Option.mapx.filter~f:ListRecommendationsFilter.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletfilter=(Option.map~f:ListRecommendationsFilter.of_xml)(Xml.childxml_arg0"Filter")inmake?pageSize?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletfilter=field_mapjson__"Filter"ListRecommendationsFilter.of_jsoninmake?pageSize?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list the existing recommendations for your account."]moduleListMultiRegionEndpointsResponse=structtypenonrect={multiRegionEndpoints:MultiRegionEndpoints.toption[@ocaml.doc"An array that contains key multi-region endpoint (global-endpoint) properties."];nextToken:NextTokenV2.toption[@ocaml.doc"A token indicating that there are additional multi-region endpoints (global-endpoints) available to be listed. Pass this token to a subsequent ListMultiRegionEndpoints call to retrieve the next page."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?multiRegionEndpoints=fun?nextToken->fun()->{multiRegionEndpoints;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("MultiRegionEndpoints",(Option.mapx.multiRegionEndpoints~f:MultiRegionEndpoints.to_value));("NextToken",(Option.mapx.nextToken~f:NextTokenV2.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextTokenV2.of_xml)(Xml.childxml_arg0"NextToken")inletmultiRegionEndpoints=(Option.map~f:MultiRegionEndpoints.of_xml)(Xml.childxml_arg0"MultiRegionEndpoints")inmake?nextToken?multiRegionEndpoints()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextTokenV2.of_jsoninletmultiRegionEndpoints=field_mapjson__"MultiRegionEndpoints"MultiRegionEndpoints.of_jsoninmake?nextToken?multiRegionEndpoints()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following elements are returned by the service."]moduleListMultiRegionEndpointsRequest=structtypenonrect={nextToken:NextTokenV2.toption[@ocaml.doc"A token returned from a previous call to ListMultiRegionEndpoints to indicate the position in the list of multi-region endpoints (global-endpoints)."];pageSize:PageSizeV2.toption[@ocaml.doc"The number of results to show in a single call to ListMultiRegionEndpoints. If the number of results is larger than the number you specified in this parameter, the response includes a NextToken element that you can use to retrieve the next page of results."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextTokenV2.to_value));("PageSize",(Option.mapx.pageSize~f:PageSizeV2.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:PageSizeV2.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextTokenV2.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"PageSizeV2.of_jsoninletnextToken=field_mapjson__"NextToken"NextTokenV2.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list all the multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed."]moduleListImportJobsResponse=structtypenonrect={importJobs:ImportJobSummaryList.toption[@ocaml.doc"A list of the import job summaries."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?importJobs=fun?nextToken->fun()->{importJobs;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ImportJobs",(Option.mapx.importJobs~f:ImportJobSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletimportJobs=(Option.map~f:ImportJobSummaryList.of_xml)(Xml.childxml_arg0"ImportJobs")inmake?nextToken?importJobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletimportJobs=field_mapjson__"ImportJobs"ImportJobSummaryList.of_jsoninmake?nextToken?importJobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleListImportJobsRequest=structtypenonrect={importDestinationType:ImportDestinationType.toption[@ocaml.doc"The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs."];pageSize:MaxItems.toption[@ocaml.doc"Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional addresses."]}letmake?importDestinationType=fun?nextToken->fun?pageSize->fun()->{importDestinationType;nextToken;pageSize}letto_valuex=structure_to_value[("ImportDestinationType",(Option.mapx.importDestinationType~f:ImportDestinationType.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletimportDestinationType=(Option.map~f:ImportDestinationType.of_xml)(Xml.childxml_arg0"ImportDestinationType")inmake?pageSize?nextToken?importDestinationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletimportDestinationType=field_mapjson__"ImportDestinationType"ImportDestinationType.of_jsoninmake?pageSize?nextToken?importDestinationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs."]moduleListExportJobsResponse=structtypenonrect={exportJobs:ExportJobSummaryList.toption[@ocaml.doc"A list of the export job summaries."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional export jobs available to be listed. Use this token to a subsequent call to ListExportJobs with the same parameters to retrieve the next page of export jobs."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?exportJobs=fun?nextToken->fun()->{exportJobs;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ExportJobs",(Option.mapx.exportJobs~f:ExportJobSummaryList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletexportJobs=(Option.map~f:ExportJobSummaryList.of_xml)(Xml.childxml_arg0"ExportJobs")inmake?nextToken?exportJobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletexportJobs=field_mapjson__"ExportJobs"ExportJobSummaryList.of_jsoninmake?nextToken?exportJobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleListExportJobsRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The pagination token returned from a previous call to ListExportJobs to indicate the position in the list of export jobs."];pageSize:MaxItems.toption[@ocaml.doc"Maximum number of export jobs to return at once. Use this parameter to paginate results. If additional export jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent calls to ListExportJobs to retrieve additional export jobs."];exportSourceType:ExportSourceType.toption[@ocaml.doc"A value used to list export jobs that have a certain ExportSourceType."];jobStatus:JobStatus.toption[@ocaml.doc"A value used to list export jobs that have a certain JobStatus."]}letmake?nextToken=fun?pageSize->fun?exportSourceType->fun?jobStatus->fun()->{nextToken;pageSize;exportSourceType;jobStatus}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value));("ExportSourceType",(Option.mapx.exportSourceType~f:ExportSourceType.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletexportSourceType=(Option.map~f:ExportSourceType.of_xml)(Xml.childxml_arg0"ExportSourceType")inletpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?jobStatus?exportSourceType?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletexportSourceType=field_mapjson__"ExportSourceType"ExportSourceType.of_jsoninletpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?jobStatus?exportSourceType?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list all export jobs with filters."]moduleListEmailTemplatesResponse=structtypenonrect={templatesMetadata:EmailTemplateMetadataList.toption[@ocaml.doc"An array the contains the name and creation time stamp for each template in your Amazon SES account."];nextToken:NextToken.toption[@ocaml.doc"A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent ListEmailTemplates call to retrieve the next 10 email templates."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?templatesMetadata=fun?nextToken->fun()->{templatesMetadata;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TemplatesMetadata",(Option.mapx.templatesMetadata~f:EmailTemplateMetadataList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettemplatesMetadata=(Option.map~f:EmailTemplateMetadataList.of_xml)(Xml.childxml_arg0"TemplatesMetadata")inmake?nextToken?templatesMetadata()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettemplatesMetadata=field_mapjson__"TemplatesMetadata"EmailTemplateMetadataList.of_jsoninmake?nextToken?templatesMetadata()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following elements are returned by the service."]moduleListEmailTemplatesRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListEmailTemplates to indicate the position in the list of email templates."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListEmailTemplates. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 1, and can be no more than 100."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list the email templates present in your Amazon SES account in the current Amazon Web Services Region. For more information, see the Amazon SES Developer Guide."]moduleListEmailIdentitiesResponse=structtypenonrect={emailIdentities:IdentityInfoList.toption[@ocaml.doc"An array that includes all of the email identities associated with your Amazon Web Services account."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?emailIdentities=fun?nextToken->fun()->{emailIdentities;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EmailIdentities",(Option.mapx.emailIdentities~f:IdentityInfoList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletemailIdentities=(Option.map~f:IdentityInfoList.of_xml)(Xml.childxml_arg0"EmailIdentities")inmake?nextToken?emailIdentities()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletemailIdentities=field_mapjson__"EmailIdentities"IdentityInfoList.of_jsoninmake?nextToken?emailIdentities()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of all of the identities that you've attempted to verify, regardless of whether or not those identities were successfully verified."]moduleListEmailIdentitiesRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListEmailIdentities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 0, and can be no more than 1000."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified."]moduleListDomainDeliverabilityCampaignsResponse=structtypenonrect={domainDeliverabilityCampaigns:DomainDeliverabilityCampaignList.toption[@ocaml.doc"An array of responses, one for each campaign that used the domain to send email during the specified time range."];nextToken:NextToken.toption[@ocaml.doc"A token that\226\128\153s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of the campaign in the list of campaigns."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?domainDeliverabilityCampaigns=fun?nextToken->fun()->{domainDeliverabilityCampaigns;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DomainDeliverabilityCampaigns",(Option.mapx.domainDeliverabilityCampaigns~f:DomainDeliverabilityCampaignList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdomainDeliverabilityCampaigns=(Option.map~f:DomainDeliverabilityCampaignList.of_xml)(Xml.childxml_arg0"DomainDeliverabilityCampaigns")inmake?nextToken?domainDeliverabilityCampaigns()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdomainDeliverabilityCampaigns=field_mapjson__"DomainDeliverabilityCampaigns"DomainDeliverabilityCampaignList.of_jsoninmake?nextToken?domainDeliverabilityCampaigns()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An array of objects that provide deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain."]moduleListDomainDeliverabilityCampaignsRequest=structtypenonrect={startDate:Timestamp.t[@ocaml.doc"The first day that you want to obtain deliverability data for."];endDate:Timestamp.t[@ocaml.doc"The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate parameter."];subscribedDomain:Domain.t[@ocaml.doc"The domain to obtain deliverability data for."];nextToken:NextToken.toption[@ocaml.doc"A token that\226\128\153s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of a campaign in the list of campaigns."];pageSize:MaxItems.toption[@ocaml.doc"The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken element, which you can use to obtain additional results."]}letcontext_="ListDomainDeliverabilityCampaignsRequest"letmake?nextToken=fun?pageSize->fun~startDate->fun~endDate->fun~subscribedDomain->fun()->{nextToken;pageSize;startDate;endDate;subscribedDomain}letto_valuex=structure_to_value[("StartDate",(Some(Timestamp.to_valuex.startDate)));("EndDate",(Some(Timestamp.to_valuex.endDate)));("SubscribedDomain",(Some(Domain.to_valuex.subscribedDomain)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsubscribedDomain=Domain.of_xml(Xml.child_exn~context:context_xml_arg0"SubscribedDomain")inletendDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"EndDate")inletstartDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"StartDate")inmake?pageSize?nextToken~subscribedDomain~endDate~startDate()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsubscribedDomain=field_map_exnjson__"SubscribedDomain"Domain.of_jsoninletendDate=field_map_exnjson__"EndDate"Timestamp.of_jsoninletstartDate=field_map_exnjson__"StartDate"Timestamp.of_jsoninmake?pageSize?nextToken~subscribedDomain~endDate~startDate()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard."]moduleListDeliverabilityTestReportsResponse=structtypenonrect={deliverabilityTestReports:DeliverabilityTestReports.toption[@ocaml.doc"An object that contains a lists of predictive inbox placement tests that you've performed."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to ListDeliverabilityTestReports, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deliverabilityTestReports=fun?nextToken->fun()->{deliverabilityTestReports;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DeliverabilityTestReports",(Option.mapx.deliverabilityTestReports~f:DeliverabilityTestReports.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdeliverabilityTestReports=(Option.map~f:DeliverabilityTestReports.of_xml)(Xml.childxml_arg0"DeliverabilityTestReports")inmake?nextToken?deliverabilityTestReports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdeliverabilityTestReports=field_mapjson__"DeliverabilityTestReports"DeliverabilityTestReports.of_jsoninmake?nextToken?deliverabilityTestReports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of the predictive inbox placement test reports that are available for your account, regardless of whether or not those tests are complete."]moduleListDeliverabilityTestReportsRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListDeliverabilityTestReports to indicate the position in the list of predictive inbox placement tests."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListDeliverabilityTestReports. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 0, and can be no more than 1000."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to list all of the predictive inbox placement tests that you've performed."]moduleListDedicatedIpPoolsResponse=structtypenonrect={dedicatedIpPools:ListOfDedicatedIpPools.toption[@ocaml.doc"A list of all of the dedicated IP pools that are associated with your Amazon Web Services account in the current Region."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to ListDedicatedIpPools, passing this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dedicatedIpPools=fun?nextToken->fun()->{dedicatedIpPools;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DedicatedIpPools",(Option.mapx.dedicatedIpPools~f:ListOfDedicatedIpPools.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdedicatedIpPools=(Option.map~f:ListOfDedicatedIpPools.of_xml)(Xml.childxml_arg0"DedicatedIpPools")inmake?nextToken?dedicatedIpPools()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdedicatedIpPools=field_mapjson__"DedicatedIpPools"ListOfDedicatedIpPools.of_jsoninmake?nextToken?dedicatedIpPools()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of dedicated IP pools."]moduleListDedicatedIpPoolsRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListDedicatedIpPools to indicate the position in the list of dedicated IP pools."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListDedicatedIpPools. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain a list of dedicated IP pools."]moduleListCustomVerificationEmailTemplatesResponse=structtypenonrect={customVerificationEmailTemplates:CustomVerificationEmailTemplatesList.toption[@ocaml.doc"A list of the custom verification email templates that exist in your account."];nextToken:NextToken.toption[@ocaml.doc"A token indicating that there are additional custom verification email templates available to be listed. Pass this token to a subsequent call to ListCustomVerificationEmailTemplates to retrieve the next 50 custom verification email templates."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?customVerificationEmailTemplates=fun?nextToken->fun()->{customVerificationEmailTemplates;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("CustomVerificationEmailTemplates",(Option.mapx.customVerificationEmailTemplates~f:CustomVerificationEmailTemplatesList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcustomVerificationEmailTemplates=(Option.map~f:CustomVerificationEmailTemplatesList.of_xml)(Xml.childxml_arg0"CustomVerificationEmailTemplates")inmake?nextToken?customVerificationEmailTemplates()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcustomVerificationEmailTemplates=field_mapjson__"CustomVerificationEmailTemplates"CustomVerificationEmailTemplatesList.of_jsoninmake?nextToken?customVerificationEmailTemplates()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following elements are returned by the service."]moduleListCustomVerificationEmailTemplatesRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListCustomVerificationEmailTemplates to indicate the position in the list of custom verification email templates."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListCustomVerificationEmailTemplates. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 1, and can be no more than 50."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to list the existing custom verification email templates for your account."]moduleListContactsResponse=structtypenonrect={contacts:ListOfContacts.toption[@ocaml.doc"The contacts present in a specific contact list."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional contacts available to be listed. Copy this token to a subsequent call to ListContacts with the same parameters to retrieve the next page of contacts."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?contacts=fun?nextToken->fun()->{contacts;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Contacts",(Option.mapx.contacts~f:ListOfContacts.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcontacts=(Option.map~f:ListOfContacts.of_xml)(Xml.childxml_arg0"Contacts")inmake?nextToken?contacts()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcontacts=field_mapjson__"Contacts"ListOfContacts.of_jsoninmake?nextToken?contacts()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the contacts present in a specific contact list."]moduleListContactsRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];filter:ListContactsFilter.toption[@ocaml.doc"A filter that can be applied to a list of contacts."];pageSize:MaxItems.toption[@ocaml.doc"The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional contacts."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts."]}letcontext_="ListContactsRequest"letmake?filter=fun?pageSize->fun?nextToken->fun~contactListName->fun()->{filter;pageSize;nextToken;contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("Filter",(Option.mapx.filter~f:ListContactsFilter.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletfilter=(Option.map~f:ListContactsFilter.of_xml)(Xml.childxml_arg0"Filter")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?nextToken?pageSize?filter~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletfilter=field_mapjson__"Filter"ListContactsFilter.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?nextToken?pageSize?filter~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the contacts present in a specific contact list."]moduleListContactListsResponse=structtypenonrect={contactLists:ListOfContactLists.toption[@ocaml.doc"The available contact lists."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?contactLists=fun?nextToken->fun()->{contactLists;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ContactLists",(Option.mapx.contactLists~f:ListOfContactLists.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletcontactLists=(Option.map~f:ListOfContactLists.of_xml)(Xml.childxml_arg0"ContactLists")inmake?nextToken?contactLists()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletcontactLists=field_mapjson__"ContactLists"ListOfContactLists.of_jsoninmake?nextToken?contactLists()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all of the contact lists available. If your output includes a \"NextToken\" field with a string value, this indicates there may be additional contacts on the filtered list - regardless of the number of contacts returned."]moduleListContactListsRequest=structtypenonrect={pageSize:MaxItems.toption[@ocaml.doc"Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional lists."];nextToken:NextToken.toption[@ocaml.doc"A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists."]}letmake?pageSize=fun?nextToken->fun()->{pageSize;nextToken}letto_valuex=structure_to_value[("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inmake?nextToken?pageSize()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninmake?nextToken?pageSize()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all of the contact lists available. If your output includes a \"NextToken\" field with a string value, this indicates there may be additional contacts on the filtered list - regardless of the number of contacts returned."]moduleListConfigurationSetsResponse=structtypenonrect={configurationSets:ConfigurationSetNameList.toption[@ocaml.doc"An array that contains all of the configuration sets in your Amazon SES account in the current Amazon Web Services Region."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListConfigurationSets, and pass this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?configurationSets=fun?nextToken->fun()->{configurationSets;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ConfigurationSets",(Option.mapx.configurationSets~f:ConfigurationSetNameList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletconfigurationSets=(Option.map~f:ConfigurationSetNameList.of_xml)(Xml.childxml_arg0"ConfigurationSets")inmake?nextToken?configurationSets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletconfigurationSets=field_mapjson__"ConfigurationSets"ConfigurationSetNameList.of_jsoninmake?nextToken?configurationSets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of configuration sets in your Amazon SES account in the current Amazon Web Services Region."]moduleListConfigurationSetsRequest=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to ListConfigurationSets. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?nextToken=fun?pageSize->fun()->{nextToken;pageSize}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?pageSize?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?pageSize?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain a list of configuration sets for your Amazon SES account in the current Amazon Web Services Region."]moduleGetTenantResponse=structtypenonrect={tenant:Tenant.toption[@ocaml.doc"A structure that contains details about the tenant."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tenant=fun()->{tenant}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Tenant",(Option.mapx.tenant~f:Tenant.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenant=(Option.map~f:Tenant.of_xml)(Xml.childxml_arg0"Tenant")inmake?tenant()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenant=field_mapjson__"Tenant"Tenant.of_jsoninmake?tenant()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a specific tenant."]moduleGetTenantRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to retrieve information about."]}letcontext_="GetTenantRequest"letmake~tenantName=fun()->{tenantName}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to get information about a specific tenant."]moduleGetSuppressedDestinationResponse=structtypenonrect={suppressedDestination:SuppressedDestination.toption[@ocaml.doc"An object containing information about the suppressed email address."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?suppressedDestination=fun()->{suppressedDestination}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("SuppressedDestination",(Option.mapx.suppressedDestination~f:SuppressedDestination.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsuppressedDestination=(Option.map~f:SuppressedDestination.of_xml)(Xml.childxml_arg0"SuppressedDestination")inmake?suppressedDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsuppressedDestination=field_mapjson__"SuppressedDestination"SuppressedDestination.of_jsoninmake?suppressedDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the suppressed email address."]moduleGetSuppressedDestinationRequest=structtypenonrect={emailAddress:EmailAddress.t[@ocaml.doc"The email address that's on the account suppression list."]}letcontext_="GetSuppressedDestinationRequest"letmake~emailAddress=fun()->{emailAddress}letto_valuex=structure_to_value[("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inmake~emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninmake~emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to retrieve information about an email address that's on the suppression list for your account."]moduleGetReputationEntityResponse=structtypenonrect={reputationEntity:ReputationEntity.toption[@ocaml.doc"The reputation entity information, including status records, policy configuration, and reputation impact."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reputationEntity=fun()->{reputationEntity}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReputationEntity",(Option.mapx.reputationEntity~f:ReputationEntity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreputationEntity=(Option.map~f:ReputationEntity.of_xml)(Xml.childxml_arg0"ReputationEntity")inmake?reputationEntity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreputationEntity=field_mapjson__"ReputationEntity"ReputationEntity.of_jsoninmake?reputationEntity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the requested reputation entity."]moduleGetReputationEntityRequest=structtypenonrect={reputationEntityReference:ReputationEntityReference.t[@ocaml.doc"The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource."];reputationEntityType:ReputationEntityType.t[@ocaml.doc"The type of reputation entity. Currently, only RESOURCE type entities are supported."]}letcontext_="GetReputationEntityRequest"letmake~reputationEntityReference=fun~reputationEntityType->fun()->{reputationEntityReference;reputationEntityType}letto_valuex=structure_to_value[("ReputationEntityReference",(Some(ReputationEntityReference.to_valuex.reputationEntityReference)));("ReputationEntityType",(Some(ReputationEntityType.to_valuex.reputationEntityType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreputationEntityType=ReputationEntityType.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityType")inletreputationEntityReference=ReputationEntityReference.of_xml(Xml.child_exn~context:context_xml_arg0"ReputationEntityReference")inmake~reputationEntityType~reputationEntityReference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreputationEntityType=field_map_exnjson__"ReputationEntityType"ReputationEntityType.of_jsoninletreputationEntityReference=field_map_exnjson__"ReputationEntityReference"ReputationEntityReference.of_jsoninmake~reputationEntityType~reputationEntityReference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to retrieve information about a specific reputation entity."]moduleGetMultiRegionEndpointResponse=structtypenonrect={endpointName:EndpointName.toption[@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."];endpointId:EndpointId.toption[@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."];routes:Routes.toption[@ocaml.doc"Contains routes information for the multi-region endpoint (global-endpoint)."];status:Status.toption[@ocaml.doc"The status of the multi-region endpoint (global-endpoint). CREATING \226\128\147 The resource is being provisioned. READY \226\128\147 The resource is ready to use. FAILED \226\128\147 The resource failed to be provisioned. DELETING \226\128\147 The resource is being deleted as requested."];createdTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the multi-region endpoint (global-endpoint) was created."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the multi-region endpoint (global-endpoint) was last updated."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?endpointName=fun?endpointId->fun?routes->fun?status->fun?createdTimestamp->fun?lastUpdatedTimestamp->fun()->{endpointName;endpointId;routes;status;createdTimestamp;lastUpdatedTimestamp}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EndpointName",(Option.mapx.endpointName~f:EndpointName.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value));("Routes",(Option.mapx.routes~f:Routes.to_value));("Status",(Option.mapx.status~f:Status.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletroutes=(Option.map~f:Routes.of_xml)(Xml.childxml_arg0"Routes")inletendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletendpointName=(Option.map~f:EndpointName.of_xml)(Xml.childxml_arg0"EndpointName")inmake?lastUpdatedTimestamp?createdTimestamp?status?routes?endpointId?endpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninletroutes=field_mapjson__"Routes"Routes.of_jsoninletendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletendpointName=field_mapjson__"EndpointName"EndpointName.of_jsoninmake?lastUpdatedTimestamp?createdTimestamp?status?routes?endpointId?endpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleGetMultiRegionEndpointRequest=structtypenonrect={endpointName:EndpointName.t[@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."]}letcontext_="GetMultiRegionEndpointRequest"letmake~endpointName=fun()->{endpointName}letto_valuex=structure_to_value[("EndpointName",(Some(EndpointName.to_valuex.endpointName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpointName=EndpointName.of_xml(Xml.child_exn~context:context_xml_arg0"EndpointName")inmake~endpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpointName=field_map_exnjson__"EndpointName"EndpointName.of_jsoninmake~endpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to display the multi-region endpoint (global-endpoint)."]moduleGetMessageInsightsResponse=structtypenonrect={messageId:OutboundMessageId.toption[@ocaml.doc"A unique identifier for the message."];fromEmailAddress:InsightsEmailAddress.toption[@ocaml.doc"The from address used to send the message."];subject:EmailSubject.toption[@ocaml.doc"The subject line of the message."];emailTags:MessageTagList.toption[@ocaml.doc"A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags."];insights:EmailInsightsList.toption[@ocaml.doc"A set of insights associated with the message."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?messageId=fun?fromEmailAddress->fun?subject->fun?emailTags->fun?insights->fun()->{messageId;fromEmailAddress;subject;emailTags;insights}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("MessageId",(Option.mapx.messageId~f:OutboundMessageId.to_value));("FromEmailAddress",(Option.mapx.fromEmailAddress~f:InsightsEmailAddress.to_value));("Subject",(Option.mapx.subject~f:EmailSubject.to_value));("EmailTags",(Option.mapx.emailTags~f:MessageTagList.to_value));("Insights",(Option.mapx.insights~f:EmailInsightsList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinsights=(Option.map~f:EmailInsightsList.of_xml)(Xml.childxml_arg0"Insights")inletemailTags=(Option.map~f:MessageTagList.of_xml)(Xml.childxml_arg0"EmailTags")inletsubject=(Option.map~f:EmailSubject.of_xml)(Xml.childxml_arg0"Subject")inletfromEmailAddress=(Option.map~f:InsightsEmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inletmessageId=(Option.map~f:OutboundMessageId.of_xml)(Xml.childxml_arg0"MessageId")inmake?insights?emailTags?subject?fromEmailAddress?messageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinsights=field_mapjson__"Insights"EmailInsightsList.of_jsoninletemailTags=field_mapjson__"EmailTags"MessageTagList.of_jsoninletsubject=field_mapjson__"Subject"EmailSubject.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"InsightsEmailAddress.of_jsoninletmessageId=field_mapjson__"MessageId"OutboundMessageId.of_jsoninmake?insights?emailTags?subject?fromEmailAddress?messageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a message."]moduleGetMessageInsightsRequest=structtypenonrect={messageId:OutboundMessageId.t[@ocaml.doc"A MessageId is a unique identifier for a message, and is returned when sending emails through Amazon SES."]}letcontext_="GetMessageInsightsRequest"letmake~messageId=fun()->{messageId}letto_valuex=structure_to_value[("MessageId",(Some(OutboundMessageId.to_valuex.messageId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessageId=OutboundMessageId.of_xml(Xml.child_exn~context:context_xml_arg0"MessageId")inmake~messageId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessageId=field_map_exnjson__"MessageId"OutboundMessageId.of_jsoninmake~messageId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to return information about a message."]moduleGetImportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"A string that represents the import job ID."];importDestination:ImportDestination.toption[@ocaml.doc"The destination of the import job."];importDataSource:ImportDataSource.toption[@ocaml.doc"The data source of the import job."];failureInfo:FailureInfo.toption[@ocaml.doc"The failure details about an import job."];jobStatus:JobStatus.toption[@ocaml.doc"The status of the import job."];createdTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the import job was created."];completedTimestamp:Timestamp.toption[@ocaml.doc"The time stamp of when the import job was completed."];processedRecordsCount:ProcessedRecordsCount.toption[@ocaml.doc"The current number of records processed."];failedRecordsCount:FailedRecordsCount.toption[@ocaml.doc"The number of records that failed processing because of invalid input or other reasons."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?importDestination->fun?importDataSource->fun?failureInfo->fun?jobStatus->fun?createdTimestamp->fun?completedTimestamp->fun?processedRecordsCount->fun?failedRecordsCount->fun()->{jobId;importDestination;importDataSource;failureInfo;jobStatus;createdTimestamp;completedTimestamp;processedRecordsCount;failedRecordsCount}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("ImportDestination",(Option.mapx.importDestination~f:ImportDestination.to_value));("ImportDataSource",(Option.mapx.importDataSource~f:ImportDataSource.to_value));("FailureInfo",(Option.mapx.failureInfo~f:FailureInfo.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("CompletedTimestamp",(Option.mapx.completedTimestamp~f:Timestamp.to_value));("ProcessedRecordsCount",(Option.mapx.processedRecordsCount~f:ProcessedRecordsCount.to_value));("FailedRecordsCount",(Option.mapx.failedRecordsCount~f:FailedRecordsCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailedRecordsCount=(Option.map~f:FailedRecordsCount.of_xml)(Xml.childxml_arg0"FailedRecordsCount")inletprocessedRecordsCount=(Option.map~f:ProcessedRecordsCount.of_xml)(Xml.childxml_arg0"ProcessedRecordsCount")inletcompletedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CompletedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletfailureInfo=(Option.map~f:FailureInfo.of_xml)(Xml.childxml_arg0"FailureInfo")inletimportDataSource=(Option.map~f:ImportDataSource.of_xml)(Xml.childxml_arg0"ImportDataSource")inletimportDestination=(Option.map~f:ImportDestination.of_xml)(Xml.childxml_arg0"ImportDestination")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?failedRecordsCount?processedRecordsCount?completedTimestamp?createdTimestamp?jobStatus?failureInfo?importDataSource?importDestination?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailedRecordsCount=field_mapjson__"FailedRecordsCount"FailedRecordsCount.of_jsoninletprocessedRecordsCount=field_mapjson__"ProcessedRecordsCount"ProcessedRecordsCount.of_jsoninletcompletedTimestamp=field_mapjson__"CompletedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletfailureInfo=field_mapjson__"FailureInfo"FailureInfo.of_jsoninletimportDataSource=field_mapjson__"ImportDataSource"ImportDataSource.of_jsoninletimportDestination=field_mapjson__"ImportDestination"ImportDestination.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?failedRecordsCount?processedRecordsCount?completedTimestamp?createdTimestamp?jobStatus?failureInfo?importDataSource?importDestination?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleGetImportJobRequest=structtypenonrect={jobId:JobId.t[@ocaml.doc"The ID of the import job."]}letcontext_="GetImportJobRequest"letmake~jobId=fun()->{jobId}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request for information about an import job using the import job ID."]moduleGetExportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The export job ID."];exportSourceType:ExportSourceType.toption[@ocaml.doc"The type of source of the export job."];jobStatus:JobStatus.toption[@ocaml.doc"The status of the export job."];exportDestination:ExportDestination.toption[@ocaml.doc"The destination of the export job."];exportDataSource:ExportDataSource.toption[@ocaml.doc"The data source of the export job."];createdTimestamp:Timestamp.toption[@ocaml.doc"The timestamp of when the export job was created."];completedTimestamp:Timestamp.toption[@ocaml.doc"The timestamp of when the export job was completed."];failureInfo:FailureInfo.toption[@ocaml.doc"The failure details about an export job."];statistics:ExportStatistics.toption[@ocaml.doc"The statistics about the export job."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?exportSourceType->fun?jobStatus->fun?exportDestination->fun?exportDataSource->fun?createdTimestamp->fun?completedTimestamp->fun?failureInfo->fun?statistics->fun()->{jobId;exportSourceType;jobStatus;exportDestination;exportDataSource;createdTimestamp;completedTimestamp;failureInfo;statistics}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("ExportSourceType",(Option.mapx.exportSourceType~f:ExportSourceType.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("ExportDestination",(Option.mapx.exportDestination~f:ExportDestination.to_value));("ExportDataSource",(Option.mapx.exportDataSource~f:ExportDataSource.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("CompletedTimestamp",(Option.mapx.completedTimestamp~f:Timestamp.to_value));("FailureInfo",(Option.mapx.failureInfo~f:FailureInfo.to_value));("Statistics",(Option.mapx.statistics~f:ExportStatistics.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatistics=(Option.map~f:ExportStatistics.of_xml)(Xml.childxml_arg0"Statistics")inletfailureInfo=(Option.map~f:FailureInfo.of_xml)(Xml.childxml_arg0"FailureInfo")inletcompletedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CompletedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletexportDataSource=(Option.map~f:ExportDataSource.of_xml)(Xml.childxml_arg0"ExportDataSource")inletexportDestination=(Option.map~f:ExportDestination.of_xml)(Xml.childxml_arg0"ExportDestination")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletexportSourceType=(Option.map~f:ExportSourceType.of_xml)(Xml.childxml_arg0"ExportSourceType")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?statistics?failureInfo?completedTimestamp?createdTimestamp?exportDataSource?exportDestination?jobStatus?exportSourceType?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatistics=field_mapjson__"Statistics"ExportStatistics.of_jsoninletfailureInfo=field_mapjson__"FailureInfo"FailureInfo.of_jsoninletcompletedTimestamp=field_mapjson__"CompletedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletexportDataSource=field_mapjson__"ExportDataSource"ExportDataSource.of_jsoninletexportDestination=field_mapjson__"ExportDestination"ExportDestination.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletexportSourceType=field_mapjson__"ExportSourceType"ExportSourceType.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?statistics?failureInfo?completedTimestamp?createdTimestamp?exportDataSource?exportDestination?jobStatus?exportSourceType?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleGetExportJobRequest=structtypenonrect={jobId:JobId.t[@ocaml.doc"The export job ID."]}letcontext_="GetExportJobRequest"letmake~jobId=fun()->{jobId}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to retrieve information about an export job using the export job ID."]moduleGetEmailTemplateResponse=structtypenonrect={templateName:EmailTemplateName.toption[@ocaml.doc"The name of the template."];templateContent:EmailTemplateContent.toption[@ocaml.doc"The content of the email template, composed of a subject line, an HTML part, and a text-only part."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that are associated with the email template."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?templateName=fun?templateContent->fun?tags->fun()->{templateName;templateContent;tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TemplateName",(Option.mapx.templateName~f:EmailTemplateName.to_value));("TemplateContent",(Option.mapx.templateContent~f:EmailTemplateContent.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")inlettemplateContent=(Option.map~f:EmailTemplateContent.of_xml)(Xml.childxml_arg0"TemplateContent")inlettemplateName=(Option.map~f:EmailTemplateName.of_xml)(Xml.childxml_arg0"TemplateName")inmake?tags?templateContent?templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlettemplateContent=field_mapjson__"TemplateContent"EmailTemplateContent.of_jsoninlettemplateName=field_mapjson__"TemplateName"EmailTemplateName.of_jsoninmake?tags?templateContent?templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following element is returned by the service."]moduleGetEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the template."]}letcontext_="GetEmailTemplateRequest"letmake~templateName=fun()->{templateName}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to display the template object (which includes the subject line, HTML part and text part) for the template you specify."]moduleGetEmailIdentityResponse=structtypenonrect={identityType:IdentityType.toption[@ocaml.doc"The email identity type. Note: the MANAGED_DOMAIN identity type is not supported."];feedbackForwardingStatus:Enabled.toption[@ocaml.doc"The feedback forwarding configuration for the identity. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled)."];verifiedForSendingStatus:Enabled.toption[@ocaml.doc"Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide."];dkimAttributes:DkimAttributes.toption[@ocaml.doc"An object that contains information about the DKIM attributes for the identity."];mailFromAttributes:MailFromAttributes.toption[@ocaml.doc"An object that contains information about the Mail-From attributes for the email identity."];policies:PolicyMap.toption[@ocaml.doc"A map of policy names to policies."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that are associated with the email identity."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The configuration set used by default when sending from this identity."];verificationStatus:VerificationStatus.toption[@ocaml.doc"The verification status of the identity. The status can be one of the following: PENDING \226\128\147 The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. SUCCESS \226\128\147 The verification process completed successfully. FAILED \226\128\147 The verification process failed. TEMPORARY_FAILURE \226\128\147 A temporary issue is preventing Amazon SES from determining the verification status of the identity. NOT_STARTED \226\128\147 The verification process hasn't been initiated for the identity."];verificationInfo:VerificationInfo.toption[@ocaml.doc"An object that contains additional information about the verification status for the identity."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?identityType=fun?feedbackForwardingStatus->fun?verifiedForSendingStatus->fun?dkimAttributes->fun?mailFromAttributes->fun?policies->fun?tags->fun?configurationSetName->fun?verificationStatus->fun?verificationInfo->fun()->{identityType;feedbackForwardingStatus;verifiedForSendingStatus;dkimAttributes;mailFromAttributes;policies;tags;configurationSetName;verificationStatus;verificationInfo}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("IdentityType",(Option.mapx.identityType~f:IdentityType.to_value));("FeedbackForwardingStatus",(Option.mapx.feedbackForwardingStatus~f:Enabled.to_value));("VerifiedForSendingStatus",(Option.mapx.verifiedForSendingStatus~f:Enabled.to_value));("DkimAttributes",(Option.mapx.dkimAttributes~f:DkimAttributes.to_value));("MailFromAttributes",(Option.mapx.mailFromAttributes~f:MailFromAttributes.to_value));("Policies",(Option.mapx.policies~f:PolicyMap.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value));("VerificationStatus",(Option.mapx.verificationStatus~f:VerificationStatus.to_value));("VerificationInfo",(Option.mapx.verificationInfo~f:VerificationInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letverificationInfo=(Option.map~f:VerificationInfo.of_xml)(Xml.childxml_arg0"VerificationInfo")inletverificationStatus=(Option.map~f:VerificationStatus.of_xml)(Xml.childxml_arg0"VerificationStatus")inletconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletpolicies=(Option.map~f:PolicyMap.of_xml)(Xml.childxml_arg0"Policies")inletmailFromAttributes=(Option.map~f:MailFromAttributes.of_xml)(Xml.childxml_arg0"MailFromAttributes")inletdkimAttributes=(Option.map~f:DkimAttributes.of_xml)(Xml.childxml_arg0"DkimAttributes")inletverifiedForSendingStatus=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"VerifiedForSendingStatus")inletfeedbackForwardingStatus=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"FeedbackForwardingStatus")inletidentityType=(Option.map~f:IdentityType.of_xml)(Xml.childxml_arg0"IdentityType")inmake?verificationInfo?verificationStatus?configurationSetName?tags?policies?mailFromAttributes?dkimAttributes?verifiedForSendingStatus?feedbackForwardingStatus?identityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letverificationInfo=field_mapjson__"VerificationInfo"VerificationInfo.of_jsoninletverificationStatus=field_mapjson__"VerificationStatus"VerificationStatus.of_jsoninletconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletpolicies=field_mapjson__"Policies"PolicyMap.of_jsoninletmailFromAttributes=field_mapjson__"MailFromAttributes"MailFromAttributes.of_jsoninletdkimAttributes=field_mapjson__"DkimAttributes"DkimAttributes.of_jsoninletverifiedForSendingStatus=field_mapjson__"VerifiedForSendingStatus"Enabled.of_jsoninletfeedbackForwardingStatus=field_mapjson__"FeedbackForwardingStatus"Enabled.of_jsoninletidentityType=field_mapjson__"IdentityType"IdentityType.of_jsoninmake?verificationInfo?verificationStatus?configurationSetName?tags?policies?mailFromAttributes?dkimAttributes?verifiedForSendingStatus?feedbackForwardingStatus?identityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about an email identity."]moduleGetEmailIdentityRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."]}letcontext_="GetEmailIdentityRequest"letmake~emailIdentity=fun()->{emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to return details about an email identity."]moduleGetEmailIdentityPoliciesResponse=structtypenonrect={policies:PolicyMap.toption[@ocaml.doc"A map of policy names to policies."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?policies=fun()->{policies}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Policies",(Option.mapx.policies~f:PolicyMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicies=(Option.map~f:PolicyMap.of_xml)(Xml.childxml_arg0"Policies")inmake?policies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicies=field_mapjson__"Policies"PolicyMap.of_jsoninmake?policies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Identity policies associated with email identity."]moduleGetEmailIdentityPoliciesRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."]}letcontext_="GetEmailIdentityPoliciesRequest"letmake~emailIdentity=fun()->{emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to return the policies of an email identity."]moduleGetEmailAddressInsightsResponse=structtypenonrect={mailboxValidation:MailboxValidation.toption[@ocaml.doc"Detailed validation results for the email address."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?mailboxValidation=fun()->{mailboxValidation}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("MailboxValidation",(Option.mapx.mailboxValidation~f:MailboxValidation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmailboxValidation=(Option.map~f:MailboxValidation.of_xml)(Xml.childxml_arg0"MailboxValidation")inmake?mailboxValidation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmailboxValidation=field_mapjson__"MailboxValidation"MailboxValidation.of_jsoninmake?mailboxValidation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Validation insights about an email address."]moduleGetEmailAddressInsightsRequest=structtypenonrect={emailAddress:EmailAddress.t[@ocaml.doc"The email address to analyze for validation insights."]}letcontext_="GetEmailAddressInsightsRequest"letmake~emailAddress=fun()->{emailAddress}letto_valuex=structure_to_value[("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inmake~emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninmake~emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to return validation insights about an email address."]moduleGetDomainStatisticsReportResponse=structtypenonrect={overallVolume:OverallVolume.toption[@ocaml.doc"An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the StartDate to the EndDate."];dailyVolumes:DailyVolumes.toption[@ocaml.doc"An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the StartDate and ending on the EndDate."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?overallVolume=fun?dailyVolumes->fun()->{overallVolume;dailyVolumes}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OverallVolume",(Option.mapx.overallVolume~f:OverallVolume.to_value));("DailyVolumes",(Option.mapx.dailyVolumes~f:DailyVolumes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdailyVolumes=(Option.map~f:DailyVolumes.of_xml)(Xml.childxml_arg0"DailyVolumes")inletoverallVolume=(Option.map~f:OverallVolume.of_xml)(Xml.childxml_arg0"OverallVolume")inmake?dailyVolumes?overallVolume()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdailyVolumes=field_mapjson__"DailyVolumes"DailyVolumes.of_jsoninletoverallVolume=field_mapjson__"OverallVolume"OverallVolume.of_jsoninmake?dailyVolumes?overallVolume()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that includes statistics that are related to the domain that you specified."]moduleGetDomainStatisticsReportRequest=structtypenonrect={domain:Identity.t[@ocaml.doc"The domain that you want to obtain deliverability metrics for."];startDate:Timestamp.t[@ocaml.doc"The first day (in Unix time) that you want to obtain domain deliverability metrics for."];endDate:Timestamp.t[@ocaml.doc"The last day (in Unix time) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate."]}letcontext_="GetDomainStatisticsReportRequest"letmake~domain=fun~startDate->fun~endDate->fun()->{domain;startDate;endDate}letto_valuex=structure_to_value[("Domain",(Some(Identity.to_valuex.domain)));("StartDate",(Some(Timestamp.to_valuex.startDate)));("EndDate",(Some(Timestamp.to_valuex.endDate)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"EndDate")inletstartDate=Timestamp.of_xml(Xml.child_exn~context:context_xml_arg0"StartDate")inletdomain=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"Domain")inmake~endDate~startDate~domain()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendDate=field_map_exnjson__"EndDate"Timestamp.of_jsoninletstartDate=field_map_exnjson__"StartDate"Timestamp.of_jsoninletdomain=field_map_exnjson__"Domain"Identity.of_jsoninmake~endDate~startDate~domain()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain deliverability metrics for a domain."]moduleGetDomainDeliverabilityCampaignResponse=structtypenonrect={domainDeliverabilityCampaign:DomainDeliverabilityCampaign.toption[@ocaml.doc"An object that contains the deliverability data for the campaign."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?domainDeliverabilityCampaign=fun()->{domainDeliverabilityCampaign}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DomainDeliverabilityCampaign",(Option.mapx.domainDeliverabilityCampaign~f:DomainDeliverabilityCampaign.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainDeliverabilityCampaign=(Option.map~f:DomainDeliverabilityCampaign.of_xml)(Xml.childxml_arg0"DomainDeliverabilityCampaign")inmake?domainDeliverabilityCampaign()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainDeliverabilityCampaign=field_mapjson__"DomainDeliverabilityCampaign"DomainDeliverabilityCampaign.of_jsoninmake?domainDeliverabilityCampaign()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for."]moduleGetDomainDeliverabilityCampaignRequest=structtypenonrect={campaignId:CampaignId.t[@ocaml.doc"The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign."]}letcontext_="GetDomainDeliverabilityCampaignRequest"letmake~campaignId=fun()->{campaignId}letto_valuex=structure_to_value[("CampaignId",(Some(CampaignId.to_valuex.campaignId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcampaignId=CampaignId.of_xml(Xml.child_exn~context:context_xml_arg0"CampaignId")inmake~campaignId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcampaignId=field_map_exnjson__"CampaignId"CampaignId.of_jsoninmake~campaignId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation)."]moduleGetDeliverabilityTestReportResponse=structtypenonrect={deliverabilityTestReport:DeliverabilityTestReport.toption[@ocaml.doc"An object that contains the results of the predictive inbox placement test."];overallPlacement:PlacementStatistics.toption[@ocaml.doc"An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered."];ispPlacements:IspPlacements.toption[@ocaml.doc"An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others."];message:MessageContent.toption[@ocaml.doc"An object that contains the message that you sent when you performed this predictive inbox placement test."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?deliverabilityTestReport=fun?overallPlacement->fun?ispPlacements->fun?message->fun?tags->fun()->{deliverabilityTestReport;overallPlacement;ispPlacements;message;tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DeliverabilityTestReport",(Option.mapx.deliverabilityTestReport~f:DeliverabilityTestReport.to_value));("OverallPlacement",(Option.mapx.overallPlacement~f:PlacementStatistics.to_value));("IspPlacements",(Option.mapx.ispPlacements~f:IspPlacements.to_value));("Message",(Option.mapx.message~f:MessageContent.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")inletmessage=(Option.map~f:MessageContent.of_xml)(Xml.childxml_arg0"Message")inletispPlacements=(Option.map~f:IspPlacements.of_xml)(Xml.childxml_arg0"IspPlacements")inletoverallPlacement=(Option.map~f:PlacementStatistics.of_xml)(Xml.childxml_arg0"OverallPlacement")inletdeliverabilityTestReport=(Option.map~f:DeliverabilityTestReport.of_xml)(Xml.childxml_arg0"DeliverabilityTestReport")inmake?tags?message?ispPlacements?overallPlacement?deliverabilityTestReport()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletmessage=field_mapjson__"Message"MessageContent.of_jsoninletispPlacements=field_mapjson__"IspPlacements"IspPlacements.of_jsoninletoverallPlacement=field_mapjson__"OverallPlacement"PlacementStatistics.of_jsoninletdeliverabilityTestReport=field_mapjson__"DeliverabilityTestReport"DeliverabilityTestReport.of_jsoninmake?tags?message?ispPlacements?overallPlacement?deliverabilityTestReport()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The results of the predictive inbox placement test."]moduleGetDeliverabilityTestReportRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"A unique string that identifies the predictive inbox placement test."]}letcontext_="GetDeliverabilityTestReportRequest"letmake~reportId=fun()->{reportId}letto_valuex=structure_to_value[("ReportId",(Some(ReportId.to_valuex.reportId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"ReportId")inmake~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_map_exnjson__"ReportId"ReportId.of_jsoninmake~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to retrieve the results of a predictive inbox placement test."]moduleGetDeliverabilityDashboardOptionsResponse=structtypenonrect={dashboardEnabled:Enabled.toption[@ocaml.doc"Specifies whether the Deliverability dashboard is enabled. If this value is true, the dashboard is enabled."];subscriptionExpiryDate:Timestamp.toption[@ocaml.doc"The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn\226\128\153t due to expire at the end of the month."];accountStatus:DeliverabilityDashboardAccountStatus.toption[@ocaml.doc"The current status of your Deliverability dashboard subscription. If this value is PENDING_EXPIRATION, your subscription is scheduled to expire at the end of the current calendar month."];activeSubscribedDomains:DomainDeliverabilityTrackingOptions.toption[@ocaml.doc"An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn\226\128\153t scheduled to expire at the end of the current calendar month."];pendingExpirationSubscribedDomains:DomainDeliverabilityTrackingOptions.toption[@ocaml.doc"An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dashboardEnabled=fun?subscriptionExpiryDate->fun?accountStatus->fun?activeSubscribedDomains->fun?pendingExpirationSubscribedDomains->fun()->{dashboardEnabled;subscriptionExpiryDate;accountStatus;activeSubscribedDomains;pendingExpirationSubscribedDomains}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DashboardEnabled",(Option.mapx.dashboardEnabled~f:Enabled.to_value));("SubscriptionExpiryDate",(Option.mapx.subscriptionExpiryDate~f:Timestamp.to_value));("AccountStatus",(Option.mapx.accountStatus~f:DeliverabilityDashboardAccountStatus.to_value));("ActiveSubscribedDomains",(Option.mapx.activeSubscribedDomains~f:DomainDeliverabilityTrackingOptions.to_value));("PendingExpirationSubscribedDomains",(Option.mapx.pendingExpirationSubscribedDomains~f:DomainDeliverabilityTrackingOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpendingExpirationSubscribedDomains=(Option.map~f:DomainDeliverabilityTrackingOptions.of_xml)(Xml.childxml_arg0"PendingExpirationSubscribedDomains")inletactiveSubscribedDomains=(Option.map~f:DomainDeliverabilityTrackingOptions.of_xml)(Xml.childxml_arg0"ActiveSubscribedDomains")inletaccountStatus=(Option.map~f:DeliverabilityDashboardAccountStatus.of_xml)(Xml.childxml_arg0"AccountStatus")inletsubscriptionExpiryDate=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubscriptionExpiryDate")inletdashboardEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"DashboardEnabled")inmake?pendingExpirationSubscribedDomains?activeSubscribedDomains?accountStatus?subscriptionExpiryDate?dashboardEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpendingExpirationSubscribedDomains=field_mapjson__"PendingExpirationSubscribedDomains"DomainDeliverabilityTrackingOptions.of_jsoninletactiveSubscribedDomains=field_mapjson__"ActiveSubscribedDomains"DomainDeliverabilityTrackingOptions.of_jsoninletaccountStatus=field_mapjson__"AccountStatus"DeliverabilityDashboardAccountStatus.of_jsoninletsubscriptionExpiryDate=field_mapjson__"SubscriptionExpiryDate"Timestamp.of_jsoninletdashboardEnabled=field_mapjson__"DashboardEnabled"Enabled.of_jsoninmake?pendingExpirationSubscribedDomains?activeSubscribedDomains?accountStatus?subscriptionExpiryDate?dashboardEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that shows the status of the Deliverability dashboard."]moduleGetDeliverabilityDashboardOptionsRequest=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"Retrieve information about the status of the Deliverability dashboard for your Amazon Web Services account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for your domains. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing."]moduleGetDedicatedIpsResponse=structtypenonrect={dedicatedIps:DedicatedIpList.toption[@ocaml.doc"A list of dedicated IP addresses that are associated with your Amazon Web Services account."];nextToken:NextToken.toption[@ocaml.doc"A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to GetDedicatedIps, passing this token in the NextToken parameter."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dedicatedIps=fun?nextToken->fun()->{dedicatedIps;nextToken}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DedicatedIps",(Option.mapx.dedicatedIps~f:DedicatedIpList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdedicatedIps=(Option.map~f:DedicatedIpList.of_xml)(Xml.childxml_arg0"DedicatedIps")inmake?nextToken?dedicatedIps()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdedicatedIps=field_mapjson__"DedicatedIps"DedicatedIpList.of_jsoninmake?nextToken?dedicatedIps()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the dedicated IP addresses that are associated with your Amazon Web Services account."]moduleGetDedicatedIpsRequest=structtypenonrect={poolName:PoolName.toption[@ocaml.doc"The name of the IP pool that the dedicated IP address is associated with."];nextToken:NextToken.toption[@ocaml.doc"A token returned from a previous call to GetDedicatedIps to indicate the position of the dedicated IP pool in the list of IP pools."];pageSize:MaxItems.toption[@ocaml.doc"The number of results to show in a single call to GetDedicatedIpsRequest. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results."]}letmake?poolName=fun?nextToken->fun?pageSize->fun()->{poolName;nextToken;pageSize}letto_valuex=structure_to_value[("PoolName",(Option.mapx.poolName~f:PoolName.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("PageSize",(Option.mapx.pageSize~f:MaxItems.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpageSize=(Option.map~f:MaxItems.of_xml)(Xml.childxml_arg0"PageSize")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletpoolName=(Option.map~f:PoolName.of_xml)(Xml.childxml_arg0"PoolName")inmake?pageSize?nextToken?poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpageSize=field_mapjson__"PageSize"MaxItems.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletpoolName=field_mapjson__"PoolName"PoolName.of_jsoninmake?pageSize?nextToken?poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain more information about dedicated IP pools."]moduleGetDedicatedIpResponse=structtypenonrect={dedicatedIp:DedicatedIp.toption[@ocaml.doc"An object that contains information about a dedicated IP address."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dedicatedIp=fun()->{dedicatedIp}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DedicatedIp",(Option.mapx.dedicatedIp~f:DedicatedIp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdedicatedIp=(Option.map~f:DedicatedIp.of_xml)(Xml.childxml_arg0"DedicatedIp")inmake?dedicatedIp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdedicatedIp=field_mapjson__"DedicatedIp"DedicatedIp.of_jsoninmake?dedicatedIp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a dedicated IP address."]moduleGetDedicatedIpRequest=structtypenonrect={ip:Ip.t[@ocaml.doc"The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Web Services account."]}letcontext_="GetDedicatedIpRequest"letmake~ip=fun()->{ip}letto_valuex=structure_to_value[("IP",(Some(Ip.to_valuex.ip)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letip=Ip.of_xml(Xml.child_exn~context:context_xml_arg0"IP")inmake~ip()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letip=field_map_exnjson__"Ip"Ip.of_jsoninmake~ip()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain more information about a dedicated IP address."]moduleGetDedicatedIpPoolResponse=structtypenonrect={dedicatedIpPool:DedicatedIpPool.toption[@ocaml.doc"An object that contains information about a dedicated IP pool."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dedicatedIpPool=fun()->{dedicatedIpPool}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DedicatedIpPool",(Option.mapx.dedicatedIpPool~f:DedicatedIpPool.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdedicatedIpPool=(Option.map~f:DedicatedIpPool.of_xml)(Xml.childxml_arg0"DedicatedIpPool")inmake?dedicatedIpPool()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdedicatedIpPool=field_mapjson__"DedicatedIpPool"DedicatedIpPool.of_jsoninmake?dedicatedIpPool()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following element is returned by the service."]moduleGetDedicatedIpPoolRequest=structtypenonrect={poolName:PoolName.t[@ocaml.doc"The name of the dedicated IP pool to retrieve."]}letcontext_="GetDedicatedIpPoolRequest"letmake~poolName=fun()->{poolName}letto_valuex=structure_to_value[("PoolName",(Some(PoolName.to_valuex.poolName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpoolName=PoolName.of_xml(Xml.child_exn~context:context_xml_arg0"PoolName")inmake~poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpoolName=field_map_exnjson__"PoolName"PoolName.of_jsoninmake~poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain more information about a dedicated IP pool."]moduleGetCustomVerificationEmailTemplateResponse=structtypenonrect={templateName:EmailTemplateName.toption[@ocaml.doc"The name of the custom verification email template."];fromEmailAddress:EmailAddress.toption[@ocaml.doc"The email address that the custom verification email is sent from."];templateSubject:EmailTemplateSubject.toption[@ocaml.doc"The subject line of the custom verification email."];templateContent:TemplateContent.toption[@ocaml.doc"The content of the custom verification email."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that are associated with the custom verification email template."];successRedirectionURL:SuccessRedirectionURL.toption[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."];failureRedirectionURL:FailureRedirectionURL.toption[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?templateName=fun?fromEmailAddress->fun?templateSubject->fun?templateContent->fun?tags->fun?successRedirectionURL->fun?failureRedirectionURL->fun()->{templateName;fromEmailAddress;templateSubject;templateContent;tags;successRedirectionURL;failureRedirectionURL}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TemplateName",(Option.mapx.templateName~f:EmailTemplateName.to_value));("FromEmailAddress",(Option.mapx.fromEmailAddress~f:EmailAddress.to_value));("TemplateSubject",(Option.mapx.templateSubject~f:EmailTemplateSubject.to_value));("TemplateContent",(Option.mapx.templateContent~f:TemplateContent.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("SuccessRedirectionURL",(Option.mapx.successRedirectionURL~f:SuccessRedirectionURL.to_value));("FailureRedirectionURL",(Option.mapx.failureRedirectionURL~f:FailureRedirectionURL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureRedirectionURL=(Option.map~f:FailureRedirectionURL.of_xml)(Xml.childxml_arg0"FailureRedirectionURL")inletsuccessRedirectionURL=(Option.map~f:SuccessRedirectionURL.of_xml)(Xml.childxml_arg0"SuccessRedirectionURL")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inlettemplateContent=(Option.map~f:TemplateContent.of_xml)(Xml.childxml_arg0"TemplateContent")inlettemplateSubject=(Option.map~f:EmailTemplateSubject.of_xml)(Xml.childxml_arg0"TemplateSubject")inletfromEmailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"FromEmailAddress")inlettemplateName=(Option.map~f:EmailTemplateName.of_xml)(Xml.childxml_arg0"TemplateName")inmake?failureRedirectionURL?successRedirectionURL?tags?templateContent?templateSubject?fromEmailAddress?templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureRedirectionURL=field_mapjson__"FailureRedirectionURL"FailureRedirectionURL.of_jsoninletsuccessRedirectionURL=field_mapjson__"SuccessRedirectionURL"SuccessRedirectionURL.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninlettemplateContent=field_mapjson__"TemplateContent"TemplateContent.of_jsoninlettemplateSubject=field_mapjson__"TemplateSubject"EmailTemplateSubject.of_jsoninletfromEmailAddress=field_mapjson__"FromEmailAddress"EmailAddress.of_jsoninlettemplateName=field_mapjson__"TemplateName"EmailTemplateName.of_jsoninmake?failureRedirectionURL?successRedirectionURL?tags?templateContent?templateSubject?fromEmailAddress?templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The following elements are returned by the service."]moduleGetCustomVerificationEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the custom verification email template that you want to retrieve."]}letcontext_="GetCustomVerificationEmailTemplateRequest"letmake~templateName=fun()->{templateName}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to retrieve an existing custom verification email template."]moduleGetContactResponse=structtypenonrect={contactListName:ContactListName.toption[@ocaml.doc"The name of the contact list to which the contact belongs."];emailAddress:EmailAddress.toption[@ocaml.doc"The contact's email address."];topicPreferences:TopicPreferenceList.toption[@ocaml.doc"The contact's preference for being opted-in to or opted-out of a topic.>"];topicDefaultPreferences:TopicPreferenceList.toption[@ocaml.doc"The default topic preferences applied to the contact."];unsubscribeAll:UnsubscribeAll.toption[@ocaml.doc"A boolean value status noting if the contact is unsubscribed from all contact list topics."];attributesData:AttributesData.toption[@ocaml.doc"The attribute data attached to a contact."];createdTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting when the contact was created."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting the last time the contact's information was updated."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?contactListName=fun?emailAddress->fun?topicPreferences->fun?topicDefaultPreferences->fun?unsubscribeAll->fun?attributesData->fun?createdTimestamp->fun?lastUpdatedTimestamp->fun()->{contactListName;emailAddress;topicPreferences;topicDefaultPreferences;unsubscribeAll;attributesData;createdTimestamp;lastUpdatedTimestamp}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ContactListName",(Option.mapx.contactListName~f:ContactListName.to_value));("EmailAddress",(Option.mapx.emailAddress~f:EmailAddress.to_value));("TopicPreferences",(Option.mapx.topicPreferences~f:TopicPreferenceList.to_value));("TopicDefaultPreferences",(Option.mapx.topicDefaultPreferences~f:TopicPreferenceList.to_value));("UnsubscribeAll",(Option.mapx.unsubscribeAll~f:UnsubscribeAll.to_value));("AttributesData",(Option.mapx.attributesData~f:AttributesData.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletattributesData=(Option.map~f:AttributesData.of_xml)(Xml.childxml_arg0"AttributesData")inletunsubscribeAll=(Option.map~f:UnsubscribeAll.of_xml)(Xml.childxml_arg0"UnsubscribeAll")inlettopicDefaultPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicDefaultPreferences")inlettopicPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicPreferences")inletemailAddress=(Option.map~f:EmailAddress.of_xml)(Xml.childxml_arg0"EmailAddress")inletcontactListName=(Option.map~f:ContactListName.of_xml)(Xml.childxml_arg0"ContactListName")inmake?lastUpdatedTimestamp?createdTimestamp?attributesData?unsubscribeAll?topicDefaultPreferences?topicPreferences?emailAddress?contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletattributesData=field_mapjson__"AttributesData"AttributesData.of_jsoninletunsubscribeAll=field_mapjson__"UnsubscribeAll"UnsubscribeAll.of_jsoninlettopicDefaultPreferences=field_mapjson__"TopicDefaultPreferences"TopicPreferenceList.of_jsoninlettopicPreferences=field_mapjson__"TopicPreferences"TopicPreferenceList.of_jsoninletemailAddress=field_mapjson__"EmailAddress"EmailAddress.of_jsoninletcontactListName=field_mapjson__"ContactListName"ContactListName.of_jsoninmake?lastUpdatedTimestamp?createdTimestamp?attributesData?unsubscribeAll?topicDefaultPreferences?topicPreferences?emailAddress?contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a contact from a contact list."]moduleGetContactRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list to which the contact belongs."];emailAddress:EmailAddress.t[@ocaml.doc"The contact's email address."]}letcontext_="GetContactRequest"letmake~contactListName=fun~emailAddress->fun()->{contactListName;emailAddress}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake~emailAddress~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake~emailAddress~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a contact from a contact list."]moduleGetContactListResponse=structtypenonrect={contactListName:ContactListName.toption[@ocaml.doc"The name of the contact list."];topics:Topics.toption[@ocaml.doc"An interest group, theme, or label within a list. A contact list can have multiple topics."];description:Description.toption[@ocaml.doc"A description of what the contact list is about."];createdTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting when the contact list was created."];lastUpdatedTimestamp:Timestamp.toption[@ocaml.doc"A timestamp noting the last time the contact list was updated."];tags:TagList.toption[@ocaml.doc"The tags associated with a contact list."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?contactListName=fun?topics->fun?description->fun?createdTimestamp->fun?lastUpdatedTimestamp->fun?tags->fun()->{contactListName;topics;description;createdTimestamp;lastUpdatedTimestamp;tags}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ContactListName",(Option.mapx.contactListName~f:ContactListName.to_value));("Topics",(Option.mapx.topics~f:Topics.to_value));("Description",(Option.mapx.description~f:Description.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("LastUpdatedTimestamp",(Option.mapx.lastUpdatedTimestamp~f:Timestamp.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")inletlastUpdatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"LastUpdatedTimestamp")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettopics=(Option.map~f:Topics.of_xml)(Xml.childxml_arg0"Topics")inletcontactListName=(Option.map~f:ContactListName.of_xml)(Xml.childxml_arg0"ContactListName")inmake?tags?lastUpdatedTimestamp?createdTimestamp?description?topics?contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletlastUpdatedTimestamp=field_mapjson__"LastUpdatedTimestamp"Timestamp.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettopics=field_mapjson__"Topics"Topics.of_jsoninletcontactListName=field_mapjson__"ContactListName"ContactListName.of_jsoninmake?tags?lastUpdatedTimestamp?createdTimestamp?description?topics?contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns contact list metadata. It does not return any information about the contacts present in the list."]moduleGetContactListRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."]}letcontext_="GetContactListRequest"letmake~contactListName=fun()->{contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns contact list metadata. It does not return any information about the contacts present in the list."]moduleGetConfigurationSetResponse=structtypenonrect={configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The name of the configuration set."];trackingOptions:TrackingOptions.toption[@ocaml.doc"An object that defines the open and click tracking options for emails that you send using the configuration set."];deliveryOptions:DeliveryOptions.toption[@ocaml.doc"An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set."];reputationOptions:ReputationOptions.toption[@ocaml.doc"An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set."];sendingOptions:SendingOptions.toption[@ocaml.doc"An object that defines whether or not Amazon SES can send email that you send using the configuration set."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that are associated with the configuration set."];suppressionOptions:SuppressionOptions.toption[@ocaml.doc"An object that contains information about the suppression list preferences for your account."];vdmOptions:VdmOptions.toption[@ocaml.doc"An object that contains information about the VDM preferences for your configuration set."];archivingOptions:ArchivingOptions.toption[@ocaml.doc"An object that defines the MailManager archive where sent emails are archived that you send using the configuration set."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?configurationSetName=fun?trackingOptions->fun?deliveryOptions->fun?reputationOptions->fun?sendingOptions->fun?tags->fun?suppressionOptions->fun?vdmOptions->fun?archivingOptions->fun()->{configurationSetName;trackingOptions;deliveryOptions;reputationOptions;sendingOptions;tags;suppressionOptions;vdmOptions;archivingOptions}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value));("TrackingOptions",(Option.mapx.trackingOptions~f:TrackingOptions.to_value));("DeliveryOptions",(Option.mapx.deliveryOptions~f:DeliveryOptions.to_value));("ReputationOptions",(Option.mapx.reputationOptions~f:ReputationOptions.to_value));("SendingOptions",(Option.mapx.sendingOptions~f:SendingOptions.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("SuppressionOptions",(Option.mapx.suppressionOptions~f:SuppressionOptions.to_value));("VdmOptions",(Option.mapx.vdmOptions~f:VdmOptions.to_value));("ArchivingOptions",(Option.mapx.archivingOptions~f:ArchivingOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarchivingOptions=(Option.map~f:ArchivingOptions.of_xml)(Xml.childxml_arg0"ArchivingOptions")inletvdmOptions=(Option.map~f:VdmOptions.of_xml)(Xml.childxml_arg0"VdmOptions")inletsuppressionOptions=(Option.map~f:SuppressionOptions.of_xml)(Xml.childxml_arg0"SuppressionOptions")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletsendingOptions=(Option.map~f:SendingOptions.of_xml)(Xml.childxml_arg0"SendingOptions")inletreputationOptions=(Option.map~f:ReputationOptions.of_xml)(Xml.childxml_arg0"ReputationOptions")inletdeliveryOptions=(Option.map~f:DeliveryOptions.of_xml)(Xml.childxml_arg0"DeliveryOptions")inlettrackingOptions=(Option.map~f:TrackingOptions.of_xml)(Xml.childxml_arg0"TrackingOptions")inletconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inmake?archivingOptions?vdmOptions?suppressionOptions?tags?sendingOptions?reputationOptions?deliveryOptions?trackingOptions?configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarchivingOptions=field_mapjson__"ArchivingOptions"ArchivingOptions.of_jsoninletvdmOptions=field_mapjson__"VdmOptions"VdmOptions.of_jsoninletsuppressionOptions=field_mapjson__"SuppressionOptions"SuppressionOptions.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletsendingOptions=field_mapjson__"SendingOptions"SendingOptions.of_jsoninletreputationOptions=field_mapjson__"ReputationOptions"ReputationOptions.of_jsoninletdeliveryOptions=field_mapjson__"DeliveryOptions"DeliveryOptions.of_jsoninlettrackingOptions=field_mapjson__"TrackingOptions"TrackingOptions.of_jsoninletconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?archivingOptions?vdmOptions?suppressionOptions?tags?sendingOptions?reputationOptions?deliveryOptions?trackingOptions?configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a configuration set."]moduleGetConfigurationSetRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set."]}letcontext_="GetConfigurationSetRequest"letmake~configurationSetName=fun()->{configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain information about a configuration set."]moduleGetConfigurationSetEventDestinationsResponse=structtypenonrect={eventDestinations:EventDestinations.toption[@ocaml.doc"An array that includes all of the events destinations that have been configured for the configuration set."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?eventDestinations=fun()->{eventDestinations}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EventDestinations",(Option.mapx.eventDestinations~f:EventDestinations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventDestinations=(Option.map~f:EventDestinations.of_xml)(Xml.childxml_arg0"EventDestinations")inmake?eventDestinations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventDestinations=field_mapjson__"EventDestinations"EventDestinations.of_jsoninmake?eventDestinations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about an event destination for a configuration set."]moduleGetConfigurationSetEventDestinationsRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set that contains the event destination."]}letcontext_="GetConfigurationSetEventDestinationsRequest"letmake~configurationSetName=fun()->{configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain information about the event destinations for a configuration set."]moduleGetBlacklistReportsResponse=structtypenonrect={blacklistReport:BlacklistReport.toption[@ocaml.doc"An object that contains information about a blacklist that one of your dedicated IP addresses appears on."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?blacklistReport=fun()->{blacklistReport}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("BlacklistReport",(Option.mapx.blacklistReport~f:BlacklistReport.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblacklistReport=(Option.map~f:BlacklistReport.of_xml)(Xml.childxml_arg0"BlacklistReport")inmake?blacklistReport()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblacklistReport=field_mapjson__"BlacklistReport"BlacklistReport.of_jsoninmake?blacklistReport()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object that contains information about blacklist events."]moduleGetBlacklistReportsRequest=structtypenonrect={blacklistItemNames:BlacklistItemNames.t[@ocaml.doc"A list of IP addresses that you want to retrieve blacklist information about. You can only specify the dedicated IP addresses that you use to send email using Amazon SES or Amazon Pinpoint."]}letcontext_="GetBlacklistReportsRequest"letmake~blacklistItemNames=fun()->{blacklistItemNames}letto_valuex=structure_to_value[("BlacklistItemNames",(Some(BlacklistItemNames.to_valuex.blacklistItemNames)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letblacklistItemNames=BlacklistItemNames.of_xml(Xml.child_exn~context:context_xml_arg0"BlacklistItemNames")inmake~blacklistItemNames()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letblacklistItemNames=field_map_exnjson__"BlacklistItemNames"BlacklistItemNames.of_jsoninmake~blacklistItemNames()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to retrieve a list of the blacklists that your dedicated IP addresses appear on."]moduleGetAccountResponse=structtypenonrect={dedicatedIpAutoWarmupEnabled:Enabled.toption[@ocaml.doc"Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account."];enforcementStatus:GeneralEnforcementStatus.toption[@ocaml.doc"The reputation status of your Amazon SES account. The status can be one of the following: HEALTHY \226\128\147 There are no reputation-related issues that currently impact your account. PROBATION \226\128\147 We've identified potential issues with your Amazon SES account. We're placing your account under review while you work on correcting these issues. SHUTDOWN \226\128\147 Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed."];productionAccessEnabled:Enabled.toption[@ocaml.doc"Indicates whether or not your account has production access in the current Amazon Web Services Region. If the value is false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. If the value is true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case."];sendQuota:SendQuota.toption[@ocaml.doc"An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current Amazon Web Services Region."];sendingEnabled:Enabled.toption[@ocaml.doc"Indicates whether or not email sending is enabled for your Amazon SES account in the current Amazon Web Services Region."];suppressionAttributes:SuppressionAttributes.toption[@ocaml.doc"An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region."];details:AccountDetails.toption[@ocaml.doc"An object that defines your account details."];vdmAttributes:VdmAttributes.toption[@ocaml.doc"The VDM attributes that apply to your Amazon SES account."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?dedicatedIpAutoWarmupEnabled=fun?enforcementStatus->fun?productionAccessEnabled->fun?sendQuota->fun?sendingEnabled->fun?suppressionAttributes->fun?details->fun?vdmAttributes->fun()->{dedicatedIpAutoWarmupEnabled;enforcementStatus;productionAccessEnabled;sendQuota;sendingEnabled;suppressionAttributes;details;vdmAttributes}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("DedicatedIpAutoWarmupEnabled",(Option.mapx.dedicatedIpAutoWarmupEnabled~f:Enabled.to_value));("EnforcementStatus",(Option.mapx.enforcementStatus~f:GeneralEnforcementStatus.to_value));("ProductionAccessEnabled",(Option.mapx.productionAccessEnabled~f:Enabled.to_value));("SendQuota",(Option.mapx.sendQuota~f:SendQuota.to_value));("SendingEnabled",(Option.mapx.sendingEnabled~f:Enabled.to_value));("SuppressionAttributes",(Option.mapx.suppressionAttributes~f:SuppressionAttributes.to_value));("Details",(Option.mapx.details~f:AccountDetails.to_value));("VdmAttributes",(Option.mapx.vdmAttributes~f:VdmAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvdmAttributes=(Option.map~f:VdmAttributes.of_xml)(Xml.childxml_arg0"VdmAttributes")inletdetails=(Option.map~f:AccountDetails.of_xml)(Xml.childxml_arg0"Details")inletsuppressionAttributes=(Option.map~f:SuppressionAttributes.of_xml)(Xml.childxml_arg0"SuppressionAttributes")inletsendingEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"SendingEnabled")inletsendQuota=(Option.map~f:SendQuota.of_xml)(Xml.childxml_arg0"SendQuota")inletproductionAccessEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"ProductionAccessEnabled")inletenforcementStatus=(Option.map~f:GeneralEnforcementStatus.of_xml)(Xml.childxml_arg0"EnforcementStatus")inletdedicatedIpAutoWarmupEnabled=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"DedicatedIpAutoWarmupEnabled")inmake?vdmAttributes?details?suppressionAttributes?sendingEnabled?sendQuota?productionAccessEnabled?enforcementStatus?dedicatedIpAutoWarmupEnabled()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvdmAttributes=field_mapjson__"VdmAttributes"VdmAttributes.of_jsoninletdetails=field_mapjson__"Details"AccountDetails.of_jsoninletsuppressionAttributes=field_mapjson__"SuppressionAttributes"SuppressionAttributes.of_jsoninletsendingEnabled=field_mapjson__"SendingEnabled"Enabled.of_jsoninletsendQuota=field_mapjson__"SendQuota"SendQuota.of_jsoninletproductionAccessEnabled=field_mapjson__"ProductionAccessEnabled"Enabled.of_jsoninletenforcementStatus=field_mapjson__"EnforcementStatus"GeneralEnforcementStatus.of_jsoninletdedicatedIpAutoWarmupEnabled=field_mapjson__"DedicatedIpAutoWarmupEnabled"Enabled.of_jsoninmake?vdmAttributes?details?suppressionAttributes?sendingEnabled?sendQuota?productionAccessEnabled?enforcementStatus?dedicatedIpAutoWarmupEnabled()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of details about the email-sending capabilities of your Amazon SES account in the current Amazon Web Services Region."]moduleGetAccountRequest=structtypenonrect=unitletmake()=()letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to obtain information about the email-sending capabilities of your Amazon SES account."]moduleDeleteTenantResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleDeleteTenantResourceAssociationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleDeleteTenantResourceAssociationRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to remove the resource association from."];resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to remove from the tenant association."]}letcontext_="DeleteTenantResourceAssociationRequest"letmake~tenantName=fun~resourceArn->fun()->{tenantName;resourceArn}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)));("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inlettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake~resourceArn~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninlettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake~resourceArn~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete an association between a tenant and a resource."]moduleDeleteTenantRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to delete."]}letcontext_="DeleteTenantRequest"letmake~tenantName=fun()->{tenantName}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete a tenant."]moduleDeleteSuppressedDestinationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteSuppressedDestinationRequest=structtypenonrect={emailAddress:EmailAddress.t[@ocaml.doc"The suppressed email destination to remove from the account suppression list."]}letcontext_="DeleteSuppressedDestinationRequest"letmake~emailAddress=fun()->{emailAddress}letto_valuex=structure_to_value[("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inmake~emailAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninmake~emailAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to remove an email address from the suppression list for your account."]moduleDeleteMultiRegionEndpointResponse=structtypenonrect={status:Status.toption[@ocaml.doc"A status of the multi-region endpoint (global-endpoint) right after the delete request. CREATING \226\128\147 The resource is being provisioned. READY \226\128\147 The resource is ready to use. FAILED \226\128\147 The resource failed to be provisioned. DELETING \226\128\147 The resource is being deleted as requested."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?status=fun()->{status}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:Status.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"Status.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteMultiRegionEndpointRequest=structtypenonrect={endpointName:EndpointName.t[@ocaml.doc"The name of the multi-region endpoint (global-endpoint) to be deleted."]}letcontext_="DeleteMultiRegionEndpointRequest"letmake~endpointName=fun()->{endpointName}letto_valuex=structure_to_value[("EndpointName",(Some(EndpointName.to_valuex.endpointName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpointName=EndpointName.of_xml(Xml.child_exn~context:context_xml_arg0"EndpointName")inmake~endpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpointName=field_map_exnjson__"EndpointName"EndpointName.of_jsoninmake~endpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete a multi-region endpoint (global-endpoint)."]moduleDeleteEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleDeleteEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the template to be deleted."]}letcontext_="DeleteEmailTemplateRequest"letmake~templateName=fun()->{templateName}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide."]moduleDeleteEmailIdentityResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteEmailIdentityRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The identity (that is, the email address or domain) to delete."]}letcontext_="DeleteEmailIdentityRequest"letmake~emailIdentity=fun()->{emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to delete an existing email identity. When you delete an identity, you lose the ability to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again."]moduleDeleteEmailIdentityPolicyResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteEmailIdentityPolicyRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];policyName:PolicyName.t[@ocaml.doc"The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores."]}letcontext_="DeleteEmailIdentityPolicyRequest"letmake~emailIdentity=fun~policyName->fun()->{emailIdentity;policyName}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("PolicyName",(Some(PolicyName.to_valuex.policyName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~policyName~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~policyName~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide."]moduleDeleteDedicatedIpPoolResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteDedicatedIpPoolRequest=structtypenonrect={poolName:PoolName.t[@ocaml.doc"The name of the dedicated IP pool that you want to delete."]}letcontext_="DeleteDedicatedIpPoolRequest"letmake~poolName=fun()->{poolName}letto_valuex=structure_to_value[("PoolName",(Some(PoolName.to_valuex.poolName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpoolName=PoolName.of_xml(Xml.child_exn~context:context_xml_arg0"PoolName")inmake~poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpoolName=field_map_exnjson__"PoolName"PoolName.of_jsoninmake~poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to delete a dedicated IP pool."]moduleDeleteCustomVerificationEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleDeleteCustomVerificationEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the custom verification email template that you want to delete."]}letcontext_="DeleteCustomVerificationEmailTemplateRequest"letmake~templateName=fun()->{templateName}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to delete an existing custom verification email template."]moduleDeleteContactResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes a contact from a contact list."]moduleDeleteContactRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list from which the contact should be removed."];emailAddress:EmailAddress.t[@ocaml.doc"The contact's email address."]}letcontext_="DeleteContactRequest"letmake~contactListName=fun~emailAddress->fun()->{contactListName;emailAddress}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake~emailAddress~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake~emailAddress~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes a contact from a contact list."]moduleDeleteContactListResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a contact list and all of the contacts on that list."]moduleDeleteContactListRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."]}letcontext_="DeleteContactListRequest"letmake~contactListName=fun()->{contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a contact list and all of the contacts on that list."]moduleDeleteConfigurationSetResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteConfigurationSetRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set."]}letcontext_="DeleteConfigurationSetRequest"letmake~configurationSetName=fun()->{configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to delete a configuration set."]moduleDeleteConfigurationSetEventDestinationResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleDeleteConfigurationSetEventDestinationRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set that contains the event destination to delete."];eventDestinationName:EventDestinationName.t[@ocaml.doc"The name of the event destination to delete."]}letcontext_="DeleteConfigurationSetEventDestinationRequest"letmake~configurationSetName=fun~eventDestinationName->fun()->{configurationSetName;eventDestinationName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("EventDestinationName",(Some(EventDestinationName.to_valuex.eventDestinationName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventDestinationName=EventDestinationName.of_xml(Xml.child_exn~context:context_xml_arg0"EventDestinationName")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~eventDestinationName~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventDestinationName=field_map_exnjson__"EventDestinationName"EventDestinationName.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~eventDestinationName~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to delete an event destination from a configuration set."]moduleCreateTenantResponse=structtypenonrect={tenantName:TenantName.toption[@ocaml.doc"The name of the tenant."];tenantId:TenantId.toption[@ocaml.doc"A unique identifier for the tenant."];tenantArn:AmazonResourceName.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the tenant."];createdTimestamp:Timestamp.toption[@ocaml.doc"The date and time when the tenant was created."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) associated with the tenant."];sendingStatus:SendingStatus.toption[@ocaml.doc"The status of email sending capability for the tenant."]}typenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tenantName=fun?tenantId->fun?tenantArn->fun?createdTimestamp->fun?tags->fun?sendingStatus->fun()->{tenantName;tenantId;tenantArn;createdTimestamp;tags;sendingStatus}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TenantName",(Option.mapx.tenantName~f:TenantName.to_value));("TenantId",(Option.mapx.tenantId~f:TenantId.to_value));("TenantArn",(Option.mapx.tenantArn~f:AmazonResourceName.to_value));("CreatedTimestamp",(Option.mapx.createdTimestamp~f:Timestamp.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("SendingStatus",(Option.mapx.sendingStatus~f:SendingStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsendingStatus=(Option.map~f:SendingStatus.of_xml)(Xml.childxml_arg0"SendingStatus")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletcreatedTimestamp=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedTimestamp")inlettenantArn=(Option.map~f:AmazonResourceName.of_xml)(Xml.childxml_arg0"TenantArn")inlettenantId=(Option.map~f:TenantId.of_xml)(Xml.childxml_arg0"TenantId")inlettenantName=(Option.map~f:TenantName.of_xml)(Xml.childxml_arg0"TenantName")inmake?sendingStatus?tags?createdTimestamp?tenantArn?tenantId?tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsendingStatus=field_mapjson__"SendingStatus"SendingStatus.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletcreatedTimestamp=field_mapjson__"CreatedTimestamp"Timestamp.of_jsoninlettenantArn=field_mapjson__"TenantArn"AmazonResourceName.of_jsoninlettenantId=field_mapjson__"TenantId"TenantId.of_jsoninlettenantName=field_mapjson__"TenantName"TenantName.of_jsoninmake?sendingStatus?tags?createdTimestamp?tenantArn?tenantId?tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a newly created tenant."]moduleCreateTenantResourceAssociationResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleCreateTenantResourceAssociationRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to associate the resource with."];resourceArn:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource to associate with the tenant."]}letcontext_="CreateTenantResourceAssociationRequest"letmake~tenantName=fun~resourceArn->fun()->{tenantName;resourceArn}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)));("ResourceArn",(Some(AmazonResourceName.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inlettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake~resourceArn~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"AmazonResourceName.of_jsoninlettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake~resourceArn~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to associate a resource with a tenant. Resources can be email identities, configuration sets, or email templates. When you associate a resource with a tenant, you can use that resource when sending emails on behalf of that tenant."]moduleCreateTenantRequest=structtypenonrect={tenantName:TenantName.t[@ocaml.doc"The name of the tenant to create. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the tenant"]}letcontext_="CreateTenantRequest"letmake?tags=fun~tenantName->fun()->{tags;tenantName}letto_valuex=structure_to_value[("TenantName",(Some(TenantName.to_valuex.tenantName)));("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")inlettenantName=TenantName.of_xml(Xml.child_exn~context:context_xml_arg0"TenantName")inmake?tags~tenantName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlettenantName=field_map_exnjson__"TenantName"TenantName.of_jsoninmake?tags~tenantName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create a tenant. Tenants are logical containers that group related SES resources together. Each tenant can have its own set of resources like email identities, configuration sets, and templates, along with reputation metrics and sending status. This helps isolate and manage email sending for different customers or business units within your Amazon SES API v2 account."]moduleCreateMultiRegionEndpointResponse=structtypenonrect={status:Status.toption[@ocaml.doc"A status of the multi-region endpoint (global-endpoint) right after the create request. CREATING \226\128\147 The resource is being provisioned. READY \226\128\147 The resource is ready to use. FAILED \226\128\147 The resource failed to be provisioned. DELETING \226\128\147 The resource is being deleted as requested."];endpointId:EndpointId.toption[@ocaml.doc"The ID of the multi-region endpoint (global-endpoint)."]}typenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?status=fun?endpointId->fun()->{status;endpointId}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:Status.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inmake?endpointId?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninmake?endpointId?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateMultiRegionEndpointRequest=structtypenonrect={endpointName:EndpointName.t[@ocaml.doc"The name of the multi-region endpoint (global-endpoint)."];details:Details.t[@ocaml.doc"Contains details of a multi-region endpoint (global-endpoint) being created."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the multi-region endpoint (global-endpoint)."]}letcontext_="CreateMultiRegionEndpointRequest"letmake?tags=fun~endpointName->fun~details->fun()->{tags;endpointName;details}letto_valuex=structure_to_value[("EndpointName",(Some(EndpointName.to_valuex.endpointName)));("Details",(Some(Details.to_valuex.details)));("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")inletdetails=Details.of_xml(Xml.child_exn~context:context_xml_arg0"Details")inletendpointName=EndpointName.of_xml(Xml.child_exn~context:context_xml_arg0"EndpointName")inmake?tags~details~endpointName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdetails=field_map_exnjson__"Details"Details.of_jsoninletendpointName=field_map_exnjson__"EndpointName"EndpointName.of_jsoninmake?tags~details~endpointName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create a multi-region endpoint (global-endpoint)."]moduleCreateImportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"A string that represents the import job ID."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun()->{jobId}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_mapjson__"JobId"JobId.of_jsoninmake?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateImportJobRequest=structtypenonrect={importDestination:ImportDestination.t[@ocaml.doc"The destination for the import job."];importDataSource:ImportDataSource.t[@ocaml.doc"The data source for the import job."]}letcontext_="CreateImportJobRequest"letmake~importDestination=fun~importDataSource->fun()->{importDestination;importDataSource}letto_valuex=structure_to_value[("ImportDestination",(Some(ImportDestination.to_valuex.importDestination)));("ImportDataSource",(Some(ImportDataSource.to_valuex.importDataSource)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimportDataSource=ImportDataSource.of_xml(Xml.child_exn~context:context_xml_arg0"ImportDataSource")inletimportDestination=ImportDestination.of_xml(Xml.child_exn~context:context_xml_arg0"ImportDestination")inmake~importDataSource~importDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimportDataSource=field_map_exnjson__"ImportDataSource"ImportDataSource.of_jsoninletimportDestination=field_map_exnjson__"ImportDestination"ImportDestination.of_jsoninmake~importDataSource~importDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create an import job from a data source for a data destination."]moduleCreateExportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"A string that represents the export job ID."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun()->{jobId}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_mapjson__"JobId"JobId.of_jsoninmake?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateExportJobRequest=structtypenonrect={exportDataSource:ExportDataSource.t[@ocaml.doc"The data source for the export job."];exportDestination:ExportDestination.t[@ocaml.doc"The destination for the export job."]}letcontext_="CreateExportJobRequest"letmake~exportDataSource=fun~exportDestination->fun()->{exportDataSource;exportDestination}letto_valuex=structure_to_value[("ExportDataSource",(Some(ExportDataSource.to_valuex.exportDataSource)));("ExportDestination",(Some(ExportDestination.to_valuex.exportDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexportDestination=ExportDestination.of_xml(Xml.child_exn~context:context_xml_arg0"ExportDestination")inletexportDataSource=ExportDataSource.of_xml(Xml.child_exn~context:context_xml_arg0"ExportDataSource")inmake~exportDestination~exportDataSource()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexportDestination=field_map_exnjson__"ExportDestination"ExportDestination.of_jsoninletexportDataSource=field_map_exnjson__"ExportDataSource"ExportDataSource.of_jsoninmake~exportDestination~exportDataSource()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create an export job from a data source to a data destination."]moduleCreateEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleCreateEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the template."];templateContent:EmailTemplateContent.t[@ocaml.doc"The content of the email template, composed of a subject line, an HTML part, and a text-only part."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the email template."]}letcontext_="CreateEmailTemplateRequest"letmake?tags=fun~templateName->fun~templateContent->fun()->{tags;templateName;templateContent}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("TemplateContent",(Some(EmailTemplateContent.to_valuex.templateContent)));("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")inlettemplateContent=EmailTemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateContent")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake?tags~templateContent~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlettemplateContent=field_map_exnjson__"TemplateContent"EmailTemplateContent.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake?tags~templateContent~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create an email template. For more information, see the Amazon SES Developer Guide."]moduleCreateEmailIdentityResponse=structtypenonrect={identityType:IdentityType.toption[@ocaml.doc"The email identity type. Note: the MANAGED_DOMAIN identity type is not supported."];verifiedForSendingStatus:Enabled.toption[@ocaml.doc"Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide."];dkimAttributes:DkimAttributes.toption[@ocaml.doc"An object that contains information about the DKIM attributes for the identity."]}typenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?identityType=fun?verifiedForSendingStatus->fun?dkimAttributes->fun()->{identityType;verifiedForSendingStatus;dkimAttributes}leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("IdentityType",(Option.mapx.identityType~f:IdentityType.to_value));("VerifiedForSendingStatus",(Option.mapx.verifiedForSendingStatus~f:Enabled.to_value));("DkimAttributes",(Option.mapx.dkimAttributes~f:DkimAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdkimAttributes=(Option.map~f:DkimAttributes.of_xml)(Xml.childxml_arg0"DkimAttributes")inletverifiedForSendingStatus=(Option.map~f:Enabled.of_xml)(Xml.childxml_arg0"VerifiedForSendingStatus")inletidentityType=(Option.map~f:IdentityType.of_xml)(Xml.childxml_arg0"IdentityType")inmake?dkimAttributes?verifiedForSendingStatus?identityType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdkimAttributes=field_mapjson__"DkimAttributes"DkimAttributes.of_jsoninletverifiedForSendingStatus=field_mapjson__"VerifiedForSendingStatus"Enabled.of_jsoninletidentityType=field_mapjson__"IdentityType"IdentityType.of_jsoninmake?dkimAttributes?verifiedForSendingStatus?identityType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the email identity is a domain, this object contains information about the DKIM verification status for the domain. If the email identity is an email address, this object is empty."]moduleCreateEmailIdentityRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email address or domain to verify."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the email identity."];dkimSigningAttributes:DkimSigningAttributes.toption[@ocaml.doc"If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM. You can only specify this object if the email identity is a domain, as opposed to an address."];configurationSetName:ConfigurationSetName.toption[@ocaml.doc"The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence."]}letcontext_="CreateEmailIdentityRequest"letmake?tags=fun?dkimSigningAttributes->fun?configurationSetName->fun~emailIdentity->fun()->{tags;dkimSigningAttributes;configurationSetName;emailIdentity}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("Tags",(Option.mapx.tags~f:TagList.to_value));("DkimSigningAttributes",(Option.mapx.dkimSigningAttributes~f:DkimSigningAttributes.to_value));("ConfigurationSetName",(Option.mapx.configurationSetName~f:ConfigurationSetName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfigurationSetName=(Option.map~f:ConfigurationSetName.of_xml)(Xml.childxml_arg0"ConfigurationSetName")inletdkimSigningAttributes=(Option.map~f:DkimSigningAttributes.of_xml)(Xml.childxml_arg0"DkimSigningAttributes")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake?configurationSetName?dkimSigningAttributes?tags~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfigurationSetName=field_mapjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninletdkimSigningAttributes=field_mapjson__"DkimSigningAttributes"DkimSigningAttributes.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake?configurationSetName?dkimSigningAttributes?tags~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to begin the verification process for an email identity (an email address or domain)."]moduleCreateEmailIdentityPolicyResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateEmailIdentityPolicyRequest=structtypenonrect={emailIdentity:Identity.t[@ocaml.doc"The email identity."];policyName:PolicyName.t[@ocaml.doc"The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores."];policy:Policy.t[@ocaml.doc"The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide."]}letcontext_="CreateEmailIdentityPolicyRequest"letmake~emailIdentity=fun~policyName->fun~policy->fun()->{emailIdentity;policyName;policy}letto_valuex=structure_to_value[("EmailIdentity",(Some(Identity.to_valuex.emailIdentity)));("PolicyName",(Some(PolicyName.to_valuex.policyName)));("Policy",(Some(Policy.to_valuex.policy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=Policy.of_xml(Xml.child_exn~context:context_xml_arg0"Policy")inletpolicyName=PolicyName.of_xml(Xml.child_exn~context:context_xml_arg0"PolicyName")inletemailIdentity=Identity.of_xml(Xml.child_exn~context:context_xml_arg0"EmailIdentity")inmake~policy~policyName~emailIdentity()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_map_exnjson__"Policy"Policy.of_jsoninletpolicyName=field_map_exnjson__"PolicyName"PolicyName.of_jsoninletemailIdentity=field_map_exnjson__"EmailIdentity"Identity.of_jsoninmake~policy~policyName~emailIdentity()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide."]moduleCreateDeliverabilityTestReportResponse=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"A unique string that identifies the predictive inbox placement test."];deliverabilityTestStatus:DeliverabilityTestStatus.toption[@ocaml.doc"The status of the predictive inbox placement test. If the status is IN_PROGRESS, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is COMPLETE, then the test is finished, and you can use the GetDeliverabilityTestReport to view the results of the test."]}typenonrecerror=[`AccountSuspendedExceptionofAccountSuspendedException.t|`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`LimitExceededExceptionofLimitExceededException.t|`MailFromDomainNotVerifiedExceptionofMailFromDomainNotVerifiedException.t|`MessageRejectedofMessageRejected.t|`NotFoundExceptionofNotFoundException.t|`SendingPausedExceptionofSendingPausedException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun?deliverabilityTestStatus->fun()->{reportId;deliverabilityTestStatus}leterror_of_jsonnamejson=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_jsonjson)|"MessageRejected"->`MessageRejected(MessageRejected.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccountSuspendedException"->`AccountSuspendedException(AccountSuspendedException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"MailFromDomainNotVerifiedException"->`MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException.of_xmlxml)|"MessageRejected"->`MessageRejected(MessageRejected.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"SendingPausedException"->`SendingPausedException(SendingPausedException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccountSuspendedExceptione->`Assoc[("error",(`String"AccountSuspendedException"));("details",(AccountSuspendedException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`MailFromDomainNotVerifiedExceptione->`Assoc[("error",(`String"MailFromDomainNotVerifiedException"));("details",(MailFromDomainNotVerifiedException.to_jsone))]|`MessageRejectede->`Assoc[("error",(`String"MessageRejected"));("details",(MessageRejected.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`SendingPausedExceptione->`Assoc[("error",(`String"SendingPausedException"));("details",(SendingPausedException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReportId",(Option.mapx.reportId~f:ReportId.to_value));("DeliverabilityTestStatus",(Option.mapx.deliverabilityTestStatus~f:DeliverabilityTestStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeliverabilityTestStatus=(Option.map~f:DeliverabilityTestStatus.of_xml)(Xml.childxml_arg0"DeliverabilityTestStatus")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"ReportId")inmake?deliverabilityTestStatus?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeliverabilityTestStatus=field_mapjson__"DeliverabilityTestStatus"DeliverabilityTestStatus.of_jsoninletreportId=field_mapjson__"ReportId"ReportId.of_jsoninmake?deliverabilityTestStatus?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the predictive inbox placement test that you created."]moduleCreateDeliverabilityTestReportRequest=structtypenonrect={reportName:ReportName.toption[@ocaml.doc"A unique name that helps you to identify the predictive inbox placement test when you retrieve the results."];fromEmailAddress:EmailAddress.t[@ocaml.doc"The email address that the predictive inbox placement test email was sent from."];content:EmailContent.t[@ocaml.doc"The HTML body of the message that you sent when you performed the predictive inbox placement test."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test."]}letcontext_="CreateDeliverabilityTestReportRequest"letmake?reportName=fun?tags->fun~fromEmailAddress->fun~content->fun()->{reportName;tags;fromEmailAddress;content}letto_valuex=structure_to_value[("ReportName",(Option.mapx.reportName~f:ReportName.to_value));("FromEmailAddress",(Some(EmailAddress.to_valuex.fromEmailAddress)));("Content",(Some(EmailContent.to_valuex.content)));("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")inletcontent=EmailContent.of_xml(Xml.child_exn~context:context_xml_arg0"Content")inletfromEmailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"FromEmailAddress")inletreportName=(Option.map~f:ReportName.of_xml)(Xml.childxml_arg0"ReportName")inmake?tags~content~fromEmailAddress?reportName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletcontent=field_map_exnjson__"Content"EmailContent.of_jsoninletfromEmailAddress=field_map_exnjson__"FromEmailAddress"EmailAddress.of_jsoninletreportName=field_mapjson__"ReportName"ReportName.of_jsoninmake?tags~content~fromEmailAddress?reportName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. We send that message to special email addresses spread across several major email providers around the world. The test takes about 24 hours to complete. When the test is complete, you can use the GetDeliverabilityTestReport operation to view the results of the test."]moduleCreateDedicatedIpPoolResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateDedicatedIpPoolRequest=structtypenonrect={poolName:PoolName.t[@ocaml.doc"The name of the dedicated IP pool."];tags:TagList.toption[@ocaml.doc"An object that defines the tags (keys and values) that you want to associate with the pool."];scalingMode:ScalingMode.toption[@ocaml.doc"The type of scaling mode."]}letcontext_="CreateDedicatedIpPoolRequest"letmake?tags=fun?scalingMode->fun~poolName->fun()->{tags;scalingMode;poolName}letto_valuex=structure_to_value[("PoolName",(Some(PoolName.to_valuex.poolName)));("Tags",(Option.mapx.tags~f:TagList.to_value));("ScalingMode",(Option.mapx.scalingMode~f:ScalingMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letscalingMode=(Option.map~f:ScalingMode.of_xml)(Xml.childxml_arg0"ScalingMode")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletpoolName=PoolName.of_xml(Xml.child_exn~context:context_xml_arg0"PoolName")inmake?scalingMode?tags~poolName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letscalingMode=field_mapjson__"ScalingMode"ScalingMode.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletpoolName=field_map_exnjson__"PoolName"PoolName.of_jsoninmake?scalingMode?tags~poolName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to create a new dedicated IP pool."]moduleCreateCustomVerificationEmailTemplateResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body."]moduleCreateCustomVerificationEmailTemplateRequest=structtypenonrect={templateName:EmailTemplateName.t[@ocaml.doc"The name of the custom verification email template."];fromEmailAddress:EmailAddress.t[@ocaml.doc"The email address that the custom verification email is sent from."];templateSubject:EmailTemplateSubject.t[@ocaml.doc"The subject line of the custom verification email."];templateContent:TemplateContent.t[@ocaml.doc"The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom verification email frequently asked questions in the Amazon SES Developer Guide."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the custom verification email template."];successRedirectionURL:SuccessRedirectionURL.t[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is successfully verified."];failureRedirectionURL:FailureRedirectionURL.t[@ocaml.doc"The URL that the recipient of the verification email is sent to if his or her address is not successfully verified."]}letcontext_="CreateCustomVerificationEmailTemplateRequest"letmake?tags=fun~templateName->fun~fromEmailAddress->fun~templateSubject->fun~templateContent->fun~successRedirectionURL->fun~failureRedirectionURL->fun()->{tags;templateName;fromEmailAddress;templateSubject;templateContent;successRedirectionURL;failureRedirectionURL}letto_valuex=structure_to_value[("TemplateName",(Some(EmailTemplateName.to_valuex.templateName)));("FromEmailAddress",(Some(EmailAddress.to_valuex.fromEmailAddress)));("TemplateSubject",(Some(EmailTemplateSubject.to_valuex.templateSubject)));("TemplateContent",(Some(TemplateContent.to_valuex.templateContent)));("Tags",(Option.mapx.tags~f:TagList.to_value));("SuccessRedirectionURL",(Some(SuccessRedirectionURL.to_valuex.successRedirectionURL)));("FailureRedirectionURL",(Some(FailureRedirectionURL.to_valuex.failureRedirectionURL)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfailureRedirectionURL=FailureRedirectionURL.of_xml(Xml.child_exn~context:context_xml_arg0"FailureRedirectionURL")inletsuccessRedirectionURL=SuccessRedirectionURL.of_xml(Xml.child_exn~context:context_xml_arg0"SuccessRedirectionURL")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inlettemplateContent=TemplateContent.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateContent")inlettemplateSubject=EmailTemplateSubject.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateSubject")inletfromEmailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"FromEmailAddress")inlettemplateName=EmailTemplateName.of_xml(Xml.child_exn~context:context_xml_arg0"TemplateName")inmake~failureRedirectionURL~successRedirectionURL?tags~templateContent~templateSubject~fromEmailAddress~templateName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfailureRedirectionURL=field_map_exnjson__"FailureRedirectionURL"FailureRedirectionURL.of_jsoninletsuccessRedirectionURL=field_map_exnjson__"SuccessRedirectionURL"SuccessRedirectionURL.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninlettemplateContent=field_map_exnjson__"TemplateContent"TemplateContent.of_jsoninlettemplateSubject=field_map_exnjson__"TemplateSubject"EmailTemplateSubject.of_jsoninletfromEmailAddress=field_map_exnjson__"FromEmailAddress"EmailAddress.of_jsoninlettemplateName=field_map_exnjson__"TemplateName"EmailTemplateName.of_jsoninmake~failureRedirectionURL~successRedirectionURL?tags~templateContent~templateSubject~fromEmailAddress~templateName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to create a custom verification email template."]moduleCreateContactResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list."]moduleCreateContactRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list to which the contact should be added."];emailAddress:EmailAddress.t[@ocaml.doc"The contact's email address."];topicPreferences:TopicPreferenceList.toption[@ocaml.doc"The contact's preferences for being opted-in to or opted-out of topics."];unsubscribeAll:UnsubscribeAll.toption[@ocaml.doc"A boolean value status noting if the contact is unsubscribed from all contact list topics."];attributesData:AttributesData.toption[@ocaml.doc"The attribute data attached to a contact."]}letcontext_="CreateContactRequest"letmake?topicPreferences=fun?unsubscribeAll->fun?attributesData->fun~contactListName->fun~emailAddress->fun()->{topicPreferences;unsubscribeAll;attributesData;contactListName;emailAddress}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("EmailAddress",(Some(EmailAddress.to_valuex.emailAddress)));("TopicPreferences",(Option.mapx.topicPreferences~f:TopicPreferenceList.to_value));("UnsubscribeAll",(Option.mapx.unsubscribeAll~f:UnsubscribeAll.to_value));("AttributesData",(Option.mapx.attributesData~f:AttributesData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattributesData=(Option.map~f:AttributesData.of_xml)(Xml.childxml_arg0"AttributesData")inletunsubscribeAll=(Option.map~f:UnsubscribeAll.of_xml)(Xml.childxml_arg0"UnsubscribeAll")inlettopicPreferences=(Option.map~f:TopicPreferenceList.of_xml)(Xml.childxml_arg0"TopicPreferences")inletemailAddress=EmailAddress.of_xml(Xml.child_exn~context:context_xml_arg0"EmailAddress")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?attributesData?unsubscribeAll?topicPreferences~emailAddress~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattributesData=field_mapjson__"AttributesData"AttributesData.of_jsoninletunsubscribeAll=field_mapjson__"UnsubscribeAll"UnsubscribeAll.of_jsoninlettopicPreferences=field_mapjson__"TopicPreferences"TopicPreferenceList.of_jsoninletemailAddress=field_map_exnjson__"EmailAddress"EmailAddress.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?attributesData?unsubscribeAll?topicPreferences~emailAddress~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list."]moduleCreateContactListResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a contact list."]moduleCreateContactListRequest=structtypenonrect={contactListName:ContactListName.t[@ocaml.doc"The name of the contact list."];topics:Topics.toption[@ocaml.doc"An interest group, theme, or label within a list. A contact list can have multiple topics."];description:Description.toption[@ocaml.doc"A description of what the contact list is about."];tags:TagList.toption[@ocaml.doc"The tags associated with a contact list."]}letcontext_="CreateContactListRequest"letmake?topics=fun?description->fun?tags->fun~contactListName->fun()->{topics;description;tags;contactListName}letto_valuex=structure_to_value[("ContactListName",(Some(ContactListName.to_valuex.contactListName)));("Topics",(Option.mapx.topics~f:Topics.to_value));("Description",(Option.mapx.description~f:Description.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")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettopics=(Option.map~f:Topics.of_xml)(Xml.childxml_arg0"Topics")inletcontactListName=ContactListName.of_xml(Xml.child_exn~context:context_xml_arg0"ContactListName")inmake?tags?description?topics~contactListName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettopics=field_mapjson__"Topics"Topics.of_jsoninletcontactListName=field_map_exnjson__"ContactListName"ContactListName.of_jsoninmake?tags?description?topics~contactListName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a contact list."]moduleCreateConfigurationSetResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`ConcurrentModificationExceptionofConcurrentModificationException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"ConcurrentModificationException"->`ConcurrentModificationException(ConcurrentModificationException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`ConcurrentModificationExceptione->`Assoc[("error",(`String"ConcurrentModificationException"));("details",(ConcurrentModificationException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateConfigurationSetRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only."];trackingOptions:TrackingOptions.toption[@ocaml.doc"An object that defines the open and click tracking options for emails that you send using the configuration set."];deliveryOptions:DeliveryOptions.toption[@ocaml.doc"An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set."];reputationOptions:ReputationOptions.toption[@ocaml.doc"An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set."];sendingOptions:SendingOptions.toption[@ocaml.doc"An object that defines whether or not Amazon SES can send email that you send using the configuration set."];tags:TagList.toption[@ocaml.doc"An array of objects that define the tags (keys and values) to associate with the configuration set."];suppressionOptions:SuppressionOptions.toption;vdmOptions:VdmOptions.toption[@ocaml.doc"An object that defines the VDM options for emails that you send using the configuration set."];archivingOptions:ArchivingOptions.toption[@ocaml.doc"An object that defines the MailManager archiving options for emails that you send using the configuration set."]}letcontext_="CreateConfigurationSetRequest"letmake?trackingOptions=fun?deliveryOptions->fun?reputationOptions->fun?sendingOptions->fun?tags->fun?suppressionOptions->fun?vdmOptions->fun?archivingOptions->fun~configurationSetName->fun()->{trackingOptions;deliveryOptions;reputationOptions;sendingOptions;tags;suppressionOptions;vdmOptions;archivingOptions;configurationSetName}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("TrackingOptions",(Option.mapx.trackingOptions~f:TrackingOptions.to_value));("DeliveryOptions",(Option.mapx.deliveryOptions~f:DeliveryOptions.to_value));("ReputationOptions",(Option.mapx.reputationOptions~f:ReputationOptions.to_value));("SendingOptions",(Option.mapx.sendingOptions~f:SendingOptions.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("SuppressionOptions",(Option.mapx.suppressionOptions~f:SuppressionOptions.to_value));("VdmOptions",(Option.mapx.vdmOptions~f:VdmOptions.to_value));("ArchivingOptions",(Option.mapx.archivingOptions~f:ArchivingOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarchivingOptions=(Option.map~f:ArchivingOptions.of_xml)(Xml.childxml_arg0"ArchivingOptions")inletvdmOptions=(Option.map~f:VdmOptions.of_xml)(Xml.childxml_arg0"VdmOptions")inletsuppressionOptions=(Option.map~f:SuppressionOptions.of_xml)(Xml.childxml_arg0"SuppressionOptions")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletsendingOptions=(Option.map~f:SendingOptions.of_xml)(Xml.childxml_arg0"SendingOptions")inletreputationOptions=(Option.map~f:ReputationOptions.of_xml)(Xml.childxml_arg0"ReputationOptions")inletdeliveryOptions=(Option.map~f:DeliveryOptions.of_xml)(Xml.childxml_arg0"DeliveryOptions")inlettrackingOptions=(Option.map~f:TrackingOptions.of_xml)(Xml.childxml_arg0"TrackingOptions")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake?archivingOptions?vdmOptions?suppressionOptions?tags?sendingOptions?reputationOptions?deliveryOptions?trackingOptions~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarchivingOptions=field_mapjson__"ArchivingOptions"ArchivingOptions.of_jsoninletvdmOptions=field_mapjson__"VdmOptions"VdmOptions.of_jsoninletsuppressionOptions=field_mapjson__"SuppressionOptions"SuppressionOptions.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletsendingOptions=field_mapjson__"SendingOptions"SendingOptions.of_jsoninletreputationOptions=field_mapjson__"ReputationOptions"ReputationOptions.of_jsoninletdeliveryOptions=field_mapjson__"DeliveryOptions"DeliveryOptions.of_jsoninlettrackingOptions=field_mapjson__"TrackingOptions"TrackingOptions.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake?archivingOptions?vdmOptions?suppressionOptions?tags?sendingOptions?reputationOptions?deliveryOptions?trackingOptions~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to create a configuration set."]moduleCreateConfigurationSetEventDestinationResponse=structtypenonrect=unittypenonrecerror=[`AlreadyExistsExceptionofAlreadyExistsException.t|`BadRequestExceptionofBadRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_jsonjson)|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AlreadyExistsException"->`AlreadyExistsException(AlreadyExistsException.of_xmlxml)|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AlreadyExistsExceptione->`Assoc[("error",(`String"AlreadyExistsException"));("details",(AlreadyExistsException.to_jsone))]|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCreateConfigurationSetEventDestinationRequest=structtypenonrect={configurationSetName:ConfigurationSetName.t[@ocaml.doc"The name of the configuration set ."];eventDestinationName:EventDestinationName.t[@ocaml.doc"A name that identifies the event destination within the configuration set."];eventDestination:EventDestinationDefinition.t[@ocaml.doc"An object that defines the event destination."]}letcontext_="CreateConfigurationSetEventDestinationRequest"letmake~configurationSetName=fun~eventDestinationName->fun~eventDestination->fun()->{configurationSetName;eventDestinationName;eventDestination}letto_valuex=structure_to_value[("ConfigurationSetName",(Some(ConfigurationSetName.to_valuex.configurationSetName)));("EventDestinationName",(Some(EventDestinationName.to_valuex.eventDestinationName)));("EventDestination",(Some(EventDestinationDefinition.to_valuex.eventDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leteventDestination=EventDestinationDefinition.of_xml(Xml.child_exn~context:context_xml_arg0"EventDestination")inleteventDestinationName=EventDestinationName.of_xml(Xml.child_exn~context:context_xml_arg0"EventDestinationName")inletconfigurationSetName=ConfigurationSetName.of_xml(Xml.child_exn~context:context_xml_arg0"ConfigurationSetName")inmake~eventDestination~eventDestinationName~configurationSetName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leteventDestination=field_map_exnjson__"EventDestination"EventDestinationDefinition.of_jsoninleteventDestinationName=field_map_exnjson__"EventDestinationName"EventDestinationName.of_jsoninletconfigurationSetName=field_map_exnjson__"ConfigurationSetName"ConfigurationSetName.of_jsoninmake~eventDestination~eventDestinationName~configurationSetName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A request to add an event destination to a configuration set."]moduleCancelExportJobResponse=structtypenonrect=unittypenonrecerror=[`BadRequestExceptionofBadRequestException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An HTTP 200 response if the request succeeds, or an error message if the request fails."]moduleCancelExportJobRequest=structtypenonrect={jobId:JobId.t[@ocaml.doc"The export job ID."]}letcontext_="CancelExportJobRequest"letmake~jobId=fun()->{jobId}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to cancel an export job using the export job ID."]moduleBatchGetMetricDataResponse=structtypenonrect={results:MetricDataResultList.toption[@ocaml.doc"A list of successfully retrieved MetricDataResult."];errors:MetricDataErrorList.toption[@ocaml.doc"A list of MetricDataError encountered while processing your metric data batch request."]}typenonrecerror=[`BadRequestExceptionofBadRequestException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`NotFoundExceptionofNotFoundException.t|`TooManyRequestsExceptionofTooManyRequestsException.t|`Unknown_operation_errorof(string*stringoption)]letmake?results=fun?errors->fun()->{results;errors}leterror_of_jsonnamejson=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"NotFoundException"->`NotFoundException(NotFoundException.of_jsonjson)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BadRequestException"->`BadRequestException(BadRequestException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"NotFoundException"->`NotFoundException(NotFoundException.of_xmlxml)|"TooManyRequestsException"->`TooManyRequestsException(TooManyRequestsException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BadRequestExceptione->`Assoc[("error",(`String"BadRequestException"));("details",(BadRequestException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`NotFoundExceptione->`Assoc[("error",(`String"NotFoundException"));("details",(NotFoundException.to_jsone))]|`TooManyRequestsExceptione->`Assoc[("error",(`String"TooManyRequestsException"));("details",(TooManyRequestsException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Results",(Option.mapx.results~f:MetricDataResultList.to_value));("Errors",(Option.mapx.errors~f:MetricDataErrorList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrors=(Option.map~f:MetricDataErrorList.of_xml)(Xml.childxml_arg0"Errors")inletresults=(Option.map~f:MetricDataResultList.of_xml)(Xml.childxml_arg0"Results")inmake?errors?results()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrors=field_mapjson__"Errors"MetricDataErrorList.of_jsoninletresults=field_mapjson__"Results"MetricDataResultList.of_jsoninmake?errors?results()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the result of processing your metric data batch request"]moduleBatchGetMetricDataRequest=structtypenonrect={queries:BatchGetMetricDataQueries.t[@ocaml.doc"A list of queries for metrics to be retrieved."]}letcontext_="BatchGetMetricDataRequest"letmake~queries=fun()->{queries}letto_valuex=structure_to_value[("Queries",(Some(BatchGetMetricDataQueries.to_valuex.queries)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letqueries=BatchGetMetricDataQueries.of_xml(Xml.child_exn~context:context_xml_arg0"Queries")inmake~queries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letqueries=field_map_exnjson__"Queries"BatchGetMetricDataQueries.of_jsoninmake~queries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents a request to retrieve a batch of metric data."]